# Payment ID Examples

Examples of payment ID and how these can be used combined with the optional display format field.

Note! When using INV and CLI we recommend to set number of digits one higher than current number of digits in the series.&#x20;

In the examples below the invoice number used for examples is 4345 and customer number is 23412

<table><thead><tr><th width="241">Payment ID</th><th>Description</th></tr></thead><tbody><tr><td>INV6CLI6</td><td>Invoice = 6 digits and customer = 6 digits.</td></tr><tr><td></td><td>Invoice number = 04345</td></tr><tr><td></td><td>Customer number = 023412</td></tr><tr><td></td><td>Combined = 004345023412</td></tr><tr><td></td><td>Control number = 0043450234125</td></tr><tr><td></td><td>Complete payment ID = 13 digits</td></tr><tr><td>COM23INV7CLI8COM4</td><td>Comment = 23, invoice = 7 digits, customer = 6 digits and a comment = 4</td></tr><tr><td></td><td>Invoice number = 0004345</td></tr><tr><td></td><td>Customer number = 023412</td></tr><tr><td></td><td>Combined = 2300043450234124</td></tr><tr><td></td><td>Control number = 23000434502341244</td></tr><tr><td></td><td>Complete payment ID = 17 digits</td></tr></tbody></table>

### Fields

#### OCR number format

<figure><img src="https://497021537-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LsGm2gYUXX6xCfrrWgU-887967055%2Fuploads%2F1VWh9AtYOp11adIMe0BT%2Fimage.png?alt=media&#x26;token=ab27e57e-f65e-4040-9b77-c1dcd63da62b" alt=""><figcaption></figcaption></figure>

Values in the first column above are the ones placed in this field, like this:

<figure><img src="https://497021537-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LsGm2gYUXX6xCfrrWgU-887967055%2Fuploads%2FEsvXe2wKgSngDtowgscp%2Fimage.png?alt=media&#x26;token=d5ccf138-9ad2-4d83-a956-02e9da98eb19" alt=""><figcaption></figcaption></figure>

#### Optional display format

In the case where the payment ID needs to include other characters than just numeric values, the optional display format field will be used. An example where this is needed is for the Danish FIK number, as this also consists of + and <

In the example below the kortart used is 71 and kreditornummer is 99999999, along with the first payment ID above.

<figure><img src="https://497021537-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LsGm2gYUXX6xCfrrWgU-887967055%2Fuploads%2FfSj5yzVrbkDL6apHGyoJ%2Fimage.png?alt=media&#x26;token=0478e435-ec70-49b7-b301-b742a23f49d5" alt=""><figcaption></figcaption></figure>

The payment ID generated on the invoice would be like this

```
+71<0043450234125+99999999<
```
