Read an operation
get/v1/
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
| Field | Description |
|---|---|
operationIdrequiredIn: pathType: uuid |
Responses
| 200OK | OperationOperation |
|---|---|
| 404Not Found | Resource does not exist within the authenticated tenant scopeErrorCode |
Examples
unknown
curl -X GET "https://api.bokapos.rs/v1/operations/4d5e6f7a-8b9c-4d0e-9f1a-2b3c4d5e6f70" \
-H "Authorization: Bearer $BOKAPOS_TOKEN"{
"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.
| Field | Description |
|---|---|
idrequiredType: uuid | |
kindrequiredType: const "FISCAL_DOCUMENT" | |
statusrequiredType: FiscalDocumentStatus | Values |
fiscalizedrequiredType: boolean | |
failureCoderequiredType: string | null (nullable) | |
retryablerequiredType: boolean | |
resourceUrlrequiredType: uri-reference | |
createdAtrequiredType: date-time | |
updatedAtrequiredType: date-time |