GET
/
accounting
/
openItems
cURL
curl --request GET \
  --url https://api.maesn.dev/accounting/openItems \
  --header 'X-ACCOUNT-KEY: <x-account-key>' \
  --header 'X-API-KEY: <x-api-key>'
{
  "meta": {
    "warnings": [
      "Field not used by target system"
    ],
    "pagination": {
      "total": 123,
      "perPage": 123,
      "currentPage": 123,
      "totalPages": 123
    }
  },
  "data": [
    {
      "id": "8df2df10-0fae-40ad-9d22-f25e5ab0ba23",
      "accountNumber": "100100000",
      "currency": "EUR",
      "documentNumber": "INV-1",
      "lineItems": [
        {
          "description": "Hotel stay",
          "postingDate": "2025-06-01T00:00:00Z",
          "totalCreditAmount": 0,
          "totalDebitAmount": 1000
        }
      ],
      "openBalance": 1000,
      "postingDate": "2025-06-01T00:00:00Z",
      "totalCreditAmount": 0,
      "totalDebitAmount": 1000
    }
  ]
}

Field support per integration

Headers

X-API-KEY
string
required

API key

X-ACCOUNT-KEY
string
required

Account key

Query Parameters

page
number
limit
enum<number>
Available options:
5,
10,
20,
50,
100
companyId
string
environmentName
string
fiscalYear
number
accountNumber
string
documentNumber
string
lastModifiedAt
number
rawData
boolean

Response

200 - application/json

The response is of type object.