Context
AE
/ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']
VRBL-Invoice-AE-1p0 - Document Level Charges
United Arab Emirates |
VRBL-Invoice-AE-1p0
| Context ID | INV0902 |
| Usage | O* |
| Mandate Business Term Code | IBG-21 |
| Final Format Path | /ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true'] |
Description
A group of business terms providing information about charges and taxes other than tax, applicable to the Invoice as a whole.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | cbc:ChargeIndicator |
Document Level Charge Indicator
An indicator that this AllowanceCharge describes a charge (true) or a discount (false). |
1..1 |
| O | cbc:AllowanceChargeReasonCode |
Document Level Charge Reason Code
A mutually agreed code signifying the reason for this allowance or charge. |
0..1 |
| O | cbc:AllowanceChargeReason |
Document Level Charge Reason
The reason for this allowance or charge. |
0..n |
| O | cbc:MultiplierFactorNumeric |
Document Level 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 |
Document Level Charge Amount
The monetary amount of this allowance or charge to be applied. |
1..1 |
| O | cbc:BaseAmount |
Document Level Charge Base Amount
The monetary amount to which the multiplier factor is applied in calculating the amount of this allowance or charge. |
0..1 |
| O | cac:TaxCategory |
Document Level Charge Tax Category
A tax category applicable to this allowance or charge. |
0..n |
Details
Example: UAE_Continous-Supplies-Invoice.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AllowanceCharge>
<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
<cbc:AllowanceChargeReasonCode>ABU</cbc:AllowanceChargeReasonCode>
<cbc:AllowanceChargeReason>Polyethylene wrap packing</cbc:AllowanceChargeReason>
<cbc:MultiplierFactorNumeric>1.5</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="AED">75</cbc:Amount>
<cbc:BaseAmount currencyID="AED">5000</cbc:BaseAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>5</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:AllowanceCharge>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-AE-1p0-2 | The Document Level Charge Tax Category Code used for VAT must exist within the Document Level Charges. |
| VRBL-INV-AE-1p0-8 | Either both or neither Document Level Charge Percentage and Document Level Charge Base Amount must be provided |
| VRBL-INV-AE-1p0-12 | When the Document Level Charge Tax Category Code is "AE", the Document Level Charge Tax Rate must be zero. |
| VRBL-INV-AE-1p0-17 | In every Document Level Charges where the Document Level Charge Tax Category Code is "E", the Document Level Charge Tax Rate must be zero. |
| VRBL-INV-AE-1p0-22 | In every Document Level Charges where the Document Level Charge Tax Category Code is "O", the Document Level Charge Tax Rate should not exist. |
| VRBL-INV-AE-1p0-28 | In every Document Level Charges where the Document Level Charge Tax Category Code is "S", the Document Level Charge Tax Rate must greater than zero. |
| VRBL-INV-AE-1p0-34 | In every Document Level Charges where the Document Level Charge Tax Category Code is "Z", the Document Level Charge Tax Rate must be zero. |
| VRBL-INV-AE-1p0-51 | Document Level Charges cannot have a Document Level Charge Tax Category Code "N". |
| VRBL-INV-AE-1p0-134 | When Document Level Charge Tax Category Code is 'E', the Document Level Charge Tax Exemption Reason Code must exist within the Document Level Charges. |
| VRBL-INV-PEPPOL-PINT-121 | The Document Level Charges must have an Document Level Charge Amount. |
| VRBL-INV-PEPPOL-PINT-122 | Each Document level Document Level Charges must have a Document Level Charge Reason or a Document Level Charge Reason Code. |
| VRBL-INV-PEPPOL-PINT-123 | The Document Level Charges expects a maximum of one Document Level Charge Reason. |
| VRBL-INV-CORE-320 | The Document Level Charges expects a maximum of one Document Level Charge Reason. |