Veryfi · Schema
Veryfi Document
A processed financial document (receipt or invoice) with AI-extracted structured data from the Veryfi OCR API
Artificial IntelligenceDocument ProcessingFinanceInvoicesOCRReceiptsTax Forms
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | Unique document ID assigned by Veryfi |
| external_id | stringnull | Customer-provided external identifier for the document |
| document_type | string | Detected document type |
| vendor | object | Vendor or merchant information extracted from the document |
| date | string | Document date (receipt date, invoice date, etc.) |
| due_date | stringnull | Payment due date for invoices |
| invoice_number | stringnull | Invoice or receipt number |
| total | numbernull | Total document amount |
| subtotal | numbernull | Subtotal before taxes and gratuity |
| tax | numbernull | Total tax amount |
| tip | numbernull | Tip or gratuity amount |
| currency_code | string | ISO 4217 currency code (e.g., USD, EUR, GBP) |
| line_items | array | Extracted line items from the document |
| tags | array | User-defined tags for document organization |
| created | string | Timestamp when document was processed by Veryfi |
| updated | string | Timestamp of last update to the document record |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/veryfi/refs/heads/main/json-schema/veryfi-document-schema.json",
"title": "Veryfi Document",
"description": "A processed financial document (receipt or invoice) with AI-extracted structured data from the Veryfi OCR API",
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Unique document ID assigned by Veryfi"
},
"external_id": {
"type": ["string", "null"],
"description": "Customer-provided external identifier for the document"
},
"document_type": {
"type": "string",
"description": "Detected document type",
"enum": ["receipt", "invoice", "bill", "bank_statement", "check", "w2", "w9", "w8", "business_card", "contract", "other"]
},
"vendor": {
"type": "object",
"description": "Vendor or merchant information extracted from the document",
"properties": {
"name": { "type": "string", "description": "Vendor/merchant name" },
"address": { "type": "string", "description": "Full vendor address" },
"phone_number": { "type": "string", "description": "Vendor phone number" },
"email": { "type": ["string", "null"], "format": "email", "description": "Vendor email" }
}
},
"date": {
"type": "string",
"description": "Document date (receipt date, invoice date, etc.)"
},
"due_date": {
"type": ["string", "null"],
"description": "Payment due date for invoices"
},
"invoice_number": {
"type": ["string", "null"],
"description": "Invoice or receipt number"
},
"total": {
"type": ["number", "null"],
"format": "float",
"description": "Total document amount"
},
"subtotal": {
"type": ["number", "null"],
"format": "float",
"description": "Subtotal before taxes and gratuity"
},
"tax": {
"type": ["number", "null"],
"format": "float",
"description": "Total tax amount"
},
"tip": {
"type": ["number", "null"],
"format": "float",
"description": "Tip or gratuity amount"
},
"currency_code": {
"type": "string",
"description": "ISO 4217 currency code (e.g., USD, EUR, GBP)"
},
"line_items": {
"type": "array",
"description": "Extracted line items from the document",
"items": {
"type": "object",
"properties": {
"description": { "type": "string" },
"quantity": { "type": ["number", "null"] },
"price": { "type": ["number", "null"] },
"total": { "type": ["number", "null"] },
"sku": { "type": ["string", "null"] },
"tax": { "type": ["number", "null"] }
}
}
},
"tags": {
"type": "array",
"items": { "type": "string" },
"description": "User-defined tags for document organization"
},
"created": {
"type": "string",
"format": "date-time",
"description": "Timestamp when document was processed by Veryfi"
},
"updated": {
"type": "string",
"format": "date-time",
"description": "Timestamp of last update to the document record"
}
},
"required": ["id", "document_type"]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/veryfi-document"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API 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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.