GET
/
accounting
/
files
/
documentTypes
cURL
curl --request GET \
  --url https://api.maesn.dev/accounting/files/documentTypes \
  --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": [
    {
      "name": "Rechnungseingang",
      "category": "invoices_received"
    }
  ]
}

Field support per integration

If you’re not using the Interactive Authentication Flow, make sure the query parameter companyId is accurately populated with the appropriate company ID. You can obtain this value by using the GET Companies endpoint available under the Authentication section.
Supported filters: noneSupport pagination: falseSupport rawData: false
Supported Response Parameters:
name
string
category
string
If you’re not using the Interactive Authentication Flow, make sure the query parameter companyId is accurately populated with the appropriate company ID. You can obtain this value by using the GET Companies endpoint available under the Authentication section.
Supported filters: noneSupport pagination: falseSupport rawData: false
Supported Response Parameters:
name
string
category
string

Headers

X-API-KEY
string
required

API key

X-ACCOUNT-KEY
string
required

Account key

Query Parameters

companyId
string

Response

200 - application/json
meta
object
data
object[]