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

Allowance Group

Context ID INV0879
Cardinality 0..n
Usage O*

Description

A discount or charge that applies to a price component.

A group of business terms providing information about allowances applicable to the invoice as a whole.

Child elements

Cardinality Usage Description Element
1..1 M Allowance Charge Indicator
An indicator that this AllowanceCharge describes a charge (true) or a discount (false).
cbc:ChargeIndicator
0..1 O Allowance Reason Code
A mutually agreed code signifying the reason for this allowance or charge.
cbc:AllowanceChargeReasonCode
0..n O Allowance Reason
The reason for this allowance or charge.
cbc:AllowanceChargeReason
0..1 O Allowance 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 Allowance Amount
The monetary amount of this allowance or charge to be applied.
cbc:Amount
0..1 O Allowance 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 O* Allowance Tax Category Group
A tax category applicable to this allowance or charge.
cac:TaxCategory

Rules

Rule ID Error Message
VRBL-INV-AU-1p0-72 Either both or neither the Allowance Multiplier Factor Numeric and the Allowance Base Amount must be provided.
VRBL-INV-AU-1p0-19 In every Allowance Group where the Allowance Tax ID is "S", the Allowance Tax Percent must greater than zero.
VRBL-INV-AU-1p0-20 In every Allowance Group where the Allowance Tax ID is "Z", the Allowance Tax Percent must be zero.
VRBL-INV-AU-1p0-21 In every Allowance Group where the Allowance Tax ID is "E", the Allowance Tax Percent must be zero.
VRBL-INV-AU-1p0-22 In every Allowance Group where the Allowance Tax ID is "G", the Allowance Tax Percent must be zero.
VRBL-INV-AU-1p0-23 In every Allowance Group where the Allowance Tax ID is "O", the Allowance Tax Percent must not exist.
VRBL-INV-AU-1p0-76 An Invoice that contains a Tax Subtotal where the Tax Category ID is "O", must not contain Allowance Group where Allowance Tax ID is not "O".
VRBL-INV-PEPPOL-PINT-118 The Allowance Group must have an Allowance Amount.
VRBL-INV-PEPPOL-PINT-119 Each Document level Allowance Group must have a Allowance Reason or a Allowance Reason Code.
VRBL-INV-PEPPOL-PINT-120 The Allowance Group expects a maximum of one Allowance Reason.
VRBL-INV-CORE-299 The Allowance Group expects a maximum of one Allowance Reason.
VRBL-INV-CORE-556 Each Allowance Group must have a Invoice Tax Subtotal Group corresponding to its Allowance Tax ID and Allowance Tax Percent.