📄️ Update an admin expense
Updates an expense that isn't on a ticket. A paid expense can't be changed. Marking it paid here needs the Mark Paid expense permission, the same as from the expense list.
📄️ Get an admin expense
Gets an expense that isn't on a ticket, with its notes and receipts. A ticket expense is read through its ticket's expense routes.
📄️ Delete an admin expense
Deletes an expense that isn't on a ticket, with its receipts. A paid expense can't be deleted.
📄️ Mark several expenses paid
Marks up to 100 expenses paid now, by the caller, in one save. The caller needs the Mark Paid expense permission. Expenses that are missing, already paid or not reimbursable are skipped and returned with the reason; the rest are still marked.
📄️ Mark an expense paid
Marks an expense paid now, by the caller, who needs the Mark Paid expense permission. Only an unpaid, reimbursable expense can be marked paid, whatever state the ticket is in. A paid expense can no longer be edited or deleted, and can't be marked paid again.
📄️ List expenses across tickets
Lists every expense, on a ticket or not, filtered, sorted and paged, oldest expense date first by default. Each row says whether the caller can edit, delete or mark it paid.
📄️ Add an admin expense
Adds an expense that isn't on a ticket, such as mileage or a purchase made for the company. It is never billable. The amount of a mileage code is calculated from the readings, and marking it paid needs the Mark Paid expense permission.