KSeF in short
Invoices between businesses in Poland go through the National e-Invoicing System (Krajowy System e-Faktur, KSeF). Since 1 February 2026, businesses whose 2024 sales were over PLN 200 million (with VAT) issue their invoices in KSeF, and every business receives invoices there. Since 1 April 2026 all other businesses issue them in KSeF too. Businesses whose invoiced sales are at most PLN 10,000 a month may issue invoices outside KSeF until 31 December 2026; from 1 January 2027 KSeF is mandatory for everyone.
An invoice in KSeF is an XML file in the FA structure, version FA(3) for KSeF 2.0. KSeF rejects a file that does not match the schema and gives one that does a KSeF number.
How to check an invoice
- Open the validator with the FA(3) schema.
- Paste the XML or drop the file, then press Validate. A folder or a
.zipof up to 1,000 invoices works too. - Click a finding to jump to its line; a rule id opens what the rule checks, and common schema messages link to an explanation of what they mean.
To read an invoice rather than check it, open it in the e-invoice viewer: a PDF in Polish or English, and every field of the file with what it means.
To write one, fill in the e-invoice generator: for a Polish seller it writes FA(3) with the sums per VAT rate and the annotations the VAT Act requires, an invoice in another currency with its tax in PLN, and a credit note as a correction (KOR), and checks it with the FA(3) schema and the rules below before you download it. Sending it to KSeF stays with you.
What is checked
The FA(3) schema of the Ministry of Finance with the shared type and code list schemas it imports: the structure of the invoice, required elements, data types and lengths, amounts with two decimals, dates, country and currency codes, VAT rates from the list, and the format of NIP numbers (ten digits in the expected pattern).
Then our rules, written after the Ministry's documentation (they are not the Ministry's), repeat what KSeF checks on the file beyond the schema: the NIP check digit of every party (XV-PL-03), which the production environment enforces and the test environment does not, no processing instructions (XV-PL-01) and no discouraged Unicode characters (XV-PL-02). An attachment is a warning, as KSeF takes it only from a seller who has registered the option.
They also check what the Ministry's FA(3) information sheet and the VAT Act require of fields the schema leaves optional, which KSeF accepts either way: P_15 as the sum of the amounts per rate (XV-PL-12), each rate's sum against the lines (XV-PL-14), the tax in PLN of an invoice in another currency (XV-PL-11), the elements corrective, advance and final invoices need, the PLN 450 limit of a simplified invoice (XV-PL-22), the buyer's name and address, the notes on exemption, reverse charge, the margin scheme and split payment (XV-PL-29), and the recipients of JST and VAT group invoices. Arithmetic that depends on rounding is a warning. The Ministry's FA(3) example files pass.
Not checked: duplicates, the sender's permissions, the file size, the issue date against the day of sending, and anything that needs a register, such as the VAT white list.
Profiles to check with
- KSeF FA(3): The structured invoice of the Polish National e-Invoicing System (KSeF), in the FA(3) version required from February 2026. Validate
Rules invoices break most
Each one has a page with what it checks, its test and, for many, how to fix it
XV-PL-03: The NIP … of … has no valid check digit; KSeF's production environment rejects the invoice (KSeF 2.0, weryfikacja faktury).XV-PL-12: P_15 (…) must be the sum of the net amounts P_13_1 to P_13_11 and the tax P_14_1 to P_14_5 (…) (FA(3) information sheet, P_15).XV-PL-14: The sums per rate do not match the lines: …. Each P_13 field is the sum of the net values (P_11) of the lines at its rate, or of their gross values (P_11A) less...XV-PL-11: An invoice in … must give its tax in PLN as well; missing: … (VAT Act, art. 106e ust. 11; FA(3) information sheet, P_14_1W).XV-PL-22: A simplified invoice (UPR) may be issued up to PLN 450 or EUR 100 due; P_15 is … … (VAT Act, art. 106e ust. 5 pkt 3).XV-PL-29: An invoice over PLN 15,000 due (P_15 …) to a taxpayer, with goods or services of Annex 15 (P_12_Zal_15), must carry the split payment note: P_18A 1 (VAT Act, ar...
Questions
Is the invoice uploaded?
No. The schema and the rules run in your browser. Only the API and URL monitors validate on our servers.
Does a valid result mean KSeF will accept the invoice?
It means the file matches the FA(3) schema and passes the checks KSeF makes on the file itself, such as the NIP check digits. KSeF can still reject it for reasons outside the file: a duplicate invoice number, missing permissions for the seller's NIP, or a file over 1 MB (3 MB with attachments).
Is FA(2) still accepted?
KSeF 2.0 uses FA(3), which replaced FA(2). The catalog has FA(3) only.
Can I check invoices from code?
Yes: the API and the command-line client with --schema ksef-fa-3, or a GitHub Action in your build.
Official sources
- Ministry of Finance: KSeF
- Ministry of Finance: from when invoices must be issued in KSeF
- Ministry of Finance: KSeF timeline
- Ministry of Finance: the FA(3) structure and its information sheet
- Ministry of Finance: invoice verification in KSeF 2.0
Other countries
- French e-invoice validator
- E-invoicing in Germany: XRechnung and ZUGFeRD
- E-invoicing in Belgium: Peppol BIS
- Dutch e-invoice validator: SI-UBL 2.0 and NLCIUS
- Danish e-invoice validator: OIOUBL 2.1
- E-invoicing in Norway: EHF invoice validator
- Swedish e-invoice validator: Peppol BIS
- Finnish e-invoice validator: Finvoice
- Austrian e-invoice validator for e-Rechnung.gv.at
- E-invoicing in the Czech Republic: ISDOC validator
- Croatian eRačun validator
- RO e-Factura validator
- FatturaPA validator
- Spanish e-invoice validator
- Portuguese e-invoice validator: CIUS-PT
- Greek e-invoice validator: myDATA
- ZATCA e-invoice validator (FATOORA)
- UAE e-invoice validator (PINT AE)
- InvoiceNow validator (PINT SG)
- JP PINT validator
- Australian e-invoice validator (PINT A-NZ)
- Malaysian e-invoice validator (MyInvois)
- Brazilian NF-e validator (SEFAZ rules)
- Mexican CFDI 4.0 validator (SAT validations)