UBL-CR-644: A UBL invoice should not include the InvoiceLine Item Price PricingExchangeRate
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[UBL-CR-644]-A UBL invoice should not include the InvoiceLine Item Price PricingExchangeRate
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Price/cac:PricingExchangeRate)UBL-CR-644 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 credit note does not include a cac:PricingExchangeRate element inside cac:Price on any cac:InvoiceLine or cac:CreditNoteLine. The severity is warning, so the document is not rejected, but the validator reports it as advisory if the element is present. The test is not(...), meaning any occurrence of cac:PricingExchangeRate in that position triggers the warning.
How to fix
Remove the cac:PricingExchangeRate element from cac:Price under each cac:InvoiceLine and cac:CreditNoteLine. If the element is generated by a system, adjust the mapping or configuration so it is not emitted for these line items.
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-644.
Validate an invoice against these rules · All release changes