Properties
| Name | Type | Description |
|---|---|---|
| category | object | Advisory category. |
| confirmed_at | stringnull | RFC 3339 UTC, set once confirmed. |
| created_at | string | RFC 3339 UTC. |
| currency | string | Lower-case ISO currency code; only `eur` can be confirmed. |
| extraction_status | string | `none`, `read` (prefilled by AI) or `failed` (the read failed; fill it by hand). |
| file_id | stringnull | Receipt in the file library. |
| id | string | Expense identifier. |
| inbound_invoice_id | stringnull | Received e-invoice this expense was recorded from. |
| incurred_on | stringnull | Day the expense was incurred, `YYYY-MM-DD`. |
| reference | stringnull | The supplier's invoice or ticket number. |
| status | object | `draft` or `confirmed`. |
| supplier_name | stringnull | Who was paid. |
| total_ht | integer | Sum of the lines' bases, in cents. |
| total_ttc | integernull | Total paid, in cents. |
| total_vat | integer | Sum of the lines' VAT, in cents. |
| updated_at | string | RFC 3339 UTC. |
| vat_deductible | integer | Sum of the lines' recoverable VAT, in cents. |
| vat_lines | array | VAT per rate. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/asap-cool/json-schema/asap-cool-expense-view-schema.json",
"title": "ExpenseView",
"description": "An expense.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/asap-cool-expenses-api-openapi.yml#/components/schemas/ExpenseView",
"type": "object",
"required": [
"id",
"status",
"category",
"currency",
"total_ht",
"total_vat",
"vat_deductible",
"vat_lines",
"extraction_status",
"created_at",
"updated_at"
],
"properties": {
"category": {
"$ref": "#/$defs/CategoryView",
"description": "Advisory category."
},
"confirmed_at": {
"type": [
"string",
"null"
],
"description": "RFC 3339 UTC, set once confirmed."
},
"created_at": {
"type": "string",
"description": "RFC 3339 UTC."
},
"currency": {
"type": "string",
"description": "Lower-case ISO currency code; only `eur` can be confirmed."
},
"extraction_status": {
"type": "string",
"description": "`none`, `read` (prefilled by AI) or `failed` (the read failed; fill it by hand)."
},
"file_id": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "Receipt in the file library."
},
"id": {
"type": "string",
"format": "uuid",
"description": "Expense identifier."
},
"inbound_invoice_id": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "Received e-invoice this expense was recorded from."
},
"incurred_on": {
"type": [
"string",
"null"
],
"description": "Day the expense was incurred, `YYYY-MM-DD`."
},
"reference": {
"type": [
"string",
"null"
],
"description": "The supplier's invoice or ticket number."
},
"status": {
"$ref": "#/$defs/StatusView",
"description": "`draft` or `confirmed`."
},
"supplier_name": {
"type": [
"string",
"null"
],
"description": "Who was paid."
},
"total_ht": {
"type": "integer",
"format": "int64",
"description": "Sum of the lines' bases, in cents."
},
"total_ttc": {
"type": [
"integer",
"null"
],
"format": "int64",
"description": "Total paid, in cents."
},
"total_vat": {
"type": "integer",
"format": "int64",
"description": "Sum of the lines' VAT, in cents."
},
"updated_at": {
"type": "string",
"description": "RFC 3339 UTC."
},
"vat_deductible": {
"type": "integer",
"format": "int64",
"description": "Sum of the lines' recoverable VAT, in cents."
},
"vat_lines": {
"type": "array",
"items": {
"$ref": "#/$defs/VatLineView"
},
"description": "VAT per rate."
}
},
"$defs": {
"CategoryView": {
"type": "string",
"description": "Advisory expense category.",
"enum": [
"software",
"hardware",
"telecom",
"travel",
"meals",
"fees",
"insurance",
"marketing",
"rent",
"training",
"other"
]
},
"StatusView": {
"type": "string",
"description": "Expense lifecycle.",
"enum": [
"draft",
"confirmed"
]
},
"VatLineView": {
"type": "object",
"description": "One VAT rate of an expense.",
"required": [
"rate",
"base_cents",
"vat_cents",
"deductible_cents"
],
"properties": {
"base_cents": {
"type": "integer",
"format": "int64",
"description": "Amount before VAT, in cents."
},
"deductible_cents": {
"type": "integer",
"format": "int64",
"description": "Recoverable part of the VAT, in cents."
},
"rate": {
"type": "string",
"description": "Rate in percent (`\"20\"`, `\"5.5\"`)."
},
"vat_cents": {
"type": "integer",
"format": "int64",
"description": "VAT amount, in cents."
}
}
}
}
}
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/asap-cool-expense-view"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. 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.