IBR-036

[ibr-036]-Charge (ibg-21) MUST have a charge amount (ibt-099).

About

ID
ibr-036
Flag
fatal
Context
cac:AllowanceCharge[cbc:ChargeIndicator = true()]
Test
((exists(cbc:Amount) and not(ancestor::cac:InvoiceLine | ancestor::cac:CreditNoteLine))) or (ancestor::cac:InvoiceLine | ancestor::cac:CreditNoteLine)
Rules
  • IBR-036 [ibr-036]-Charge (ibg-21) MUST have a charge amount (ibt-099).
Syntax binding