Peppol BIS Billing 3.0.20 · UBL

UBL-CR-532: A UBL invoice should not include the InvoiceLine DocumentReference CopyIndicator

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-532]-A UBL invoice should not include the InvoiceLine DocumentReference CopyIndicator

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

UBL-CR-532 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

This rule checks that a UBL invoice or credit note does not contain a cbc:CopyIndicator inside any cac:DocumentReference on an invoice line (cac:InvoiceLine) or credit note line (cac:CreditNoteLine). The rule is a warning, so the document is not rejected for this, but the validator recommends removing such a CopyIndicator. The test is not((cac:InvoiceLine|cac:CreditNoteLine)/cac:DocumentReference/cbc:CopyIndicator).

How to fix

Remove the cbc:CopyIndicator element from every cac:DocumentReference within cac:InvoiceLine or cac:CreditNoteLine. If the system that produces the invoice adds CopyIndicator automatically, change its configuration so it does not add this element on line-level document references.

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

Validate an invoice against these rules · All release changes