Convert Invoice PDFs to JSON in 2026
Parse any invoice PDF into structured JSON via API or webhook. Typed schemas, line-item arrays, custom fields, per-field confidence scores. Built for developer pipelines.
· 30 free pages/month · Webhooks + REST API
What the JSON looks like
Schema-driven output. Line items as an array. Per-field confidence scores let you route low-confidence extractions to human review.
{
"id": "doc_01HX7K2YZQ3NJPM5S9R4T6V8W0",
"status": "processed",
"confidence": 0.97,
"data": {
"vendor": { "name": "Acme Supply Co", "address": "123 Market St, SF" },
"invoice_number": "INV-1042",
"invoice_date": "2026-04-15",
"due_date": "2026-05-15",
"po_number": "PO-998",
"currency": "USD",
"line_items": [
{
"description": "Widget A - Blue",
"quantity": 10,
"unit_price": 24.00,
"tax": 2.40,
"line_total": 240.00
},
{
"description": "Widget B - Red",
"quantity": 5,
"unit_price": 48.00,
"tax": 2.40,
"line_total": 240.00
}
],
"subtotal": 620.00,
"tax_total": 62.00,
"grand_total": 682.00,
"gl_code": "5100-OPERATING-SUPPLIES"
}
}Three ways to get JSON out
Web upload
Drop a PDF, see the structured JSON in the web app, download as .json.
REST API
POST the PDF to /v1/parsers/{id}/documents, receive JSON in the response or via async webhook.
Webhooks
Parsli pushes JSON to your endpoint the moment extraction completes. Zero polling.
Quick start — one curl call
curl -X POST https://api.parsli.co/v1/parsers/${PARSER_ID}/documents \
-H "Authorization: Bearer ${PARSLI_API_KEY}" \
-F "file=@invoice.pdf"
# Response (sync, small PDFs)
# {
# "id": "doc_...",
# "status": "processed",
# "data": { "vendor": {...}, "line_items": [...], "grand_total": 682.00 }
# }Full reference, authentication, rate limits, and webhook payloads in the API docs.
Features that matter for developers
- Typed schemas (string, number, date, array)
- Per-field confidence scores
- Nested objects for vendor / line items
- Custom fields via natural-language instructions
- Webhook delivery with HMAC signatures
- REST API with idempotency keys
- Per-document PDF retrieval URL
- Async processing for large PDFs
Related pages
Invoice to Excel
Same extraction, Excel output for non-developer use.
OpenInvoice to CSV
Plain-text export for accounting imports.
OpenDocument parsing API
Full API capabilities and examples.
OpenInvoice OCR software
2026 extraction-engine comparison.
OpenAP automation guide
Full AP workflow for developers building AP systems.
OpenAPI docs
Authentication, endpoints, webhooks, rate limits.
OpenFrequently asked questions
How do I get invoice data as JSON?
Is the schema typed?
How do I extract line items as an array?
What about custom fields like GL code or cost center?
What's the API response shape?
How does this compare to AWS Textract or Document AI?
Ship invoice parsing to production.
API, webhooks, typed schemas. Free tier, no credit card.