{"uid":"cap_V7Ei9S7gu2xDalIlmYZ8u","slug":"strale-receipt-categorize-5f541519","name":"Strale Receipt Categorize","description":"The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.","url":"https://api.strale.io/x402/v2/receipt-categorize","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"text":{"type":"string"},"base64":{"type":"string"},"image_url":{"type":"string"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.054","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.054/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4sae19HWYeTp_TXeTNRHk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Categorizes a receipt or invoice (text, base64 image, or image URL) into a structured expense category using AI.","exampleAgentPrompt":"Can you categorize this receipt for me? Here's the text: 'Starbucks Coffee – 2x Latte $12.50, 1x Muffin $3.75, Total $16.25' — tell me what expense category it falls under.","exampleUseCases":[{"title":"Expense report auto-tagging","prompt":"I have a bunch of receipt texts from my business trip — can you categorize each one so I know which expense bucket they fall into? Start with this one: 'Marriott Hotel – 3 nights, $420.00, tax $42.00, total $462.00'."},{"title":"Scanned receipt classification from image","prompt":"I've got a scanned receipt image at https://myexpenses.com/receipts/march-uber.png — can you figure out what expense category that belongs to, like travel or transport?"},{"title":"Bookkeeping receipt sorting pipeline","prompt":"I need to classify this receipt for my accountant: 'Office Depot – printer paper $24.99, pens $8.50, Total $33.49' — what category should I put it under for bookkeeping?"}],"resultDescription":"Returns a structured expense category (e.g. 'Meals & Entertainment', 'Travel', 'Office Supplies') for the provided receipt input, along with an audit record containing a cryptographic chain hash for traceability and trust verification.","failureModes":["Missing or empty input text/image — returns validation error","Unrecognizable receipt content (e.g. corrupted image or unrelated text) — may return low-confidence or null category","Invalid base64 encoding — returns parse error","Image URL unreachable or returning non-image content — returns fetch error","Ambiguous receipt content spanning multiple categories — may return a best-guess category with caveats"],"whenToPreferThis":"Choose this endpoint when you need to automatically classify receipts or invoices into expense categories with an auditable cryptographic trail — particularly useful in regulated accounting, enterprise expense management, or multi-step AI agent workflows where auditability matters. Prefer this over generic LLM-based classification when you need a structured, consistent category label and a verifiable audit record per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:15:15.194Z","isFirstParty":false}