DocsAPI ReferenceVat Rate/bff/vat-rate/resolve
getVat RateAdmin BFF

/bff/vat-rate/resolve

Returns the single rate that was valid on date for the given country and logical code. Throws when no rate matches (admin must add a record to core__vat_rate). Use this when populating a VAT field on an invoice item — the date is the invoice's taxable supply date, not "today".

VAT rategetBffVat-rateResolve

Parameters

3 query

3 total
Query · 3
codestringRequired

Logical VAT rate code, e.g. "CZ_BASIC".

countryCodestringRequired

ISO 3166-1 alpha-2 country code.

datestringRequired

ISO date the rate must be valid on (taxable supply date of the invoice).

Request

GET /bff/vat-rate/resolve

get
curl -X GET "https://api.bizkithub.com/bff/vat-rate/resolve?code=CZ_BASIC&countryCode=CZ&date=2023-12-31" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

JSON payload

{
  "id": 0,
  "code": "example_code",
  "countryCode": "example_countryCode",
  "ratePercent": 0,
  "validFrom": "example_validFrom",
  "isReverseCharge": false
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key