v1

latestOpenAPI 3.0.12026-07-245277551.2 MB
Fiscalization

Get fiscal operator rules for a country

Returns country-specific rules for the fiscal operator mapping (e.g. tax-ID format, checksum, label). Countries that don't require operator-level fiscalization respond with operatorRequired: false.

get/fiscal-document/v1/fiscalization/operators/rules

Query parameters

countrystring required

ISO 3166-1 alpha-2 country code (e.g., HR)

Headers

X-Property-IDinteger required

Response

OK

operatorRequiredboolean required

Whether this country requires per-invoice operator legal-ID mapping

legalIdLabelstring

Country-specific label for the operator legal ID (e.g., "OIB" for HR)

legalIdPatternstring

Regex pattern the legal ID must match (e.g., "^\d{11}$" for HR OIB)

legalIdHelpTextstring

Helper text shown beside the legal ID input to guide the admin

legalNameMaxLengthinteger

Maximum length allowed for the legal name (enforced both client and server)

legalNameHelpTextstring

Helper text shown beside the legal name input

Example response

{
  "country": {
    "code": "BR",
    "name": "Brazil"
  }
}