How to fix BR-DE-26
Wenn im Element "Invoice type code" (BT-3) der Code 384 (Corrected invoice) übergeben wird, soll PRECEDING INVOICE REFERENCE BG-3 mind. einmal vorhanden sein.
XRechnung rule from the KoSIT XRechnung 3.0 schematron (German CIUS of EN 16931). It applies only to invoices whose specification identifier (BT-24) is XRechnung. Such files are checked against EN 16931 and the KoSIT XRechnung rules instead of the full Peppol BIS rule set. Check your file with the XRechnung validator.
What this rule checks
A corrected invoice (Invoice type code BT-3 = 384) should reference the invoice it corrects through PRECEDING INVOICE REFERENCE (BG-3).
Referenced business terms
This rule references the following EN 16931 business terms. Click through for the full definition, the UBL XPath and the cardinality.
How to fix it
Add cac:BillingReference → cac:InvoiceDocumentReference → cbc:ID (and preferably cbc:IssueDate) with the original invoice number. In CII, add ram:InvoiceReferencedDocument → ram:IssuerAssignedID under ram:ApplicableHeaderTradeSettlement.
Related rules
Validate your invoice
Upload your corrected invoice to check it passes BR-DE-26 and all other EN 16931 and XRechnung (BR-DE) rules. Free, instant, no signup.