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

Invoice Line Charges

Denmark | VRBL-Invoice-DK-1p0
Context ID INV1268
Usage O*
Final Format Path /ubl:Invoice/cac:InvoiceLine/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']

Description

A group of business terms providing information about charges applicable to the individual invoice line.

If non-VAT taxes are specified at line level for a Danish buyer, the Invoice Line Charge group is used to provide these taxes.

Child elements
Usage Element Description Cardinality
M cbc:ChargeIndicator Invoice Line Charge Indicator

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

1..1
C cbc:AllowanceChargeReasonCode Invoice Line Charge Reason Code

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

0..1
C cbc:AllowanceChargeReason Invoice Line Charge Reason

The reason for this allowance or charge.

0..n
O cbc:MultiplierFactorNumeric Invoice Line Charge 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 Invoice Line Charge Amount

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

1..1
O cbc:BaseAmount Invoice Line Charge Base Amount

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

0..1
Details

vrbl-invoice-dk-1p0

The Danish seller must provide the following elements:

Name Description XPath
Invoice Line Level Charge Reason Code Provide ZZZ when indicating non-VAT taxes. /Invoice/cac:InvoiceLine/cac:AllowanceCharge/cbc:AllowanceChargeReasonCode
Invoice Line Level Charge Reason Danish 4-digit tax category code 1234. /Invoice/cac:InvoiceLine/cac:AllowanceCharge/cbc:AllowanceChargeReason

Example:

<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:InvoiceLine>
            <!-- Code omitted for clarity -->
            <cac:AllowanceCharge>
                <cbc:ChargeIndicator>true</cbc:ChargeIndicator>
                <cbc:AllowanceChargeReasonCode>ZZZ</cbc:AllowanceChargeReasonCode>
                <cbc:AllowanceChargeReason>1234</cbc:AllowanceChargeReason>
                <cbc:Amount currencyID="EUR">100</cbc:Amount>
                <cac:TaxCategory>
                    <cbc:ID>S</cbc:ID>
                    <cbc:Percent>25</cbc:Percent>
                    <cac:TaxScheme>
                        <cbc:ID>TAX</cbc:ID>
                    </cac:TaxScheme>
                </cac:TaxCategory>
            </cac:AllowanceCharge>
            <!-- Code omitted for clarity -->
    </cac:InvoiceLine>
</ubl:Invoice>

Example: DK_PeppolBIS_creditnote_381.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:AllowanceCharge>
      <cbc:ChargeIndicator>true</cbc:ChargeIndicator>
      <cbc:AllowanceChargeReason>Sample Description</cbc:AllowanceChargeReason>
      <cbc:MultiplierFactorNumeric>10</cbc:MultiplierFactorNumeric>
      <cbc:Amount currencyID="DKK">10</cbc:Amount>
      <cbc:BaseAmount currencyID="DKK">100</cbc:BaseAmount>
    </cac:AllowanceCharge>
    <!-- ... omitted for readability -->
  </cac:InvoiceLine>
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-EN16931-M-115 Each Invoice Line Charges must have an Invoice Line Charge Reason or an Invoice Line Charge Reason Code.
VRBL-INV-EN16931-M-117 Each Invoice Line Charges must contain an Invoice Line Charge Reason or an Invoice Line Charge Reason Code, or both.
VRBL-INV-EN16931-M-118 The Invoice Line Charge Amount must have no more than 2 decimals.
VRBL-INV-EN16931-M-119 The Invoice Line Charge Base Amount must have no more than 2 decimals.
VRBL-INV-CORE-476 The Invoice Line Charges expects a maximum of one Invoice Line Charge Reason.