API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

Get OCR-number for invoice


I representing one of your customer.

They want to offer their customers to pay their invoices via Bankgiro by using OCR-numbers. Today they transfer all their invoices from their internal system to e-conomic.  When the invoice is created in e-conomic it's also booked so they can set the order number created in their system.

When the customer pays the invoice with Bankgiro they will use the OCR-number printed on the invoice. To import the payment file from their bank into e-conomic one requirement, from your side, is that the OCR-number need to be generated in e-conomic. I contacted the customer service in Sweden and they told me that the OCR-number is the invoice number plus a three digit checksum. If this is correct we can still book the invoices with the internal order number, but I need to know how to get the last three digits. Is there any API method I can use to get this information?

Best regards
Johnny Hansson
created Nov 19, 2014 by johnny.hansson
50% Accept Rate
Q 2 A 0 C 0

1 Answer

The last 3 digits are just done by a simple formula.

See this thread:



You can check your OCR-numbers here:



answered Jul 29, 2015 by Badgeland
Visma e-conomic A/S