IBR-031

Allowance (ibg-20) MUST have an allowance amount (ibt-092).

About

ID
ibr-031
Flag
fatal
Context
cac:AllowanceCharge[cbc:ChargeIndicator = false()]
Test
((exists(cbc:Amount) and not(ancestor::cac:InvoiceLine | ancestor::cac:CreditNoteLine))) or (ancestor::cac:InvoiceLine | ancestor::cac:CreditNoteLine)
Rules
  • IBR-031 Allowance (ibg-20) MUST have an allowance amount (ibt-092).
Syntax binding