{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gokeyio-com/json-schema/gokeyio-com-post-expenses-request-schema.json",
  "title": "PostExpensesRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/gokeyio-com-openapi-generated.yml#/components/schemas/PostExpensesRequest",
  "type": "object",
  "properties": {
    "propertyId": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "amount": {
      "type": "number"
    },
    "date": {
      "type": "string"
    },
    "year": {
      "type": "integer"
    },
    "description": {
      "type": "string"
    },
    "issuerName": {
      "type": "string"
    },
    "issuerId": {
      "type": "string"
    },
    "amortizationType": {
      "type": "string"
    },
    "amortizationDuration": {
      "type": "integer"
    },
    "amortizationRate": {
      "type": "number"
    },
    "repairCausedByTenant": {
      "type": "boolean"
    },
    "exclusiveToRental": {
      "type": "boolean"
    },
    "operationCategory": {
      "type": "string"
    },
    "budgetLineId": {
      "type": "string"
    },
    "invoiceNumber": {
      "type": "string"
    },
    "taxBase": {
      "type": "number"
    },
    "vatAmount": {
      "type": "number"
    },
    "untaxedAmount": {
      "type": "number"
    },
    "withholdingAmount": {
      "type": "number"
    },
    "lines": {
      "type": "array"
    },
    "dueDate": {
      "type": "string"
    },
    "recurrence": {
      "type": "object"
    },
    "file": {
      "type": "object"
    }
  },
  "required": [
    "propertyId",
    "type",
    "amount",
    "date"
  ]
}