# Invoice Intake & Extraction

> Invoice Intake & Extraction is a paid API for AI agents from agents.crowdspark.me, paid per call via x402, $0.012/call, status unknown (last checked 2026-10-31).

Accepts an uploaded invoice (PDF or image), extracts structured fields, verifies vendor email and domain, and returns an accept/review/reject verdict.

## Facts

- Endpoint: POST https://agents.crowdspark.me/v1/bundle/invoice-intake/upload?utm_source=zero.xyz
- Price: $0.012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/invoice-intake-extraction-5864c749
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5BK6Gnw9KrZDbQ3pRs1r5

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 invoice-intake-extraction-5864c749 -d '<json body>'
```

Example prompt: Can you process this invoice PDF I just uploaded, pull out the total, invoice number, and vendor details, and tell me whether we should accept, review, or reject it?

## When to prefer this

Choose this endpoint when you need to ingest invoice files (PDF or image) and want both structured field extraction AND a trust verdict in a single call. It is ideal for accounts-payable automation, invoice fraud screening, or any workflow where vendor verification (email/domain checks) is required alongside data extraction. Prefer it over generic OCR or document parsing APIs when the accept/review/reject classification and vendor domain check are needed out of the box.

## Known failure modes

- HTTP 400 if the file is corrupt, missing a text layer, or exceeds size limits (20 MB for PDF, 10 MB for image) — not charged
- HTTP 400 for unsupported file formats
- Partial extraction if invoice layout is non-standard or text layer is poor quality
- Verdict 'review' with reason 'no vendor email or website found to verify' when vendor info is absent
- Timeout or 5xx for very large or complex documents

## How this service works

Pay-per-call utilities for AI agents over x402, USDC on Base.

## Output

Returns a JSON object with extracted invoice fields (e.g. invoice number, total, vendor domain), a verdict of 'accept', 'review', or 'reject', and an array of reasons explaining the verdict. Malformed or unreadable files return HTTP 400 and are not billed.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [],
     "properties": {}
    },
    "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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "invoice": {
   "total": "$1,250.00",
   "number": "INV-1042",
   "vendor_domain": "acme.com"
  },
  "reasons": [
   "no vendor email or website found to verify"
  ],
  "verdict": "review"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/invoice-intake-extraction-5864c749/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.crowdspark.me](https://www.zero.xyz/host/agents.crowdspark.me/llms.txt)
