Licence state
get/v1/license
Scope tenant:read
Whether production fiscalization is currently allowed, which modules are enabled and which prices apply. Sandbox is never billed and never blocked.
Contract notes (OpenAPI)
Any customer human or API client. Reports the licence state (none, active, suspended, not-started, expired), whether production fiscalization is currently allowed, which paid modules (Advance, E-mail) are enabled, and the effective prices in RSD with VAT included. Sandbox elements and sandbox traffic are never gated by licensing. A refused production command returns 403 with LICENSE_REQUIRED, LICENSE_NOT_STARTED, LICENSE_EXPIRED, LICENSE_SUSPENDED or MODULE_NOT_LICENSED before anything is reserved or sent to the V-PFR. Refunds of already fiscalized receipts and advance cancellations are never refused by licensing.
Example
curl -X GET "https://api.bokapos.rs/v1/license" \
-H "Authorization: Bearer $BOKAPOS_TOKEN"Responses
| 200 OK | Licence summaryLicenseSummary |
|---|
{
"state": "active",
"productionFiscalizationAllowed": true,
"modules": {
"advance": true,
"email": false
},
"startsOn": "2026-09-01",
"endsOn": null,
"prices": {
"basePricePerElement": 1600,
"includedDocuments": 600,
"overageDocumentPrice": 1,
"advanceModulePrice": 600,
"emailModulePrice": 600,
"vatRate": 0.2
}
}Response: LicenseSummary
Field descriptions come from the OpenAPI contract; field names and values are identical in both languages.
| Field | Type | Description |
|---|---|---|
staterequired | LicenseState | Customer-facing licence state on the Belgrade calendar date of the request.
|
productionFiscalizationAllowedrequired | boolean | |
modulesrequired | object | |
advancerequired | boolean | |
emailrequired | boolean | |
startsOnrequired | date| null (nullable) | |
endsOnrequired | date| null (nullable) | |
pricesrequired | LicensePriceList | Prices in RSD with VAT included. The base price is per active production security element per month; modules are per organization per month. |
basePricePerElementrequired | number | |
includedDocumentsrequired | integer | |
overageDocumentPricerequired | number | |
advanceModulePricerequired | number | |
emailModulePricerequired | number | |
vatRaterequired | number | Fraction |