UBL-CR-627: A UBL invoice should not include the InvoiceLine Item Price PriceType
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[UBL-CR-627]-A UBL invoice should not include the InvoiceLine Item Price PriceType
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Price/cbc:PriceType)UBL-CR-627 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 a UBL invoice or credit note does not contain a cbc:PriceType element inside cac:Price for any cac:InvoiceLine or cac:CreditNoteLine. The rule's test is not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Price/cbc:PriceType), so a document triggers this warning when any line's Price includes a PriceType. This is a warning severity rule, so the document is not rejected; the validator reports it as an advisory issue.
How to fix
Remove the cbc:PriceType element from every cac:Price under cac:InvoiceLine or cac:CreditNoteLine in the UBL invoice or credit note. Keep the remaining price information such as cbc:PriceAmount if present.
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-627.
Validate an invoice against these rules · All release changes