E-invoice validation
Know your e-invoice will be accepted, before you send it.
RULESGUARD checks XML e-invoices against the official schemas and business rules for Peppol, EN 16931, XRechnung, ZUGFeRD / Factur-X, FatturaPA, KSeF and more. Paste or drop a file, pick a profile, and you see every problem with its rule ID and line number, in seconds. ZUGFeRD and Factur-X PDFs are checked as a whole, PDF included.
- 58 validation profiles
- 10+ countries and networks
- No sign-up or install
- Zero invoice data stored
A rejected invoice is a late payment
E-invoicing mandates have turned invoices into structured data that a machine reads first. When an invoice breaks a rule, whether that's a missing buyer reference, a VAT total that's off by a cent, or the wrong code list value, it is rejected by the access point, the tax portal or the customer's ERP. Often nobody notices until the payment doesn't arrive.
The rules are public, but they are spread across schemas, Schematron files and specification PDFs from a dozen publishers, each with its own versions. RULESGUARD puts them in one place and runs all of them on your invoice.
How it works
-
1
Pick a profile
Choose the format and version your recipient expects, for example Peppol BIS Billing or XRechnung. The list shows the latest version of each by default. A sample invoice loads so you can see a valid document right away.
-
2
Paste or drop your XML
Upload a file or edit it directly in the built-in XML editor. Validation runs as you type, so every fix gets checked immediately. Dropping a ZUGFeRD / Factur-X PDF works too: the invoice XML inside it opens in the editor.
-
3
Fix what's flagged
Errors are listed with the rule that failed, its message, and where in the document it happened. Schema errors are marked on the exact line in the editor.
Two checks, the same ones your recipient runs
Structure: XSD schema
Is the document well-formed, are the elements in the right order, and are mandatory fields present with the right data types? This is the check that fails first if an export template is broken.
Business rules: Schematron
Do the totals add up? Is the VAT category consistent with the rate? Is
the country-specific rule met? These are the official rule sets, such as
BR-CO-10 or PEPPOL-EN16931-R001, published by
the standards bodies.
For ZUGFeRD / Factur-X PDFs: the PDF itself
A hybrid invoice is only as good as its container. Upload the PDF and RULESGUARD finds the embedded XML, picks the profile from its guideline ID, and runs XSD and Schematron on it. It also checks what the recipient's software checks before it ever reads the XML: that the file is valid PDF/A-3 (with veraPDF, the reference validator), that the XML is attached under the right name and relationship, and that the PDF's XMP metadata declares the same profile level as the XML.
Errors and warnings are kept apart. An invoice is only marked invalid when a rule flagged as an error fails. Warnings are shown so you can fix them, but they don't block a valid result.
What it covers
Invoices and credit notes, in UBL and UN/CEFACT CII where the standard allows both.
| Standard | Where it's used | Versions |
|---|---|---|
| EN 16931 | European core invoice model (UBL and CII) | 1.3.14.2 |
| Peppol BIS Billing | Peppol network, Europe and beyond (UBL and CII) | 3.0.19, 3.0.21, 3.0.22-hotfix |
| Peppol PINT | International Peppol invoicing: base, EU, Singapore, UAE, Japan | 1.0, 1.1.0 |
| XRechnung | Germany, invoices to the public sector (UBL and CII) | 3.0.2, rules 2.6.0 |
| ZUGFeRD / Factur-X | Germany and France: Minimum, Basic WL, Basic, EN 16931, Extended | 1.07.3, 1.09.2 |
| France CTC (FNFE-MPE) | France, e-invoicing reform: invoices (UBL, CII; EN 16931, Extended-CTC-FR), CDAR lifecycle, Flux 10 e-reporting | 1.4.0.04 |
| FatturaPA | Italy, via SDI | 1.2.3 |
| KSeF | Poland, national e-invoicing system | FA(3) |
| RO e-Factura (CIUS-RO) | Romania, via ANAF | 1.0.9 |
| e-Fatura | Turkey (UBL-TR) | 1.0 |
| UBL-TR (GİB) | Turkey: e-Fatura and e-Arşiv invoices, e-İrsaliye, İrsaliye yanıtı, uygulama yanıtı | rules 2026-07-01 |
| e-Arşiv report | Turkey, GİB e-Arşiv reporting | 1.20 |
Older versions stay available while they're in use. When a standard publishes a new release it's added next to the existing one instead of replacing it. You can validate against the version your trading partner actually runs, and test the new one before you switch. An older version is retired once its replacement covers the same invoices.
Who it's for
Finance and accounts payable
Find out why a supplier's invoice was rejected, or check an outgoing one before it goes out, without waiting for IT.
ERP and integration teams
Test export templates and mappings against every target format while you build them, not when the first customer complains.
E-invoicing providers and support
Reproduce a customer's error in seconds, send them the exact failing rule, and share samples safely with pseudonymized data.
More than a pass or fail
Readable preview and PDF
For most profiles, RULESGUARD renders the XML as a readable invoice and exports it as a PDF. Useful for checking that what the machine reads matches what you meant to bill.
Pseudonymize before you share
Replace names, addresses, VAT numbers, bank accounts and contacts in a UBL document with realistic fake data. Amounts, codes and structure are kept, and identifiers still pass their check digits, so the copy validates exactly like the original. Safe to attach to a support ticket. Try it
Live validation
Results update as you edit. Fix a field, see the error disappear, move on to the next one. There's no upload-and-wait loop.
XSLT conversion
Run an XSLT transformation on a single document or a batch, and download the result. Open the converter
Kept current
Rule sets change several times a year. RULESGUARD checks the official publishers daily for new releases. Each update is tested against a suite of reference invoices and reviewed by a person before it goes live, so a rule change never silently changes your results.
Your invoices stay yours
No invoice data is ever persisted. Your document exists on the server only while it's being checked: in memory, or in a temporary file only the validator can read. It's deleted as soon as the result is returned, even if the check fails. There's no database, no document library and no account, and invoice content is never written to logs.
Need to show an invoice to someone else? Pseudonymize it first.
Questions
Does a valid result guarantee my invoice will be accepted?
It means the invoice passes the published schema and business rules for that profile, which is what access points and tax portals check. Recipients can add their own requirements on top, such as a specific purchase order number format, and those aren't public.
Which profile should I choose?
The one your recipient asks for. Sending over Peppol means Peppol BIS Billing. German public sector buyers usually ask for XRechnung. A PDF invoice with embedded XML is ZUGFeRD / Factur-X; upload the PDF and the profile is picked for you. If unsure, start with EN 16931. Every national format builds on it.
Can I check a ZUGFeRD or Factur-X PDF?
Yes. Drop the PDF on the editor or use the upload button. You get three
results: PDF/A-3, how the invoice XML is embedded, and the XML itself
against the profile named in its guideline ID. The XML then stays in the
editor, so you can fix it and see the result live. Checking a PDF takes a
few seconds, and without an API key it's limited to a few PDFs per
minute. A PDF whose XML says only urn:cen.eu:en16931:2017 is
checked as Factur-X EN 16931; pick another profile afterwards if you meant
something else. ZUGFeRD 1.0 isn't supported.
Do you store my invoices?
No. An invoice lives on the server only for the few seconds it takes to check, convert or render it, and is deleted straight after. Nothing is saved, indexed or kept for later, so there's nothing we could look at or lose afterwards.
Is it free?
Yes. Validation in the browser is free and needs no registration.
Is there an API?
Yes. Everything the site does is available over a REST API: validate
XML and PDF invoices, list profiles, render, convert and pseudonymize.
The API reference lists every endpoint with its
parameters, response fields and a curl example, and you can try the
calls from the page. POST /validate needs an API key; ask at
[email protected].
How large can a file be?
Up to 2 MB per document, which covers nearly every invoice. Very large invoices are usually large because of embedded attachments.
My format or country isn't listed.
Coverage grows with the mandates. More national formats are on the roadmap, French e-invoicing among them. Tell us what you need at [email protected].