Validation message

[UBL-SR-37]-Item price discount shall occur maximum once

Context

cac:InvoiceLine | cac:CreditNoteLine

XPath

1

(count(cac:Price/cac:AllowanceCharge/cbc:Amount) <= 1)

Used in business terms