EN16931 / XRechnung / Peppol BIS 3 Validator

DE-R-022

fatal UBL

Rule text

[DE-R-022]-If both supplier and customer are located in Germany, attached documents provided with an invoice in "ADDITIONAL SUPPORTING DOCUMENTS" (BG-24) shall have a unique filename (non case-sensitive) within the element ″Attached document″ (BT-125).

Where the rule is checked

SyntaxSeverityContext (XPath)Test (XPath)
Peppol-UBLfatal(/ubl-invoice:Invoice | /ubl-creditnote:CreditNote)[$supplierCountryIsDE and $customerCountryIsDE]count(cac:AdditionalDocumentReference) = count(cac:AdditionalDocumentReference[not(./cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@filename = preceding-sibling::cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@filename)])

Business terms referenced

BG-24, BT-125

Related rules

BR-52, BR-TMP-4, BR-TMP-5, CII-SR-476, CII-DT-105, CII-DT-106, BR-DEX-01

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

Check your invoice against this rule