Faktura

DE-R-022

fatalPeppol BIS Billing 3.0profileUBLBG-24BT-125

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).

Why it fails

Two embedded attachments share the same filename attribute.

How to fix it

Give every EmbeddedDocumentBinaryObject a distinct filename. Receivers write attachments to one directory, so duplicates would overwrite each other.

What the validator checks

UBL — context (/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)])

Related rules

Part of DE-R — XRechnung via Peppol.

Validate an invoice against this rule →

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