expenses_add
Record money a worker spent on a job, with the receipt photo. Parts received on a purchase order are already job cost; when the vendor matches a received purchase order on the job, possible_po_duplicates lists it so you can ask before keeping both. The worker types the amount and tax from the receipt; core never reads or fills in amounts. spent_on defaults to today in the shop's time zone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| job_id | Yes | ||
| vendor | No | ||
| category | No | ||
| spent_on | No | ||
| tax_minor | No | Tax part of amount_minor, typed by the worker. Default 0. | |
| amount_minor | Yes | Total paid in cents, typed by the worker from the receipt. | |
| receipt_media_id | No |