# Strale Receipt Categorize

> Strale Receipt Categorize is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054/call, status unknown (last checked 2026-09-15).

Categorizes a receipt or invoice (text, base64 image, or image URL) into a structured expense category using AI.

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/receipt-categorize
- Price: $0.054/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-receipt-categorize-5f541519
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V7Ei9S7gu2xDalIlmYZ8u

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 strale-receipt-categorize-5f541519
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "text": {
       "type": "string"
      },
      "base64": {
       "type": "string"
      },
      "image_url": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-receipt-categorize-5f541519/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
