Offline Invoices List
GET /invoices/{environment}/offline​
Returns the list of offline invoices (outage mode) for the given environment.
Path Parameters​
| Parameter | Type | Required | Description |
|---|---|---|---|
environment | string | ✅ | test, demo or prod |
Query Parameters​
| Parameter | Type | Default | Description |
|---|---|---|---|
status | string | unsent | Status filter |
Allowed status values​
| Value | Description |
|---|---|
unsent | Default: includes pending, signed, error, processing |
pending | Awaiting signature |
signed | Signed, ready to send |
error | With error |
processing | Being processed |
sent | Sent to KSeF |
all | All statuses |
Response 200​
{
"invoices": [
{
"id": "uuid",
"invoiceNumber": "FV/2026/01/001",
"issueDate": "2026-01-15",
"buyerName": "Client ABC",
"buyerNip": "1234567890",
"netAmount": 1000.00,
"grossAmount": 1230.00,
"vatAmount": 230.00,
"currency": "PLN",
"status": "signed",
"errorMessage": null,
"ksefReferenceNumber": null,
"qrLinkInvoice": "https://...",
"qrLinkCertificate": "https://...",
"createdAt": "2026-01-15 10:00:00"
}
],
"totalCount": 1
}
| Field | Type | Description |
|---|---|---|
invoices | array | List of offline invoices |
totalCount | integer | Total number of invoices in the result |
Offline invoice fields:
| Field | Type | Description |
|---|---|---|
id | string (uuid) | Offline invoice ID |
invoiceNumber | string | Invoice number |
issueDate | string | Issue date (YYYY-MM-DD) |
buyerName | string | Buyer company name |
buyerNip | string | Buyer NIP number |
netAmount | number | Net amount |
grossAmount | number | Gross amount |
vatAmount | number | VAT amount |
currency | string | Currency code |
status | string | Invoice status: pending, signed, error, processing, sent |
errorMessage | string | null | Error message (only when status is error) |
ksefReferenceNumber | string | null | KSeF reference number (only after batch send) |
qrLinkInvoice | string | null | QR verification URL for the invoice |
qrLinkCertificate | string | null | QR verification URL for the certificate |
createdAt | string | Creation date |
Error Codes​
| Code | Description |
|---|---|
| 401 | Unauthorized |