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

Document Level Allowances

Germany | VRBL-Invoice-DE-XRechnung-3p0
Context ID INV0879
Usage O*
Final Format Path /ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']

Description

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

Child elements
Usage Element Description Cardinality
M cbc:ChargeIndicator Document Level Charge Indicator

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

1..1
C cbc:AllowanceChargeReasonCode Document Level Allowance Reason Code

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

0..1
C cbc:AllowanceChargeReason Document Level Allowance Reason

The reason for this allowance or charge.

0..n
O cbc:MultiplierFactorNumeric Document Level Allowance Percentage

A number by which the base amount is multiplied to calculate the actual amount of this allowance or charge.

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

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

1..1
O cbc:BaseAmount Document Level Allowance Base Amount

The monetary amount to which the multiplier factor is applied in calculating the amount of this allowance or charge.

0..1
M cac:TaxCategory Document Level Allowance Tax Category

A tax category applicable to this allowance or charge.

0..n
Details

Example: DE-invoice_380_cardPayment_full.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AllowanceCharge>
    <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
    <cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>
    <cbc:AllowanceChargeReason>Discount</cbc:AllowanceChargeReason>
    <cbc:MultiplierFactorNumeric>20.00</cbc:MultiplierFactorNumeric>
    <cbc:Amount currencyID="GBP">396.00</cbc:Amount>
    <cbc:BaseAmount currencyID="GBP">1980</cbc:BaseAmount>
    <cac:TaxCategory>
      <cbc:ID>E</cbc:ID>
      <cbc:Percent>0.00</cbc:Percent>
      <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-EN16931-S-215 The Document Level Allowance Reason is expected no more than 1 times within the Document Level Allowances.
VRBL-INV-EN16931-M-12 The Document Level Allowance Tax Category Code must exist within the Document Level Allowances.
VRBL-INV-EN16931-M-13 The Document Level Allowances must have a Document Level Allowance Reason or a Document Level Allowance Reason
VRBL-INV-EN16931-M-14 The Document Level Allowance Amount must have no more than 2 decimals.
VRBL-INV-EN16931-M-15 The Document Level Allowance Base Amount must have no more than 2 decimals.
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.