List tax rates
Returns a paginated list of all tax rates, including deprecated ones.
Request
GET /api/oauth/v2/resource/vats
Header
| Header | Value |
|---|---|
Authorization | Bearer {access_token} |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | No | Comma-separated list (default: all). Allowed values: active (not deprecated), deprecated. Invalid value → 400 validation_error. See Conventions for details. |
offset | integer | No | Start position (default: 0) |
limit | integer | No | Number of results (default: 50, max: 200) |
The list is sorted by internal ID in ascending order.
Required scope: invoices
Response
Success (200 OK)
json
{
"data": [
{
"id": "3f2a9c1e-7b64-4d58-a0e3-5c1b8d2f6a74",
"name": "Normalsatz",
"abbreviation": "20%",
"symbol": "A",
"country": "AT",
"value": "20.00",
"deprecated": false
}
],
"meta": {
"total": 1,
"offset": 0,
"limit": 50
}
}Response fields
| Field | Type | Description |
|---|---|---|
data | Array | List of tax rates |
data[].id | string (UUID) | Unique ID of the tax rate |
data[].name | string | Name of the tax rate |
data[].abbreviation | string | null | Abbreviation |
data[].symbol | string | null | Symbol |
data[].country | string | null | Country |
data[].value | string | Tax rate in percent with 2 decimal places (e.g. "20.00") |
data[].deprecated | boolean | true if the tax rate is deprecated |
meta.total | integer | Total number of tax rates (with the same status filter) |
meta.offset | integer | Current start position |
meta.limit | integer | Number of returned entries |
Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/vats?status=all&offset=0&limit=50" \
-H "Authorization: Bearer {access_token}"Parameter
Zuerst Token anfordern
Possible errors
| Status | Code | Description |
|---|---|---|
| 400 | validation_error | status contains an invalid value (Invalid status "x". Allowed values: all, active, deprecated.) |
| 401 | invalid_client | Invalid or missing access token |
| 403 | insufficient_scope | Scope invoices not present |