Context
SG
/ubl:Invoice/cac:InvoiceLine/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']
VRBL-Invoice-SG-1p4 - Invoice Line Allowances
Singapore |
VRBL-Invoice-SG-1p4
| Context ID | INV1251 |
| Usage | O* |
| Mandate Business Term Code | IBG-27 |
| Final Format Path | /ubl:Invoice/cac:InvoiceLine/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false'] |
Description
A group of business terms providing information about allowances 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 Allowance Reason Code
A mutually agreed code signifying the reason for this allowance or charge. |
0..1 |
| O* | cbc:AllowanceChargeReason |
Invoice Line Allowance Reason
The reason for this allowance or charge. |
0..n |
| O | cbc:MultiplierFactorNumeric |
Invoice Line Allowance 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 Allowance Amount
The monetary amount of this allowance or charge to be applied. |
1..1 |
| O | cbc:BaseAmount |
Invoice Line Allowance 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_02_full_valid_invoice_1.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:InvoiceLine>
<!-- ... omitted for readability -->
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode>
<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason>
<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="SGD">45.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-124 | The Invoice Line Allowances must have an Invoice Line Allowance Amount. |
| VRBL-INV-PEPPOL-PINT-125 | Each Invoice Line Invoice Line Allowances must have a Invoice Line Allowance Reason or a Invoice Line Allowance Reason Code. |
| VRBL-INV-CORE-462 | The Invoice Line Allowances expects a maximum of one Invoice Line Allowance Reason. |