Skip to content
Klarfile

KF-XML-RACINE: The XML is not an invoice

This code shows up when an electronic invoice is validated. Here is what it means, why it fires, and what to change in the file.

Why this code appears

The document root is neither CrossIndustryInvoice (CII syntax, used by Factur-X and ZUGFeRD) nor Invoice / CreditNote (UBL syntax, used by Peppol BIS 3.0 and XRechnung). This may be an Order-X purchase order, a despatch advice, or another XML format filed under an invoice name.

How to fix it

Check what your software produced. We read BOTH syntaxes accepted by EN 16931, whether attached to a PDF or dropped as a bare XML file: if neither is recognised, the document is not an e-invoice in the sense of the standard.

Where it happens

This check is ours, not a code from the standard: we do not cover enough of EN 16931 to borrow its numbers, and a misattributed official code would send you to fix the wrong field. It concerns XML.

Check my invoice All rejection codes