UBL-CR-628: A UBL invoice should not include the InvoiceLine Item Price OrderableUnitFactorRate
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[UBL-CR-628]-A UBL invoice should not include the InvoiceLine Item Price OrderableUnitFactorRate
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Price/cbc:OrderableUnitFactorRate)UBL-CR-628 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-level rule checks that a UBL invoice or credit note does not contain cbc:OrderableUnitFactorRate inside cac:Price on any cac:InvoiceLine or cac:CreditNoteLine. The test is not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Price/cbc:OrderableUnitFactorRate), so if any such element is present, the validator reports the rule. Because the severity is warning, the document is not rejected; it is advisory.
How to fix
Remove cbc:OrderableUnitFactorRate from every cac:Price element under cac:InvoiceLine or cac:CreditNoteLine. If your system generates this element, change the mapping so it is not output in UBL invoices or 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-628.
Validate an invoice against these rules · All release changes