List receipt types
Returns a paginated list of the receipt types, sorted by id. The id is the value a receipt
carries as receipt_type_id. Creating a receipt accepts every listed receipt type; the tax
rate of a receipt line must be one of the type’s tax_rates.
Availability: Full version only — a Clock instance answers 404 for this endpoint.
Request
curl --request GET \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/receipt-types' \
--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": [
{
"id": "Taxi",
"description": {
"de": "Taxi"
},
"default_payment_method": "Firma",
"default_currency": "EUR",
"default_tax_rate": 19,
"tax_rates": [
7,
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
id- Type
- string
- Description
The receipt type’s short name, the value a receipt carries as its
receipt_type_id.
- Name
description- Type
- object, nullable
- Description
Description of the receipt type per language; null when it has none.
- Name
description.de- Type
- string, nullable
- Description
- Name
description.en- Type
- string
- Description
- Name
description.fr- Type
- string
- Description
- Name
description.es- Type
- string
- Description
- Name
description.pl- Type
- string
- Description
- Name
default_payment_method- Type
- any
- Description
Short name of the payment method a new receipt of this type is preset with; null when none.
- Name
default_currency- Type
- any
- Description
ISO code of the currency a new receipt of this type is preset with; null when none.
- Name
default_tax_rate- Type
- number, nullable
- Description
The default VAT rate in percent; null when the type has none.
- Name
tax_rates- Type
- array of number
- Description
Every VAT rate in percent a receipt line of this type accepts, ascending: the allowed rates plus the default rate. Creating a receipt accepts every listed receipt type.