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

Document Level Charges

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

Description

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

If non-VAT taxes are specified at document level for a Danish buyer, the Document Level Charge group is used to provide these taxes.

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 Charge Reason Code

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

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

The reason for this allowance or charge.

0..n
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

vrbl-invoice-dk-1p0

The Danish seller must provide the following elements:

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

Example:

<ubl:Invoice>   
    <!-- 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 -->    
</ubl:Invoice>

Example: DK_PeppolBIS_creditnote_381.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AllowanceCharge>
    <cbc:ChargeIndicator>true</cbc:ChargeIndicator>
    <cbc:AllowanceChargeReason>Service charge</cbc:AllowanceChargeReason>
    <cbc:Amount currencyID="DKK">100</cbc:Amount>
    <cac:TaxCategory>
      <cbc:ID>S</cbc:ID>
      <cbc:Percent>25</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-216 The Document Level Charge Reason is expected no more than 1 times within the Document Level Charges.
VRBL-INV-EN16931-M-17 The Document Level Charge Tax Category Code must exist within the Document Level Charges.
VRBL-INV-EN16931-M-18 The Document Level Charges must have a Document Level Charge Reason or a Document Level Charge Reason.
VRBL-INV-EN16931-M-19 The Document Level Charge Amount must have no more than 2 decimals.
VRBL-INV-EN16931-M-20 The Document Level Charge Base Amount must have no more than 2 decimals.
VRBL-INV-CORE-320 The Document Level Charges expects a maximum of one Document Level Charge Reason.