Pređi na sadržaj
Referenca

Bezbednosni elementi

Bezbedni metapodaci sertifikata (JID, važenje, status) bez tajni. Za praćenje isteka i okruženja.

2 operacija

Lista bezbednosnih elemenata

get/v1/security-elements

Scopesecurity-elements:read

Metapodaci sertifikata po obvezniku i prodajnom mestu: JID, okruženje, važenje, status isteka i preporuka zamene. Tajne se nikad ne vraćaju.

Beleške iz ugovora (OpenAPI, engleski)

Secret envelope references and plaintext values are never returned. Scoped to the caller's environment like every other tenant read.

Parametri

listSecurityElements: Parametri
PoljeOpis
taxpayerIdopcionoGde: queryTip: uuid
businessPremiseIdopcionoGde: queryTip: uuid

Odgovori

listSecurityElements: Odgovori
200OKTenant-scoped security elements
Odgovor:

Opisi polja su preuzeti iz OpenAPI ugovora i na engleskom su; nazivi polja i vrednosti su isti u oba jezika.

listSecurityElements: Odgovor
PoljeOpis
itemsobaveznoTip: array<SecurityElement>
idobaveznoTip: uuid
taxpayerIdobaveznoTip: uuid
businessPremiseIdobaveznoTip: uuid
environmentobaveznoTip: FiscalEnvironmentThe 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.

Vrednostisandboxproduction

jidobaveznoTip: string
certificateThumbprintobaveznoTip: string
certificateSubjectobaveznoTip: string
certificateIssuerobaveznoTip: string
certificateSerialNumberobaveznoTip: string
certificateNotBeforeobaveznoTip: date-time
certificateNotAfterobaveznoTip: date-time
certificateExpiryStatusobaveznoTip: stringServer-evaluated public-certificate time status using the configured 30-day warning and 7-day critical windows by default.

Vrednostinot-yet-validcurrentwarningcriticalexpired

replacementRecommendedobaveznoTip: booleanTrue for a non-retired element whose public certificate is inside the warning window or expired; this is not proof of revocation or V-PFR status.
statusobaveznoTip: string

Vrednostipending-verificationactivesuspendedretired

createdAtobaveznoTip: date-time
updatedAtobaveznoTip: date-time
onboardingopcionoTip: object | null (može biti null)Present only in the upload-completion response (null or absent elsewhere): the safe names of the taxpayer and business premise the element was bound to, read from the stored records, and whether each record was created by this upload. Never secret material.
taxIdentifierobaveznoTip: string
taxpayerLegalNameobaveznoTip: string
taxpayerCreatedobaveznoTip: boolean
businessPremisePuIdentifierobaveznoTip: string
businessPremiseNameobaveznoTip: string
premiseCreatedobaveznoTip: boolean

Pročitaj bezbednosni element

get/v1/security-elements/{securityElementId}

Scopesecurity-elements:read

Jedan element po identifikatoru, isti bezbedni skup polja.

Parametri

getSecurityElement: Parametri
PoljeOpis
securityElementIdobaveznoGde: pathTip: uuid

Odgovori

getSecurityElement: Odgovori
200OKSecurity element metadataSecurityElement
404Not FoundResource does not exist within the authenticated tenant scopeErrorCode
Odgovor: SecurityElement

Opisi polja su preuzeti iz OpenAPI ugovora i na engleskom su; nazivi polja i vrednosti su isti u oba jezika.

getSecurityElement: Odgovor
PoljeOpis
idobaveznoTip: uuid
taxpayerIdobaveznoTip: uuid
businessPremiseIdobaveznoTip: uuid
environmentobaveznoTip: FiscalEnvironmentThe 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.

Vrednostisandboxproduction

jidobaveznoTip: string
certificateThumbprintobaveznoTip: string
certificateSubjectobaveznoTip: string
certificateIssuerobaveznoTip: string
certificateSerialNumberobaveznoTip: string
certificateNotBeforeobaveznoTip: date-time
certificateNotAfterobaveznoTip: date-time
certificateExpiryStatusobaveznoTip: stringServer-evaluated public-certificate time status using the configured 30-day warning and 7-day critical windows by default.

Vrednostinot-yet-validcurrentwarningcriticalexpired

replacementRecommendedobaveznoTip: booleanTrue for a non-retired element whose public certificate is inside the warning window or expired; this is not proof of revocation or V-PFR status.
statusobaveznoTip: string

Vrednostipending-verificationactivesuspendedretired

createdAtobaveznoTip: date-time
updatedAtobaveznoTip: date-time
onboardingopcionoTip: object | null (može biti null)Present only in the upload-completion response (null or absent elsewhere): the safe names of the taxpayer and business premise the element was bound to, read from the stored records, and whether each record was created by this upload. Never secret material.
taxIdentifierobaveznoTip: string
taxpayerLegalNameobaveznoTip: string
taxpayerCreatedobaveznoTip: boolean
businessPremisePuIdentifierobaveznoTip: string
businessPremiseNameobaveznoTip: string
premiseCreatedobaveznoTip: boolean