/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
0..1 O Charge Multiplier Factor Numeric
A number by which the base amount is multiplied to calculate the actual amount of this allowance or charge.
cbc:MultiplierFactorNumeric
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-AE-1p0-2 The Charge Tax ID used for VAT must exist within the Charge Group.
VRBL-INV-AE-1p0-8 Either both or neither Charge Multiplier Factor Numeric and Charge Base Amount must be provided
VRBL-INV-AE-1p0-12 When the Charge Tax ID is "AE", the Charge Tax Percent must be zero.
VRBL-INV-AE-1p0-17 In every Charge Group where the Charge Tax ID is "E", the Charge Tax Percent must be zero.
VRBL-INV-AE-1p0-22 In every Charge Group where the Charge Tax ID is "O", the Charge Tax Percent should not exist.
VRBL-INV-AE-1p0-28 In every Charge Group where the Charge Tax ID is "S", the Charge Tax Percent must greater than zero.
VRBL-INV-AE-1p0-34 In every Charge Group where the Charge Tax ID is "Z", the Charge Tax Percent must be zero.
VRBL-INV-AE-1p0-51 Charge Group cannot have a Charge Tax ID "N".
VRBL-INV-AE-1p0-134 When Charge Tax ID is 'E', the Charge Tax Exemption Reason Code must exist within the Charge Group.
VRBL-INV-PEPPOL-PINT-121 The Charge Group must have an Charge Amount.
VRBL-INV-PEPPOL-PINT-122 Each Document level Charge Group must have a Charge Reason or a Charge Reason Code.
VRBL-INV-PEPPOL-PINT-123 The Charge Group expects a maximum of one Charge Reason.
VRBL-INV-CORE-320 The Charge Group expects a maximum of one Charge Reason.