Expense Schema
Velden
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
Geen velden komen overeen met het filter.
Standaard-endpoints
Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:
GET /api/v1/expenses— Lijst, gepagineerd + filterbaarGET /api/v1/expenses/<id>— Enkele entityPOST /api/v1/expenses— AanmakenPATCH /api/v1/expenses/<id>— Gedeeltelijke updateDELETE /api/v1/expenses/<id>— Soft-deleteGET /api/v1/expenses/<id>/timeline— Audit + activiteiten