FIK code

In some cases, customers still want to have a FIK code on their invoices.

This is how a FIK code is constructed:

+71<000000004040663+12345678<

CodeDescription
+71Payment type
404066Invoice number
3Control code for modulus 10 check
12345678Credit account

To make this possible, FORNAV has a built-in function string, CurrReport.FIK(CardType: Number, Number: String, Account: String): string,which you can use to create the FIK string including the control digit. And by using the function as source expression on a control, in combination with setting the font to OCRB, you get a valid FIK code which looks like this

If you want to use the number from the invoice and the bank creditor number from company information the source expression would look like this:

CurrReport.FIK(71, Header.No, CompanyInformation.BankCreditorNo)