List revenue accounts
Returns a paginated list of the revenue accounts, sorted by account number and VAT rate. An account number appears once per VAT rate.
Requires the product feature feature_accounting.
Availability: Full version only — a Clock instance answers 404 for this endpoint.
Request
GET /api/v1/revenue-accounts
curl --request GET \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/revenue-accounts' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}'Query parameters
- Name
limit- Type
- integer, nullable
- Description
The number of records per page, 1 to 200. Defaults to 15.
- Name
page- Type
- integer, nullable
- Description
The page of results to return, counting from 1.
Response
{
"data": [
{
"account_number": "4400",
"description": "Erlöse Inland 19%",
"country_identifier": "Inland",
"vat": 19
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": "string",
"label": "string",
"active": true
}
],
"path": "string",
"per_page": 1,
"to": 1,
"total": 1
}
}Response fields
- Name
account_number- Type
- string
- Description
The account number of the revenue account.
- Name
description- Type
- string, nullable
- Description
Description of the revenue account.
- Name
country_identifier- Type
- string
- Description
ZEP’s country identifier of the revenue account, not an ISO country code. The values are “Inland”, “EU” and “Drittland”.
- Name
vat- Type
- number
- Description
The VAT rate in percent the account is booked with.