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

Tax Category Taxable Amount

Philippines | VRBL-Invoice-PH-1p0
Context ID INV1046
Usage C
Usage Description

This is required for POS invoices.

Format Amount
Final Format Path $.VATSales $.ExemptSales $.ZeroSales

Description

Sum of all taxable amounts subject to a specific TAX category code and TAX category rate (if the TAX category rate is applicable).

Child elements
Usage Element Description Cardinality
M @currencyID Invoice Tax Subtotal Taxable Amount Currency Code

The currency of the amount.

1..1
Details

Example: VRBL_PH_CAS_invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:TaxTotal>
    <!-- ... omitted for readability -->
    <cac:TaxSubtotal>
      <cbc:TaxableAmount currencyID="PHP">312.50</cbc:TaxableAmount>
      <!-- ... omitted for readability -->
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-CORE-351 The Invoice Tax Subtotal Taxable Amount Currency Code must be the same as Document Currency Code. The only exception are the currencies in Tax Total in Tax Accounting Currency.