Skip to main content

Offline Batch Send

POST /invoices/{environment}/offline/send-batch​

Sends all signed/pending offline invoices as a batch to KSeF. Requires KSeF to be available again (outage ended).

Path Parameters​

ParameterTypeRequiredDescription
environmentstring✅test, demo or prod

Response 200​

{
"referenceNumber": "20260115-BATCH-XXXXXXXX",
"totalCount": 5,
"status": "processing"
}
FieldTypeDescription
referenceNumberstringKSeF batch reference number
totalCountintegerNumber of invoices in the batch
statusstringBatch status (typically processing)

Error Codes​

CodeDescription
401Unauthorized
404No invoices to send (queue empty)
409KSeF still unavailable (outage/simulation active)
502KSeF error