Work management
Record an expense attributed to an active organization user
The API key remains the actor. user_id attributes the expense without impersonating the user. Requires enabled cost tracking and an active work order. Does not modify employee rates or purchase costs.
POST
Record an expense attributed to an active organization user
Authorizations
Organization API key with an sk_live_ or sk_test_ prefix
Path Parameters
Resource ID
Body
application/json
Response
Created expense with the current organization currency recorded
Available options:
labor, travel, other Fixed cents. Historical quantity times unit cost rounded to cents.
Required range:
x >= 0Currency recorded at creation; null for unrecorded historical currency.