Server definition
- Hash
- sha256:1be9723fd68f91d158674dbb64e3b57d59c41646e4b8dcb633f9073fe27c705f
- What it is
- What a remote MCP server returned when asked what it offers: 14 tools
The blob, as servednamed by its sha256
{
"instructions": "Amounts are decimal strings, e.g. \"42.50\". A report named in a tool call must already exist and be open; list_reports shows them. Where a tool takes an optional date (YYYY-MM-DD), omitting it dates the entry today in UTC, the server's clock: the response carries serverUtcNow, so compute the user's local date from it (a PST evening is already tomorrow in UTC) and pass an explicit date when the two differ. Two calls ask the user to confirm and take `confirm: true` from a client that cannot show the prompt: `close_report` when closing a report, and `apply_reconciliation` when applying matches from `reconcile`.",
"tools": [
{
"description": "Move an expense into a report. Also renames the stored receipt image to the dated convention name when the expense has a date and original filename.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"expenseId": {
"minLength": 1,
"type": "string"
},
"report": {
"description": "Report name.",
"minLength": 1,
"type": "string"
}
},
"required": [
"expenseId",
"report"
],
"type": "object"
},
"name": "add_to_report",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"expenseId": {
"type": "string"
},
"report": {
"type": "string"
}
},
"required": [
"expenseId",
"report"
],
"type": "object"
}
},
{
"description": "Apply what a person accepted from `reconcile` and complete the run. `matches` are `{ line, expenseId }` pairs (a matched pair's line, or a review candidate) and are re-checked against a fresh match, so only an expense the statement supports for that line is accepted. `additions` are the lines with no expense behind them, filed as new expenses from the statement's own date and amount; a refund line cannot be added. Nothing is written if any row fails. Asks the user to confirm first; a client that cannot answer the prompt passes confirm: true.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"additions": {
"description": "Accepted lines with no expense behind them, to file as new expenses; date and amount come from the statement.",
"items": {
"properties": {
"category": {
"maxLength": 100,
"minLength": 1,
"type": "string"
},
"description": {
"maxLength": 1000,
"type": "string"
},
"line": {
"description": "1-based statement line number from reconcile.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"merchant": {
"description": "Merchant; defaults to the statement's description.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"report": {
"description": "Open report to file it under; list_reports shows them.",
"maxLength": 200,
"minLength": 1,
"type": "string"
}
},
"required": [
"line",
"report"
],
"type": "object"
},
"maxItems": 200,
"type": "array"
},
"confirm": {
"description": "Confirmation for clients that cannot answer the interactive prompt.",
"type": "boolean"
},
"fileName": {
"description": "Label for the run; defaults to statement.csv.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"matches": {
"description": "Accepted lines that have an expense behind them.",
"items": {
"properties": {
"expenseId": {
"description": "Expense id from the matched pair or a review candidate.",
"minLength": 1,
"type": "string"
},
"line": {
"description": "1-based statement line number from reconcile.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"line",
"expenseId"
],
"type": "object"
},
"maxItems": 200,
"type": "array"
},
"statementCsv": {
"maxLength": 2000000,
"minLength": 1,
"type": "string"
}
},
"required": [
"statementCsv"
],
"type": "object"
},
"name": "apply_reconciliation",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"created": {
"type": "number"
},
"createdExpenseIds": {
"items": {
"type": "string"
},
"type": "array"
},
"errors": {
"items": {
"type": "string"
},
"type": "array"
},
"matched": {
"type": "number"
}
},
"required": [
"matched",
"created",
"errors",
"createdExpenseIds"
],
"type": "object"
}
},
{
"description": "Capture a receipt from a base64 image/PDF or a URL: extract the merchant, amount and category (reusing the merchant's previous category when known), store the image, and create the expense. A non-USD amount is converted to USD at the ECB reference rate for the expense date. Returns the extracted fields and the new expense id.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"amount": {
"description": "Amount as a decimal string in `currency`, e.g. \"42.50\" (otherwise extracted).",
"type": "string"
},
"category": {
"description": "Category override (otherwise resolved from the merchant's history, then the extraction suggestion).",
"type": "string"
},
"currency": {
"description": "ISO 4217 code of the amount's currency, e.g. \"EUR\". Defaults to the currency extracted from the receipt, else USD. A non-USD amount is stored as its USD conversion.",
"type": "string"
},
"date": {
"description": "Expense date YYYY-MM-DD. Omitted dates the expense today in UTC, per the server instructions.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"type": "string"
},
"description": {
"description": "Description or memo.",
"type": "string"
},
"filename": {
"description": "Original filename; used for the stored image name.",
"type": "string"
},
"imageData": {
"description": "Base64-encoded receipt image (PNG/JPEG/HEIC/WebP) or PDF bytes.",
"type": "string"
},
"merchant": {
"description": "Merchant override (otherwise extracted).",
"type": "string"
},
"mime": {
"description": "MIME type of imageData, e.g. image/png or application/pdf. Guessed from filename when omitted.",
"type": "string"
},
"report": {
"description": "Report name to file under.",
"type": "string"
},
"url": {
"description": "URL of a receipt image or PDF to fetch instead of imageData.",
"type": "string"
}
},
"type": "object"
},
"name": "capture_receipt",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"captured": {
"description": "False when the image was already filed.",
"type": "boolean"
},
"duplicate": {
"type": "boolean"
},
"duplicateOf": {
"type": [
"string",
"null"
]
},
"expenseId": {
"type": "string"
},
"extracted": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"amount": {
"type": "string"
},
"category": {
"type": "string"
},
"confidence": {
"enum": [
"high",
"medium",
"low"
],
"type": "string"
},
"currency": {
"type": "string"
},
"isReceipt": {
"type": "boolean"
},
"merchant": {
"type": "string"
},
"notes": {
"type": "string"
}
},
"required": [
"isReceipt",
"merchant",
"amount",
"currency",
"category",
"confidence",
"notes"
],
"type": "object"
},
{
"type": "null"
}
]
},
"fx": {
"additionalProperties": false,
"properties": {
"amount": {
"type": "string"
},
"currency": {
"type": "string"
},
"fxRate": {
"type": "string"
},
"originalAmount": {
"type": "string"
},
"rateDate": {
"type": "string"
}
},
"required": [
"currency",
"originalAmount",
"amount",
"fxRate",
"rateDate"
],
"type": "object"
},
"resolved": {
"additionalProperties": false,
"properties": {
"amount": {
"type": "string"
},
"category": {
"type": "string"
},
"date": {
"type": "string"
},
"merchant": {
"type": "string"
},
"report": {
"type": "string"
}
},
"required": [
"merchant",
"amount",
"category",
"date",
"report"
],
"type": "object"
},
"serverUtcNow": {
"description": "The server clock, ISO instant.",
"type": "string"
},
"warning": {
"type": "string"
}
},
"required": [
"captured",
"serverUtcNow"
],
"type": "object"
}
},
{
"description": "Close (or reopen) a report. A closed report refuses every expense filed to it until it is reopened, so closing asks the user to confirm first; a client that cannot answer the prompt passes confirm: true. Reopening needs no confirmation.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"closed": {
"description": "Default true.",
"type": "boolean"
},
"confirm": {
"description": "Confirmation for closing, for clients that cannot answer the interactive prompt.",
"type": "boolean"
},
"name": {
"minLength": 1,
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"name": "close_report",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"closed": {
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"closed"
],
"type": "object"
}
},
{
"description": "Create a report (e.g. \"Q3 2026\") to group expenses. Fails if the name already exists.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"name": {
"description": "Report name.",
"minLength": 1,
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"name": "create_report",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
{
"description": "Totals for expenses matching the filters: overall count + sum, and per-category breakdown. The answer to \"how much did I spend on X?\".",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"category": {
"description": "Exact category name (case-insensitive).",
"type": "string"
},
"dateFrom": {
"description": "Inclusive start date YYYY-MM-DD.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"type": "string"
},
"dateTo": {
"description": "Inclusive end date YYYY-MM-DD.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"type": "string"
},
"merchant": {
"description": "Substring match on merchant (receipts) or stop addresses (mileage).",
"type": "string"
},
"report": {
"description": "Exact report name.",
"type": "string"
},
"type": {
"enum": [
"receipt",
"mileage"
],
"type": "string"
},
"unreported": {
"description": "Only expenses not in any report.",
"type": "boolean"
}
},
"type": "object"
},
"name": "expense_summary",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"byCategory": {
"items": {
"additionalProperties": false,
"properties": {
"category": {
"type": "string"
},
"count": {
"type": "number"
},
"total": {
"type": "string"
}
},
"required": [
"category",
"count",
"total"
],
"type": "object"
},
"type": "array"
},
"count": {
"type": "number"
},
"total": {
"description": "Exact USD total, 2 decimals.",
"type": "string"
}
},
"required": [
"count",
"total",
"byCategory"
],
"type": "object"
}
},
{
"description": "Render a report as a PDF (the same layout as the web export: grouped by category, mileage rows with type/rate/distance, and a 'Receipts & routes' appendix — receipt images plus a real route map per mileage trip with its date, mileage, and amount listed beside it) and return it base64-encoded. Decode and save as a .pdf file.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"name": {
"description": "Report name.",
"minLength": 1,
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"name": "export_report",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"base64": {
"type": "string"
},
"filename": {
"type": "string"
},
"mime": {
"type": "string"
},
"note": {
"type": "string"
},
"sizeBytes": {
"type": "number"
}
},
"required": [
"filename",
"mime",
"sizeBytes",
"base64",
"note"
],
"type": "object"
}
},
{
"description": "Account settings: the home address (start and end of every trip), the account's named locations, and the IRS mileage-rate master table (period + type).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"type": "object"
},
"name": "get_settings",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"homeAddress": {
"type": "string"
},
"locations": {
"items": {
"additionalProperties": false,
"properties": {
"address": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"address"
],
"type": "object"
},
"type": "array"
},
"mileageRates": {
"items": {
"additionalProperties": false,
"properties": {
"endDate": {
"type": "string"
},
"rate": {
"type": "string"
},
"startDate": {
"type": "string"
},
"type": {
"enum": [
"business",
"charity",
"medical",
"moving"
],
"type": "string"
}
},
"required": [
"type",
"startDate",
"endDate",
"rate"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"mileageRates",
"homeAddress",
"locations"
],
"type": "object"
}
},
{
"description": "The account's category names (alphabetical) — use these when categorizing expenses.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"type": "object"
},
"name": "list_categories",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"result": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"result"
],
"type": "object"
}
},
{
"description": "Query expenses with optional filters (date range, category, merchant, report, unreported-only, type). Returns newest first. Amounts are decimal strings.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"category": {
"description": "Exact category name (case-insensitive).",
"type": "string"
},
"dateFrom": {
"description": "Inclusive start date YYYY-MM-DD.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"type": "string"
},
"dateTo": {
"description": "Inclusive end date YYYY-MM-DD.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"type": "string"
},
"limit": {
"description": "Max rows (default 100).",
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"merchant": {
"description": "Substring match on merchant (receipts) or stop addresses (mileage).",
"type": "string"
},
"report": {
"description": "Exact report name.",
"type": "string"
},
"type": {
"enum": [
"receipt",
"mileage"
],
"type": "string"
},
"unreported": {
"description": "Only expenses not in any report.",
"type": "boolean"
}
},
"type": "object"
},
"name": "list_expenses",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"count": {
"description": "Matches before the limit.",
"type": "number"
},
"expenses": {
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "USD, decimal string.",
"type": [
"string",
"null"
]
},
"category": {
"type": [
"string",
"null"
]
},
"createdAt": {
"type": "string"
},
"currency": {
"type": "string"
},
"date": {
"type": [
"string",
"null"
]
},
"description": {
"type": "string"
},
"fxRate": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"merchant": {
"type": [
"string",
"null"
]
},
"originalAmount": {
"description": "Printed amount in `currency`, null for a USD receipt.",
"type": [
"string",
"null"
]
},
"report": {
"type": [
"string",
"null"
]
},
"type": {
"const": "receipt",
"type": "string"
},
"updatedAt": {
"type": "string"
}
},
"required": [
"id",
"type",
"date",
"report",
"category",
"description",
"amount",
"merchant",
"currency",
"originalAmount",
"fxRate",
"createdAt",
"updatedAt"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "USD, decimal string.",
"type": [
"string",
"null"
]
},
"category": {
"type": [
"string",
"null"
]
},
"createdAt": {
"type": "string"
},
"date": {
"type": [
"string",
"null"
]
},
"description": {
"type": "string"
},
"distanceMiles": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"mileageType": {
"enum": [
"business",
"charity",
"medical",
"moving"
],
"type": "string"
},
"report": {
"type": [
"string",
"null"
]
},
"stops": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"const": "mileage",
"type": "string"
},
"updatedAt": {
"type": "string"
}
},
"required": [
"id",
"type",
"date",
"report",
"category",
"description",
"amount",
"mileageType",
"distanceMiles",
"stops",
"createdAt",
"updatedAt"
],
"type": "object"
}
]
},
"type": "array"
},
"returned": {
"description": "Rows in `expenses`.",
"type": "number"
}
},
"required": [
"count",
"returned",
"expenses"
],
"type": "object"
}
},
{
"description": "Merchant names previously used, most recent first.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"type": "object"
},
"name": "list_merchants",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"result": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"result"
],
"type": "object"
}
},
{
"description": "All reports with their expense counts and exact totals.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"type": "object"
},
"name": "list_reports",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"result": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"items": {
"additionalProperties": false,
"properties": {
"closed": {
"type": "boolean"
},
"count": {
"type": "number"
},
"name": {
"type": "string"
},
"total": {
"type": "string"
}
},
"required": [
"name",
"closed",
"count",
"total"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"result"
],
"type": "object"
}
},
{
"description": "Log a driving trip: geocode the stops, compute the route distance and the amount at the IRS rate for the trip's date and type, and create the mileage expense. The trip runs one way, from the first stop to the last; pass roundTrip true when the drive returns to its first stop.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"category": {
"description": "Category name.",
"type": "string"
},
"date": {
"description": "Trip date YYYY-MM-DD. Omitted dates the trip today in UTC, per the server instructions.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"type": "string"
},
"description": {
"description": "Description or memo.",
"type": "string"
},
"locations": {
"description": "Ordered trip stops: start, intermediate stops, end. Each is an address string or a pre-geocoded { address, lat, lng }.",
"items": {
"anyOf": [
{
"description": "Address to geocode.",
"maxLength": 300,
"type": "string"
},
{
"properties": {
"address": {
"maxLength": 300,
"type": "string"
},
"lat": {
"description": "Pre-known latitude — skips geocoding.",
"type": "number"
},
"lng": {
"description": "Pre-known longitude — skips geocoding.",
"type": "number"
}
},
"required": [
"address"
],
"type": "object"
}
]
},
"maxItems": 12,
"minItems": 2,
"type": "array"
},
"report": {
"description": "Report name to file under.",
"type": "string"
},
"roundTrip": {
"description": "One way by default: the trip starts at the first stop and ends at the last. Pass true when the drive returns to the first stop (a closed loop), which roughly doubles the distance for a there-and-back pair.",
"type": "boolean"
},
"type": {
"description": "IRS trip type — picks the rate for the trip's date (defaults to business).",
"enum": [
"business",
"charity",
"medical",
"moving"
],
"type": "string"
}
},
"required": [
"locations"
],
"type": "object"
},
"name": "log_mileage",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"amount": {
"type": "string"
},
"approximate": {
"description": "Distance is straight-line, not routed.",
"type": "boolean"
},
"distanceMiles": {
"type": "string"
},
"expenseId": {
"type": "string"
},
"logged": {
"type": "boolean"
},
"note": {
"type": "string"
},
"rate": {
"description": "IRS rate used, null if none.",
"type": [
"string",
"null"
]
},
"roundTrip": {
"type": "boolean"
},
"stops": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"enum": [
"business",
"charity",
"medical",
"moving"
],
"type": "string"
}
},
"required": [
"logged",
"expenseId",
"stops",
"distanceMiles",
"amount",
"type",
"rate",
"approximate",
"roundTrip"
],
"type": "object"
}
},
{
"description": "Match a bank statement against logged expenses. Pass the statement as CSV or QFX/OFX text (CSV: header row optional, date/description/amount columns, signed amounts or Debit/Credit split; QFX/OFX: FITID honored). Returns matched pairs (high confidence), statement lines needing review (amount+date match but merchant differs, or ambiguous), statement lines with no matching receipt, and logged receipts with no statement line. Refund/credit lines and already-reconciled receipts are never auto-matched.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"statementCsv": {
"maxLength": 2000000,
"minLength": 1,
"type": "string"
}
},
"required": [
"statementCsv"
],
"type": "object"
},
"name": "reconcile",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"matched": {
"type": "number"
},
"matchedPairs": {
"items": {
"additionalProperties": false,
"properties": {
"confidence": {
"const": "high",
"type": "string"
},
"date": {
"type": "string"
},
"description": {
"type": "string"
},
"expenseAmount": {
"type": "string"
},
"expenseId": {
"type": "string"
},
"line": {
"type": "number"
},
"merchant": {
"type": "string"
},
"statementAmount": {
"type": "string"
}
},
"required": [
"line",
"date",
"description",
"statementAmount",
"expenseId",
"merchant",
"expenseAmount",
"confidence"
],
"type": "object"
},
"type": "array"
},
"needsReview": {
"items": {
"additionalProperties": false,
"properties": {
"candidates": {
"items": {
"additionalProperties": false,
"properties": {
"expenseAmount": {
"type": "string"
},
"expenseId": {
"type": "string"
},
"merchant": {
"type": "string"
}
},
"required": [
"expenseId",
"merchant",
"expenseAmount"
],
"type": "object"
},
"type": "array"
},
"date": {
"type": "string"
},
"description": {
"type": "string"
},
"line": {
"type": "number"
},
"reasons": {
"items": {
"type": "string"
},
"type": "array"
},
"statementAmount": {
"type": "string"
}
},
"required": [
"line",
"date",
"description",
"statementAmount",
"reasons",
"candidates"
],
"type": "object"
},
"type": "array"
},
"note": {
"type": "string"
},
"skippedLines": {
"items": {
"additionalProperties": false,
"properties": {
"line": {
"type": "number"
},
"raw": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"line",
"raw",
"reason"
],
"type": "object"
},
"type": "array"
},
"statementLines": {
"type": "number"
},
"unmatchedExpenses": {
"items": {
"additionalProperties": false,
"properties": {
"amount": {
"type": "string"
},
"date": {
"type": "string"
},
"id": {
"type": "string"
},
"merchant": {
"type": "string"
}
},
"required": [
"id",
"date",
"merchant",
"amount"
],
"type": "object"
},
"type": "array"
},
"unmatchedLines": {
"items": {
"additionalProperties": false,
"properties": {
"amount": {
"type": "string"
},
"date": {
"type": "string"
},
"description": {
"type": "string"
},
"line": {
"type": "number"
}
},
"required": [
"line",
"date",
"description",
"amount"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"statementLines",
"matched",
"matchedPairs",
"needsReview",
"unmatchedLines",
"unmatchedExpenses",
"skippedLines",
"note"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:1be9723fd68f91d158674dbb64e3b57d59c41646e4b8dcb633f9073fe27c705f | sha256sum