Buyer reference or order reference is missing
What it means
Peppol requires either a buyer reference (BT-10) or a purchase order reference (BT-13), even though base EN 16931 makes both optional. Many receiving systems — particularly public sector ones — use this value to route the invoice to the right cost centre or approver internally, and will not accept an invoice they cannot route.
Can it be fixed automatically?
The fix is mechanical once you provide the value, but the value itself is yours: it cannot be derived from the invoice and will not be guessed.
This one can be repaired automatically. The API applies the fix, re-validates, and reports exactly what changed with before and after values.
How to fix it
Provide cbc:BuyerReference, or cac:OrderReference/cbc:ID as an alternative. The value is whatever reference your customer told you to quote; it cannot be guessed.
Where it applies
| CII | //ram:ApplicableHeaderTradeAgreement/ram:BuyerReference |
|---|---|
| UBL | /Invoice/cbc:BuyerReference |
Check your own invoice
curl -X POST https://einvoice.mgsoft.sk/v1/validate \
-H 'Content-Type: application/xml' \
--data-binary @invoice.xml