/ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]/cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID

Tax Scheme Code

Spain | VRBL-Invoice-ES-FacturaE-3p2
Context ID INV1056
Usage M

Description

The scheme of the tax category.

Details

Example: ES_B2G_Correction_invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:TaxTotal>
    <!-- ... omitted for readability -->
    <cac:TaxSubtotal>
      <!-- ... omitted for readability -->
      <cac:TaxCategory>
        <!-- ... omitted for readability -->
        <cac:TaxScheme>
          <cbc:ID>VRBL:ES-B2G:01</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>