Skip to main content
GET
/
accounting
/
units
cURL
curl --request GET \
  --url https://api.maesn.dev/accounting/units
{
  "meta": {
    "warnings": [
      "Field not used by target system"
    ],
    "pagination": {
      "total": 123,
      "perPage": 123,
      "currentPage": 123,
      "totalPages": 123
    }
  },
  "data": [
    {
      "id": "4f3a2hf4-5b8e-4d1b-8a0c-9f6e7d2f3e4b",
      "code": "PIECE",
      "description": "Piece",
      "type": "W"
    }
  ]
}

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.
Support pagination: trueSupport rawData: true
Supported Response Fields:
id
string
code
string
description
string
type
string

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
environmentName
string
companyId
string
rawData
boolean

Response

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