Peppol BIS Billing 3.0.20 · UBL

UBL-CR-524: A UBL invoice should not include the InvoiceLine InvoicePeriod Description

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-524]-A UBL invoice should not include the InvoiceLine InvoicePeriod Description

Stored validation assertion
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:InvoicePeriod/cbc:Description)

UBL-CR-524 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 warning rule checks that an Invoice or CreditNote does not contain a cbc:Description inside cac:InvoicePeriod within any cac:InvoiceLine or cac:CreditNoteLine. The test is not((cac:InvoiceLine|cac:CreditNoteLine)/cac:InvoicePeriod/cbc:Description), so it triggers if any line has an invoice period description. Because the severity is warning, the document is not rejected; the validator reports it as an advisory issue.

How to fix

Remove the cbc:Description element from cac:InvoicePeriod in every cac:InvoiceLine (for an Invoice) or cac:CreditNoteLine (for a CreditNote). If your system generates line-level invoice period descriptions, configure it not to output that element for these document types.

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

Validate an invoice against these rules · All release changes