New The MCP server is live: all 44 APIs in Claude, Cursor or any MCP client. Connect your agent

AI-powered invoice processing and financial data extraction

Invoice Parser API

A powerful API for parsing invoices using AI models. This API extracts structured information from invoice documents in PDF and image formats (JPEG, JPG, PNG).

Built on edge computing with AI models, our API provides reliable and efficient invoice parsing capabilities with single-call processing for both OCR and structured data extraction.

Free tier included, no credit card required. One key works across every API.

At a glance

Invoice Parser API

25 credits / call
Free calls / month
40
Data Fields
40+
File Formats
4
Accuracy Rate
96.7%
Get your free API key

40 free calls on the free plan

Key features

  • Upload invoice files directly (PDF, JPEG, JPG, PNG)
  • Parse invoices from URLs or text input
  • PDF text extraction using advanced OCR technology
  • Direct image processing using AI models
  • Single API call processing for maximum efficiency
  • Multi-currency and multi-language support

Built for

  • Accounts payable automation
  • Expense management systems
  • Financial document processing
  • Accounting software integration
  • Invoice verification workflows
  • Tax compliance and reporting
  • Vendor management systems
  • Audit trail automation

MCP · for your agent

Hand the Invoice Parser API to your agent

Connect Claude, Cursor or any MCP client once, then ask in plain words. Your agent finds this API, reads its docs and makes the call: 25 credits per call, the same as REST, from your team's balance.

Turn invoices into spreadsheet rows

“Here are links to 25 supplier invoices. Put vendor, invoice number, dates, tax and total into rows for our AP sheet.”

list_apis · get_api_docsfree

api_request POST /invoice-parser/v1/parse/url 25 cr

One row per invoice with vendor, number, dates, tax and total, ready to paste into the sheet.

Check the math before paying

“Does this Fabrikam invoice add up? Check the line items, tax and total, and whether the bank details match last month's.”

list_apis · get_api_docsfree

api_request POST /invoice-parser/v1/parse/text 25 cr

Line items, tax and totals re-added, with math errors or changed bank details flagged.

Screen a new vendor for fraud

“An invoice from a new vendor asks us to pay a fresh IBAN. Check how old their email domain is before I approve.”

list_apis · get_api_docsfree

api_request POST /invoice-parser/v1/parse/text 25 cr

+ Whois Lookup API5 cr

+ Email Intelligence API5 cr

Vendor, contact email and payment details, with the domain's age and the address checked.

$ claude mcp add --transport http apicodex https://mcp.apicodex.io

Illustrative asks; the calls and prices are real. Claude, Cursor, VS Code and Windsurf setup: mcp.apicodex.io

Try it

Build the request for your data

Edit the parameters below and see the exact request and curl command you'd send. No key required to preview.

POST /invoice-parser/v1/parse/text
Open in Playground
Request · HTTP
POST /invoice-parser/v1/parse/text HTTP/1.1
Host: api.apicodex.io
Content-Type: application/json
X-Api-Key: YOUR_API_KEY

{
  "text": "INVOICE INV-2025-0042. ACME SUPPLIES LTD, 456 Business Ave, New York. Bill to GLOBAL ENTERPRISES INC. 5 x Premium Office Desk Chair at 199.99. Total due 1,848.83 USD, Net 30."
}
Response · JSON 200 OK
{
"success": true,
"parsed_at": "2025-05-13T08:15:32.000Z",
"data": {
  "vendor": {
    "name": "ACME SUPPLIES LTD",
    "address": "456 Business Ave, Suite 100, Industry City, NY 10001",
    "phone": "(555) 987-6543",
    "email": "[email protected]",
    "website": "www.acmesupplies.example",
    "tax_id": "US123456789",
    "registration_number": "BRN-987654321"
  },
  "customer": {
    "name": "GLOBAL ENTERPRISES INC",
    "address": "789 Corporate Park, Downtown, CA 90210",
    "shipping_address": "789 Corporate Park, Warehouse 3, Downtown, CA 90210",
    "attention": "John Smith",
    "phone": "(555) 123-4567",
    "email": "[email protected]",
    "customer_id": "CUST-1234",
    "tax_id": "CA987654321"
  },
  "invoice_details": {
    "invoice_number": "INV-2025-0042",
    "purchase_order": "PO-2025-1234",
    "issue_date": "2025-05-01",
    "due_date": "2025-05-31",
    "payment_terms": "Net 30",
    "currency": "USD",
    "language": "en-US"
  },
  "line_items": [
    {
      "description": "Premium Office Desk Chair",
      "product_code": "FRN-CH-001",
      "quantity": 5,
      "unit_of_measure": "pcs",
      "unit_price": 199.99,
      "discount": 10,
      "tax_rate": 8.25,
      "tax_amount": 74.99,
      "total_amount": 899.96
    }
  ],
  "totals": {
    "subtotal": 2199.85,
    "discount_total": 100.00,
    "tax_total": 173.98,
    "shipping_cost": 75.00,
    "total_amount": 2348.83,
    "amount_paid": 500.00,
    "amount_due": 1848.83
  },
  "tax_breakdown": [
    {
      "tax_type": "Sales Tax",
      "tax_rate": 8.25,
      "taxable_amount": 2099.85,
      "tax_amount": 173.98
    }
  ],
  "payment_information": {
    "payment_method": "Bank Transfer",
    "bank_name": "First National Bank",
    "account_number": "ACCT-12345678",
    "routing_number": "RTG-987654321",
    "swift_code": "FNBKUS12",
    "iban": null
  }
}
}

