create_mileage
Add mileage entries to track travel distances for business, private, or commute purposes, including addresses, notes, and links to customers or projects for invoicing.
Instructions
Create a new mileage entry
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The mileage date (YYYY-MM-DD format, default: UTC today) | |
| 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 (default: true) | |
| 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 |