ParseRail
api.thecompound.tech/v1
39 endpoints1 paused242/242 checks passingcredits from $20

Documents

Invoice extraction

An invoice, PDF, photo, or text, into vendor, dates, PO refs, tax, totals, and clean line items.

POST/v1/invoice$0.08/invoice, 8 credits, charged only on success60 calls a minute per keyasync capable

A production call, recorded 2026-09-01

charged 0 creditsrun 0.00 s
  1. auth (bearer key)
  2. per-key throttle
  3. validate body
  4. balance precheck
  5. run the capability
  6. charge credits ON SUCCESS ONLY
  7. JSON
The document14 lines
INVOICE INV-10428Acme Supplies Inc.123 Warehouse Rd, Columbus OHDate: 2026-06-30Due: 2026-07-30PO Number: PO-88Bill to: Northwind Coffee LLC 12x Widget A @ $100.00 ... $1,200.00Freight ... $55.50Subtotal $1,200.00Tax $0.00TOTAL DUE: $1,255.50Terms: Net 30
The responseschema-valid · req_52b8e5a9084ee8cac4751b0f
// sending the call
// 0 credits charged so far
curl https://api.thecompound.tech/v1/invoice \
  -H "Authorization: Bearer $COMPOUND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"fileUrl":"https://…/invoice.pdf"}'

Scored

10 of 10 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

Get a key and buy credits