API

Extract, match and reconcile data from any document in any language.

One REST API  that turns invoices, POs, delivery notes, bank statements into structured JSON with line items, tables, and header data intact.
No templates, no language routing, no configuration.

View API Docs
Staple logo

What Staple’s API does

Staple’s API accepts any document and returns structured JSON files with every extracted field. Multilingual documents are processed natively, no pre-processing. Push the extracted data into your ERP, or any downstream service.

What you can do with the API

Submit documents for extraction

Post a document (PDF, image, TIFF, or photo) and receive a structured extraction response. Staple classifies the document type with a trained ML classifier, so no routing logic on your side.

Extract line items and tables

Full line-item data from invoices and purchase orders, 
not just header fields. Table structures are preserved.

Process multilingual documents without pre-processing

Submit documents in any language and receive extracted fields in the same API call. No language detection, no translation layer, no per-locale pipeline. Documents in 300+ languages supported including Bahasa, Chinese, Korean, Thai and Vietnamese.

Receive webhook notifications

Register a webhook endpoint to receive extraction results asynchronously. Useful for high-volume pipelines where you don’t want to poll for results.

Access extraction results via GET

Retrieve previously processed document results by document ID. Useful for audit workflows and downstream reconciliation.

Push to downstream systems

Structured output feeds into your ERP, accounting software, RPA workflows, or expense management platform. Staple’s three SAP Concur modules use the same extraction engine, so API integrations and Concur workflows share identical accuracy. For SAP integration beyond what the pre-built modules cover, the API gives you that control.

Confirmed integrations

ERP & Accounting: SAP · Xero · MYOB · Microsoft Dynamics · Oracle NetSuite · QuickBooks RPA & Workflow: UiPath · Automation Anywhere Expense Management: SAP Concur · Coupa Cloud: AWS · Google Cloud Platform

Structured JSON output

Example invoice extraction response showing the field structure

Illustrative field structure. Actual field names and nesting follow Staple’s published schema — see the API reference for the complete specification.

Extraction accuracy: 95-99.6% across document types and languages. The global FMCG brand deployment across Chinese, Korean, Thai, and Vietnamese documents, returned 99.6%.

Getting started

Documentation

Full API reference (endpoints, parameters, request/response schemas, error codes, code examples) at documentation.staple.io.

API access

Contact the Staple team for API credentials. Enterprise access includes onboarding support and an SLA.