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

Document Level Allowances

Hungary | VRBL-Invoice-HU-1p0
Context ID INV0879
Usage O*

Description

A group of business terms providing information about allowances applicable to the invoice as a whole.

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

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

1..1
O cbc:AllowanceChargeReason Document Level Allowance Reason

The reason for this allowance or charge.

0..n
M cbc:Amount Document Level Allowance Amount

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

1..1
O* cac:TaxCategory Document Level Allowance Tax Category

A tax category applicable to this allowance or charge.

0..n
Details

Example: HU_invoice_380_domestic_invoice_with_document_discount.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AllowanceCharge>
    <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
    <cbc:AllowanceChargeReason>Árengedmény</cbc:AllowanceChargeReason>
    <cbc:Amount currencyID="HUF">480000.00</cbc:Amount>
    <cac:TaxCategory>
      <cbc:ID>S</cbc:ID>
      <cbc:Percent>27.00</cbc:Percent>
      <cac:TaxScheme>
        <cbc:ID>VAT</cbc:ID>
      </cac:TaxScheme>
    </cac:TaxCategory>
    <cac:TaxTotal>
      <cbc:TaxAmount currencyID="HUF">129600.00</cbc:TaxAmount>
    </cac:TaxTotal>
  </cac:AllowanceCharge>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-CORE-299 The Document Level Allowances expects a maximum of one Document Level Allowance Reason.
VRBL-INV-CORE-556 Each Document Level Allowances must have a Tax Breakdown corresponding to its Document Level Allowance Tax Category Code and Document Level Allowance Tax Rate.