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

Invoice Line Charge Group

Context ID INV1268
Cardinality 0..n
Usage O*

Description

An allowance or charge associated with this invoice line.

A group of business terms providing information about charges applicable to the individual invoice line.

Child elements

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

Rules

Rule ID Error Message
VRBL-INV-EN16931-M-115 Each Invoice Line Charge Group must have an Invoice Line Charge Reason or an Invoice Line Charge Reason Code.
VRBL-INV-EN16931-M-117 Each Invoice Line Charge Group must contain an Invoice Line Charge Reason or an Invoice Line Charge Reason Code, or both.
VRBL-INV-EN16931-M-118 The Invoice Line Charge Amount must have no more than 2 decimals.
VRBL-INV-EN16931-M-119 The Invoice Line Charge Base Amount must have no more than 2 decimals.
VRBL-INV-CORE-476 The Invoice Line Charge Group expects a maximum of one Invoice Line Charge Reason.