Skip to main content

Batch Results

GET 

/api/v1/batches/:batch_id/results

One row per invoice of the batch, in sequence order, streamed: sequence, invoice_number, status, transaction_id, document_uuid (the issued document's UUID, BTOM-002 for an Omani invoice; the IRN of a Nigerian one), qr (the Oman QR TLV, base64, when the issued document carries one; empty otherwise), error_code, error_message.

format=csv (default) answers text/csv with a header row; format=ndjson answers one JSON object per line (application/x-ndjson). Readable at any time: a batch still being sent shows each invoice's status so far.

Requestโ€‹

Responsesโ€‹

Successful Response