Complete a job (record actuals)
job_completeClose out a job by recording actual hours, crew size, materials, fuel, and revenue; computes wages, costs, profit, margin, and verdict for P&L tracking.
Instructions
Close out a job with real numbers: hours, crew size, materials, fuel. Computes wages from the loaded crew rate, total cost, profit, margin, and a verdict — then feeds the per-job P&L. Follow with pricing_record_outcome to teach the quoting engine, and invoice_create to get paid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fuel | Yes | ||
| jobId | Yes | ||
| revenue | Yes | Job revenue before GST (usually the quote subtotal) | |
| crewSize | Yes | ||
| materials | Yes | ||
| hoursWorked | Yes |