/ubl:Invoice/cac:PaymentMeans
VRBL-Invoice-DK-OIOUBL-2p0 - Payment Instructions
| Context ID | INV0770 |
| Usage | O* |
Description
A group of business terms providing information about the payment.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | cbc:PaymentMeansCode |
Payment Means Type Code
A code signifying the type of this means of payment. |
1..1 |
| O | cbc:PaymentChannelCode |
Payment Means Payment Channel Code
A code signifying the payment channel for this means of payment. |
0..1 |
| O* | cbc:PaymentID |
Remittance Information
An identifier for a payment made using this means of payment. |
0..n |
| O* | cac:CardAccount |
Payment Card Information
A credit card, debit card, or charge card account that constitutes this means of payment. |
0..n |
| O | cac:PayeeFinancialAccount |
Credit Transfer
The payee's financial account. |
0..1 |
| O | cac:PaymentMandate |
Direct Debit
The payment mandate associated with this means of payment. |
0..1 |
Details
vrbl-invoice-dk-oioubl-2p0
Depending on the payment means code, the payment channel code and the payment identifier value, different additional groups might be provided.
Below, the most common scenarios.
Debit transfer
If the value 31 (debit transfer) is provided in the cbc:PaymentMeansCode element, the following rules have to be applied:
- the
cbc:InstructionNoteelement is not allowed. - the
cbc:PaymentChannelCodemust equalVRBL:DK:IBANorVRBL:DK:ZZZ - the
cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cbc:IDelement is not used ifcbc:PaymentChannelCodeis equal toIBAN
Example with Payment Means Code 31:
<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 value 42 (payment to bank account) is provided in the cbc:PaymentMeansCode element, the following rules have to be applied:
- the
cbc:InstructionNoteelement and thecac:CreditAccountelements are not allowed - the
/cbc:PaymentChannelCodemust be equal toVRBL:DK:BANK - the
cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cbc:IDcannot contain more than 4 digits
Example with Payment Means Code 42, Payment to bank account:
<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 value 49 (Direct Debit) is provided in the cbc:PaymentMeansCode element, the following rules have to be applied:
- the
cbc:InstructionNoteelement and thecac:CreditAccountgroup are not allowed - the
cbc:InstructionIDelement can be avoided ifcbc:PaymentChannelCodeis provided - if
cbc:PaymentChannelCodeisVRBL:DK:BANK
* the value incac:PayerFinancialAccount/cbc:IDcannot be longer than 10 characters
* the value incac:PayerFinancialAccount/cac:FinancialInstitutionBranch/cbc:IDmust be 4 characters long - if
cbc:PaymentChannelCodeisVRBL:DK:IBAN
* the value incac:PayerFinancialAccount/cbc:IDmust be between 18 and 34 characters
* thecac:PayerFinancialAccount/cac:FinancialInstitutionBranch/cbc:IDelement does not have to be provided - the
cac:PayerFinancialAccount/cac:FinancialInstitutionBranch/cac:FinancialInstitution/cbc:IDexpressed as a ISO 9362 BIC (Bank Identification Code) is recommended, and is mandatory whencbc:PaymentChannelCodeisVRBL:DK:IBAN
Example with Payment Means Code 49:
<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 value 50 (Payment by postgiro) is provided in the cbc:PaymentMeansCode element, the following rules have to be applied:
cac:CreditAccountgroup is not allowed- the value in element
cbc:PaymentChannelCodemust beVRBL:DK:GIRO - the only values allowed in the
cbc:PaymentIDelement are01,04,15 - when the value in element
cbc:PaymentIDis04or15
*cbc:InstructionIDcannot contain more the 16 characters
*cbc:InstructionNoteis not allowed - when the value in element
cbc:PaymentIDis01thencbc:InstructionIDcannot contain more the 16 characters
*cbc:InstructionNoteis mandatory cac:PayeeFinancialAccount/cbc:IDmust be 7 or 8 character long
Example with Payment Means Code 50:
<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 value 93 is provided in the cbc:PaymentMeansCode element, the following rules have to be applied:
- if provided, the element
cbc:PaymentChannelCodemust containVRBL:DK:FIK - the only allowed values in
cbc:PaymentIDare71,73and75:
* ifcbc:PaymentIDis71thencbc:InstructionIDmust be 15 characters long
* ifcbc:PaymentIDis75thencbc:InstructionIDmust be 13 characters long
* ifcbc:PaymentIDis73thencbc:InstructionNoteis not provided
Example with Payment Means Code 93:
<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 value 97 is provided in the cbc:PaymentMeansCode element, the following rules have to be applied:
- the elements
cbc:InstructionID,cbc:InstructionNote,cbc:PaymentID,cac:PayerFinancialAccount,cac:PayeeFinancialAccountandcac:CreditAccountare not allowed - if provided, the value in element
cbc:PaymentChannelCodemust beVRBL:DK:NEMKONTO
Example with Payment Means Code 97:
<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: DK_OIOUBL_380_invoice_tax_category_Z.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:PaymentMeans>
<cbc:PaymentMeansCode>31</cbc:PaymentMeansCode>
<cbc:PaymentChannelCode>IBAN</cbc:PaymentChannelCode>
<cac:PayeeFinancialAccount>
<cbc:ID>BE1212341234123412</cbc:ID>
<cac:FinancialInstitutionBranch>
<cbc:ID>SEFDABCD</cbc:ID>
</cac:FinancialInstitutionBranch>
</cac:PayeeFinancialAccount>
</cac:PaymentMeans>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-DK-OIOUBL-2p0-84 | The Payment Means Type Code must exist within the Payment Instructions. |
| VRBL-INV-DK-OIOUBL-2p0-83 | When there are multiple Payment Instructions, the Payment Instructions ID must be provided. |
| VRBL-INV-CORE-255 | The Payment Instructions expects a maximum of one Payment Card Information. |