{
  "opencollection": "1.0.0",
  "info": {
    "name": "Fortnox REST API (Representative Subset) Accounts Invoices API",
    "version": "3.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Access-Token",
      "value": "{{Access-Token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Invoices",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List invoices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fortnox.se/3/invoices",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for paginated results."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of records per page (max 500)."
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Predefined filter such as cancelled, fullypaid, unpaid, unpaidoverdue, unbooked."
              }
            ]
          },
          "docs": "Lists invoices. Supports filtering and pagination via query parameters."
        },
        {
          "info": {
            "name": "Create an invoice",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.fortnox.se/3/invoices",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new invoice. The payload is wrapped in an `Invoice` object."
        },
        {
          "info": {
            "name": "Retrieve an invoice",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fortnox.se/3/invoices/:DocumentNumber",
            "params": [
              {
                "name": "DocumentNumber",
                "value": "",
                "type": "path",
                "description": "The document number identifying the invoice/order/offer."
              }
            ]
          },
          "docs": "Retrieve an invoice"
        },
        {
          "info": {
            "name": "Update an invoice",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.fortnox.se/3/invoices/:DocumentNumber",
            "params": [
              {
                "name": "DocumentNumber",
                "value": "",
                "type": "path",
                "description": "The document number identifying the invoice/order/offer."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an invoice"
        }
      ]
    }
  ],
  "bundled": true
}