WarningPeppol BIS 3.0Input required

DE-R-026

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

What does this rule mean?

A corrected invoice (type code 384) is missing the preceding invoice reference (BG-3).

A corrected invoice must state which earlier invoice it corrects.

BG-3
Preceding invoice reference (group)
BT-3
Invoice type code (UNTDID 1001)
Official rule message (standard)

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

Where the rule applies

Syntax: UBL

Affected element (XPath):

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

Technical test

The rule passes when this Schematron expression holds true:

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

How to fix it

A missing or incorrect business entry only you can supply. Add or correct it, then re-check.

Add the preceding invoice reference.

Correct the affected entry in your XML, then re-check the invoice. Validation runs locally in your browser — your file never leaves your machine.

Check an e-invoice here

Drop an XML or ZUGFeRD PDF file here. Validation runs locally in your browser against EN 16931 — your file never leaves your machine.

100% local — no upload, no account.

Related rules

← Back to the error library