# Strale Invoice Process

> Strale Invoice Process is a paid API for AI agents from api.strale.io, paid per call via x402, $0.54/call, status unknown (last checked 2026-09-14).

Parses and extracts structured data from invoice text or OCR output, with optional currency conversion and audit trail

## Facts

- Endpoint: POST https://api.strale.io/x402/solutions/invoice-process
- Price: $0.54/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-invoice-process-5f520f3d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_772aYBqAqraNd6e9A8N8U

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-invoice-process-5f520f3d -d '<json body>'
```

Example prompt: Can you process this invoice text I got from OCR and extract all the structured data — line items, amounts, totals — and convert everything to USD? Here's the text: 'Invoice #1042, Vendor: Acme BV, Date: 2024-06-01, Item: Consulting Services, Qty: 10hrs, Unit Price: €120, Total: €1200, VAT: €252, Grand Total: €1452.'

## When to prefer this

Choose this endpoint when you need to turn raw invoice text (manual entry or OCR-extracted) into validated, structured JSON with an audit trail, especially within a financial automation or accounts payable workflow. It is particularly valuable when currency conversion is needed alongside extraction, or when compliance audit trails are required for processed invoices.

## Known failure modes

- Unreadable or garbled OCR text may result in incomplete or missing fields
- Unsupported or ambiguous currency codes may cause conversion errors
- Missing required 'text' field returns a 400 validation error
- Non-invoice text (e.g. contracts, receipts) may produce low-confidence or incorrect structured output
- Network timeout or service unavailability returns a 5xx error

## How this service works

End-to-end invoice verification: extract structured data from the invoice, validate the vendor's VAT number, verify the payment IBAN, and convert currency if needed. Returns everything an AP automation agent needs.

## Output

Structured JSON containing parsed invoice fields (invoice number, vendor details, line items, quantities, unit prices, subtotals, tax amounts, grand total), optionally with all monetary amounts converted to the target currency, plus an audit trail of the extraction process.

## Example request

```json
{
 "text": "Invoice #1042, Vendor: Acme BV, Date: 2024-06-01, Item: Consulting Services, Qty: 10hrs, Unit Price: €120, Total: €1200, VAT: €252, Grand Total: €1452.",
 "target_currency": "USD"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Invoice text or OCR output"
  },
  "target_currency": {
   "type": "string",
   "description": "Convert amounts to this currency (optional)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-invoice-process-5f520f3d/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)
