Skip to content

List tax rates ​

Returns a paginated list of all tax rates, including deprecated ones.

Request ​

GET /api/oauth/v2/resource/vats

HeaderValue
AuthorizationBearer {access_token}

Query parameters ​

ParameterTypeRequiredDescription
statusstringNoComma-separated list (default: all). Allowed values: active (not deprecated), deprecated. Invalid value → 400 validation_error. See Conventions for details.
offsetintegerNoStart position (default: 0)
limitintegerNoNumber 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 ​

FieldTypeDescription
dataArrayList of tax rates
data[].idstring (UUID)Unique ID of the tax rate
data[].namestringName of the tax rate
data[].abbreviationstring | nullAbbreviation
data[].symbolstring | nullSymbol
data[].countrystring | nullCountry
data[].valuestringTax rate in percent with 2 decimal places (e.g. "20.00")
data[].deprecatedbooleantrue if the tax rate is deprecated
meta.totalintegerTotal number of tax rates (with the same status filter)
meta.offsetintegerCurrent start position
meta.limitintegerNumber 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 ​

StatusCodeDescription
400validation_errorstatus contains an invalid value (Invalid status "x". Allowed values: all, active, deprecated.)
401invalid_clientInvalid or missing access token
403insufficient_scopeScope invoices not present

Offisy GmbH