Stanje licence
get/v1/license
Scope tenant:read
Da li je produkciona fiskalizacija trenutno dozvoljena, koji su moduli uključeni i koje cene važe. Sandbox se nikad ne naplaćuje i ne blokira.
Beleške iz ugovora (OpenAPI, engleski)
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.
Primer
curl -X GET "https://api.bokapos.rs/v1/license" \
-H "Authorization: Bearer $BOKAPOS_TOKEN"Odgovori
| 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
}
}Odgovor: LicenseSummary
Opisi polja su preuzeti iz OpenAPI ugovora i na engleskom su; nazivi polja i vrednosti su isti u oba jezika.
| Polje | Tip | Opis |
|---|---|---|
stateobavezno | LicenseState | Customer-facing licence state on the Belgrade calendar date of the request.
|
productionFiscalizationAllowedobavezno | boolean | |
modulesobavezno | object | |
advanceobavezno | boolean | |
emailobavezno | boolean | |
startsOnobavezno | date| null (može biti null) | |
endsOnobavezno | date| null (može biti null) | |
pricesobavezno | LicensePriceList | Prices in RSD with VAT included. The base price is per active production security element per month; modules are per organization per month. |
basePricePerElementobavezno | number | |
includedDocumentsobavezno | integer | |
overageDocumentPriceobavezno | number | |
advanceModulePriceobavezno | number | |
emailModulePriceobavezno | number | |
vatRateobavezno | number | Fraction |