Skip to main content

Overview

Extract structured data from invoice documents using document processing. This endpoint analyzes uploaded PDF invoices and returns key billing information in a structured format.

Request

file
file
required
The invoice PDF document to process. Must be a valid PDF file under 5MB.

Headers

x-api-key
string
required
Your Tradelens API key for authentication
accept
string
default:"application/json"
Response content type (application/json)

Example Request

curl --location 'https://tradelens-apis.dev.eximfiles.com/platform/invoices/extract' \
--header 'x-api-key: TRADELENS_API_KEY' \
--header 'accept: application/json' \
--form 'file=@"/path/to/invoice.pdf"'

Response

status
string
Processing status (success/error)
data
object
Extracted invoice data