Top Up Credits โ†’
InvoiceSpec / Rules Registry / peppol-bis-3 / PEPPOL-EN16931-R008
fatal ASSERTION ยท PEPPOL-EN16931-R008 Peppol BIS Billing 3.0 (UBL-2.1) Jurisdiction: EU

PEPPOL-EN16931-R008: Document MUST NOT contain empty XML elements

Official Peppol BIS Billing 3.0 Spec โ†—
01. Technical Specification & XPath Evaluation Context

Peppol BIS Billing 3.0 strictly forbids empty XML nodes (such as <cbc:BuyerReference/> or <cbc:CompanyID></cbc:CompanyID>). ERPs that serialize null database columns as empty tags trigger immediate rejection at the Peppol Access Point.

Evaluated XPath Location:
//*[not(node()) and not(self::cac:*)]
Deterministic Remediation Steps

Strip all leaf XML elements with empty string or whitespace-only text content (and no child elements) prior to UBL serialization.

02. Side-by-Side UBL-2.1 Payload Diff (Rejected vs. Compliant)
--- a/invoice-rejected.xml (PEPPOL-EN16931-R008) FAIL
1 <cac:AccountingSupplierParty>
2 <cac:Party>
3 <cbc:EndpointID schemeID="0088">7300010000001</cbc:EndpointID>
4 <cac:PartyName>
5 <cbc:Name>Acme Industrial GmbH</cbc:Name>
6 </cac:PartyName>
7 <cac:PostalAddress>
8 <cbc:StreetName>Friedrichstr. 120</cbc:StreetName>
9 - <!-- ERROR [PEPPOL-EN16931-R008]: Empty element serialized from null DB field -->
10 <cbc:AdditionalStreetName></cbc:AdditionalStreetName>
11 <cbc:CityName>Berlin</cbc:CityName>
12 <cbc:PostalZone>10117</cbc:PostalZone>
13 <cac:Country><cbc:IdentificationCode>DE</cbc:IdentificationCode></cac:Country>
14 </cac:PostalAddress>
15 </cac:Party>
16 </cac:AccountingSupplierParty>
+++ b/invoice-compliant.xml (EN 16931 VALID)
PASS
1 <cac:AccountingSupplierParty>
2 <cac:Party>
3 <cbc:EndpointID schemeID="0088">7300010000001</cbc:EndpointID>
4 <cac:PartyName>
5 <cbc:Name>Acme Industrial GmbH</cbc:Name>
6 </cac:PartyName>
7 <cac:PostalAddress>
8 <cbc:StreetName>Friedrichstr. 120</cbc:StreetName>
9 <cbc:CityName>Berlin</cbc:CityName>
10 <cbc:PostalZone>10117</cbc:PostalZone>
11 <cac:Country><cbc:IdentificationCode>DE</cbc:IdentificationCode></cac:Country>
12 </cac:PostalAddress>
13 </cac:Party>
14 </cac:AccountingSupplierParty>
03. Interactive Peppol BIS Billing 3.0 Validation & Auto-Fix Workbench
1 CREDITS
invoice.xmlUBL-2.1
DETECTED SOURCECustom ERP / Billing Engine
BT-131 LINE SUM0.00 EUR
BT-106 HEADER0.00 EUR
SCHEMATRON: 2 FATAL, 1 WARNยท 1ms
Peppol BIS Billing 3.0
BR-01An Invoice shall have a valid EN 16931 Specification identifier (BT-24)
Spec & Diff
xpath: /ubl:Invoice/cbc:CustomizationID

Missing <cbc:CustomizationID> or value does not declare EN 16931 CIUS compliance.

fix: Insert <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>.

PEPPOL-EN16931-R008Document MUST NOT contain empty XML elements (found 1: <cbc:AdditionalStreetName>)
Spec & Diff
xpath: //cbc:AdditionalStreetName[not(node())]

Peppol Schematron forbids empty elements such as <cbc:AdditionalStreetName></cbc:AdditionalStreetName> serialized from null ERP fields.

fix: Strip empty <cbc:AdditionalStreetName> nodes prior to XML serialization.

BR-DE-15Buyer reference / Leitweg-ID (BT-10) is missing
Spec & Diff
xpath: /ubl:Invoice/cbc:BuyerReference

No <cbc:BuyerReference> (BT-10) found. Mandatory in XRechnung 3.0 (BR-DE-15) and required in Peppol BIS 3.0 (PEPPOL-EN16931-R003) when OrderReference is absent.

fix: Insert <cbc:BuyerReference>991-12849-74</cbc:BuyerReference> in the document header.

Automate Custom ERP / Billing Engine โ†’ Peppol BIS Billing 3.0 AP Delivery

Deploy certified Peppol Access Point & ZUGFeRD ERP connector

04. Adjacent Peppol BIS Billing 3.0 Assertions Browse All Rules โ†’