EN16931 / XRechnung / Peppol BIS 3 Validator

DE-R-026

warning UBL

Rule text

[DE-R-026]-If both supplier and customer are located in Germany, and 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 is checked

SyntaxSeverityContext (XPath)Test (XPath)
Peppol-UBLwarning(/ubl-invoice:Invoice | /ubl-creditnote:CreditNote)[$supplierCountryIsDE and $customerCountryIsDE]((not(normalize-space(cbc:InvoiceTypeCode) = '384' or normalize-space(cbc:CreditNoteTypeCode) = '384') or (cac:BillingReference/cac:InvoiceDocumentReference)))

Business terms referenced

BT-3, BG-3

Related rules

BR-04, IS-R-001, DE-R-017, BR-DE-17, BR-DE-26, BR-55

Source: Peppol BIS Billing 3.0 Schematron, UBL (OpenPeppol, docs.peppol.eu validation artefacts 3.0.21).

Check your invoice against this rule