Quick start
Get Typless up and running in 5 minutes!
Typless is an AI-powered document extraction platform for automating manual data entry from any document. With an easy-to-use API, you can extract data with a single call in a matter of seconds.
In this quick start, you use a pretrained model: it extracts data from the first document, with no dataset and no training. If your documents have a stable layout and you prefer a model that learns from your own examples, follow the Invoice with metadata use case with a trainable model instead.
1. Create a new document type
Before you start extracting data, you need to define a document type.
Navigate to the Document types page and click on the New document type button in the top right corner.
Click Select Pretrained on the Pretrained model card, and then Choose Template on Use a Predefined Template.
Next, select the Metadata invoice template. The form opens with the name pretrained-meta-data-invoice: keep this name, because the examples below use it. If you change it, use your name as
document_type_namein the requests.Click Create document type. This will create a new document type with the following fields, among others:
supplier_nameinvoice_numberinvoice_datepayment_due_datetotal_amountcurrency
Every field already has a description that tells the pretrained model what to look for, and a preset. You can read and change them in the form before you create the document type, see Descriptions and presets.

2. Get your API key
To use the Typless API, you need to authorize your requests with an API key.
The Authorization header for your API key is: Token YOUR-API-KEY (Login if you do not see one)
To obtain the API key, click on Settings, and then visit the API Keys page.

3. Extract data from documents
Download an invoice from Amazing Company:
Pretrained models extract data asynchronously: you start the extraction, get an extraction_id and poll for the result.
Extract the data:
Response (shortened to four fields):
For each of the defined fields, you get an object inside extracted_fields.
The first value is the extracted value, with its coordinates on the page (-1 if Typless couldn't locate it), the recognized value in the standard format of the field type, and a confidence score.
The values are always in a string format.
4. Confirm the correct values
Extraction works without this step, but confirming the correct values (feedback) pays off: it creates the supplier Amazing Company in your document type, so Typless recognises its next invoices. For every supplier you can then add a supplier description with extra instructions, for example how that supplier writes its dates. See Suppliers.
Send the values of all fields of the document type, corrected where the extraction was wrong, together with the object_id from the result:
Open Models in the actions menu of the document type: Amazing Company is now listed as a supplier.
Congratulations! You just successfully extracted data with Typless. You can now use it to automate manual data entry from any of your invoices.
What’s Next
Now you know the basic concepts of Typless, you can search for some pre-made use cases with examples that can help you satisfy your project requirements and get up and running in a couple of minutes!
Last updated