Skip to content

Get tax rate ​

Returns the details of a single tax rate, even if it is deprecated.

Request ​

GET /api/oauth/v2/resource/vats/{uuid}

HeaderValue
AuthorizationBearer {access_token}

URL parameters ​

ParameterTypeRequiredDescription
uuidstring (UUID)YesUnique ID of the tax rate, e.g. from positions[].vat of an invoice

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
  }
}

Response fields ​

FieldTypeDescription
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

Note: This endpoint also returns a deprecated tax rate with 200 OK (field data.deprecated = true), not 404.

Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/vats/b2c3d4e5-f6a7-8901-bcde-f01234567890" \
  -H "Authorization: Bearer {access_token}"
Parameter
Zuerst Token anfordern

Possible errors ​

StatusCodeDescription
401invalid_clientInvalid or missing access token
403insufficient_scopeScope invoices not present
404not_foundTax rate not found

Offisy GmbH