Receipt fraud detection API
One call takes a receipt or invoice (image or PDF) and returns its fields, deterministic checks (arithmetic, tax rate, dates, currency), a risk score for editing, AI generation or reuse with the reasons, and whether the same receipt was submitted before by you or anyone else. Same tools over REST and MCP.
Price
Every key starts with 50 free checks: no sign-up, no card. After that, prepaid credits. One credit per check, refunded automatically if we can't read the file. Credits never expire, and duplicate detection is part of every check.
- $49 for 3,000 checks: 1.6¢ a check
- $199 for 15,000 checks: 1.3¢ a check
- $799 for 75,000 checks: 1.1¢ a check
Get a key (agents can do this themselves)
curl -X POST https://receiptaudit.com/api/v1/keysThe response has an api_key with 50 free checks and a claim_url. Store the key; hand the claim URL to the person you work for. They open it to claim the account and buy prepaid credits (from $49 for 3,000 checks). No dashboard, no card needed to start.
Check a receipt
# Once: a key with 50 free checks, no sign-up
curl -X POST https://receiptaudit.com/api/v1/keys
# → { "api_key": "raud_…", "credits": 50, "claim_url": "…", … }
# Check a receipt by URL
curl -X POST https://receiptaudit.com/api/v1/receipts/check \
-H "Authorization: Bearer raud_…" \
-H "Content-Type: application/json" \
-d '{"image_url": "https://example.com/receipt.jpg"}'
# or send the file itself
-d '{"image_base64": "'"$(base64 < receipt.jpg)"'"}'import base64
import requests
API = "https://receiptaudit.com/api/v1"
key = requests.post(f"{API}/keys").json()["api_key"] # once: store it
with open("receipt.jpg", "rb") as f:
report = requests.post(
f"{API}/receipts/check",
headers={"Authorization": f"Bearer {key}"},
json={"image_base64": base64.b64encode(f.read()).decode()},
timeout=120,
).json()
print(report["authenticity"]["risk"], report["duplicate"]["seenBefore"])
for signal in report["authenticity"]["signals"]:
print(signal["kind"], signal["code"], signal["message"])import { readFile } from "node:fs/promises";
const API = "https://receiptaudit.com/api/v1";
const { api_key } = await (await fetch(`${API}/keys`, { method: "POST" })).json(); // once: store it
const response = await fetch(`${API}/receipts/check`, {
method: "POST",
headers: { Authorization: `Bearer ${api_key}`, "Content-Type": "application/json" },
body: JSON.stringify({ image_base64: (await readFile("receipt.jpg")).toString("base64") }),
});
const report = await response.json();
console.log(report.authenticity.risk, report.duplicate.seenBefore);
for (const signal of report.authenticity.signals) console.log(signal.kind, signal.code, signal.message);The response
A copy of a receipt that someone else checked first, with its total changed in Photoshop (abridged: fields lists every field, checks every check, and meta the model and timing):
{
"checkId": "6f1c…",
"fields": {
"merchant": {
"name": "Blue Bottle Coffee",
"country": "US"
},
"date": "2026-10-03",
"currency": "USD",
"subtotal": 11.5,
"total": 12.53
},
"checks": [
{
"code": "totals_add_up",
"passed": false,
"severity": "fail",
"message": "Total 12.53 doesn't match subtotal 11.50 + taxes 0.03 = 11.53; off by 1.00."
}
],
"authenticity": {
"risk": 0.856,
"signals": [
{
"code": "check.totals_add_up",
"weight": 0.4,
"kind": "verifiable",
"field": "total",
"message": "Total 12.53 doesn't match subtotal 11.50 + taxes 0.03 = 11.53; off by 1.00."
},
{
"code": "file.image_editor",
"weight": 0.4,
"kind": "opinion",
"field": "whole_document",
"message": "EXIF Software names Adobe Photoshop, an image editor."
},
{
"code": "duplicate_other_submitter",
"weight": 0.6,
"kind": "verifiable",
"field": "whole_document",
"message": "Someone else submitted this receipt before (first seen 2026-10-03)."
}
]
},
"duplicate": {
"image": {
"kind": "near",
"distance": 2,
"firstSeen": 1791052860000,
"timesSeen": 1,
"seenBySameOwner": false,
"seenByOtherOwners": true
},
"fields": null,
"seenBefore": true
},
"creditsRemaining": 49
}Every signal says what kind of evidence it is. verifiable is proof you can re-check yourself: amounts that don't add up, an AI generator declared in the file's own metadata, the same receipt submitted before. opinion is everything else, including what the model saw and facts that don't prove tampering on their own. field names the part of the receipt a signal is about (total, date, merchant, …) when it can.
Here, two signals are proof: the total doesn't add up, and someone else checked a near copy of this image first. Photoshop in the metadata is an opinion, because people edit genuine photos too. In duplicate, image is a near match (the same picture, 2 bits apart) and fields is null because the total changed. Each match says when it was first seen (Unix ms), how many times, and whether by you or by someone else. How matching works
Treat risk as triage: route high-risk receipts to a person, don't auto-reject on it.
When credits run out
The API answers 402 with code: "payment_required", a fresh claim_url and a pricing_url. Show the claim URL to your human; the key works again as soon as they pay. Check the balance with GET /api/v1/account, or get a new claim link with POST /api/v1/account/link.
Operations
POST /api/v1/receipts/check(check_receipt, needs a key): Extracts the fields of a receipt or invoice (image or PDF, by https URL or base64), checks its arithmetic, tax rate and dates, scores signs that it was edited or AI-generated (with reasons), and reports whether the same receipt was submitted before. Costs 1 credit, refunded if the file can't be read.POST /api/v1/keys(create_api_key): Returns a new API key with 50 free checks, and a claim_url where a person can take over the account and add prepaid credits. One key serves every later call.GET /api/v1/account(get_account, needs a key): Returns the remaining credits, whether a person has claimed the account, and how many checks it has run.POST /api/v1/feedback(report_feedback): Report a missing capability, a wrong result or a bug in a sentence or two. A person reads every report. Free, no key needed (send yours to link the report to your account).POST /api/v1/account/link(create_claim_link, needs a key): Returns a new claim_url (valid 30 days) where a person can claim this account and buy credits.
Connect an MCP client
{
"mcpServers": {
"receipt-audit": {
"url": "https://receiptaudit.com/mcp",
"headers": {
"Authorization": "Bearer raud_…"
}
}
}
}Clients that can't set headers can pass api_key as a tool argument. Without a key, call create_api_key first. Setup for Claude Code, Claude, Cursor and VS Code, and every tool: MCP server.
Machine-readable descriptions
- OpenAPI: /openapi.json
- Agent guide: /llms.txt
- API catalog (RFC 9727): /.well-known/api-catalog
- MCP server card: server-card.json
Errors, limits and privacy
Errors are RFC 9457 application/problem+json with a stable code and a resolution. Each client may make 60 requests per minute (IETF RateLimit headers; 429 carries Retry-After). Files up to 8 MB: JPEG, PNG, WebP, HEIC or PDF. We don't store receipts: only hashes of the image and key fields, kept for duplicate detection.