Invoice Parsing API
Prepare invoice data for accounts payable and reconciliation. Edit the template’s fields and validation rules, then send documents through the API.
Use Invoice ParserExample output
This sample shows a selection of extracted data. Your API response uses the field names configured in your parser.
Supports PDFs, images (PNG, JPG, JPEG and WEBP), DOCX documents and Excel spreadsheets. Test your own samples to check the results for your documents and languages.
See the quickstart{
"buyer_details": {
"buyer_name": "Example Company"
},
"currency": "USD",
"document_type": "invoice",
"invoice_date": "2026-09-12",
"invoice_number": "INV-2026-084",
"line_items": [
{
"description": "Design services",
"quantity": 1,
"unit_price": 1200,
"line_total": 1200
},
{
"description": "Development",
"quantity": 1,
"unit_price": 2400,
"line_total": 2400
}
],
"supplier_details": {
"supplier_name": "Acme Studio"
},
"totals": {
"subtotal": 3600,
"tax_amount": 360,
"total_amount": 3960
}
}Key fields
A preview of the template’s main fields and checks.
| FIELD | TYPE | EXAMPLE | VALIDATION |
|---|---|---|---|
| Invoice Number | string | INV/2026/001 | Required |
| Invoice Date | string | 2026-12-01 | Required |
| Supplier Details → Supplier Name | string | Sunrise Enterprises | Required |
| Buyer Details → Buyer Name | string | Rajiv Gupta | Required |
| Currency | string | INR | Required |
| Commercial → PO Number | string | PO001242 | — |
| Line Items | array | All invoice line items | — |
| Totals → Subtotal | number | 2600 | Required |
| Totals → Tax Amount | number | 568 | — |
| Totals → Total Amount | number | 2778 | Required |
API example
curl -X POST \
"https://api.simplyparse.com/dapi/v1/parser/YOUR_PARSER_SLUG/parse" \
-H "Authorization: Token YOUR_API_TOKEN" \
-F "file=@invoice.pdf"{
"status": "success",
"code": "document_processed",
"message": "Document processed successfully",
"data": [
{
"document_id": "example-document",
"status": "completed",
"is_valid": true,
"parsed_data": {
"buyer_details": {
"buyer_name": "Example Company"
},
"currency": "USD",
"document_type": "invoice",
"invoice_date": "2026-09-12",
"invoice_number": "INV-2026-084",
"line_items": [
{
"description": "Design services",
"quantity": 1,
"unit_price": 1200,
"line_total": 1200
},
{
"description": "Development",
"quantity": 1,
"unit_price": 2400,
"line_total": 2400
}
],
"supplier_details": {
"supplier_name": "Acme Studio"
},
"totals": {
"subtotal": 3600,
"tax_amount": 360,
"total_amount": 3960
}
},
"validation_errors": []
}
]
}Can I customise the Invoice Parser?
Yes. You define the field names, types, nested objects and arrays. Published templates are starting points that become private, editable copies in your account.
Which invoice fields can I extract?
The template includes buyer and supplier details, invoice number and dates, currency, line items, payment references and terms, bank details, PO number, discounts, taxes, shipping charges and totals.
Which invoice fields are required?
Buyer name, supplier name, currency, document type, invoice date, invoice number, each line item's description and line total, subtotal and total amount have required rules in this template.
Which file formats can I use?
SimplyParse accepts PDFs, images (PNG, JPG, JPEG and WEBP), DOCX documents and Excel spreadsheets. Choose a template or define your own schema to extract structured JSON. Your parser also has a configurable maximum page limit.
How does billing work?
Your first 100 pages are free. Purchase-volume rates are $0.07 / ₹6 per page for Starter, $0.06 / ₹5 for Growth and $0.05 / ₹4 for Scale. Add prepaid credits from $10 or ₹500; credits remain valid for 3 months. Failed processing is not charged. Review your applicable rate in the app.
Try your first
document.
Choose a template, upload a document and review the JSON.
Use the invoice template 100 free pages. No card required.