Back to Tool
🧾
Invoice Parser API
Extract structured data from invoices and receipts
Endpoint
POST
/api/v1/invoice-parserAuthentication
Include your API key in the request header:
X-API-Key: your_api_key_hereGet your API key from the Dashboard
Request Body
Content-Type: application/json
| Field | Type | Required | Description |
|---|---|---|---|
| text | string | Yes | The invoice or receipt text to parse (max 50,000 characters) |
| options | object | No | Optional parsing configuration |
Response
| Field | Type | Description |
|---|---|---|
| success | boolean | Whether the parsing was successful |
| invoice.vendor | object | Vendor information (name, address, phone, email) |
| invoice.invoiceNumber | string | Extracted invoice number |
| invoice.invoiceDate | string | Invoice date |
| invoice.dueDate | string | Payment due date |
| invoice.lineItems | array | Array of line items with description, quantity, unitPrice, total |
| invoice.subtotal | number | Subtotal amount before tax |
| invoice.tax | number | Tax amount |
| invoice.total | number | Total amount due |
| invoice.currency | string | Detected currency symbol |
| invoice.confidence | number | Confidence 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"
}'Rate Limits
- • 100 requests per minute
- • 10,000 requests per day
- • Max request size: 10MB
Need Help?
Contact us at support@shubhambadgujar.com