Peppol BIS Billing 3.0.20 · UBL

UBL-CR-544: A UBL invoice should not include the InvoiceLine DocumentReference Attachment

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-544]-A UBL invoice should not include the InvoiceLine DocumentReference Attachment

Stored validation assertion
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:DocumentReference/cac:Attachment)

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

What this rule requires

The rule checks that no cac:InvoiceLine or cac:CreditNoteLine contains a cac:DocumentReference/cac:Attachment. It is advisory: a document with such an attachment is reported but not rejected. The message refers to InvoiceLine, but the test also covers CreditNoteLine.

How to fix

Remove any cac:Attachment that appears under a line-level cac:DocumentReference. The cac:DocumentReference itself may remain; only the cac:Attachment element must be omitted.

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

Validate an invoice against these rules · All release changes