Context
IN
/ubl:Invoice/cac:LegalMonetaryTotal/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:LegalMonetaryTotalExtension
VRBL-Invoice-IN-1p0 - Legal Monetary Total Legal Monetary Total Extension
India |
VRBL-Invoice-IN-1p0
| Context ID | INV1119 |
| Usage | M |
Description
Extensions on Legal Monetary Total level. Note: Check UBL-2.4 extension mechansim for usage. This is a simplified view. See xpath for full path to element
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| O | vrbl:AllowanceTotalAmountAfterTax |
Legal Monetary Total Allowance Total Amount After Tax | 0..1 |
| O | vrbl:ChargeTotalAmountAfterTax |
Legal Monetary Total Charge Total Amount After Tax | 0..1 |
| C | vrbl:TotalInvoiceAmount |
Legal Monetary Total Invoice Amount | 0..1 |
| O | vrbl:TotalInvoiceRoundingAmount |
Legal Monetary Total Invoice Rounding Amount | 0..1 |
Details
Example: IN_Credit-Note_with_E-way_bill.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:LegalMonetaryTotal>
<ext:UBLExtensions>
<ext:UBLExtension>
<ext:ExtensionContent>
<vrbl:LegalMonetaryTotalExtension>
<vrbl:TotalInvoiceAmount currencyID="INR">4.20</vrbl:TotalInvoiceAmount>
</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-IN-1p0-42 | The Legal Monetary Total Invoice Amount must exist within the Legal Monetary Total Legal Monetary Total Extension. |
| VRBL-INV-IN-1p0-68 | If the Document Level Allowances is used with Allowance Charge After Tax Indicator set to 'true', the Legal Monetary Total Allowance Total Amount After Tax must exist. |
| VRBL-INV-IN-1p0-69 | If the Document Level Charges is used with Allowance Charge After Tax Indicator set to 'true', the Legal Monetary Total Charge Total Amount After Tax must exist. |