settle_booking
FINAL STEP: Finalize the settlement and generate the invoice. PREREQUISITE: You MUST have called 'preview_settlement' and received explicit confirmation (e.g. "yes") from the pilot FIRST. CRITICAL: DO NOT call this if the pilot has not seen and confirmed the costs in the preview.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"bookingId": "<bookingId>",
"finalHobbs": "<finalHobbs>"
},
"name": "settle_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Remarks or notes | |
| charges | No | Manual charges (landings etc) | |
| bookingId | Yes | The UUID of the booking | |
| finalHobbs | Yes | Final HOBBS reading (clock time) | |
| finalTacho | No | Final TACHO reading (flight time) | |
| startHobbs | No | Manual override for start HOBBS | |
| startTacho | No | Manual override for start TACHO | |
| isServiceFlight | No | If true, this is a service flight and no invoice is created |