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

AI-powered invoice processing for accounting systems

Accounts Payable Parser API

A powerful AI-powered API for parsing invoices and accounts payable documents. This API extracts structured information from invoice documents in PDF and DOCX formats, as well as plain text content.

Built with advanced AI technology, our API provides reliable and efficient accounts payable parsing capabilities with support for multiple input methods and comprehensive data extraction.

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

At a glance

Accounts Payable Parser API

25 credits / call
Free calls / month
40
Parsing Accuracy
96.5%
Supported Formats
3
Data Fields
30+
Get your free API key

40 free calls on the free plan

Key features

  • Multiple input methods: File upload (PDF/DOCX), URL-based fetching, and direct text parsing
  • AI-powered extraction using advanced AI technology
  • Comprehensive data extraction with structured JSON output
  • Date normalization for consistent formatting
  • Transparent parsing with null values for unextracted fields
  • Enterprise-ready for ERP and accounting systems

Built for

  • Accounts payable automation
  • ERP system integrations
  • Accounting software platforms
  • Invoice processing workflows
  • Financial document management
  • Vendor management systems
  • AP workflow automation
  • Invoice digitization services

MCP · for your agent

Hand the Accounts Payable 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.

Queue a vendor bill for payment

“Read the Northwind Traders bill at this link and give me the PO number, due date, amount due and the bank details to pay it.”

list_apis · get_api_docsfree

api_request POST /accounts-payable-parser/v1/url 25 cr

PO number, due date, amount due and IBAN/SWIFT, laid out as a payable ready to approve.

Catch duplicate bills before approval

“Before I approve today's batch, parse these 9 vendor bills and flag any that repeat an invoice number or amount from last month.”

list_apis · get_api_docsfree

api_request POST /accounts-payable-parser/v1/text 25 cr

Vendor, invoice number and total for each bill, with likely duplicates flagged for review.

Book a foreign-currency invoice

“Contoso billed us in euros. Pull the subtotal, tax and total, then convert each to USD at the rate on the invoice date.”

list_apis · get_api_docsfree

api_request POST /accounts-payable-parser/v1/text 25 cr

+ Currency API5 cr

EUR subtotal, tax and total next to the USD amounts at the invoice-date rate, ready to post.

$ 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 /accounts-payable-parser/v1/text
Open in Playground
Request · HTTP
POST /accounts-payable-parser/v1/text HTTP/1.1
Host: api.apicodex.io
Content-Type: application/json
X-Api-Key: YOUR_API_KEY

{
  "text": "INVOICE INV-2025-001234 from Acme Supplies Inc., PO-45678, due 2025-08-14. 5 x Office Paper (PAP-001) at $45.00. Total due $1,278.50."
}
Response · JSON 200 OK
{
  "success": true,
  "parsed_at": "2025-08-01T10:30:00.000Z",
  "data": {
    "vendor": {
      "name": "Acme Supplies Inc.",
      "address": "123 Business Ave, Suite 100, New York, NY 10001",
      "phone": "(212) 555-0123",
      "email": "[email protected]",
      "tax_id": "12-3456789",
      "vendor_number": "V-98765"
    },
    "invoice_details": {
      "invoice_number": "INV-2025-001234",
      "invoice_date": "2025-07-15",
      "due_date": "2025-08-14",
      "po_number": "PO-45678",
      "payment_terms": "Net 30",
      "currency": "USD",
      "subtotal": 1150.00,
      "tax_amount": 103.50,
      "tax_rate": 9.0,
      "shipping_amount": 25.00,
      "total_amount": 1278.50,
      "amount_due": 1278.50
    },
    "line_items": [
      {
        "description": "Office Paper, Letter Size, 10 Reams",
        "item_code": "PAP-001",
        "quantity": 5,
        "unit_of_measure": "BOX",
        "unit_price": 45.00,
        "line_total": 225.00,
        "tax_amount": 20.25,
        "gl_account": "6110",
        "department": "ADMIN"
      }
    ]
  }
}

Documentation

Accounts Payable Parser API Documentation

The Accounts Payable 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 vendor data, and automating AP workflows.

Base URL

url
https://api.apicodex.io/accounts-payable-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 /accounts-payable-parser/v1/text HTTP/1.1
Host: api.apicodex.io
Content-Type: application/json
X-Api-Key: YOUR_API_KEY

{
  "text": "INVOICE INV-2025-001234 from Acme Supplies Inc., PO-45678, due 2025-08-14. 5 x Office Paper (PAP-001) at $45.00. Total due $1,278.50."
}
response · json
{
  "success": true,
  "parsed_at": "2025-08-01T10:30:00.000Z",
  "data": {
    "vendor": {
      "name": "Acme Supplies Inc.",
      "address": "123 Business Ave, Suite 100, New York, NY 10001",
      "phone": "(212) 555-0123",
      "email": "[email protected]",
      "tax_id": "12-3456789",
      "vendor_number": "V-98765"
    },
    "invoice_details": {
      "invoice_number": "INV-2025-001234",
      "invoice_date": "2025-07-15",
      "due_date": "2025-08-14",
      "po_number": "PO-45678",
      "payment_terms": "Net 30",
      "currency": "USD",
      "subtotal": 1150.00,
      "tax_amount": 103.50,
      "tax_rate": 9.0,
      "shipping_amount": 25.00,
      "total_amount": 1278.50,
      "amount_due": 1278.50
    },
    "line_items": [
      {
        "description": "Office Paper, Letter Size, 10 Reams",
        "item_code": "PAP-001",
        "quantity": 5,
        "unit_of_measure": "BOX",
        "unit_price": 45.00,
        "line_total": 225.00,
        "tax_amount": 20.25,
        "gl_account": "6110",
        "department": "ADMIN"
      }
    ]
  }
}

Code examples

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

Endpoints

POST /v1/upload

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

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

POST /v1/url

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

POST /v1/text

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

Pricing

Accounts Payable 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 Accounts Payable Parser?