Context
SG
/ubl:Invoice/cac:LegalMonetaryTotal/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:LegalMonetaryTotalExtension/vrbl:LegalMonetaryTotalInTaxCurrency
VRBL-Invoice-SG-1p4 - Legal Monetary Total in Tax Currency
Singapore |
VRBL-Invoice-SG-1p4
| Context ID | INV1124 |
| Usage | O |
Description
A class to define a monetary total.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| O | cbc:TaxExclusiveAmount |
Legal Monetary Total in Tax Currency Tax Exclusive Amount
The monetary amount of an extended transaction line, exclusive of taxes. |
0..1 |
| O | cbc:TaxInclusiveAmount |
Legal Monetary Total in Tax Currency Tax Inclusive Amount
The monetary amount including taxes; the sum of payable amount and prepaid amount. |
0..1 |
Details
Example: 1A_VRBL_PINT-SG_INV_example_06_Foreign_currency.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:LegalMonetaryTotal>
<ext:UBLExtensions>
<ext:UBLExtension>
<ext:ExtensionContent>
<vrbl:LegalMonetaryTotalExtension>
<vrbl:LegalMonetaryTotalInTaxCurrency>
<cbc:TaxExclusiveAmount currencyID="SGD">45785.25</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="SGD">49213.37</cbc:TaxInclusiveAmount>
</vrbl:LegalMonetaryTotalInTaxCurrency>
</vrbl:LegalMonetaryTotalExtension>
</ext:ExtensionContent>
</ext:UBLExtension>
</ext:UBLExtensions>
<!-- ... omitted for readability -->
</cac:LegalMonetaryTotal>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-SG-1p4-2 | The Legal Monetary Total in Tax Currency Tax Inclusive Amount must have no more than 2 decimals. |
| VRBL-INV-SG-1p4-4 | The Legal Monetary Total in Tax Currency Tax Exclusive Amount must have no more than 2 decimals. |
| VRBL-INV-SG-1p4-7 | The Tax Accounting Currency must exist within the Legal Monetary Total in Tax Currency. |