Create /expenses
Create an expense. Required: name, amount. Optional: category (code_name, defaults to tenant default), date, currency, tax, status, supplier, client, project, object, assignees, note, line items, related invoices/estimates, and custom fields. Returns record with the detail projection.
Turinys
Responsible person staff UUIDs. On update, replaces the full assignee list when sent.
Expense status code (1=default, 2=waiting approval, 3=approved, 4=cancelled, 5=incurred, 6=advance paid).
Atsakymas
Success
Fields enabled for this documentation instance (projection enabled: feature, option, subdomain, closures) plus account-level form field visibility. Role- and user-level field overrides are not applied here, so an API key whose staff user has such overrides may receive fewer fields. A disabled field is omitted from the response object entirely; a present key with a null value means the record simply has no value.
Daugiau rinkinyje Expenses
PATCHUpdate /expenses/{uuid}DELDelete /expenses/{uuid}Vis dar reikia pagalbos? Klausti komandos