AlmondTill/G3N API

On this page

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.

Who may call it

Capability area: Reading your records — Looking up and listing the records of your organization.

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

Used in