Receipt Audit Receipts API
The Receipts API from Receipt Audit — 1 operation(s) for receipts.
The Receipts API from Receipt Audit — 1 operation(s) for receipts.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/receiptaudit-com:receiptaudit-com-receipts-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Receipt Audit Receipts API
version: 1.0.0
description: 'Check any receipt or invoice in one call: extracted fields, arithmetic and tax checks, signs it was edited or AI-generated, and whether it was submitted before. Free in the browser; an API agents can sign up for on their own.'
contact:
name: Plain Instruments
email: support@receiptaudit.com
url: https://receiptaudit.com/contact
termsOfService: https://receiptaudit.com/terms
servers:
- url: https://receiptaudit.com
security: []
tags:
- name: Receipts
paths:
/api/v1/receipts/check:
post:
tags:
- Receipts
operationId: v1.check_receipt
parameters: []
security:
- bearer: []
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
properties:
checkId:
type: string
fields:
type: object
properties:
documentType:
type: string
enum:
- receipt
- invoice
- other
merchant:
type: object
properties:
name:
anyOf:
- type: string
- type: 'null'
address:
anyOf:
- type: string
- type: 'null'
country:
anyOf:
- type: string
- type: 'null'
taxId:
anyOf:
- type: string
- type: 'null'
phone:
anyOf:
- type: string
- type: 'null'
required:
- name
- address
- country
- taxId
- phone
additionalProperties: false
date:
anyOf:
- type: string
- type: 'null'
time:
anyOf:
- type: string
- type: 'null'
currency:
anyOf:
- type: string
- type: 'null'
receiptNumber:
anyOf:
- type: string
- type: 'null'
lineItems:
type: array
items:
type: object
properties:
description:
type: string
quantity:
anyOf:
- type: number
- type: 'null'
unitPrice:
anyOf:
- type: number
- type: 'null'
total:
anyOf:
- type: number
- type: 'null'
required:
- description
- quantity
- unitPrice
- total
additionalProperties: false
subtotal:
anyOf:
- type: number
- type: 'null'
taxes:
type: array
items:
type: object
properties:
label:
type: string
rate:
anyOf:
- type: number
- type: 'null'
amount:
type: number
required:
- label
- rate
- amount
additionalProperties: false
tip:
anyOf:
- type: number
- type: 'null'
discount:
anyOf:
- type: number
- type: 'null'
total:
anyOf:
- type: number
- type: 'null'
paymentMethod:
anyOf:
- type: string
- type: 'null'
cardLast4:
anyOf:
- type: string
- type: 'null'
required:
- documentType
- merchant
- date
- time
- currency
- receiptNumber
- lineItems
- subtotal
- taxes
- tip
- discount
- total
- paymentMethod
- cardLast4
additionalProperties: false
checks:
type: array
items:
type: object
properties:
code:
type: string
passed:
type: boolean
severity:
type: string
enum:
- info
- warn
- fail
message:
type: string
required:
- code
- passed
- severity
- message
additionalProperties: false
description: 'Deterministic checks: arithmetic, tax plausibility, dates, currency.'
authenticity:
type: object
properties:
risk:
type: number
signals:
type: array
items:
type: object
properties:
code:
type: string
weight:
type: number
message:
type: string
kind:
type: string
enum:
- verifiable
- opinion
field:
type: string
enum:
- merchant
- date
- time
- total
- subtotal
- tax
- line_items
- receipt_number
- payment
- whole_document
required:
- code
- weight
- message
- kind
additionalProperties: false
required:
- risk
- signals
additionalProperties: false
description: 'risk: 0 = looks genuine, 1 = almost certainly edited, generated or reused. Signals with reasons, not a verdict.'
duplicate:
type: object
properties:
image:
anyOf:
- type: object
properties:
kind:
type: string
enum:
- exact
- near
distance:
anyOf:
- type: number
- type: string
enum:
- Infinity
- -Infinity
- NaN
firstSeen:
anyOf:
- type: number
- type: string
enum:
- Infinity
- -Infinity
- NaN
timesSeen:
anyOf:
- type: number
- type: string
enum:
- Infinity
- -Infinity
- NaN
seenBySameOwner:
type: boolean
seenByOtherOwners:
type: boolean
required:
- kind
- distance
- firstSeen
- timesSeen
- seenBySameOwner
- seenByOtherOwners
additionalProperties: false
description: 'kind: exact = same image or same fields; near = the same photo re-compressed, cropped or re-shot. distance: differing bits between image hashes (0 = identical). firstSeen: Unix ms. seenByOtherOwners: a different account (or web user) checked it before.'
- type: 'null'
fields:
anyOf:
- type: object
properties:
kind:
type: string
enum:
- exact
- near
distance:
anyOf:
- type: number
- type: string
enum:
- Infinity
- -Infinity
- NaN
firstSeen:
anyOf:
- type: number
- type: string
enum:
- Infinity
- -Infinity
- NaN
timesSeen:
anyOf:
- type: number
- type: string
enum:
- Infinity
- -Infinity
- NaN
seenBySameOwner:
type: boolean
seenByOtherOwners:
type: boolean
required:
- kind
- distance
- firstSeen
- timesSeen
- seenBySameOwner
- seenByOtherOwners
additionalProperties: false
description: 'kind: exact = same image or same fields; near = the same photo re-compressed, cropped or re-shot. distance: differing bits between image hashes (0 = identical). firstSeen: Unix ms. seenByOtherOwners: a different account (or web user) checked it before.'
- type: 'null'
seenBefore:
type: boolean
required:
- image
- fields
- seenBefore
additionalProperties: false
meta:
type: object
properties:
model:
type: string
ms:
type: number
inputTokens:
anyOf:
- type: number
- type: 'null'
outputTokens:
anyOf:
- type: number
- type: 'null'
required:
- model
- ms
- inputTokens
- outputTokens
additionalProperties: false
creditsRemaining:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- checkId
- fields
- checks
- authenticity
- duplicate
- meta
- creditsRemaining
additionalProperties: false
'400':
description: InvalidRequest
content:
application/problem+json:
schema:
$ref: '#/components/schemas/InvalidRequestEncoded'
'401':
description: Unauthorized
content:
application/problem+json:
schema:
$ref: '#/components/schemas/UnauthorizedEncoded'
'402':
description: PaymentRequired
content:
application/problem+json:
schema:
$ref: '#/components/schemas/PaymentRequiredEncoded'
'429':
description: RateLimited
content:
application/problem+json:
schema:
$ref: '#/components/schemas/RateLimitedEncoded'
'500':
description: InternalError
content:
application/problem+json:
schema:
$ref: '#/components/schemas/InternalErrorEncoded'
'502':
description: UpstreamUnavailable
content:
application/problem+json:
schema:
$ref: '#/components/schemas/UpstreamUnavailableEncoded'
description: 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.
summary: Check a receipt or invoice
requestBody:
content:
application/json:
schema:
anyOf:
- type: object
properties:
image_url:
type: string
description: Public https URL of the receipt image or PDF.
image_base64:
type: string
description: 'The file''s bytes, base64-encoded (a data: URL prefix is fine). Max 8 MB.'
mime_type:
type: string
enum:
- image/jpeg
- image/png
- image/webp
- image/heic
- image/heif
- application/pdf
description: Only needed with image_base64 when the type can't be sniffed.
api_key:
type: string
description: For MCP clients that can't send an Authorization header. Prefer the header.
additionalProperties: false
- type: 'null'
required: true
components:
schemas:
UnauthorizedEncoded:
type: object
properties:
_tag:
type: string
enum:
- Unauthorized
type:
type: string
title:
type: string
status:
type: number
enum:
- 401
code:
type: string
enum:
- unauthorized
detail:
type: string
resolution:
type: string
description: What the caller should do next.
get_key_url:
type: string
required:
- _tag
- type
- title
- status
- code
- detail
- resolution
additionalProperties: false
PaymentRequiredEncoded:
type: object
properties:
_tag:
type: string
enum:
- PaymentRequired
type:
type: string
title:
type: string
status:
type: number
enum:
- 402
code:
type: string
enum:
- payment_required
detail:
type: string
resolution:
type: string
description: What the caller should do next.
claim_url:
type: string
pricing_url:
type: string
required:
- _tag
- type
- title
- status
- code
- detail
- resolution
- claim_url
- pricing_url
additionalProperties: false
UpstreamUnavailableEncoded:
type: object
properties:
_tag:
type: string
enum:
- UpstreamUnavailable
type:
type: string
title:
type: string
status:
type: number
enum:
- 502
code:
type: string
enum:
- upstream_unavailable
detail:
type: string
resolution:
type: string
description: What the caller should do next.
required:
- _tag
- type
- title
- status
- code
- detail
- resolution
additionalProperties: false
InternalErrorEncoded:
type: object
properties:
_tag:
type: string
enum:
- InternalError
type:
type: string
title:
type: string
status:
type: number
enum:
- 500
code:
type: string
enum:
- internal_error
detail:
type: string
resolution:
type: string
description: What the caller should do next.
required:
- _tag
- type
- title
- status
- code
- detail
- resolution
additionalProperties: false
InvalidRequestEncoded:
type: object
properties:
_tag:
type: string
enum:
- InvalidRequest
type:
type: string
title:
type: string
status:
type: number
enum:
- 400
code:
type: string
enum:
- invalid_request
detail:
type: string
resolution:
type: string
description: What the caller should do next.
errors:
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
additionalProperties: false
required:
- _tag
- type
- title
- status
- code
- detail
- resolution
additionalProperties: false
RateLimitedEncoded:
type: object
properties:
_tag:
type: string
enum:
- RateLimited
type:
type: string
title:
type: string
status:
type: number
enum:
- 429
code:
type: string
enum:
- rate_limit_exceeded
detail:
type: string
resolution:
type: string
description: What the caller should do next.
required:
- _tag
- type
- title
- status
- code
- detail
- resolution
additionalProperties: false
securitySchemes:
bearer:
type: http
scheme: Bearer