VRBL-INV-ES-B2G-23
Basic Info
| Rule | The Invoice Line Charge Reason must exist within the Invoice Line Charge Group. |
| Context |
/ubl:Invoice/cac:InvoiceLine/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']
|
| Pattern | vrbl-invoice-es-b2g |
| Severity | fatal |
Used Template: Exists
| Parameter | Value | |
|---|---|---|
| probe | = |
cbc:AllowanceChargeReason
|
Implementation
boolean(cbc:AllowanceChargeReason)