Extracting data from certificates of origin
Chambers of commerce and government agencies issue certificates of origin, and some trade agreements let exporters certify origin themselves. Customs brokers and importers receive proof of origin with shipments that claim a preferential tariff rate, as a scan, a PDF from the exporter or an electronic certificate.
Customs entry needs the exporter, the importer, each item's HS code and origin criterion, and the invoice it covers. The broker claims the agreement's tariff rate in the customs entry, and the certificate supports that claim in an audit.

What makes certificates of origin hard
Formats differ by agreement
Some agreements prescribe a numbered certificate, and others accept an origin statement in the exporter's own format, so boxes and wording vary.
Typed values over captions
Exporters complete the form by typewriter or printer, and values often start on a caption's line and print over it.
Red stamps across the text
The exporter's company chop and the certifying authority's seal are stamped in red, often over printed dates and declarations.
Parse, extract, verify
Parse
Parse turns the document into reading-order Markdown and a hierarchy of blocks (text, tables, figures), and grounds each block to its exact location on the page.
Extract
You define the fields in a JSON schema, and Extract returns their values in a consistent, structured format, each linked back to where it appears in the Markdown.
Verify
Each value links back to where it appears, down to the character range in the Markdown, and the page and bounding box in the source document, so every result can be verified.
One certificate of origin, end to end
About this document: A preferential certificate of origin, Form L, issued in Guangzhou under the China–Costa Rica Free Trade Agreement for two lines of footwear shipped by sea. One portrait page, scanned in color from pale-blue security paper, with a red company chop, the authority's red seal and two handwritten signatures. Page 1 is featured. A freight forwarder publishes it as a sample.
Processing objective: The objective is to read one shipment line as a customs broker checks it: the vessel, the port of loading, the goods and their tariff classification. The origin criterion states why the goods qualify for the agreement's rate, and each value grounds to its own box on the certificate.
Demonstration fields: Vessel and voyage, Port of loading, Goods (item 1), HS code (item 1), Origin criterion (item 1)
The document
1 page
Page 1shown below
Where each value came from

transport.vessel
{
"value": "XIANG XING V. BN02W",
"page": 1,
"range": {
"end": 1093,
"start": 1038
},
"box": {
"xmin": 0.0933,
"ymin": 0.29305,
"xmax": 0.51669,
"ymax": 0.32066
}
}transport.port_of_loading
{
"value": "XIAMEN, CHINA",
"page": 1,
"range": {
"end": 1152,
"start": 1121
},
"box": {
"xmin": 0.09312,
"ymin": 0.32023,
"xmax": 0.51654,
"ymax": 0.35194
}
}items[0].description
{
"value": "FOOTWEAR",
"page": 1,
"range": {
"end": 1808,
"start": 1800
},
"box": {
"xmin": 0.28553,
"ymin": 0.43987,
"xmax": 0.58422,
"ymax": 0.4651
}
}items[0].hs_code
{
"value": "6403.99",
"page": 1,
"range": {
"end": 1824,
"start": 1817
},
"box": {
"xmin": 0.58407,
"ymin": 0.44041,
"xmax": 0.65785,
"ymax": 0.46523
}
}items[0].origin_criterion
{
"value": "WO",
"page": 1,
"range": {
"end": 1837,
"start": 1833
},
"box": {
"xmin": 0.65772,
"ymin": 0.44054,
"xmax": 0.71689,
"ymax": 0.46533
}
}How to try it yourself
Everything on this page is reproducible. The sample, its schema, and the Parse and Extract API outputs are published. You can repeat the same two calls from whichever surface you already build on.
- Claude Skilldescribe the job; the agent writes it
- CLIno code at all
- MCPexpose ADE docs as an agent tool
- REST APIany language
- Pythonlandingai-ade
- TypeScriptlandingai-ade
Documents into data
Accurate
The best accuracy on the difficult documents other tools get wrong, such as messy scans, complicated tables, checkboxes and handwriting.
Auditable
Every answer cites its sources. Values come back with an audit trail (page, bounding box, character range) so a human can review them.
Agentic
Applies multi-step reasoning, and plans before it acts. Handles documents it has never seen before and adapts to variations.
API-first
Composable APIs that drop into any tech stack and can be called from anywhere. Easy to build on and embed in your pipelines and products.
Affordable
Cost-competitive rates with complete price transparency. Spend controls before you run, and every job reports its exact cost.
Enterprise-grade
Built for production and scale from day one. Fully observable and monitored, running securely in our cloud or yours.
Built for high-volume, high-throughput production
- Zero data retention
- Priority rate limits
- Enhanced support
- VPC and on-prem deployment
Available on Team and Enterprise plans.
