Skip to content
FORMAT-ZF

ZUGFeRD format faulty

The XML file embedded in the PDF does not comply with the ZUGFeRD standard.

What to do now

Tip: Ask the sender to create the invoice again in the correct ZUGFeRD format.

What it looks like in the XML

Example from a correct invoice – the path in the file, then the element. The values are fictitious.

Well-formed XML file with root element

UBL · XRechnung (UBL), Peppol BIS, SI-UBL
<!-- Anfang der Datei -->
<?xml version="1.0" encoding="UTF-8"?>
<ubl:Invoice xmlns:ubl="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
             xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
             xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
  <cbc:CustomizationID>…</cbc:CustomizationID>
  …
</ubl:Invoice>
CII · ZUGFeRD, Factur-X, XRechnung (CII)
<!-- Anfang der Datei (im ZUGFeRD-PDF als Anlage factur-x.xml) -->
<?xml version="1.0" encoding="UTF-8"?>
<rsm:CrossIndustryInvoice xmlns:rsm="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100"
                          xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100"
                          xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100">
  <rsm:ExchangedDocumentContext>…</rsm:ExchangedDocumentContext>
  …
</rsm:CrossIndustryInvoice>

If the invoice violates the rule at this point, the validator reports FORMAT-ZF.

Element names apply to the EN 16931 syntaxes UBL 2.1 and UN/CEFACT CII D16B; other formats use their own names for the same information.

Who has to fix this?

The issuer or their software has to fix this. Such files are technically defective and cannot be rescued by reworking individual fields.

Where this rule comes from

These findings arise before the actual business rules can be checked at all — for example when the XML file is not well-formed, does not match the schema, or a ZUGFeRD PDF contains no embedded XML.

Rule ID
FORMAT-ZF
Rule set
File and structure errors
Checked for
XRechnung, ZUGFeRD, Factur-X, Peppol BIS and other EN 16931 formats
Consequence of a violation
The invoice is considered non-compliant with the standard and is automatically rejected by many recipients.

Does FORMAT-ZF occur in your invoice?

Upload the XRechnung or the ZUGFeRD/Factur-X PDF – the validator shows every violation with the same explanation as here. Free, no login, nothing stored.

Validate your invoice now

General information, not tax or legal advice. As of October 2026. Validation rules: CEN/TC 434 (EN 16931, EUPL 1.2), KoSIT (XRechnung, Apache 2.0), FNFE-MPE/FeRD (Factur-X/ZUGFeRD, Apache 2.0), OpenPeppol AISBL (Peppol BIS), ANAF (CIUS-RO). Explanations: Billvox. Licence notices