Validation message

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

UBL

Context

1

cac:InvoiceLine | cac:CreditNoteLine

Rule

1

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

Used in business terms