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) | Cardinality | Description |
---|---|---|
Payment Instructions Group (Invoice/PaymentMeans ) | 0..1 | Group of elements that models information about how the payment was made. |
Payment Means Type Code (Invoice/PaymentMeans/PaymentMeansCode ) | 1..1 | Specify 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) | Cardinality | Description |
---|---|---|
Credit Transfer Group (Invoice/PaymentMeans/PayeeFinancialAccount ) | 0..1 | A group of elements to specify credit transfer payments. |
Payment Account Identifier (Invoice/PaymentMeans/PayeeFinancialAccount/ID ) | 1..1 | Payment account identifier |
Financial Institution Branch (Invoice/PaymentMeans/PayeeFinancialAccount/Name/ FinancialInstitutionBranch/ ) | 0..1 | Financial Institution Branch group. |
Financial Institution Branch (Invoice/PaymentMeans/PayeeFinancialAccount/Name/ FinancialInstitutionBranch/ID ) | 1..1 | Payment service provider identifier |
If you specify 49, the following sub-elements are required:
Element (Path) | Cardinality | Description |
---|---|---|
Direct Debit Group (Invoice/PaymentMeans/ PaymentMandate/ ) | 0..1 | Groups information about a direct debit. |
Mandate Reference Identifier (Invoice/PaymentMeans/PaymentMandate/ID ) | 0..1 | Unique 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) | Cardinality | Description |
---|---|---|
Payment Instructions Group (Invoice/PaymentMeans ) | 0..n | Group of elements that models information about how the payment was made. |
Payment Instruction ID (Invoice/PaymentMeans/PaymentID ) | 0..1 | Specify the prefix and ID, for example 04#1234567890123456 . |
If you specify 93, the following elements are mandatory:
Element | Cardinality | Description |
---|---|---|
Payment Instruction ID (Invoice/PaymentMeans/PaymentID ) | 0..1 | You 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..1 | This 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:
Code | Description |
---|---|
1 | Instrument not defined |
10 | In cash |
31 | Debit transfer |
42 | Payment to bank account |
48 | Bank card |
49 | Direct debit |
50 | Payment by postgiro |
58 | SEPA credit transfer |
59 | SEPA direct debit |
93 | Reference giro |
97 | Clearing 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>
Updated 7 days ago