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

Document Level Charges

Context ID INV0902
Cardinality 0..n
Usage O*

Description

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
0..1 O Charge Extensions Group cec:UBLExtensions
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 Charge Reason Code
A mutually agreed code signifying the reason for this allowance or charge.
cbc:AllowanceChargeReasonCode
0..n O Document Level Charge Reason
The reason for this allowance or charge.
cbc:AllowanceChargeReason
0..1 O Document Level Charge 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 Charge Amount
The monetary amount of this allowance or charge to be applied.
cbc:Amount
0..1 O Document Level 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 Document Level Charge Tax Category
A tax category applicable to this allowance or charge.
cac:TaxCategory

Rules

Rule ID Error Message
VRBL-INV-IT-1p2-166 For Social Security Charges, the Charge Organisation Code must exist within the Document Level Charges.
VRBL-INV-IT-1p2-173 For Social Security Charges, the value of the Charge Organisation Code must be contained in Organization Code [VRBL-CL-IT-OrganizationCode] (prefixed by 'VRBL:IT:'). Allowed values: VRBL:IT:TC01, VRBL:IT:TC02, VRBL:IT:TC03, VRBL:IT:TC04, VRBL:IT:TC05, VRBL:IT:TC06, VRBL:IT:TC07, VRBL:IT:TC08, VRBL:IT:TC09, VRBL:IT:TC10, VRBL:IT:TC11, VRBL:IT:TC12, VRBL:IT:TC13, VRBL:IT:TC14, VRBL:IT:TC15, VRBL:IT:TC16, VRBL:IT:TC17, VRBL:IT:TC18, VRBL:IT:TC19, VRBL:IT:TC20, VRBL:IT:TC21, VRBL:IT:TC22.
VRBL-INV-IT-1p2-167 For Social Security Charges, the Document Level Charge Percentage must exist within the Document Level Charges.
VRBL-INV-IT-1p2-169 For Social Security Charges, the Document Level Charge Tax Category Code must exist within the Document Level Charges.
VRBL-INV-IT-1p2-170 For Social Security Charges, the Document Level Charge Tax Rate must exist within the Document Level Charges.
VRBL-INV-IT-1p2-172 For Social Security Charges, the Document Level Charge Tax Exemption Reason Code must exist, when the Document Level Charge Tax Category Code indicates a Tax Exemption.
VRBL-INV-IT-1p2-184 The Charge Withholding Indicator must not be provided in conditions other than Social Security Charges.
VRBL-INV-IT-1p2-185 The Charge Administration Reference Code must not be provided in conditions other than Social Security Charges.
VRBL-INV-CORE-320 The Document Level Charges expects a maximum of one Document Level Charge Reason.