{"uid":"cap_xoNa_Lxo_GTXarQcgWE0O","slug":"receipt-parse-e11deaab","name":"Receipt Parse","description":"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.","url":"https://402.com.tr/api/x402/receipt-parse","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5jv9K09XO-EXKeQgXfSBV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured fields (totals, VAT, IBANs, dates, emails, invoice numbers) from plain receipt or invoice text using heuristic parsing.","exampleAgentPrompt":"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'","exampleUseCases":[{"title":"Automated accounts payable data entry","prompt":"I just OCR'd a supplier invoice and got raw text back. Can you extract the invoice number, due date, total amount, VAT, and IBAN from it so I can log it in our system? Here's the text: 'Invoice No: 2024-881, Due: 30 April 2024, Net: £1,200.00, VAT 20%: £240.00, Total: £1,440.00, IBAN: GB29NWBK60161331926819'"},{"title":"Expense report receipt verification","prompt":"I've got the plain text from a restaurant receipt an employee submitted for reimbursement. Pull out the date, total, and any tax amounts from this text so I can verify it matches their claim: 'Date: 12/02/2024, Table 7, Subtotal: $87.50, Tax: $7.44, Tip: $15.00, Total: $109.94'"},{"title":"Freelancer invoice data extraction","prompt":"I received an invoice from a contractor as a text dump — can you parse out the IBAN, invoice number, total due, and email address from this? Text: 'From: freelancer@studio.io, Invoice #FL-099, Amount Due: €2,300.00, VAT: €437.00, Grand Total: €2,737.00, IBAN: NL91ABNA0417164300, Pay by: 2024-04-01'"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:54:12.609Z","isFirstParty":false}