Message

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

Context
cac:InvoiceLine | cac:CreditNoteLine
Test
(count(cac:Price/cac:AllowanceCharge/cbc:Amount) <= 1)