Skip to content
All parsersACCOUNTS PAYABLE

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 Parser
EXAMPLE OUTPUT

Example 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

Key fields

A preview of the template’s main fields and checks.

FIELDTYPEEXAMPLEVALIDATION
Invoice NumberstringINV/2026/001Required
Invoice Datestring2026-12-01Required
Supplier Details → Supplier NamestringSunrise EnterprisesRequired
Buyer Details → Buyer NamestringRajiv GuptaRequired
CurrencystringINRRequired
Commercial → PO NumberstringPO001242—
Line ItemsarrayAll invoice line items—
Totals → Subtotalnumber2600Required
Totals → Tax Amountnumber568—
Totals → Total Amountnumber2778Required
Pay per page using prepaid credits. Check your parser’s rate in the app before processing.
CONNECT YOUR PARSER

API example

REQUEST
curl -X POST \
  "https://api.simplyparse.com/dapi/v1/parser/YOUR_PARSER_SLUG/parse" \
  -H "Authorization: Token YOUR_API_TOKEN" \
  -F "file=@invoice.pdf"
Replace the parser slug and token with yours.
EXAMPLE RESPONSE
{
  "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": []
    }
  ]
}
Standard HTTP requests. No SDK required.API quickstart
A FEW MORE DETAILS

Frequently asked
questions.

Read the quickstart
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 IT ON YOUR OWN DOCUMENTS

Try your first
document.

Choose a template, upload a document and review the JSON.

Use the invoice template 100 free pages. No card required.