E-invoice rule explained · Peppol BIS

PEPPOL-EN16931-R008: The document contains an empty element

Official message

Document MUST not contain empty elements.
Severity
Error (the invoice is rejected)
Checked in
UBL

What does PEPPOL-EN16931-R008 mean?

Peppol does not allow empty elements anywhere in a UBL invoice: every element must have either child elements or some text. An element that holds only spaces, or only attributes such as a currency or scheme, also counts as empty. If a value is unknown, the element must be left out entirely.

Usual causes

How do I fix PEPPOL-EN16931-R008?

  1. Find the empty element(s) named in the validation report and remove them, or fill them with the real value.
  2. Set your export to leave out optional fields that have no value instead of writing them empty.
  3. Check elements that carry attributes too: an element with a schemeID or currencyID still needs a value.

Corrected XML (minimal example we wrote)

UBL

<cbc:Note>Thank you for your order.</cbc:Note><cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>

Example values only. Put the elements in place of, or beside, what your file has; element order matters in both syntaxes.

Check your file for free

The free checker runs the official EN 16931, XRechnung and Peppol rules in your browser. Your file is not uploaded.

Open the free checker

In development — early access

Fix-and-explain for accountants and invoicing teams

A paid service that explains every failed rule in plain German, French, Dutch or English and proposes a corrected file is in development. Early access

Source

Rule id and official message from the OpenPeppol BIS Billing 3 rules, 3.0.22 (MPL-2.0), compiled from upstream commit 38d693d. The explanation, causes, fix and XML on this page are our own, not the rule publisher's. OpenPeppol BIS Billing 3 rules 3.0.22