{"uid":"cap_XmXzvAVKPeHvuSLpircbH","slug":"receipt-to-ledger-f149c12e","name":"agentutility — paid x402 endpoints for autonomous agents","description":"Paid x402 endpoints organized into product clusters. USDC-settled on Base. MCP-callable. ERC-8004 identity registry agentId 47167.","url":"https://x402.agentutility.ai/receipt-to-ledger","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":[],"properties":{"file":{"type":"string","description":"Alias for image_url — a http/https URL to the receipt photo. Provide this or 'image_url'."},"image_url":{"type":"string","description":"URL of the receipt photo to parse. Must be http or https. Provide this or 'file'."},"target_currency":{"type":"string","description":"3-letter ISO 4217 code to normalize the receipt total into, e.g. 'USD'. Optional, default 'USD'."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ocr":{"type":"object","properties":{"model":{"type":"string"},"raw_text":{"type":"string"},"vendor_name":{"type":"string"},"receipt_date":{"type":"string"},"receipt_time":{"type":"null"},"vendor_phone":{"type":"null"},"payment_method":{"type":"null"},"receipt_number":{"type":"null"},"vendor_address":{"type":"string"}}},"input":{"type":"object","properties":{"image_url":{"type":"string"},"target_currency":{"type":"string"}}},"totals":{"type":"object","properties":{"tax":{"type":"integer"},"tip":{"type":"integer"},"total":{"type":"number"},"currency":{"type":"string"},"subtotal":{"type":"number"},"converted":{"type":"object","properties":{"rate":{"type":"number"},"amount":{"type":"number"},"currency":{"type":"string"},"rate_date":{"type":"string"}}},"target_currency":{"type":"string"}}},"degraded":{"type":"boolean"},"entities":{"type":"object","properties":{"entities":{"type":"object","properties":{"dates":{"type":"array","items":{"type":"string"}},"organizations":{"type":"array","items":{"type":"string"}}}},"total_entities":{"type":"integer"}}},"components":{"type":"array","items":{"type":"object","properties":{"ms":{"type":"integer"},"ok":{"type":"boolean"},"name":{"type":"string"}}}},"line_items":{"type":"array","items":{"type":"object","properties":{"qty":{"type":"integer"},"total":{"type":"number"},"unit_price":{"type":"number"},"description":{"type":"string"}}}},"composed_of":{"type":"array","items":{"type":"string"}}}}}}}},"responseSchema":{"type":"json","example":{"ocr":{"model":"qwen3-5-9b","raw_text":"Corner Cafe\n1 Market St\nCoffee 4.50\nTotal 4.50","vendor_name":"Corner Cafe","receipt_date":"2026-07-01","receipt_time":null,"vendor_phone":null,"payment_method":null,"receipt_number":null,"vendor_address":"1 Market St"},"input":{"image_url":"https://agentutility.ai/icon-512.png","target_currency":"USD"},"totals":{"tax":0,"tip":0,"total":4.5,"currency":"EUR","subtotal":4.5,"converted":{"rate":1.08,"amount":4.86,"currency":"USD","rate_date":"2026-07-05"},"target_currency":"USD"},"degraded":false,"entities":{"entities":{"dates":["2026-07-01"],"organizations":["Corner Cafe"]},"total_entities":2},"components":[{"ms":3200,"ok":true,"name":"receipt-parser"},{"ms":900,"ok":true,"name":"extract-entities"},{"ms":180,"ok":true,"name":"exchange-rates"}],"line_items":[{"qty":1,"total":4.5,"unit_price":4.5,"description":"Coffee"}],"composed_of":["receipt-parser","extract-entities","exchange-rates"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MeV4Uh3q_-n59C2IkL4g8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":null,"exampleAgentPrompt":null,"exampleUseCases":null,"resultDescription":null,"failureModes":null,"whenToPreferThis":null,"instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:48:40.133Z","isFirstParty":false}