PEPPOL-EN16931-R101

Document reference used outside an invoice line

Needs a business decision Field BG-24 PEPPOL UBL / CII

What it means

Peppol restricts this kind of document reference to invoice lines. Placing it at document level is a structural mistake rather than a data error — the reference is valid, just attached to the wrong node. It cannot be relocated automatically, because nothing in the document says which line the reference belongs to; on a multi-line invoice any choice would be a guess about what the reference describes.

Can it be fixed automatically?

This needs a decision only the issuer can make. Guessing it would produce an invoice that validates and is wrong, which is worse than one that fails.

How to fix it

Move the document reference onto the invoice line it actually describes, or remove it if it was emitted by mistake. Which line is correct is known only to the issuer.

Where it applies

UBL/Invoice/cac:AdditionalDocumentReference

Check your own invoice

curl -X POST https://einvoice.mgsoft.sk/v1/validate \
     -H 'Content-Type: application/xml' \
     --data-binary @invoice.xml

← All rules