KSeF Β· Polish e-invoicing
KSeF invoices arrive as XML. DocAI reads them exactly.
The National e-Invoice System delivers FA(3) XML files, not PDFs. DocAI reads the structured data directly (every amount, date and NIP exactly as issued) and gives you validation, review and export in one place.
From KSeF file to booked invoice
Drop in the XML
Upload the FA(3) file from KSeF, or forward it by email, or send it through the API. Batches welcome.
Read, not recognized
Structured e-invoices skip OCR and AI entirely: values are taken from the XML itself, so there is nothing to misread. The result is marked with its own trust status.
Checked and exported
DocAI verifies NIP checksums, cross-checks totals against line items, flags duplicates, and exports to JSON, CSV or XLSX with accounting columns.
Built for the FA(3) reality
- Correction invoices (RodzajFaktury KOR) are recognized and routed as credit notes with a reference to the original.
- Line items keep their VAT rates, units and net amounts; order references and payment accounts are read when present.
- Seller and buyer NIPs are checksum-validated and matched against your entity list.
- Factur-X, ZUGFeRD and UBL 2.1 e-invoices are read the same way, useful when your suppliers span borders.
- Paper and PDF invoices still work: they go through OCR and AI extraction with per-field source evidence, in the same review screen.
KSeF became mandatory for Poland's largest taxpayers on 1 February 2026 and for other businesses on 1 April 2026. Invoices now arrive as FA(3) XML whether your tools can read them or not.
Frequently asked questions
Do I need to connect DocAI to the KSeF API?
No. DocAI reads the FA(3) XML file itself. Download it from KSeF or take it from your invoicing software, then upload it, forward it by email, or send it through the API. No KSeF credentials or API connection are involved.
Does AI process my e-invoice data?
Not for structured XML: the values are read directly from the file, and the result carries a dedicated trust status instead of an AI confidence score. AI extraction runs only for scans, photos and PDFs without a structured layer.
What if my invoices are still PDFs or paper?
They follow the OCR + AI path: every extracted field links to the exact place on the page it came from, so review is fast and verifiable. Both kinds of invoice end up in the same history, dashboards and exports.
Try it on a real FA(3) file. The demo runs on a genuine sample invoice, no account needed.