Invoice or receipt (PDF, PNG/JPEG/WebP image, or plain text) to structured JSON
Invoice or receipt (PDF, PNG/JPEG/WebP image, or plain text) to structured JSON with a fixed schema: vendor (name, address, VAT ID, email, phone, IBAN), customer, invoice number, order number, issue/due date, currency (ISO 4217), subtotal, VAT total, total, amount due, VAT breakdown and line items. Every field has value, the verbatim source quote and a confidence score (0-1: quote found in the document, value matches quote, totals add up). Arithmetic checks included. $0.0075 per page (max 10 ...
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://freetier-agent-api.pages.dev/api/invoice-json
| Category | Image and media |
|---|---|
| Provider host | freetier-agent-api.pages.dev |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | no answer | |||
| 2026-11-25 | no answer | |||
| 2026-11-24 | no answer | |||
| 2026-11-23 | no answer | |||
| 2026-11-22 | no answer | |||
| 2026-11-21 | no answer | |||
| 2026-11-20 | no answer | |||
| 2026-11-19 | no answer | |||
| 2026-11-18 | no answer | |||
| 2026-11-17 | no answer | |||
| 2026-11-16 | no answer | |||
| 2026-11-15 | no answer | |||
| 2026-11-14 | no answer | |||
| 2026-11-13 | no answer | |||
| 2026-11-12 | no answer | |||
| 2026-11-11 | no answer | |||
| 2026-11-10 | no answer | |||
| 2026-11-09 | no answer | |||
| 2026-11-08 | no answer | |||
| 2026-11-07 | no answer | |||
| 2026-11-06 | no answer | |||
| 2026-11-05 | no answer | |||
| 2026-11-04 | no answer | |||
| 2026-11-03 | no answer | |||
| 2026-11-02 | no answer | |||
| 2026-11-01 | no answer | |||
| 2026-10-31 | no answer |
Example input (from the provider)
{
"body": {
"url": "https://raw.githubusercontent.com/invoice-x/invoice2data/master/tests/compare/AzureInterior.pdf"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"body": {
"properties": {
"file_base64": {
"description": "POST JSON only: base64 file content",
"type": "string"
},
"mime_type": {
"description": "POST JSON only: application/pdf, image/png, image/jpeg, image/webp or text/plain",
"type": "string"
},
"text": {
"description": "invoice text instead of a file (max 40,000 chars)",
"type": "string"
},
"url": {
"description": "public http(s) URL of a PDF, PNG, JPEG or WebP invoice/receipt (max 8 MB)",
"type": "string"
}
},
"required": [],
"type": "object"
},
"bodyType": {
"enum": [
"json"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"description": "Top-level fields; full schema in /openapi.json",
"properties": {
"billed_usd": {
"type": [
"number",
"null"
]
},
"checks": {
"type": [
"object",
"string",
"number",
"null"
]
},
"confidence_method": {
"type": [
"string",
"null"
]
},
"currency": {
"type": [
"object",
"string",
"number",
"null"
]
},
"customer": {
"type": [
"object",
"string",
"number",
"null"
]
},
"document_type": {
"type": [
"object",
"string",
"number",
"null"
]
},
"due_date": {
"type": [
"object",
"string",
"number",
"null"
]
},
"input": {
"type": [
"string",
"null"
]
},
"invoice_number": {
"type": [
"object",
"string",
"number",
"null"
]
},
"issue_date": {
"type": [
"object",
"string",
"number",
"null"
]
},
"limits": {
"type": [
"string",
"null"
]
},
"line_items": {
"type": "array"
},
"missing": {
"type": "array"
},
"model": {
"type": [
"string",
"null"
]
},
"order_number": {
"type": [
"object",
"string",
"number",
"null"
]
},
"overall_confidence": {
"type": [
"number",
"null"
]
},
"pages": {
"type": [
"number",
"null"
]
},
"payment_terms": {
"type": [
"object",
"string",
"number",
"null"
]
},
"sources": {
"type": "array"
},
"text_chars": {
"type": [
"number",
"null"
]
},
"totals": {
"type": [
"object",
"string",
"number",
"null"
]
},
"vat_breakdown": {
"type": "array"
},
"vendor": {
"type": [
"object",
"string",
"number",
"null"
]
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}