Skip to content
Reference

Operations

The durable state of one fiscal operation, without contacting the V-PFR.

1 operations

Read an operation

get/v1/operations/{operationId}

Scopeoperations:read

The same state as the fiscal document in a shorter shape, from the database and without contacting the V-PFR. Use it when a 409 returns an operationId or when checking an unknown outcome.

Contract notes (OpenAPI)

Reads Boka's durable PostgreSQL operation state without contacting V-PFR, opening a security element, recovering an outcome, or retrying a fiscal command. A false fiscalized value is never a receipt.

Parameters

getOperation: Parameters
FieldDescription
operationIdrequiredIn: pathType: uuid

Responses

getOperation: Responses
200OKOperationOperation
404Not FoundResource does not exist within the authenticated tenant scopeErrorCode

Examples

unknown

GET/v1/operations/{operationId}
curl -X GET "https://api.bokapos.rs/v1/operations/4d5e6f7a-8b9c-4d0e-9f1a-2b3c4d5e6f70" \
  -H "Authorization: Bearer $BOKAPOS_TOKEN"
200OK
{
  "id": "4d5e6f7a-8b9c-4d0e-9f1a-2b3c4d5e6f70",
  "kind": "FISCAL_DOCUMENT",
  "status": "OUTCOME_UNKNOWN",
  "fiscalized": false,
  "failureCode": "PFR_RESPONSE_NOT_OBSERVED",
  "retryable": false,
  "resourceUrl": "/v1/fiscal-documents/4d5e6f7a-8b9c-4d0e-9f1a-2b3c4d5e6f70",
  "createdAt": "2026-09-01T09:00:00.000Z",
  "updatedAt": "2026-09-01T09:00:31.000Z"
}
Response: Operation

Field descriptions come from the OpenAPI contract; field names and values are identical in both languages.

getOperation: Response
FieldDescription
idrequiredType: uuid
kindrequiredType: const "FISCAL_DOCUMENT"
statusrequiredType: FiscalDocumentStatus

ValuesRECEIVEDVALIDATEDSUBMITTINGFISCALIZEDREJECTEDNOT_FISCALIZEDOUTCOME_UNKNOWNRECONCILING

fiscalizedrequiredType: boolean
failureCoderequiredType: string | null (nullable)
retryablerequiredType: boolean
resourceUrlrequiredType: uri-reference
createdAtrequiredType: date-time
updatedAtrequiredType: date-time