Updates a draft expense claim: send only the fields to change. line_items replaces every line: send each line you keep with its id. Each line names its expense account by account_id (its chart_of_account_id keeps it) or account_code, and its tax rule by tax_rule_id or tax_code, under the same rules as expenseClaim.store (422 expense_claim_line_account_unavailable or expense_claim_line_tax_rule_unavailable, naming the line; nothing is saved). A line sent with its id keeps the account and tax rule it already has while the account is active and the company still allows it, and so does an update without line_items. Idempotency-Key and If-Match with the latest ETag are required. Requires the expense-claims:write OAuth scope.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
