invoices

Get invoice settlements

Get all settlements for the invoice. Use the query parameters to filter and navigate through the results.

Scope: invoices:read

get/companies/{companyId}/invoices/{invoiceId}/settlements

Request

  • Base URL
    https://api.bokio.se/v1
  • URL
    https://api.bokio.se/v1/companies/{companyId}/invoices/{invoiceId}/settlements
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization code: /authorize
      Client credentials
      Token URL: /token scopes: invoices:read

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
datedate
sumBaseCurrencydecimal

Response

List of settlements

totalItemsinteger
totalPagesinteger
currentPageinteger

Example response

{
  "totalItems": 1,
  "totalPages": 1,
  "currentPage": 1,
  "items": [
    {
      "id": "c529df79-eb7f-5ef0-a8dc-c2b71f953554",
      "invoiceId": "a419cf69-db6f-4de9-992c-b1a60942a443",
      "type": "bankFee",
      "invoiceSettlementDetails": {
        "date": "2024-10-15",
        "sumBaseCurrency": 15.5
      },
      "journalEntryRef": {
        "id": "55c899c5-82b2-4a09-899e-9dc03342b5dc"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.