Documentation

Invoice Parser API Documentation

The Invoice Parser API provides comprehensive parsing and extraction of invoice data from various document formats. This documentation outlines how to effectively integrate and utilize the API for processing invoice documents, extracting financial data, and automating accounting workflows.

Base URL

url
https://api.apicodex.io/invoice-parser

Authentication

Authenticate every request with your API key: send it in an X-Api-Key header, or pass it as an ?apikey= query parameter.

headers
{
"X-Api-Key": "YOUR_API_KEY"
}

Request and response

Illustrative values. Confirm current endpoint behavior, quotas, and data freshness in the API documentation before production use.

request · http
POST /invoice-parser/v1/parse/text HTTP/1.1
Host: api.apicodex.io
Content-Type: application/json
X-Api-Key: YOUR_API_KEY

{
  "text": "INVOICE INV-2025-0042. ACME SUPPLIES LTD, 456 Business Ave, New York. Bill to GLOBAL ENTERPRISES INC. 5 x Premium Office Desk Chair at 199.99. Total due 1,848.83 USD, Net 30."
}
response · json
{
"success": true,
"parsed_at": "2025-05-13T08:15:32.000Z",
"data": {
  "vendor": {
    "name": "ACME SUPPLIES LTD",
    "address": "456 Business Ave, Suite 100, Industry City, NY 10001",
    "phone": "(555) 987-6543",
    "email": "[email protected]",
    "website": "www.acmesupplies.example",
    "tax_id": "US123456789",
    "registration_number": "BRN-987654321"
  },
  "customer": {
    "name": "GLOBAL ENTERPRISES INC",
    "address": "789 Corporate Park, Downtown, CA 90210",
    "shipping_address": "789 Corporate Park, Warehouse 3, Downtown, CA 90210",
    "attention": "John Smith",
    "phone": "(555) 123-4567",
    "email": "[email protected]",
    "customer_id": "CUST-1234",
    "tax_id": "CA987654321"
  },
  "invoice_details": {
    "invoice_number": "INV-2025-0042",
    "purchase_order": "PO-2025-1234",
    "issue_date": "2025-05-01",
    "due_date": "2025-05-31",
    "payment_terms": "Net 30",
    "currency": "USD",
    "language": "en-US"
  },
  "line_items": [
    {
      "description": "Premium Office Desk Chair",
      "product_code": "FRN-CH-001",
      "quantity": 5,
      "unit_of_measure": "pcs",
      "unit_price": 199.99,
      "discount": 10,
      "tax_rate": 8.25,
      "tax_amount": 74.99,
      "total_amount": 899.96
    }
  ],
  "totals": {
    "subtotal": 2199.85,
    "discount_total": 100.00,
    "tax_total": 173.98,
    "shipping_cost": 75.00,
    "total_amount": 2348.83,
    "amount_paid": 500.00,
    "amount_due": 1848.83
  },
  "tax_breakdown": [
    {
      "tax_type": "Sales Tax",
      "tax_rate": 8.25,
      "taxable_amount": 2099.85,
      "tax_amount": 173.98
    }
  ],
  "payment_information": {
    "payment_method": "Bank Transfer",
    "bank_name": "First National Bank",
    "account_number": "ACCT-12345678",
    "routing_number": "RTG-987654321",
    "swift_code": "FNBKUS12",
    "iban": null
  }
}
}

Code examples

cURL
curl -X POST "https://api.apicodex.io/invoice-parser/v1/parse/upload" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -F "[email protected]"

Endpoints

POST /v1/parse/upload

Upload a PDF, JPEG, PNG or plain-text file (multipart/form-data, field name: file).

curl -X POST "https://api.apicodex.io/invoice-parser/v1/parse/upload" -H "X-Api-Key: YOUR_API_KEY" -F "[email protected]"

POST /v1/parse/url

Parse a document fetched from a public URL. JSON body: {"url": "https://..."}.

POST /v1/parse/text

Parse plain text. JSON body {"text": "..."}, or a text/plain body.

Pricing

Invoice Parser API Pricing

This API costs 25 credits per request. Credits are shared across every API on your plan.

Cost estimator

requests per month → cheapest plan that covers it

Estimate your monthly cost

Drag the slider to match your expected request volume. We'll recommend the cheapest plan that covers it.

10,000

Recommended plan

Starter

$29.99 /month

Credits used
Credits included
Cost per 1K requests
Choose Starter

Free

Free
1,000 credits · ~40 requests/mo · 2 rps
  • All APIs included
  • No credit card required
  • Full documentation and examples
  • MCP server for your AI agents
  • Up to 5 active API keys
Start for free

Starter

Popular
$29.99 /month
50,000 credits · ~2,000 requests/mo · 10 rps
  • All APIs included
  • Email support
  • Usage dashboard and analytics
  • MCP server for your AI agents
  • Up to 5 active API keys
Start with Starter

Pro

$99.99 /month
250,000 credits · ~10,000 requests/mo · 25 rps
  • All APIs included
  • Priority support
  • MCP server for your AI agents
  • Up to 5 active API keys
Start with Pro

Need a different plan?

Tell us about your API, volume, or support requirements.

Contact us

FAQ

Frequently asked questions

Ready to integrate Invoice Parser?