update_mileage
Modify existing mileage entries in TimeChimp by updating details like date, addresses, distance, billable status, and linked customers or projects.
Instructions
Update an existing mileage entry
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Mileage entry ID | |
| date | No | The mileage date (YYYY-MM-DD format) | |
| fromAddress | No | The mileage from address | |
| toAddress | No | The mileage to address | |
| notes | No | The mileage notes | |
| distance | Yes | The mileage distance in KM | |
| billable | No | Whether the mileage can be invoiced | |
| type | Yes | The mileage type | |
| customer | No | Customer to be linked with the mileage | |
| project | No | Project to be linked with the mileage | |
| vehicle | No | Vehicle to be linked with the mileage | |
| user | Yes | User to be linked with the mileage |