InvoiceValidator.eu

DE-R-026

warningPeppol BIS Billing 3.0profileUBLBG-3BT-3

If "Invoice type code" (BT-3) contains the code 384 (Corrected invoice), "PRECEDING INVOICE REFERENCE" (BG-3) should be provided at least once.

Why it fails

The invoice type code is 384 (corrected invoice) but no preceding invoice reference (BG-3) is given, so nobody can tell what is being corrected.

How to fix it

Add BG-3 with the original invoice number in BT-25 (and ideally its date in BT-26).

What the validator checks

UBL — context (/ubl-invoice:Invoice | /ubl-creditnote:CreditNote)[$supplierCountryIsDE and $customerCountryIsDE]

((not(cbc:InvoiceTypeCode = 384 or cbc:CreditNoteTypeCode = 384) or (cac:BillingReference/cac:InvoiceDocumentReference)))

Related rules

Part of DE-R — XRechnung via Peppol.

Check your own invoice against DE-R-026

…or paste the XML instead

Nothing is stored, and the whole invoice is checked, not just this rule. A PDF only works if it is Factur-X / ZUGFeRD — a PDF with the invoice XML inside it.

This is a Peppol BIS Billing 3.0 rule: an invoice can be perfectly valid EN 16931 and still be rejected by it.