GET Feedback KSeF Sales Invoices
Feedback data and files
GET List of Incoming Invoices
| Endpoint | Method | Response |
|---|---|---|
| /v1/orders | GET | Get Full list of orders |
| /v1/orders/999999 | GET | Get data of 1 order |
How to Access the Returned Files
What KSeF specific information is available in the returned API Json body:
| Type of Information | What |
|---|---|
| PDF file | The PDF generated by Billit and enriched with KSeF signature information |
| Json file | The Json file that has been posted to Billit |
| Messages section | Status info and KSeF XML |
| Signature section | KSeF Signature Information including KSeF signature File |
About the files that can be retrieved:
| Type of Information | What | Action API endpoint |
|---|---|---|
| PDF file | The PDF generated by Billit and enriched with KSeF signature information | Get v1/files |
| Json file | The Json file that has been posted to Billit | Get v1/files |
| Messages section | Status info and KSeF XML | Get v1/files |
| Signature section | KSeF Signature Information including KSeF signature File | Get v1/order |
Instruction how to get a File :
| Endpoint | Method | Variable |
|---|---|---|
| Files : /v1/files/33ae4e0b-a579-46c3-b0d0-839999bb4ac1 | GET | Include FileID |
Examples about the files:
"OrderPDF": {
"FileID": "33ae4e0b-a579-46c3-b0d0-839999bb4ac1",
"FileName": "Invoice_409859_2_CentralneLaboratoriumPomiarowoBa.pdf"
}, "Attachments": [
{
"FileID": "1d28180f-ed23-4e0d-b2c0-4c4d4af9999e",
"FileName": "409859_2__23_01_2026 8_50_46.json"
}
],"Messages": [
{
"Description": "9540010231-20260123-010040EC0636-5A",
"FileID": "6ef998f0-a5ec-425b-bc5f-d99bbd9c99", //File ID of the XML file
"CreationDate": "2026-01-23T08:51:01.227",
"TransportType": "KSeF",
"Success": true,
"Trials": 2,
"Destination": "PL6331975945",
"MessageDirection": "Outgoing"
}
],"QRCode": "iVBORw0......5ErkJggg==",Example of Returned Information : Messages Segment
| Property | Signification | Sample value(s) |
|---|---|---|
| Description | KSeF ID | 9540010231-20260123-010040EC9999-9A |
| FileID | Billit ID of the file (for GET V1/files) | 6ef998f0-a5ec-425b-bc5f-d5757bbd9c99 |
| CreationDate | Date of creation at KSeF | 2026-01-23T08:51:01.227 |
| TransportType | When sent to KSeF then value is KSeF | KSeF |
| Success | Result returned by KSef, if false corrective action is needed | true, false |
| Trials | Number of attempts by Billit | 2 |
| Destination | ID of destination (typically VAT Numer or NIP number) | PL6331975999 |
| MessageDirection | Outgoing for Sales Invoices (Income) | Outgoing |
Sample content:
"Messages": [
{
"Description": "9540010231-20260123-010040EC9999-9A",
"FileID": "6ef998f0-a5ec-425b-bc5f-d5757bbd9c99",
"CreationDate": "2026-01-23T08:51:01.227",
"TransportType": "KSeF",
"Success": true,
"Trials": 2,
"Destination": "PL6331975999",
"MessageDirection": "Outgoing"
}
],Example of Returned Information : Signature
In the Json a Signature segment is present.
| DocumentStamp | KSeF ID |
| DateTimeInfo | Date of creation at KSeF |
| QRCode | File with the QR code |
| StampUrl | Link to KSeF allowing to performn a manual validation |
Sample content:
"Signature": {
"DocumentStamp": "9540010231-20260123-010040EC9999-9A",
"DateTimeInfo": {
"DateTime": "2026-01-23T08:52:05.7304125+01:00"
},
"QRCode": "iVBORw0KGgoAAAAt2iqF1F..........IaVulUnRe3+iehvq1bqtnaibErkJggg==",
"StampUrl": "https://qr-test.ksef.mf.gov.pl/client-app/invoice/9540010231/23-01-2026/EpJeQd5vAOUroMnYiN67eI6Z2I8AmOsgIzojUx5t3pc"
}Updated 2 days ago
What’s Next