{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/keito-ai/json-schema/keito-ai-get-api-v2-expenses-id-response-schema.json",
  "title": "GetApiV2ExpensesIdResponse",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/keito-ai-openapi-generated.yml#/components/schemas/GetApiV2ExpensesIdResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Expense identifier"
    },
    "project_id": {
      "type": "string",
      "description": "Associated project"
    },
    "expense_category_id": {
      "type": "string",
      "description": "Category"
    },
    "spent_date": {
      "type": "string",
      "description": "Date of expense"
    },
    "total_cost": {
      "type": "number",
      "description": "Amount for amount‑based category"
    },
    "units": {
      "type": "number",
      "description": "Quantity for per‑unit category"
    },
    "invoice_id": {
      "type": "string",
      "description": "Linked Keito invoice ID or null"
    }
  }
}