/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
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-PEPPOL-PINT-AUNZ-1p0-73 Either both or neither the Document Level Charge Percentage and the Document Level Charge Base Amount must be provided.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-14 In every Document Level Charges where the Document Level Charge Tax Category Code is "S", the Document Level Charge Tax Rate must greater than zero.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-15 In every Document Level Charges where the Document Level Charge Tax Category Code is "Z", the Document Level Charge Tax Rate must be zero.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-16 In every Document Level Charges where the Document Level Charge Tax Category Code is "E", the Document Level Charge Tax Rate must be zero.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-17 In every Document Level Charges where the Document Level Charge Tax Category Code is "G", the Document Level Charge Tax Rate must be zero.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-18 In every Document Level Charges where the Document Level Charge Tax Category Code is "O", the Document Level Charge Tax Rate must not exist.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-77 An Invoice that contains a Tax Subtotal where the Tax Category ID is "O", must not contain Document Level Charges where Document Level Charge Tax Category Code is not "O".
VRBL-INV-PEPPOL-PINT-121 The Document Level Charges must have an Document Level Charge Amount.
VRBL-INV-PEPPOL-PINT-122 Each Document level Document Level Charges must have a Document Level Charge Reason or a Document Level Charge Reason Code.
VRBL-INV-PEPPOL-PINT-123 The Document Level Charges expects a maximum of one Document Level Charge Reason.
VRBL-INV-CORE-320 The Document Level Charges expects a maximum of one Document Level Charge Reason.