Peppol BIS Billing 3.0.21 · UBL

UBL-CR-129: A UBL invoice should not include the AdditionalDocumentReference Attachment External…

Peppol BIS Billing 3.0.21 · UBL

warningschema

Original rule text

[UBL-CR-129]-A UBL invoice should not include the AdditionalDocumentReference Attachment External FileName

Stored validation assertion
not(cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference/cbc:FileName)

UBL-CR-129 is a warning rule in the schema layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is flagged but not rejected.

What this rule requires

This rule forbids the element cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference/cbc:FileName in a UBL document. The test is not(cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference/cbc:FileName), evaluated for /ubl:Invoice, /cn:CreditNote, so the rule reports every place where that element is present.

How to fix

Remove cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference/cbc:FileName from the document. If your system always writes it, change the export so that it leaves this element out.

Guidance on this rule. The original text above is authoritative.

Where to go next

No published Peppol BIS Billing UBL release comparison lists a change to UBL-CR-129.

Validate an invoice against these rules · All release changes