Skip to content

Check a Facturae file against the schema

Beta This tool is in beta. It is tested on sample files, and details may still change. Review the result before relying on it.

Check a Spanish Facturae 3.2.2 XML file against the official schema and see each error with its line. Schema only, in beta. Free within the daily limit.

No file to hand? Try a sample invoice

In short

Check an invoice against its applicable EN 16931 and national rule set. Read each finding and guidance on what to correct. Free, 10 a day without an account.

What the check covers

Klarbon checks the XML against the official schema and the business rules of the rule set for its format and version, listed below, and checks a PDF for PDF/A-3 conformance and the invoice metadata Factur-X and ZUGFeRD require. It does not verify digital signatures, and a pass does not show that the tax treatment is right or that the recipient or a platform will accept the file.

Rule sets and versions

Klarbon chooses the rule set from what the file declares.

Specification Version Covers
Facturae 3.2.2 Official schema only

Klarbon checks a Spanish Facturae 3.2.2 file against the official schema from the Facturae portal and shows each error with its line and column. It is a schema check only, in beta: it does not verify the signature, does not check that amounts add up and sends nothing to FACe or the Spanish Tax Agency. Free for ten checks a day, fifty with a free account.

What does the check cover?

The file's structure, as the official schema defines it: which elements must be there, in what order and how often, and what each value may look like (dates, amounts with their decimals, tax type codes, country codes). The schema is the one the Facturae portal publishes for version 3.2.2 (Facturae, in Spanish). Klarbon fetches it from that address, pins it by its checksum and uses it unchanged.

Checked Not checked
Required elements, their order and how often they occur whether the XAdES signature is valid
Value formats and code lists defined in the schema whether line totals, taxes and the invoice total add up
Every invoice in a batch file FACe's checks on submission, such as the receiving units

How do I check a Facturae file?

  1. Upload the .xml file. Klarbon recognises Facturae 3.2.2 from its content, whatever the file is called.
  2. Read the result. It names the schema and its version and lists each error with the line and the column, a plain explanation of the common errors, and the validator's own message under the technical details.
  3. Correct the file in your invoicing software and check it again.

A missing invoice number (InvoiceNumber), for example, is reported as an element the schema expected and did not find, with the line where it belongs.

Does a valid file mean FACe will accept the invoice?

No. A valid result means the file matches the Facturae 3.2.2 structure. Invoices to the central government go through FACe (Facturae, in Spanish), which applies its own checks, and the receiving administration decides on the invoice. Klarbon does not sign invoices or submit them to FACe, another entry point or the Spanish Tax Agency.

What happens to my file?

It is sent to Klarbon's servers, checked in memory and deleted after the request. Klarbon keeps no copy and does not log the invoice's content. See what happens to my files. To read the invoice without uploading it, open the Facturae invoice in your browser.

What does it cost?

Checking is free: ten a day without an account, fifty with a free account, up to 2000 a day with Pro and Accountant. See prices.

See also

Frequently asked questions

What does the Facturae validator check?

It checks the XML file against the official Facturae 3.2.2 schema published on the Facturae portal. Each error comes with its line and column. It is a schema check only. It does not verify the XAdES signature, does not check that the amounts add up and does not send anything to FACe.

If the file passes, will FACe accept the invoice?

Not necessarily. Passing means the file matches the Facturae 3.2.2 structure. FACe and the receiving administration apply their own checks when the invoice is submitted.

Which versions can it check?

Facturae 3.2.2 only. A file in 3.2 or 3.2.1 is refused, is not counted against your daily checks and costs nothing.

Can I check a signed invoice?

Yes, as an .xml file. The signature is part of the schema and is checked for its structure, not verified. Files with the .xsig extension are not accepted by the check yet.

Are the errors explained in plain words?

The common ones are, in your language. A missing or misplaced element, a value in the wrong form, an empty field or a value that is not on the allowed list each get a plain explanation and a fix. It names the element and, for the best-known Facturae fields such as InvoiceNumber, what the field holds. Rarer schema errors appear as the validator writes them, in English. The validator's own message is always kept under the technical details.

How many files can I check for free?

Ten a day without an account and fifty with a free account. Pro and Accountant allow up to 2000 checks a day.

Sources

Updated 21 November 2026