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.
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 |