Before the invoice processor can process the images, the following information has to be provided to the processor:
- CompanyData
This is the information about the company the invoice is billing. For a CPA application, there would be one company class for every company the CPA represents.
- FormDefinition
It contains all the dictionaries, definitions, and rules to be used when processing an image file.
A predefined FormDefintion instance can be created using the following method call:
FormDefinition.CreateDefaultDefinition();
- Vendors
A list of vendors is created using the IVendor interface. This is a list of user defined vendors. Each image file to be processed is an image of an invoice file from one of the vendors in this list.