A masterkey is a unique key that tells ChronoScan who a document comes from: in an accounts payable job, the supplier (vendor) of the invoice. It can be any number or code you define, but most often it is the vendor code of your master vendor database or ERP. Imagine a list like this one:
001 - Microsoft
002 - IBM
003 - Cisco
The codes 001 to 003 could be anything, but each one must identify a single supplier.
ChronoScan reads the masterkey from the document first and then uses it to choose the document type and the settings that apply to that supplier. Masterkey support is available in the ADVANCED and ENTERPRISE licenses.
Why use masterkeys
Faster and more reliable type detection. With hundreds or thousands of templates, ChronoScan identifies the supplier first and then looks only among the document types linked to that supplier, instead of comparing the document with every type of the job.
Settings per supplier. Each supplier keeps its own date format, decimal separator and currency settings, so documents from different countries can be processed in the same job.
Intelli-Tags per supplier. A supplier can have its own labels (for example "Total" or "Amount") and its own positions and weights, without affecting the other suppliers.
Choices that are remembered. When an Intelli-Tag finds several candidates and the user picks another one with the Intelli-Tag Selection tool, the choice is recorded for the masterkey and used for the next documents of the same supplier, also when the document is processed again.
An example
The invoice below uses the label "Total" for the invoice total, but the word "Amount" also appears on it, as the header of the column with the amount of each line. On the invoices of another supplier "Amount" may well be the label of the invoice total. Global tags "Total" and "Amount" for the same field are therefore not always useful: here both are found, and only one of them is the total.
With masterkeys the tag "Total" is saved for this supplier only, together with its position. The documents of this supplier use it, and the documents of the other suppliers keep using their own tags or the global ones.
How it works
A field of the job holds the masterkey; in the standard setup it is the field Supplier. The field uses a list of static value Intelli-Tags (MY_SUPPLIERS_LIST by default): each tag is a text that identifies the supplier on the document, such as its tax number, name, phone number, web site or e-mail address, and the value of the tag is the supplier code.
When a document is processed, these Intelli-Tags are searched before the document type is detected, and the code of the supplier found is written to the masterkey field.
The document type is then detected among the document types linked to that masterkey. A supplier can have several document types, for example one per layout. Depending on the options of the job, a new document type is created for the masterkey when none of its types fits.
The other fields are read with the Intelli-Tags of the document type first, then with the ones of the masterkey and finally with the global ones; the search stops at the first group that gives a result.
When the supplier is not identified the masterkey field stays empty. Create a static value Intelli-Tag for that supplier from a text of the document, or let the AI Assistant find the supplier from the name read by a generative AI model.
Where the masterkeys come from
The masterkeys are normally the supplier codes of your master vendor data. The data is imported into the ChronoScan suppliers table with the External Data Import tool and converted into Intelli-Tags with the Intelli-Tag Import function, both in the Administration tab. The two imports can be scheduled, so new suppliers become masterkeys without manual work.
To create a job with masterkeys from the start, use the Accounts Payable Wizard: see the Masterkey Setup Guide.