/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..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

Rules

Rule ID Error Message
VRBL-INV-PT-2p1-223 The Invoice Line Charge Amount must equal the multiplication between the Invoice Line Charge Base Amount and the Invoice Line Charge Multiplier Factor Numeric, with an acceptance range of 1.00 EURO (it does not mean that this tolerance is accepted by the customer).
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.