List taxpayers
get/v1/
Scopetenant:read
The taxpayers (legal entities) of the organization the credential belongs to, in the credential's environment only: a sandbox key sees sandbox taxpayers, a production key production ones.
Contract notes (OpenAPI)
Scoped to the caller's environment: a machine credential sees only the taxpayers of its own environment, a portal user sees both unless the organization hides its sandbox data.
Responses
| 200OK | TaxpayersTaxpayerPage |
|---|---|
| 400Bad Request | The command violates a Boka or fiscal ruleErrorCode |
Response: TaxpayerPage
Field descriptions come from the OpenAPI contract; field names and values are identical in both languages.
| Field | Description |
|---|---|
itemsrequiredType: array<Taxpayer> | |
idrequiredType: uuid | |
taxIdentifierrequiredType: string | pattern ^[0-9]{9}$ |
legalNamerequiredType: string | |
environmentrequiredType: FiscalEnvironment | The Stripe-style fiscal environment. Machine credentials carry exactly
one environment and may only use security elements of that
environment; sandbox elements are BOKA-assigned and route to the
TaxCore sandbox, production elements are the customer's own.
Taxpayers and business premises carry the environment too: the BOKA
sandbox taxpayer and premise created by a pool assignment are
sandbox, everything a human registers is production, and setup
registered by a machine credential belongs to that credential's
environment. A premise inherits its taxpayer's environment and a
security element can only be bound to a premise of its own.
Values |
statusrequiredType: string | Values |
registrationNumberoptionalType: string | null (nullable) | Serbian registration number (matični broj), usually prefilled from the company registry lookup. pattern ^[0-9]{8}$ |
addressoptionalType: string | null (nullable) | max 300 |
cityoptionalType: string | null (nullable) | max 100 |
municipalityoptionalType: string | null (nullable) | max 100 |
activityCodeoptionalType: string | null (nullable) | pattern ^[0-9]{4}$ |
activityNameoptionalType: string | null (nullable) | max 150 |
vatStatusoptionalType: string | null (nullable) | Owner-declared VAT status. not_in_vat restricts every fiscal command to the non-VAT tax label (category N-TAX, label А in production); null means not declared and restricts nothing. Values |
createdAtrequiredType: date-time | |
updatedAtrequiredType: date-time |