Denmark OL: Payment Means

You must specify the payment means and other details at the Document level in Denmark.

Elements

Use the following sub-elements of the PaymentMeans element:

Name (Path)CardinalityDescription
Payment Instructions Group (Invoice/PaymentMeans)0..nGroup of elements that models information about how the payment was made.
Payment Means Type Code (Invoice/PaymentMeans/PaymentMeansCode)1..1The code that represents the payment method. See UNCL4461. This can be named in an attribute, for example: <cbc:PaymentMeansCode name="Credit transfer">30</cbc:PaymentMeansCode>
Payment Means Type Code (Invoice/PaymentMeans/PaymentMeansCode @name)0..1The means, expressed as name.
Payment Instruction ID (Invoice/PaymentMeans/PaymentID)0..1The identifier of the payment.
Payment Channel Code (Invoice/PaymentMeans/PaymentChannelCode)0..1The Payment Channel expressed as a code.
Instruction ID (Invoice/PaymentMeans/PaymentID/InstructionID)0..1The ID for the Payment Instruction.
Credit Transfer
Credit Transfer Group (Invoice/PaymentMeans/PayeeFinancialAccount)0..1A group of elements to specify credit transfer payments.
Payee Payment Account Identifier (Invoice/PaymentMeans/PayeeFinancialAccount/ID)1..1The identifier of the Payee's bank account.
Payee Payment Account Name (Invoice/PaymentMeans/PayeeFinancialAccount/Name)0..1The name of the Payee's bank account.
Payee Financial Institution Branch Group (Invoice/PaymentMeans/ PayeeFinancialAccount/Name/ FinancialInstitutionBranch/)0..1Financial Institution Branch group.
Payee Financial Institution Branch ID (Invoice/PaymentMeans/ PayeeFinancialAccount/Name/ FinancialInstitutionBranch/ID)1..1The identifier for the Payee's bank or other financial institution.
Card Payment
Payment Card Information Group (Invoice/PaymentMeans/CardAccount)0..1Groups information about a card payment.
Payment Card Primary Account Number (Invoice/PaymentMeans/CardAccount/ PrimaryAccountNumberID)0..1The Primary Account Number (PAN) of the card used for payment.
Payment Card Network ID (Invoice/PaymentMeans/ CardAccount/NetworkID)0..1Used to identify the financial service network provider of the card.
Payment Card Holder Name (Invoice/PaymentMeans/ CardAccount/HolderName)0..1The name of the payment card holder.
Direct Debit
Direct Debit Group (Invoice/PaymentMeans/ PaymentMandate/)0..1Groups information about a direct debit.
Mandate Reference Identifier (Invoice/PaymentMeans/PaymentMandate/ID)0..1Unique identifier assigned by the Payee for referencing the direct debit mandate.
Payer Financial Account Group (Invoice/PaymentMeans/PaymentMandate/ PayerFinancialAccount)0..1Groups information about the Payer's financial account.
Payer Account Identifier (Invoice/PaymentMeans/PaymentMandate/ PayerFinancialAccount/ID)1..1The account to be debited by the direct debit.

Restrictions

The restrictions and requirements can vary depending in the type of payment.

Debit transfer

If the Payment Means Code is 31, this indicates a debit transfer. The following restrictions apply:

  • The Instruction Note element is not allowed.
  • The Payment Channel Code must be VRBL:DK:IBAN or VRBL:DK:ZZZ.
  • The Payee Financial Institution Branch element is not allowed if the Payment Channel Code element is IBAN.

For example:

<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:PaymentMeans>
        <cbc:PaymentMeansCode>31</cbc:PaymentMeansCode>
        <cbc:PaymentChannelCode>ZZZ</cbc:PaymentChannelCode>
        <cac:PayeeFinancialAccount>
            <cbc:ID>DK123456</cbc:ID>
            <cbc:Name>BankAccountOwner Name</cbc:Name>
            <cbc:Address>BankAccountOwner Address</cbc:Address>
            <cac:FinancialInstitutionBranch>
                <cbc:ID>1234</cbc:ID>
                <cbc:Name>Name sample</cbc:Name>
                <cbc:Address>Address sample</cbc:Address>
            </cac:FinancialInstitutionBranch>
        </cac:PayeeFinancialAccount>
    </cac:PaymentMeans>
    <!-- Code omitted for clarity -->
</ubl:Invoice>

Payment to bank account

If the Payment Means Code is 42, this indicates a payment to a bank account. The following restrictions apply:

  • The Instruction Note and Credit Transfer groups are not allowed.
  • The Payment Channel Code must be VRBL:DK:BANK.
  • The Financial Institution ID must be no longer than 4 digits.

For example:

<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:PaymentMeans>
        <cbc:PaymentMeansCode>42</cbc:PaymentMeansCode>
        <cbc:PaymentChannelCode>VRBL:DK:BANK</cbc:PaymentChannelCode>
        <cac:PayeeFinancialAccount>
            <cbc:ID>DK12345678</cbc:ID>
            <cbc:Name>BankAccountOwner</cbc:Name>
            <cac:FinancialInstitutionBranch>
                <cbc:ID>1234</cbc:ID>
            </cac:FinancialInstitutionBranch>
        </cac:PayeeFinancialAccount>
    </cac:PaymentMeans>
    <!-- Code omitted for clarity -->
