Expense Schema
Felder
Expense Schema
Schema for validating expense entities
userId
User ID who recorded this expense
date
Date of the expense (ISO date format)
category
Expense category
TRAVELMATERIALLICENSINGACCOMMODATIONMEALSSHIPPINGOTHERdescription
Expense description
amount
Gross amount in EUR as decimal string
currency
Currency code (ISO 4217)
taxRate
VAT rate as percentage (e.g., 19 for 19%)
netAmount
Net amount (computed) in EUR as decimal string
receiptAttachmentId
Receipt attachment UUID
ticketId
Associated ticket UUID
projectId
Associated project UUID
partyId
Associated party/customer UUID
contractId
Associated contract UUID
billable
Whether this expense is billable to the customer
billingStatus
Current billing status
OPENAPPROVEDINVOICEDperformanceRecordId
Leistungsnachweis this expense was billed on (per-project billing run, ADR 0416). Server-managed.
invoiceId
Invoice this expense was billed on (set when billingStatus flips to INVOICED). Server-managed.
approvalStatus
Approval status
DRAFTSUBMITTEDAPPROVEDREJECTEDapprovedById
User who approved this expense
approvedAt
Timestamp when approved (ISO datetime)
tags
Expense tags
Keine Felder passen zum Filter.
Standard-Endpoints
Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:
GET /api/v1/expenses— Liste, paginiert + filterbarGET /api/v1/expenses/<id>— Einzelne EntityPOST /api/v1/expenses— AnlegenPATCH /api/v1/expenses/<id>— Teil-UpdateDELETE /api/v1/expenses/<id>— Soft-DeleteGET /api/v1/expenses/<id>/timeline— Audit + Aktivitäten