Returns: Stavke. Allowed roles: per role/scope; scope: profakture:citanje.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: profakture:citanje
API key (Authorization: Bearer upl_live_…)
Parameters
Name
In
Required
Type
Description
X-Organizacija-Id
header
no
string (uuid)
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).
Amount change → new version (v+1), new PDF/QR, status back to izdata; customer gets an updated email. Forbidden if a payment exists (409 nedozvoljen_prelaz_statusa). Number and poziv_na_broj unchanged.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: profakture:pisanje
API key (Authorization: Bearer upl_live_…)
Parameters
Name
In
Required
Type
Description
X-Organizacija-Id
header
no
string (uuid)
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).
Required on every POST. Response cached 24 h (KV); same key + different body → 409 ponovljen_kljuc_idempotentnosti. Response includes Idempotent-Replayed: true on replay. Exceptions (optional key): /v1/nalog/*, /v1/nalog/pristupni-kljucevi/*, /v1/ja/sesije/opozovi-ostale, public /plati/*.
Request body
Field
Type
Required
Description
proizvod_id
string,null (uuid)
no
opis
string
no
kolicina
string
yes
jedinica_mere
string
no
jedinicna_cena
string
no
Amount in RSD as a decimal string with 2 fraction digits; currency is always RSD (no currency field)
stopa_pdv
enum: 10 | 20 | null
no
Stopa PDV-a u %. Ako organization ima u_sistemu_pdv=true, obavezno 10 ili 20; ako je false, mora biti null (bez PDV-a), inace 422 vat_rate_not_allowed.
Amount change → new version (v+1), new PDF/QR, status back to izdata; customer gets an updated email. Forbidden if a payment exists (409 nedozvoljen_prelaz_statusa). Number and poziv_na_broj unchanged.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: profakture:pisanje
API key (Authorization: Bearer upl_live_…)
Parameters
Name
In
Required
Type
Description
X-Organizacija-Id
header
no
string (uuid)
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).
Amount change → new version (v+1), new PDF/QR, status back to izdata; customer gets an updated email. Forbidden if a payment exists (409 nedozvoljen_prelaz_statusa). Number and poziv_na_broj unchanged.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: profakture:pisanje
API key (Authorization: Bearer upl_live_…)
Parameters
Name
In
Required
Type
Description
X-Organizacija-Id
header
no
string (uuid)
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).
Amount in RSD as a decimal string with 2 fraction digits; currency is always RSD (no currency field)
stopa_pdv
enum: 10 | 20 | null
no
Stopa PDV-a u %. Ako organization ima u_sistemu_pdv=true, obavezno 10 ili 20; ako je false, mora biti null (bez PDV-a), inace 422 vat_rate_not_allowed.