Free tools

KSeF XML Validator

Validate your invoice XML against the FA(3) schema - free, no registration required

Paste invoice XML and click "Validate XML"

Free, with a shared limit

Without registering, you can use the tools a total of 2 times within 24 hours. This limit is shared across all tools.

Check the data and amounts before using the result. The KSeFGPT app also lets you send invoices to KSeF after connecting your account to the system.

  • 2 total uses within 24 hours
  • After creating an account: access to GUS data and manual editing of every invoice field
  • Full access to all platform modules
Create account

KSeF rejects an XML invoice: how to find the error

See how to use the free KSeFGPT validator to find an error in an XML file before sending it to KSeF.

This recording is in Polish.

Free Tools that humans LOVE to use

Share your thoughts - every review helps us make these tools better for you.

“Walidator wyłapał mi błąd w sumie P_15 na czterech fakturach z ERP, zanim je wysłałam do KSeF. Oszczędziłam dzień na korektach.”
Marta K. · Księgowa, biuro rachunkowe
“Najszybszy sposób na debug FA(3) – wklejam XML, widzę dokładnie który element nie trzyma schematu. Używam codziennie.”
Piotr W. · Dev / integrator
“Przed go-live KSeF przepuściliśmy cały hurt faktur testowych. Raport błędów jest czytelny nawet dla nietechnicznych osób w zespole.”
Anna S. · CFO, e-commerce
“Darmowe, bez rejestracji, działa w przeglądarce. Dokładnie tego potrzebowałem, żeby sprawdzić fakturę od nowego dostawcy.”
Tomasz L. · Właściciel, handel B2B

Free validator vs KSeFGPT Pro

Free validatorKSeFGPT account
Checking FA(3) XMLWithin the usage limitDepends on the plan
Document historyNoDepends on the plan
Creating and sending invoicesNoDepends on the plan
Companies in one accountNoDepends on the plan
AI assistant for KSeFSeparate public chatDepends on the plan
Invoice analyticsNoDepends on the plan
SupportInstructions and knowledge baseDepends on the plan

What is this KSeF XML?

This XML is a structured representation of an electronic invoice intended for submission or import to Poland's National e-Invoice System (KSeF).

XML describes an invoice in a machine-readable format. Instead of PDF or paper, the invoice is stored as data in a structure compliant with the XSD FA(3) schema.

KSeF does not accept invoices in PDF or Excel.

It only accepts structured XML data compliant with the schema.

This allows the system to automatically:

Verify VAT
Analyze data
Automate bookkeeping
Share invoices with contractors

Frequently asked questions

What is FA(3) XML and how does it differ from FA(2)?

FA(3) is the invoice structure used in KSeF since 1 February 2026. It replaced FA(2) and changed the scope and arrangement of some fields. Use the FA(3) documentation and schema when preparing new invoices.

How do I generate FA(3) XML from accounting software?

Check the invoice export option in your software's KSeF module. If it does not support FA(3), prepare the document in the generator or KSeFGPT app. Check the data and file before sending.

How do I open and preview FA(3) XML?

You can open XML in a text editor. Upload it to the validator to obtain a check result. Use the separate XML to PDF converter to prepare a readable invoice visualization.

How do I check XML before sending it to KSeF?

Paste the XML or upload a file and run the check. The tool reports detected structure and data issues, such as NIP, date or amount problems. Correct the reported errors. Validation does not replace KSeF's invoice acceptance status.

What errors can occur in FA(3) XML?

Common problems include malformed XML, missing required fields, incorrect date formats, invalid NIP numbers and inconsistent totals. The tool's messages indicate the scope of its checks; they do not assess the transaction's tax correctness.

Will the validator detect an invalid NIP?

The tool checks the NIP length and checksum, among other things. A mathematically valid result does not confirm that a company exists, its VAT status or whether the number belongs to the intended counterparty.

Why does P_15 differ by one grosz?

Rounding or different VAT calculation methods may cause this. Compare line-item amounts, totals by VAT rate and the total payable. For advances and corrections, account for the rules specific to that invoice type.

Can I convert a PDF to FA(3) XML?

Yes, using the separate PDF to XML converter. The validator works with XML. After conversion, compare the extracted data with the PDF and validate the prepared file.

Is XML validation a paid service?

The tool is free within a shared limit of 2 free-tool uses per 24 hours. A KSeFGPT account has separate features and limits defined by its plan.

Manage invoices in KSeFGPT

Connect your account to KSeF to send and receive invoices and use the history and features of your selected plan.

Create an account