Lista obveznika
get/v1/
Scopetenant:read
Obveznici (pravna lica) organizacije kojoj kredencijal pripada, samo u okruženju kredencijala: sandbox ključ vidi sandbox obveznike, produkcioni produkcione.
Beleške iz ugovora (OpenAPI, engleski)
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.
Odgovori
| 200OK | TaxpayersTaxpayerPage |
|---|---|
| 400Bad Request | The command violates a Boka or fiscal ruleErrorCode |
Odgovor: TaxpayerPage
Opisi polja su preuzeti iz OpenAPI ugovora i na engleskom su; nazivi polja i vrednosti su isti u oba jezika.
| Polje | Opis |
|---|---|
itemsobaveznoTip: array<Taxpayer> | |
idobaveznoTip: uuid | |
taxIdentifierobaveznoTip: string | pattern ^[0-9]{9}$ |
legalNameobaveznoTip: string | |
environmentobaveznoTip: 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.
Vrednosti |
statusobaveznoTip: string | Vrednosti |
registrationNumberopcionoTip: string | null (može biti null) | Serbian registration number (matični broj), usually prefilled from the company registry lookup. pattern ^[0-9]{8}$ |
addressopcionoTip: string | null (može biti null) | max 300 |
cityopcionoTip: string | null (može biti null) | max 100 |
municipalityopcionoTip: string | null (može biti null) | max 100 |
activityCodeopcionoTip: string | null (može biti null) | pattern ^[0-9]{4}$ |
activityNameopcionoTip: string | null (može biti null) | max 150 |
vatStatusopcionoTip: string | null (može biti null) | 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. Vrednosti |
createdAtobaveznoTip: date-time | |
updatedAtobaveznoTip: date-time |