Peppol BIS Billing 3.0.20 · UBL

UBL-CR-625: A UBL invoice should not include the InvoiceLine Item Price PriceChangeReason

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-625]-A UBL invoice should not include the InvoiceLine Item Price PriceChangeReason

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

UBL-CR-625 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 reports a warning when a UBL invoice or credit note contains a cbc:PriceChangeReason inside cac:Price on any cac:InvoiceLine or cac:CreditNoteLine. The test is not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Price/cbc:PriceChangeReason), so the document should not include that element anywhere in line prices. This is a warning rule; the document is not rejected for it, but the extra element is discouraged.

How to fix

Remove the cbc:PriceChangeReason element from cac:Price in each cac:InvoiceLine and cac:CreditNoteLine. If the element is generated by an ERP or e-invoicing system, disable or clear the mapping for the line item price change reason field so it is not emitted. Since the rule is advisory, the file will not fail validation solely because of this, but removing it resolves the warning.

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

Validate an invoice against these rules · All release changes