Denmark B2G: Payment Means Code

You must specify the Payment Means Code.

Depending on the value you specify, some other elements can be required.

More information about how Payment Means are modelled generally is provided in the VRBL: Payment Means topic.

Elements

Use the following sub-element of the PaymentMeans element to specify the payment means code

Element (Path)CardinalityDescription
Payment Instructions Group (Invoice/PaymentMeans)0..1Group of elements that models information about how the payment was made.
Payment Means Type Code (Invoice/PaymentMeans/PaymentMeansCode)1..1Specify the code that represents the payment means.

Code-Dependent Elements

If you specify code 31 or 42, the following sub-elements are required:

Element (Path)CardinalityDescription
Credit Transfer Group (Invoice/PaymentMeans/PayeeFinancialAccount)0..1A group of elements to specify credit transfer payments.
Payment Account Identifier (Invoice/PaymentMeans/PayeeFinancialAccount/ID)1..1Payment account identifier
Financial Institution Branch (Invoice/PaymentMeans/PayeeFinancialAccount/Name/ FinancialInstitutionBranch/)0..1Financial Institution Branch group.
Financial Institution Branch (Invoice/PaymentMeans/PayeeFinancialAccount/Name/ FinancialInstitutionBranch/ID)1..1Payment service provider identifier

If you specify 49, the following sub-elements are required:

Element (Path)CardinalityDescription
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.

If you specify 50 and the PaymentID is prefixed with 04# or15#, you must provide the prefix in the PaymentID element, for example, 04#1234567890123456.

Element (Path)CardinalityDescription
Payment Instructions Group (Invoice/PaymentMeans)0..nGroup of elements that models information about how the payment was made.
Payment Instruction ID (Invoice/PaymentMeans/PaymentID)0..1Specify the prefix and ID, for example 04#1234567890123456.

If you specify 93, the following elements are mandatory:

ElementCardinalityDescription
Payment Instruction ID (Invoice/PaymentMeans/PaymentID)0..1You must specify the Payment/Instruction ID. It must begin with 71#, 73# or 75#. These are from the Kostcorde. For example: 71#1234567890123456.
Payment Account Identifier (Invoice/PaymentMeans/PayeeFinancialAccount/ID)1..1This corresponds to the Kreditonummer. It must be 8 characters long.

Restrictions

You can only use the following values. These are derived from the UNCL4461 list:

CodeDescription
1Instrument not defined
10In cash
31Debit transfer
42Payment to bank account
48Bank card
49Direct debit
50Payment by postgiro
58SEPA credit transfer
59SEPA direct debit
93Reference giro
97Clearing between partners

Examples

Payment Means Code 31

The following example is for 31:

<!-- Payment means code is 31 - Debit transfer -->
<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:PaymentMeans>
		<cbc:PaymentMeansCode>31</cbc:PaymentMeansCode>
		<cac:PayeeFinancialAccount>
			<cbc:ID>DK1234567812345678</cbc:ID>
			<cbc:Name>BankAccountOwner</cbc:Name>
			<cac:FinancialInstitutionBranch>
				<cbc:ID>DABADKKKXXX</cbc:ID>
			</cac:FinancialInstitutionBranch>
		</cac:PayeeFinancialAccount>
	</cac:PaymentMeans>
    <!-- Code omitted for clarity -->
</ubl:Invoice>

Payment Means Code 49

The following example is for 49:

<!-- Payment means code is 49 - Direct debit -->
<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:PaymentMeans>
		<cbc:PaymentMeansCode>49</cbc:PaymentMeansCode>
		<cac:PaymentMandate>
			<cbc:ID>123456</cbc:ID>
			<cac:PayerFinancialAccount>
				<cbc:ID>12345676543</cbc:ID>
			</cac:PayerFinancialAccount>
		</cac:PaymentMandate>
	</cac:PaymentMeans>
    <!-- Code omitted for clarity -->
</ubl:Invoice>

Payment Means Code 50

The following example is for 50:

<!-- Payment means code is 50 - Payment by postgiro -->
<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:PaymentMeans>
		<cbc:PaymentMeansCode>50</cbc:PaymentMeansCode>
		<cbc:PaymentID>04#1234567890123456</cbc:PaymentID>
	</cac:PaymentMeans>
    <!-- Code omitted for clarity -->
</ubl:Invoice>

Payment Means Code 93

The following example is for 93:

<!-- Payment means code is 93 - Reference giro -->
<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:PaymentMeans>
		<cbc:PaymentMeansCode>93</cbc:PaymentMeansCode>
		<cbc:PaymentID>71#1234567890123456</cbc:PaymentID>
		<cac:PayeeFinancialAccount>
			<cbc:ID>12345678</cbc:ID>
		</cac:PayeeFinancialAccount>
	</cac:PaymentMeans>
    <!-- Code omitted for clarity -->
</ubl:Invoice>