Create a type
- Open Document Types and select New Document Type.
- Enter a recognizable Name and Description. For example, use
Invoicefor the name and describe the documents to be processed. - Choose an AI Model from the OCR provider’s model list and enter a System Prompt explaining the extraction task and how to handle unclear or missing information. Use authorized sample documents when testing.
- Add fields and groups as described below. Give every field and group a unique, nonempty name.
- Select Save Version. Saving creates a version and activates it; it does not merely save an inactive draft.
- Configure an OCR / Extraction stage to use the intended type and version, or upload by document type where appropriate. Test extraction and verification with a representative document.
Extract the invoice number, issue date, total, and line items. Do not invent missing values. Adjust instructions and data handling to your own requirements.
Fields and groups
Use Add Field for an individual value. Choose the field name and one of the available types:string, number, date, or boolean. Enable the repeatable option when the field should contain a list of values, such as multiple reference numbers.
Use Add Group for a repeating set of related fields, such as invoice line items. Name the group and add its child columns, each with a name and type. For example:
The builder produces a JSON schema: named top-level fields and groups are included in its
required list; empty names are omitted. Repeatable fields and groups become arrays. Use unique names: duplicate names can overwrite earlier schema properties. Review results rather than assuming a required field is always successfully extracted.