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

Invoice Line Charges

Singapore | VRBL-Invoice-SG-1p4
Context ID INV1268
Usage O*
Mandate Business Term Code IBG-28
Final Format Path /ubl:Invoice/cac:InvoiceLine/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']

Description

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

Child elements
Usage Element Description Cardinality
M cbc:ChargeIndicator Invoice Line Charge Indicator

An indicator that this AllowanceCharge describes a charge (true) or a discount (false).

1..1
O cbc:AllowanceChargeReasonCode Invoice Line Charge Reason Code

A mutually agreed code signifying the reason for this allowance or charge.

0..1
O* cbc:AllowanceChargeReason Invoice Line Charge Reason

The reason for this allowance or charge.

0..n
O cbc:MultiplierFactorNumeric Invoice Line Charge Percentage

A number by which the base amount is multiplied to calculate the actual amount of this allowance or charge.

0..1
M cbc:Amount Invoice Line Charge Amount

The monetary amount of this allowance or charge to be applied.

1..1
O cbc:BaseAmount Invoice Line Charge Base Amount

The monetary amount to which the multiplier factor is applied in calculating the amount of this allowance or charge.

0..1
Details

Example: 1A_VRBL_PINT-SG_INV_example_03_Allowances_and_Charges.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:AllowanceCharge>
      <cbc:ChargeIndicator>true</cbc:ChargeIndicator>
      <cbc:AllowanceChargeReasonCode>AAZ</cbc:AllowanceChargeReasonCode>
      <cbc:AllowanceChargeReason>Line charge</cbc:AllowanceChargeReason>
      <cbc:MultiplierFactorNumeric>10</cbc:MultiplierFactorNumeric>
      <cbc:Amount currencyID="SGD">90.00</cbc:Amount>
      <cbc:BaseAmount currencyID="SGD">900.00</cbc:BaseAmount>
    </cac:AllowanceCharge>
    <!-- ... omitted for readability -->
  </cac:InvoiceLine>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PEPPOL-PINT-126 The Invoice Line Charges must have an Invoice Line Charge Amount.
VRBL-INV-PEPPOL-PINT-127 Each Invoice Line Invoice Line Charges must have a Invoice Line Charge Reason or a Invoice Line Charge Reason Code.
VRBL-INV-CORE-476 The Invoice Line Charges expects a maximum of one Invoice Line Charge Reason.