# Receipt Parse

> Receipt Parse is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Extracts structured fields (totals, VAT, IBANs, dates, emails, invoice numbers) from plain receipt or invoice text using heuristic parsing.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/receipt-parse
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/receipt-parse-e11deaab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xoNa_Lxo_GTXarQcgWE0O

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability receipt-parse-e11deaab
```

Example prompt: I have the text from a scanned invoice — can you parse it and pull out the total amount, VAT, IBAN, invoice number, and any dates or emails? Here's the text: 'Invoice #INV-2024-0042, Date: 2024-03-15, To: billing@acme.com, Subtotal: €450.00, VAT 20%: €90.00, Total: €540.00, IBAN: DE89370400440532013000'

## When to prefer this

Choose this endpoint when you have already converted a receipt or invoice scan to plain text (via OCR) and need structured financial fields extracted quickly and cheaply. It is ideal for automating accounts payable workflows, expense report validation, or any pipeline that needs to ingest invoice data without manual data entry. It is not an OCR service — use it downstream of an OCR step.

## Known failure modes

- Empty or whitespace-only text input returns no extracted fields
- Highly unstructured or informal text may yield missing or incomplete fields
- Non-Latin scripts or unusual formatting may reduce extraction accuracy
- If text was not pre-converted from OCR, garbled characters will degrade results
- Ambiguous currency symbols or date formats may be misidentified

## How this service works

Heuristic extraction from invoice/receipt text: totals, amounts, VAT hints, IBANs, dates, emails, invoice numbers. Not OCR — convert a scan to text first, then send it here.

## Output

Returns a structured object with heuristically extracted fields from the receipt/invoice text, including detected totals, subtotals, VAT amounts, IBAN numbers, dates, email addresses, and invoice numbers — whatever is present in the input text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "Receipt / invoice text"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/receipt-parse-e11deaab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
