Context
SA
/ubl:Invoice/cac:AllowanceCharge
VRBL-Invoice-SA-1p2 - Allowance Charge Group
Saudi Arabia |
VRBL-Invoice-SA-1p2
| Context ID | INV0850 |
| Usage | O |
Description
A discount or charge that applies to a price component.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| O | cbc:ChargeIndicator |
Allowance Charge Indicator
An indicator that this AllowanceCharge describes a charge (true) or a discount (false). |
1..1 |
| O | cbc:AllowanceChargeReason |
Allowance Charge Reason
The reason for this allowance or charge. |
0..n |
| O | cbc:Amount |
Allowance Charge Amount
The monetary amount of this allowance or charge to be applied. |
1..1 |
| O | cac:TaxCategory |
Allowance Charge Tax Category Group
A tax category applicable to this allowance or charge. |
0..n |
Details
Example: SA_Creditnote_381.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:AllowanceChargeReason>discount</cbc:AllowanceChargeReason>
<cbc:Amount currencyID="SAR">0.00</cbc:Amount>
<cac:TaxCategory>
<cbc:ID schemeID="UN/ECE 5305" schemeAgencyID="6">S</cbc:ID>
<cbc:Percent>15</cbc:Percent>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:AllowanceCharge>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-SA-1p2-66 | The value of the Allowance Charge Tax ID must be contained in Tax Category ID (subset of UNTDID 5305) [VRBL-CL-SA-TaxCategoryID]. |
| VRBL-INV-SA-1p2-67 | The Allowance Charge Multiplier Factor Numeric values must be from 0.00 to 100.00, with maximum two decimal places. Only numerals are accepted, the percentage symbol (%) is not allowed. |
| VRBL-INV-SA-1p2-68 | The Document Level Allowances must have Document Level Allowance Reason Code. |
| VRBL-INV-SA-1p2-74 | The Allowance Charge Tax Percent must be from 0.00 to 100.00, with maximum two decimals.Only numerals are accepted, the percentage symbol (%) is not allowed. |
| VRBL-INV-SA-1p2-75 | When the Allowance Charge Tax ID is "S"- "Standard rated", the Allowance Charge Tax Percent must be limited to one of the following values (5 or 15). |
| VRBL-INV-SA-1p2-76 | The Allowance Charge Indicator must be equal to 'false' or 'true' respectively. |
| VRBL-INV-SA-1p2-77 | The Allowance Charge Amount must be equal Allowance Charge Base Amount * Allowance Charge Multiplier Factor Numeric divide 100. If the Allowance Charge Base Amount and Allowance Charge Multiplier Factor Numeric exists. |
| VRBL-INV-SA-1p2-78 | The Allowance Charge Multiplier Factor Numeric must be provided when the Allowance Charge Base Amount is provided. |
| VRBL-INV-SA-1p2-79 | The Allowance Charge Base Amount must be provided when the Allowance Charge Multiplier Factor Numeric is provided. |
| VRBL-INV-SA-1p2-80 | All currency ID attributes in Allowance Charge Group must have the same value as the Document Currency Code. |
| VRBL-INV-SA-1p2-81 | The Allowance Charge Amount must be positive. |
| VRBL-INV-SA-1p2-82 | The Allowance Charge Tax Percent must be positive. |