puzzle-pieceAPI shema

All endpoints have the base URL set to: https://tapp-api.typless.com

Process Invoice

post

Process a single invoice document using V1 format. The V1 format is the legacy format and is deprecated.

Authorizations
X-API-KeystringRequired

API key authentication

Body
file_namestringRequired

Name of the invoice file to be processed

Example: invoice.pdf
base64filestring · binaryRequired

File content as base64 encoded string

business_unit_idany ofOptional

ID of the business unit processing the invoice. If not provided (i.e. when using API key), the invoice will be processed for the processing business unit of that API key.

Example: 123e4567-e89b-12d3-a456-426614174000
string · uuidOptional
or
nullOptional
Responses
chevron-right
202

Accepted

application/json
post
/api/v1/process-invoice

Process Invoice V2

post

Process a single invoice document using V2 format. The V2 format contains more information about the document compared to the V1 format.

Authorizations
X-API-KeystringRequired

API key authentication

Body
file_namestringRequired

Name of the invoice file to be processed

Example: invoice.pdf
base64filestring · binaryRequired

File content as base64 encoded string

business_unit_idany ofOptional

ID of the business unit processing the invoice. If not provided (i.e. when using API key), the invoice will be processed for the processing business unit of that API key.

Example: 123e4567-e89b-12d3-a456-426614174000
string · uuidOptional
or
nullOptional
Responses
chevron-right
202

Accepted

application/json
post
/api/v2/process-invoice

Batch Process Document

post

Start processing a batch of documents. Documents should be in a single PDF file and should be split using the Typless stamp.

Authorizations
X-API-KeystringRequired

API key authentication

Body
file_namestringRequired

Name of the file to be processed

Example: invoice_batch.pdf
filestring · binaryOptional

File content as base64 encoded string

file_urlstring · uriOptional

URL to download the file

business_unit_idany ofOptional

ID of the business unit processing the document

Example: 123e4567-e89b-12d3-a456-426614174000
string · uuidOptional
or
nullOptional
Responses
chevron-right
202

Accepted

application/json
post
/api/v1/batch/process-document

Poll Invoice V1

get

Poll invoice processing status and get results in V1 format

Authorizations
X-API-KeystringRequired

API key authentication

Query parameters
inv_keystring · uuidRequired

Unique identifier for the invoice

Example: 123e4567-e89b-12d3-a456-426614174000
eslogbooleanOptional

Whether to return eSlog XML in the response

Default: falseExample: false
number_of_pagesbooleanOptional

Whether to include the number of pages in the response

Default: falseExample: false
add_candidatesbooleanOptional

Whether to include candidate matches in the response

Default: falseExample: false
Responses
get
/api/v1/poll-invoice

Poll Invoice V2

get

Poll invoice processing status and get results in V2 format with enhanced features

Authorizations
X-API-KeystringRequired

API key authentication

Query parameters
inv_keystring · uuidRequired

Unique identifier for the invoice

Example: 123e4567-e89b-12d3-a456-426614174000
eslogbooleanOptional

Whether to return eSlog XML in the response

Default: falseExample: false
number_of_pagesbooleanOptional

Whether to include the number of pages in the response

Default: falseExample: false
add_candidatesbooleanOptional

Whether to include candidate matches in the response

Default: falseExample: false
Responses
get
/api/v2/poll-invoice

Poll Invoice Blocks

get

Get text blocks from a processed invoice

Authorizations
X-API-KeystringRequired

API key authentication

Query parameters
inv_keystring · uuidRequired

Unique identifier for the invoice

Example: 123e4567-e89b-12d3-a456-426614174000
Responses
get
/api/v1/poll-invoice/blocks

Invoice Text Blocks

get
Authorizations
X-API-KeystringRequired

API key authentication

Query parameters
inv_keystring · uuidRequired

Unique identifier for the invoice

Example: 123e4567-e89b-12d3-a456-426614174000
page_numberinteger · max: 100Required

Page number of the invoice to retrieve text blocks from

Example: 1
Responses
get
/api/v1/invoice/text-blocks

Batch Poll Document

get

Check the status of a batch document processing job and get the extracted data for all invoices in the batch when processing is complete.

Authorizations
X-API-KeystringRequired

API key authentication

Query parameters
poll_keystring · uuidRequired

Unique identifier for the batch processing job

Example: 123e4567-e89b-12d3-a456-426614174000
Responses
chevron-right
202

Processing in progress

application/json
get
/api/v1/batch/poll-document

Batch Upload Url

post

Get a pre-signed URL for uploading a batch of documents. The uploaded documents are in a single PDF file and are split using the Typless stamp.

Authorizations
X-API-KeystringRequired

API key authentication

Query parameters
file_namestringRequired

Name of the file to be uploaded

Example: batch_invoices.pdf
Responses
post
/api/v1/batch/upload-url

Batch Download Url

get

Get download URLs for split batch documents.

Authorizations
X-API-KeystringRequired

API key authentication

Query parameters
poll_keystring · uuidRequired

Unique identifier for the batch processing job

Example: 123e4567-e89b-12d3-a456-426614174000
Responses
chevron-right
202

Processing in progress

application/json
get
/api/v1/batch/download-urls

Last updated