Peppol BIS Billing 3.0.20 · UBL

UBL-CR-523: A UBL invoice should not include the InvoiceLine InvoicePeriod DescriptionCode

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-523]-A UBL invoice should not include the InvoiceLine InvoicePeriod DescriptionCode

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

UBL-CR-523 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 invoice line contains a cbc:DescriptionCode inside its cac:InvoicePeriod. In UBL, this applies to cac:InvoiceLine on an Invoice and to cac:CreditNoteLine on a CreditNote, using the same path cac:InvoiceLine|cac:CreditNoteLine/cac:InvoicePeriod/cbc:DescriptionCode. Since the severity is warning, the document is not rejected, but the validator reports that such a description code should not be present.

How to fix

Remove the cbc:DescriptionCode element from every cac:InvoicePeriod inside cac:InvoiceLine (for invoices) or cac:CreditNoteLine (for credit notes).

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

Validate an invoice against these rules · All release changes