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

Document Level Charge Amount

Italy | VRBL-Invoice-IT-1p2
Context ID INV0914
Usage M

Description

The amount of a charge, without tax.

Child elements
Usage Element Description Cardinality
M @currencyID Charge Amount Currency Code

The currency of the amount.

1..1
Details

Example: IT_invoice_TD01_Discount.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AllowanceCharge>
    <!-- ... omitted for readability -->
    <cbc:Amount currencyID="EUR">100</cbc:Amount>
    <!-- ... omitted for readability -->
  </cac:AllowanceCharge>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-CORE-327 The Charge Amount Currency Code must be the same as Document Currency Code. The only exception are the currencies in Tax Total in Tax Accounting Currency.