Skip to main content
GET
/
accounting
/
payments
cURL
curl --request GET \
  --url https://api.maesn.dev/accounting/payments
{
  "meta": {
    "warnings": [
      "Field not used by target system"
    ],
    "pagination": {
      "total": 123,
      "perPage": 123,
      "currentPage": 123,
      "totalPages": 123
    }
  },
  "data": [
    {
      "id": "94a5ab44-3218-4492-8b5d-a31bc0288c0b",
      "currency": "EUR",
      "createdDate": "2021-01-01T00:00:00Z",
      "exchangeRate": 1,
      "journalCode": "30",
      "updatedDate": "2021-01-01T00:00:00Z",
      "paymentLines": [
        {
          "accountId": "4a6b5e92-a261-4be9-814d-84dec9636c16",
          "amount": 100,
          "description": "payment of bill",
          "invoiceId": "a44f5af1-8310-4f97-b945-26e35288b35f",
          "paymentDate": "2025-01-01",
          "supplierId": "supplier id"
        }
      ],
      "paymentType": "CREDITOR"
    }
  ]
}

Field support per integration

If you’re not using the Interactive Authentication Flow, make sure the query parameter companyId is correctly populated. You can obtain this value by using the GET Companies endpoint available under the Authentication section.
Supported filters:
  • lastModifiedAt
Support pagination: trueSupport rawData: true
Supported Response Fields:
id
string
currency
string
createdDate
string
ISO-8601 date format, e.g., 2024-01-01T00:00:00Z
journalCode
string
updatedDate
string
ISO-8601 date format, e.g., 2024-01-01T00:00:00Z
Supported filters:
  • invoiceId
  • lastModifiedAt
Support pagination: trueSupport rawData: true
Supported Response Fields:
id
string
createdDate
string
ISO-8601 date format, e.g., 2024-01-01T00:00:00Z
updatedDate
string
ISO-8601 date format, e.g., 2024-01-01T00:00:00Z
paymentType
string
paymentLines
PaymentLine[]

Headers

X-API-KEY
string

API key

X-ACCOUNT-KEY
string

Account key

Query Parameters

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

Response

200 - application/json
meta
object
data
object[]
I