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

Document Level Allowances

Context ID INV0879
Cardinality 0..n
Usage O*
Mandate Business Term Code IBG-21
Mandate Rule IBR-036, IBR-038
Final Format Path /ubl:Invoice/cac:AllowanceCharge

Description

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 Document Level Charge Indicator
An indicator that this AllowanceCharge describes a charge (true) or a discount (false).
cbc:ChargeIndicator
0..1 O Document Level Allowance Reason Code
A mutually agreed code signifying the reason for this allowance or charge.
cbc:AllowanceChargeReasonCode
0..n O Document Level Allowance Reason
The reason for this allowance or charge.
cbc:AllowanceChargeReason
0..1 O Document Level Allowance Percentage
A number by which the base amount is multiplied to calculate the actual amount of this allowance or charge.
cbc:MultiplierFactorNumeric
1..1 M Document Level Allowance Amount
The monetary amount of this allowance or charge to be applied.
cbc:Amount
0..1 O Document Level 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 Document Level Allowance Tax Category
A tax category applicable to this allowance or charge.
cac:TaxCategory

Rules

Rule ID Error Message
VRBL-INV-AE-1p0-1 The Document Level Allowance Tax Category Code used as VAT ID must exist within the Document Level Allowances.
VRBL-INV-AE-1p0-11 In every Document Level Allowances where the Document Level Allowance Tax Category Code is "AE", the Document Level Allowance Tax Rate must be zero.
VRBL-INV-AE-1p0-16 In every Document Level Allowances where the Document Level Allowance Tax Category Code is "E", the Document Level Allowance Tax Rate must be zero.
VRBL-INV-AE-1p0-7 Either both or neither Document Level Allowance Percentage and Document Level Allowance Base Amount must be provided
VRBL-INV-AE-1p0-21 In every Document Level Allowances where the Document Level Allowance Tax Category Code is "O", the Document Level Allowance Tax Rate should not exist.
VRBL-INV-AE-1p0-27 In every Document Level Allowances where the Document Level Allowance Tax Category Code is "S", the Document Level Allowance Tax Rate must greater than zero.
VRBL-INV-AE-1p0-33 In every Document Level Allowances where the Document Level Allowance Tax Category Code is "Z", the Document Level Allowance Tax Rate should be 0.
VRBL-INV-AE-1p0-52 Document Level Allowances cannot have a Document Level Allowance Tax Category Code "N".
VRBL-INV-AE-1p0-108 When Document Level Allowance Tax Category Code is 'E', the Document Level Allowance Tax Exemption Reason Code must exist within the Document Level Allowances.
VRBL-INV-PEPPOL-PINT-118 The Document Level Allowances must have an Document Level Allowance Amount.
VRBL-INV-PEPPOL-PINT-119 Each Document level Document Level Allowances must have a Document Level Allowance Reason or a Document Level Allowance Reason Code.
VRBL-INV-PEPPOL-PINT-120 The Document Level Allowances expects a maximum of one Document Level Allowance Reason.
VRBL-INV-CORE-299 The Document Level Allowances expects a maximum of one Document Level Allowance Reason.
VRBL-INV-CORE-556 Each Document Level Allowances must have a Tax Breakdown corresponding to its Document Level Allowance Tax Category Code and Document Level Allowance Tax Rate.