/ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']

Charge Group

Context ID INV0902
Cardinality 0..n
Usage O*

Description

A discount or charge that applies to a price component.

A group of business terms providing information about charges and taxes other than tax, applicable to the Invoice as a whole.

Child elements

Cardinality Usage Description Element
1..1 M Charge Indicator
An indicator that this AllowanceCharge describes a charge (true) or a discount (false).
cbc:ChargeIndicator
0..1 O Charge Reason Code
A mutually agreed code signifying the reason for this allowance or charge.
cbc:AllowanceChargeReasonCode
0..n O Charge Reason
The reason for this allowance or charge.
cbc:AllowanceChargeReason
1..1 M Charge Amount
The monetary amount of this allowance or charge to be applied.
cbc:Amount
0..1 O Charge Base Amount
The monetary amount to which the multiplier factor is applied in calculating the amount of this allowance or charge.
cbc:BaseAmount
0..n M Charge Tax Category Group
A tax category applicable to this allowance or charge.
cac:TaxCategory

Rules

Rule ID Error Message
VRBL-INV-EN16931-S-216 The Charge Reason is expected no more than 1 times within the Charge Group.
VRBL-INV-EN16931-M-17 The Charge Tax ID must exist within the Charge Group.
VRBL-INV-EN16931-M-18 The Charge Group must have a Charge Reason or a Charge Reason.
VRBL-INV-EN16931-M-19 The Charge Amount must have no more than 2 decimals.
VRBL-INV-EN16931-M-20 The Charge Base Amount must have no more than 2 decimals.
VRBL-INV-CORE-320 The Charge Group expects a maximum of one Charge Reason.