/ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']

Document Level Charges

Philippines | VRBL-Invoice-PH-1p0
Context ID INV0902
Usage O

Description

A group of business terms providing information about charges and taxes other than tax, applicable to the Invoice as a whole.

Child elements
Usage Element Description Cardinality
C cec:UBLExtensions Charge Extensions Group 0..1
O cbc:ChargeIndicator Document Level Charge Indicator

An indicator that this AllowanceCharge describes a charge (true) or a discount (false).

1..1
O cbc:AllowanceChargeReasonCode Document Level Charge Reason Code

A mutually agreed code signifying the reason for this allowance or charge.

0..1
M cbc:Amount Document Level Charge Amount

The monetary amount of this allowance or charge to be applied.

1..1
M cac:TaxCategory Document Level Charge Tax Category

A tax category applicable to this allowance or charge.

0..n
Details

Example: VRBL_PH_CAS_invoice_max.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AllowanceCharge>
    <ext:UBLExtensions>
      <ext:UBLExtension>
        <ext:ExtensionContent>
          <vrbl:AllowanceChargeExtension>
            <vrbl:AmountInTaxCurrency currencyID="PHP">530</vrbl:AmountInTaxCurrency>
          </vrbl:AllowanceChargeExtension>
        </ext:ExtensionContent>
      </ext:UBLExtension>
    </ext:UBLExtensions>
    <cbc:ChargeIndicator>true</cbc:ChargeIndicator>
    <cbc:AllowanceChargeReasonCode>VRBL:PH:TAX</cbc:AllowanceChargeReasonCode>
    <cbc:Amount currencyID="USD">8.83333333</cbc:Amount>
    <cac:TaxCategory>
      <cbc:ID>S</cbc:ID>
      <cac:TaxScheme>
        <cbc:ID>VAT</cbc:ID>
      </cac:TaxScheme>
    </cac:TaxCategory>
  </cac:AllowanceCharge>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-CORE-320 The Document Level Charges expects a maximum of one Document Level Charge Reason.