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 success

Send this

{
  "fileUrl": "https://…/invoice.pdf"
}

Every response carries usage — the credits burned and your remaining balance. A failed call never burns credits.

Try it live against your own key in the interactive reference; every account gets 500 free credits a month, no card.

Get this back

{
  "vendor": {
    "name": "Acme Supplies Inc.",
    "address": "123 Warehouse Rd, Columbus OH",
    "taxId": null
  },
  "customer": "Northwind Coffee LLC",
  "invoiceNumber": "INV-10428",
  "poNumber": "PO-88",
  "issueDate": "2026-06-30",
  "dueDate": "2026-07-30",
  "currency": "USD",
  "subtotal": 1200,
  "tax": 55.5,
  "total": 1255.5,
  "paymentTerms": "Net 30",
  "lineItems": [
    {
      "description": "Widget A",
      "quantity": 12,
      "unitPrice": 100,
      "amount": 1200
    }
  ],
  "usage": {
    "credits": 8,
    "balanceRemaining": 436
  }
}

Four ways in. Same $0.08/invoice.

curl
curl https://api.kynth.studio/v1/invoice \
  -H "Authorization: Bearer ksk_live_…" \
  -H "Content-Type: application/json" \
  -d '{"fileUrl":"https://…/invoice.pdf"}'
TypeScript
import { KynthCore } from "@kynth/api";

const kynth = new KynthCore({ apiKey: process.env.KYNTH_API_KEY! });
const result = await kynth.invoice({
  "fileUrl": "https://…/invoice.pdf"
});
Python
from kynth import Kynth

client = Kynth(api_key=os.environ["KYNTH_API_KEY"])
result = client.invoice(
    fileUrl="https://…/invoice.pdf",
)
MCP
// One-time setup in your MCP client (Claude, Cursor, …):
{ "mcpServers": { "kynth-core": {
    "command": "npx", "args": ["@kynth/api-mcp"],
    "env": { "KYNTH_API_KEY": "ksk_live_…" } } } }

// Then the agent just calls the kynth_invoice tool.

More from documents