PEPPOL-EN16931-R008: The document contains empty XML elements
How to clear PEPPOL-EN16931-R008 when the official OpenPeppol BIS Billing 3.0 schematron rejects your invoice.
3 invoices/month free · Pro €12 (100) · Office €49 (1,000) · pay via Paddle, cancel any time.
PEPPOL-EN16931-R008 · Fatal error
[PEPPOL-EN16931-R008]-Document MUST not contain empty elements.
What it means and how to fix it
The official Peppol rule is: Document MUST not contain empty elements. An empty tag such as <cbc:Note></cbc:Note> or an empty group with no content is enough to fail validation, even if every business field you care about is filled.
This often appears after a conversion or after a hand-edited XML file, when optional fields were left in the tree as empty tags. The fix is to remove those empty elements, not to fill them with a space or a placeholder.
Valifakt’s Peppol output is checked with the official OpenPeppol schematron; empty elements are not written.
Where it sits in UBL
Any empty element (no text, no children that carry data) is rejected.
Related rules
- PEPPOL-EN16931-R001 — Business process (profile ID) is missing
- PEPPOL-EN16931-R010 — Buyer electronic address is missing
- PEPPOL-EN16931-R020 — Seller electronic address is missing
- PEPPOL-EN16931-R046 — Item net price does not match gross price minus allowance
- PEPPOL-EN16931-R120 — Invoice line net amount does not match quantity times price
- PEPPOL-EN16931-R002 — More than one document-level note (unless both parties are German)
- PEPPOL-EN16931-R003 — Neither a buyer reference nor a purchase order reference
- PEPPOL-EN16931-R004 — Specification identifier is not the Peppol BIS 3.0 CustomizationID
- PEPPOL-EN16931-R005 — VAT accounting currency is the same as the invoice currency
- PEPPOL-EN16931-R007 — Business process identifier is not on the approved list
- PEPPOL-EN16931-R051 — A currencyID does not match the invoice currency (except BT-111)
- PEPPOL-EN16931-R053 — More than one tax total with tax subtotals
- PEPPOL-EN16931-R061 — Direct debit without a mandate reference
- PEPPOL-EN16931-R040 — Allowance or charge amount does not equal base × percentage / 100
- PEPPOL-EN16931-R041 — Allowance or charge percentage without a base amount
- PEPPOL-EN16931-CL007 — Currency code is not an ISO 4217 code
- PEPPOL-EN16931-F001 — A date is not in YYYY-MM-DD format
- PEPPOL-EN16931-R130 — Price base quantity unit differs from the invoiced quantity unit
- PEPPOL-EN16931-R042 — Allowance or charge base amount without a percentage
- PEPPOL-EN16931-R054 — Tax currency present but not exactly one tax total without subtotals
- PEPPOL-EN16931-R121 — Price base quantity is missing, zero or negative
- PEPPOL-EN16931-P0100 — Invoice type code is not allowed for the Peppol billing profile
- PEPPOL-EN16931-CL008 — Electronic address scheme ID is not in the official scheme list
Source
OpenPeppol BIS Billing 3.0 (BIS Billing 3.0.22 schematron). Facts checked 30.11.2026. Not legal advice.
FAQ
Is a whitespace-only element empty?
Treat it as a problem. The robust fix is to omit the element unless it has a real value.
Do attributes on an otherwise empty tag count?
Do not rely on that. If the element has no business value, omit it.
Validate the XML for free Pricing: 3 free, Pro €12, Office €49