</ubl:Invoice>

Direct debit

If the Payment Means Code is 49, this indicates a direct debit. The following restrictions apply:

  • The Instruction Note element is not allowed.
  • The Credit Transfer Group is not allowed.
  • If the Payment Channel Code element is provided, the InstructionID element is not required.
  • If the Payment Channel Code is VRBL:DK:BANK, then the following rules apply:
    • The Payer Financial Account ID cannot be longer than 10 characters.
    • The Payer Account Identifier element must be 4 characters long.
  • If the Payment Channel Code is VRBL:DK:IBAN, then the following rules apply:
    • The Payer Financial Account ID must be between 18 and 34 characters.
    • The Payer Account Identifier element is not needed.

For example:

<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:PaymentMeans>
        <cbc:PaymentMeansCode>49</cbc:PaymentMeansCode>
        <cbc:PaymentChannelCode>VRBL:DK:BANK</cbc:PaymentChannelCode>
        <cac:PayerFinancialAccount>
            <cbc:ID>DK12345678</cbc:ID>
            <cbc:Name>BankAccountOwner</cbc:Name>
            <cac:FinancialInstitutionBranch>
                <cbc:ID>1234</cbc:ID>
                <cac:FinancialInstitution>
                    <cbc:ID>5678</cbc:ID>
                </cac:FinancialInstitution>
            </cac:FinancialInstitutionBranch>
        </cac:PayerFinancialAccount>
    </cac:PaymentMeans>
    <!-- Code omitted for clarity -->
</ubl:Invoice>

Payment by postgiro

If the Payment Means Code is 50, this indicates a payment by postgiro. The following restrictions apply:

  • The Credit Transfer group is not allowed.
  • The Payment Channel Code must be VRBL:DK:GIRO.
  • The only allowed values in the Payment Instruction ID element are 01, 04, and 15.
  • When the Payment Instruction ID element is 04 or 15, the following rules apply:
    • The Instruction ID element cannot be longer than 16 characters.
    • The Instruction Note element is not allowed.]
  • If the Payment Instruction ID element is 01, then the Instruction ID element cannot be longer than 16 characters and the Instruction Note is mandatory.
  • The Payee Payment Account Identifier element must be 7 or 8 characters long.

For example:

<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:PaymentMeans>
        <cbc:PaymentMeansCode>50</cbc:PaymentMeansCode>
        <cbc:PaymentID>15</cbc:PaymentID>
        <cbc:PaymentChannelCode>VRBL:DK:GIRO</cbc:PaymentChannelCode>
        <cbc:InstructionID>123456789</cbc:InstructionID>
        <cac:PayeeFinancialAccount>
            <cbc:ID>DK12345</cbc:ID>
        </cac:PayeeFinancialAccount>
    </cac:PaymentMeans>
    <!-- Code omitted for clarity -->
</ubl:Invoice>

Reference giro

If the Payment Means Code is 93, this indicates a payment by reference giro. The following restrictions apply:

  • If you chose to include it, the Payment Channel Code must be VRBL:DK:FIK.
  • The only allowed values in the Payment Instruction ID element are 71, 73, and 75.
  • The following character limits apply:
Payment Instruction IDInstruction ID Restriction
7115
7313
  • If the Instruction ID is 75, the Instruction Note is not needed.

For example:

<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:PaymentMeans>
        <cbc:PaymentMeansCode>93</cbc:PaymentMeansCode>
        <cbc:PaymentID>73</cbc:PaymentID>
        <cbc:PaymentChannelCode>VRBL:DK:FIK</cbc:PaymentChannelCode>
    </cac:PaymentMeans>
    <!-- Code omitted for clarity -->
</ubl:Invoice>

Clearing between partners

If the Payment Means Code is 97, this indicates a clearing between partners. The following restrictions apply:

  • The following elements are not allowed: Instruction ID, Instruction Note, Payment Instruction ID, Payer Account Identifier, and the Payee Payment Account Name element is not needed.
  • If you specify it, the Payment Means Code must be VRBL:DK:NEMKONTO.

For example:

<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:PaymentMeans>
        <cbc:PaymentMeansCode>97</cbc:PaymentMeansCode>
        <cbc:PaymentChannelCode>VRBL:DK:NEMKONTO</cbc:PaymentChannelCode>
    </cac:PaymentMeans>
    <!-- Code omitted for clarity -->
</ubl:Invoice>

Example

<ubl:Invoice>
     <!-- Code omitted for clarity -->
    <cac:PaymentMeans>
        <cbc:PaymentMeansCode>10</cbc:PaymentMeansCode>
        <cbc:PaymentID>1</cbc:PaymentID>
        <cbc:PaymentChannelCode>VRBL:DK:DK:BANK</cbc:PaymentChannelCode>
        <cac:PayerFinancialAccount>
            <cbc:ID>DK12345678</cbc:ID>
            <cbc:Name>BankAccountOwner</cbc:Name>
            <cac:FinancialInstitutionBranch>
                <cbc:ID>1234</cbc:ID>
            </cac:FinancialInstitutionBranch>
        </cac:PayerFinancialAccount>
    </cac:PaymentMeans>
    <!-- Code omitted for clarity --> 
</ubl:Invoice>