/ubl:Invoice/cac:LegalMonetaryTotal/cec:UBLExtensions

Legal Monetary Total Extensions Group

Spain | VRBL-Invoice-ES-FacturaE-3p2
Context ID INV1116
Usage O

Description

See UBL extension mechansim for details.

Child elements
Usage Element Description Cardinality
O cec:UBLExtension Legal Monetary Total Extension Group 1..n
Details

Example: ES_B2G_Invoice_with_currencies.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:LegalMonetaryTotal>
    <ext:UBLExtensions>
      <ext:UBLExtension>
        <ext:ExtensionContent>
          <vrbl:LegalMonetaryTotalExtension>
            <vrbl:LegalMonetaryTotalInTaxCurrency>
              <cbc:PayableAmount currencyID="EUR">18641.70</cbc:PayableAmount>
            </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.