cannedFiscalRegimes
query · in the family Reading your records
What it does
The fiscal regimes we support, per market — each key names a country scheme (sign-and-journal, or authority-cleared before issuing); receipts only accept listed keys. Markets with no scheme (like the US) simply never issue one.
The AT-maintained canned fiscal-regime roster: issueFiscalReceipt must name a listed key (the refusal names the roster). Unpaginated bounded roster (not a construct list). Requires authentication.
Before you call
A bearer session from an API key (see Authentication and key hygiene) or a signed-in user.
Capability area: Reading your records — Looking up and listing the records of your organization.
Roles that may call it:
- Owner
- System Administrator
- Manager
- Associate Manager
- Warehouse Associate
- Sales Associate
- An API key whose scope allows
api:cannedFiscalRegimes
Returns
FiscalRegime [FiscalRegime!]! — One canned fiscal regime: merchants pick a key, never author regimes. model = signature (sign + gap-free number + journal; EU-typical) | clearance (the authority authorizes before issuing; LATAM/Québec-typical). US carries no row — no national regime exists.
Example request
query ExampleCannedFiscalRegimes {
cannedFiscalRegimes {
key
caption
model
countryCode
}
}Example response
{
"data": {
"cannedFiscalRegimes": [
{
"key": "<key>",
"caption": "Blue jeans",
"model": "<model>",
"countryCode": "CA"
}
]
},
"extensions": {
"at": {
"callId": "01EXAMPLE-CALL-ID",
"version": {
"requested": null,
"serviced": {
"name": "genesis",
"number": 0
}
}
}
}
}Errors this call can answer
VALIDATION/INVALID— Something in the request is not valid. Retry: no. (VALIDATION)AUTHN/REQUIRED— Sign in to do this. Retry: no. (AUTHN)AUTHZ/FORBIDDEN— Your role does not allow this action. Retry: no. (AUTHZ)RATE_LIMIT/THROTTLED— Too many requests in a short time. Retry: yes. (RATE_LIMIT)