v1

latestOpenAPI 3.0.32026-07-268955212.1 KB
supplier-invoices

[Preview] Get supplier invoices

Get all supplier invoices for the company. Use the query parameters to filter and navigate through the results.

Scope: supplier-invoices:read

get/companies/{companyId}/supplier-invoices

Query parameters

pageinteger

Page number

pageSizeinteger

Number of items per page

querystring

Optional query to filter the data set with supported fields listed below and available operations.

FieldType
supplierRef.idstring
invoiceNumberstring
totalAmountnumber
currencystring
invoiceDatedate
dueDatedate

Response

Supplier invoices found

totalItemsinteger
totalPagesinteger
currentPageinteger

Example response

{
  "totalItems": 1,
  "totalPages": 1,
  "currentPage": 1,
  "items": [
    {
      "id": "6f6b2f17-3c4a-4a69-9f2d-3f5d7e1b8c90",
      "supplierRef": {
        "id": "6f6b2f17-3c4a-4a69-9f2d-3f5d7e1b8c90",
        "name": "Supplier AB"
      },
      "invoiceNumber": "INV-001",
      "invoiceDate": "2023-10-01",
      "dueDate": "2023-10-15",
      "totalAmount": 1000,
      "remainingAmount": 1000,
      "currency": "SEK",
      "currencyRate": 1,
      "journalEntryRef": {
        "id": "2d8ce6b4-1f3a-46a5-8a9d-5b7f2c4e9d10"
      },
      "uploadRefs": [
        {
          "id": "24f3b7c1-8d6a-4e2f-9b31-5d7c2a8e4f90"
        },
        {
          "id": "34e1c9a5-7b2d-4f86-8a31-6d2c5f9b7e40"
        }
      ]
    }
  ]
}