How DOKKA Learns




DOKKA combines two core technologies:


  1. Machine Learning – which allows the system to learn from the actions of accountants and improve over time

  2. Optical Character Recognition (OCR) – a technology that identifies characters in a document based on the pixel patterns within the document



Thanks to this combination, DOKKA can learn where information is located in a document and automatically extract it in future uploads.
However, it’s important to know that not all fields can be learned, and there’s a correct way to teach the system.




How to Train DOKKA


Drag — Don’t Type : When DOKKA leaves a field blank or gets something wrong, simply drag the correct information from the document into the relevant field. This teaches DOKKA what data should be entered in that field.




When Does Learning Actually Happen?


DOKKA learns only after clicking the “Publish” button.

Publishing doesn’t just create the invoice in the ERP system — it also saves the actions you took as learning instructions for future documents.



How Does DOKKA Learn?



DOKKA learns per vendor. It remembers not only the data you dragged into fields, but also the choices you made in other fields, and applies them next time for the same vendor.

However, it’s important to understand:

DOKKA analyzes and extracts data from the document at the moment it is uploaded to the system. You can actually see this happening — there's a short “thinking” animation after upload.


So What Does That Mean?


If you upload two invoices from the same vendor, and train DOKKA using the first one, the second invoice won’t reflect that learning, because DOKKA doesn’t reanalyze documents that are already in the system.





What Does That Mean?

If you upload two invoices from the same vendor with the same layout, but only teach the system after both have been uploaded —
The second invoice will not reflect what the system learned, because DOKKA does not re-analyze documents that are already in the system.




What Should You Do in This Case?


To apply the learning to a document that was already uploaded:

  1. Download the document to your computer

  2. Delete it from DOKKA

  3. Re-upload it — DOKKA will now recognize the vendor and layout, and apply the new learning automatically



Which Fields Are Not Learned?



Some fields are intentionally not set to auto-fill, such as:

  • Part numbers

  • Product descriptions

  • Invoice Details

  • Custom fields pulled specifically from your ERP system


Additionally, fields like Account Number are not learned via dragging.
In such cases, DOKKA will automatically use the same value used in the last invoice for that vendor.