Document parse
Any invoice, receipt, EOB, ERA, or COI, PDF or image, into structured, validated JSON.
A production call, recorded 2026-09-01
charged 00 creditsrun 0.00 s
- auth (bearer key)
- per-key throttle
- validate body
- balance precheck
- run the capability
- charge credits ON SUCCESS ONLY
- JSON
The document11 lines
INVOICE INV-10428Acme Supplies Inc.123 Warehouse Rd, Columbus OHDate: 2026-06-30PO Number: PO-88Bill to: Northwind Coffee LLC 12x Widget A @ $100.00 ... $1,200.00Freight ... $55.50TOTAL DUE: $1,255.50Terms: Net 30
The responseschema-valid · req_7e88e5dfd8ebeb94dd5530d8
// sending the call
// 0 credits charged so farcurl https://api.thecompound.tech/v1/parse \
-H "Authorization: Bearer $COMPOUND_API_KEY" \
-H "Content-Type: application/json" \
-d '{"fileUrl":"https://…/invoice.pdf"}'Scored
9 of 9 field checks passed when the eval suite last ran against production, on 2026-07-08. Every endpoint's score
The Documents guide has this endpoint with its example response. The reference has every parameter.
More from Documents
Contract analysis $0.12/contractA contract → parties, effective date, term, renewal, governing law, obligations, and flagged risk clauses.Invoice extraction $0.08/invoiceAn invoice, PDF, photo, or text, into vendor, dates, PO refs, tax, totals, and clean line items.Receipt extraction $0.06/receiptA receipt into merchant, items, totals, payment method, and an expense category, built for expense flows.Statement parsing $0.12/statementA bank or card statement into the account, the period, balances, and every transaction as a normalized row.Resume parsing $0.08/resumeA resume or CV into a structured candidate profile: contact, skills, experience, education, and links.Table extraction $0.08/documentEvery table in a document, even scanned, as clean headers and rows, ready for your spreadsheet or DB.Document splitting $0.10/bundleA multi-document scan bundle classified and split: what each document is, where it starts and ends, and a summary.Document comparison $0.15/comparisonTwo versions of a contract or document → every material change, what it means, and the risk it carries.