Compare invoice and receipt text for matching document numbers and totals with a configura
Compare invoice and receipt text for matching document numbers and totals with a configurable amount tolerance.
200000 (raw units)
price
2
calls / 30d
1
unique payers
2026-09-16
updated
Provider
i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x94bab5853bff59401b355371f9c4b8ca6d6eca9d",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "200000",
"maxTimeoutSeconds": 120
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"amountTolerance": 0.01,
"invoiceText": "Invoice #INV-100 Total: $125.00",
"receiptText": "Receipt #INV-100 Paid: $125.00"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"differences": [],
"invoiceNumber": "INV-100",
"invoiceTotal": 125,
"limitation": "Text extraction only.",
"matched": true,
"receiptTotal": 125,
"score": 1
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"amountTolerance": {
"default": 0.01,
"minimum": 0,
"type": "number"
},
"invoiceText": {
"type": "string"
},
"receiptText": {
"type": "string"
}
},
"required": [
"invoiceText",
"receiptText",
"amountTolerance"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"differences": {
"items": {
"additionalProperties": false,
"properties": {
"field": {
"type": "string"
},
"invoice": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"message": {
"type": "string"
},
"receipt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"field",
"invoice",
"receipt",
"message"
],
"type": "object"
},
"type": "array"
},
"invoiceNumber": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"invoiceTotal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"limitation": {
"type": "string"
},
"matched": {
"type": "boolean"
},
"receiptTotal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"score": {
"maximum": 1,
"minimum": 0,
"type": "number"
}
},
"required": [
"matched",
"score",
"invoiceNumber",
"invoiceTotal",
"receiptTotal",
"differences",
"limitation"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"payment-identifier": {
"required": false
}
}Use it
curl
curl "https://i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws/v1/invoice-receipt-matcher" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws/v1/invoice-receipt-matcher");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws/v1/invoice-receipt-matcher")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/7889.json, and this resource appears in /discovery/resources and /discovery/search.