KSeF PL Guide

Efficient help with your KSeF-related questions

KSeF Invoice XML Validator

Validate your KSeF FA(3) invoice XML structure against Polish Ministry of Finance requirements. Upload or paste XML — get instant results.

When to use: Catch missing sections and line-item fields before you push files to KSeF APIs or hand them to integration QA.

KSeF Invoice XML Validator

Validate your KSeF invoice XML structure against required schema rules

How to Use

1

Upload or Paste XML

Upload a .xml file or paste your KSeF invoice XML content directly into the text area.

2

Click Validate XML

The tool parses your XML and checks it against the FA(3) schema requirements.

3

Review Validation Results

Each rule shows a pass/fail status. Failed rules include specific details about what is missing or incorrect.

How It Works

Poland's KSeF system requires all invoices to be submitted in a structured XML format based on the FA(3) schema defined by the Ministry of Finance. This schema specifies mandatory elements including seller data (Podmiot1), buyer data (Podmiot2), invoice header (Fa), and line items (FaWiersze).

This validator checks your XML against 7 key structural rules: valid XML syntax, presence of the Faktura root element, required child elements (Podmiot1, Podmiot2, Fa), NIP fields in seller/buyer identification data, currency code and invoice date in the header, at least one line item, and required fields (P_7, P_8B, P_9A, P_12) in each line item.

The validation runs entirely in your browser using the DOMParser API. No XML data is uploaded to any server. This makes it safe to validate invoices containing sensitive business information.

Frequently Asked Questions

What is the FA(3) schema?
FA(3) is the latest XML schema standard published by the Polish Ministry of Finance for structured e-invoices in the KSeF system. It defines all required data fields, their structure, and validation rules.
Does this validator check all FA(3) rules?
This tool checks the most critical structural requirements — root element, required sections, key fields, and line item completeness. For full schema validation including data types and business rules, use the official KSeF test environment.
Can I validate invoices with namespaces?
Yes. The validator handles XML documents with or without namespace prefixes. It uses tag name matching to find elements regardless of namespace declarations.
What should I do if validation fails?
Review each failed rule carefully. The tool shows exactly which element or field is missing. Common issues include missing NIP in seller/buyer data, missing currency code (KodWaluty), or incomplete line item fields.

Data Security

  • XML is parsed locally in your browser — never uploaded
  • Safe for invoices with sensitive business data
  • No server-side processing or storage

Built by Experts

Built by developers specializing in Polish e-invoicing systems. Our validation rules are based on the official FA(3) schema documentation published by the Polish Ministry of Finance.

Last updated: 2025-07