Scan Invoice
Scan a document using the Invoice model in Staple to receive the structured data extracted. The documents would be left in the queue specified for any further manipulation.
If you are looking to scan a file for a custom model you have developed, simply create a queue using that model and use the queue ID with this endpoint. It will extract data based on your queue instead of the invoice model.
Authentication
x-api-keystring
API key issued by Staple.
AuthorizationBearer
JWT obtained from the login endpoint.
Request
This endpoint expects a multipart form containing a file.
files
File to upload
qid
handwritten
Response
OK