📄️ Create an expense code
Creates a new expense code. MarkupRate is a fraction (0.105 for 10.5%). Admin-type codes are forced to non-billable with no product, and MileageRate is cleared when TrackMileage is off.
📄️ List expense codes
Returns expense codes ordered by code, including the assigned product's description. Defaults to Active codes; set ActiveOnly=false to include Inactive codes.
📄️ Bulk create expense codes
Creates one or more expense codes. Each item is validated independently and the response returns a per-item success or failure entry in payload order. MarkupRate is a fraction (0.105 for 10.5%). Admin-type codes are forced to non-billable with no product, and MileageRate is cleared when TrackMileage is off.
📄️ Update an expense code
Updates an existing expense code. MarkupRate is a fraction (0.105 for 10.5%). To change only the Active flag, use PUT /v1/expense-codes/{id}/active.
📄️ Get an expense code
Retrieves a single expense code by its identifier, including the assigned product's description.
📄️ Set the active state of an expense code
Updates only the Active flag on an expense code. Use this for activate/deactivate actions in the UI.