Skip to main content

Status and operations

GET /outgoing-invoices/{invoiceId}/status returns a convenient unified status and diagnostic detail.

DRAFTStill editable.
ISSUINGAn external step is running.
ISSUEDAll required steps completed.
CORRECTEDAn issued correction is now effective.
REVERSEDAn issued full reversal is now effective.
FAILEDKnown terminal failure.
CANCELLEDDraft cancelled before issuance.
{"status":"ISSUING","detail":{"documentStatus":"PUBLISHED","workflowStatus":"RUNNING","transport":{"channel":"AS4","status":"ACKNOWLEDGED"},"fiscalization":{"mode":"E_INVOICE","status":"PENDING"},"correction":{"state":"NONE"}}}

Ordinary eInvoice fiscalization and eReporting share one dimension so they are not mistaken for two concurrent obligations. The authoritative non-AS4 path returns fiscalization.mode: "E_IZVJESTAVANJE" with purpose: "NON_AS4_DELIVERY"; ordinary fiscalization returns mode: "E_INVOICE".

CORRECTED and REVERSED are unified business statuses of the source document. detail.correction retains the chain diagnostics, while the effective replacement remains independently addressable.

Asynchronous operations​

Issuance, correction, and reversal return an operation resource. Workers claim each operation with a database lease so two instances cannot send the same document concurrently. ACTION_REQUIRED is intentionally excluded from automatic retries.

Poll one operation through GET /public/v1/operations/{operationId}. To follow several operations without frequent polling, open the guarded SSE event stream with events:read.