A field service job is profitable when the collected revenue covers the direct cost of the work and leaves enough margin for overhead. Start with the job record, not only the invoice total.
Use the same job record to collect the inputs for a useful estimate.
Start with a consistent formula. Gross job margin equals collected revenue minus direct job cost. Gross margin percentage equals gross job margin divided by collected revenue.
One job can be unusual. Review groups of similar jobs. A low result can come from underpricing, extra travel, rework, missing materials, or a delayed payment.
Start with direct labor, materials, parts, travel, subcontractors, refunds, discounts, and rework. Add overhead later for a fuller business view.
Use collected revenue for cash results. Use invoice value for a sales or billing view. Label the measure so the team does not mix them.