Back to Tool
🧾

Invoice Parser API

Extract structured data from invoices and receipts

Endpoint

POST/api/v1/invoice-parser

Authentication

Include your API key in the request header:

X-API-Key: your_api_key_here

Get your API key from the Dashboard

Request Body

Content-Type: application/json

FieldTypeRequiredDescription
textstringYesThe invoice or receipt text to parse (max 50,000 characters)
optionsobjectNoOptional parsing configuration

Response

FieldTypeDescription
successbooleanWhether the parsing was successful
invoice.vendorobjectVendor information (name, address, phone, email)
invoice.invoiceNumberstringExtracted invoice number
invoice.invoiceDatestringInvoice date
invoice.dueDatestringPayment due date
invoice.lineItemsarrayArray of line items with description, quantity, unitPrice, total
invoice.subtotalnumberSubtotal amount before tax
invoice.taxnumberTax amount
invoice.totalnumberTotal amount due
invoice.currencystringDetected currency symbol
invoice.confidencenumberConfidence score (0-100) indicating parsing quality

Code Examples

curl -X POST https://tools.shubhambadgujar.com/api/v1/invoice-parser \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "ACME Corp\nInvoice #INV-001\nDate: Jan 15, 2024\n\nWeb Development    $5,000.00\nSubtotal: $5,000.00\nTax (8%): $400.00\nTotal: $5,400.00"
  }'

Pricing

First 50 free, then $0.02 per call

Get API Key

Rate Limits

  • • 100 requests per minute
  • • 10,000 requests per day
  • • Max request size: 10MB

Need Help?

Contact us at support@shubhambadgujar.com