Context
PH
/ubl:Invoice/cac:LegalMonetaryTotal/cec:UBLExtensions
VRBL-Invoice-PH-1p0 - Legal Monetary Total Extensions Group
Philippines |
VRBL-Invoice-PH-1p0
| Context ID | INV1116 |
| Usage | M |
Description
See UBL extension mechansim for details.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | cec:UBLExtension |
Legal Monetary Total Extension Group | 1..n |
Details
Example: VRBL_PH_CAS_invoice_max.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:LegalMonetaryTotal>
<ext:UBLExtensions>
<ext:UBLExtension>
<ext:ExtensionContent>
<vrbl:LegalMonetaryTotalExtension>
<vrbl:AllowanceTotalAmountAfterTax currencyID="PHP">0</vrbl:AllowanceTotalAmountAfterTax>
<vrbl:ChargeTotalAmountAfterTax currencyID="PHP">0</vrbl:ChargeTotalAmountAfterTax>
<vrbl:LegalMonetaryTotalInTaxCurrency>
<cbc:LineExtensionAmount currencyID="PHP">2511650</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="PHP">2510300</cbc:TaxExclusiveAmount>
</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-CORE-602 | The Legal Monetary Total Extensions Group must not contain more than one VRBL extension. |
| VRBL-INV-CORE-619 | The Legal Monetary Total Extensions Group must not contain VRBL extensions of other elements. |