Peppol BIS Billing 3.0.20 · UBL

UBL-CR-626: A UBL invoice should not include the InvoiceLine Item Price PriceTypeCode

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-626]-A UBL invoice should not include the InvoiceLine Item Price PriceTypeCode

Stored validation assertion
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Price/cbc:PriceTypeCode)

UBL-CR-626 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 requires that a UBL invoice or credit note does not include a cbc:PriceTypeCode inside the cac:Price element of any cac:InvoiceLine or cac:CreditNoteLine. The test uses not(...), so the element must be absent. This is a warning: the validator reports the presence of such a price type code but does not reject the document for it.

How to fix

Remove the cbc:PriceTypeCode element from every cac:Price inside cac:InvoiceLine or cac:CreditNoteLine. If the system generates this field automatically, disable or suppress it.

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

Validate an invoice against these rules · All release changes