Expense
/api/v1/finance/expensesAn expense claim.
listgetcreateupdateapproveSchema
| Field | Type | Notes |
|---|---|---|
| id* | uuid | Server-assigned ULID with type prefix (e.g. per_…). |
| tenant_id* | string | Tenant scope — auto-stamped from the caller's JWT. |
| app_id | string | App scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present. |
| created_at* | date-time | Server stamp. |
| updated_at* | date-time | Server stamp; updated on every patch. |
| created_by | uuid | Person id from the caller's JWT (sub). |
| updated_by | uuid | Person id from the last writer's JWT (sub). |
| source | string | Provenance tag — defaults to 'edm'. |
| source_type | enum | frontend | backend | server | system | apiWhere the write originated. Defaults to 'api'. |
| is_deleted | boolean | Soft-delete flag. Excluded from default list queries. |
| deleted_at | date-time | Stamped when soft-deleted; null otherwise. |
| deleted_by | uuid | Person id who soft-deleted; null otherwise. |
| schema_version | number | Document schema version. Bumped on incompatible writes. |
| submitted_by_id | uuid | UUID of the Person who submitted this expense. |
| approved_by_id | uuid | UUID of the Person who approved or rejected this expense. Null until actioned. |
| category | string | Expense category for grouping and policy enforcement. |
| description | string | Human-readable description of what was purchased and why. |
| amount | number | Expense amount in the stated currency. |
| currency | string | ISO 4217 three-character currency code. |
| expense_date | date-time | ISO 8601 date the expense was incurred. |
| status | string | Lifecycle status of the expense claim. |
| receipt_ref | string | MinIO path or external URL of the receipt image or PDF. |
| project_id | uuid | UUID of the Project this expense is charged against. |
| cost_center_id | uuid | UUID of the CostCenter this expense is charged against. |
| notes | string | Additional notes from the submitter or approver. |
| person_id | uuid | The person who incurred the expense. |
| date | date-time | ISO 8601 date of the expense. |
| merchant | string | Merchant or vendor the expense was paid to. |
| receipt_url | string | External URL of the receipt image or PDF. |
| approved_by | uuid | Person who approved this expense. |
| tags | json | Free-form tags for grouping and filtering. |
API
client.finance.expenses.*Loading manifest…