← API reference
Query / jobs · costing

jobCostingSummary

Get a costing summary for a job including material and operation costs. Requires job:read.

Arguments

jobIdJobID!

Job to cost, as a JobID TypeID (e.g. "job_01K…"). An id that matches no job in the caller's tenant is not an error: the payload comes back with a null job, zero totals and a "job not found" entry in errors.

Returns JobCostingSummaryPayload!

Scalar fields at a glance

totalMaterialCostFloat!
totalOperationCostFloat!
totalCostFloat!
sellingPriceFloat
marginFloat
recordedCostsAvailableBoolean!
↗ View the complete JobCostingSummaryPayload type

Explore in a view

ERP CostingProduction Floor
View exact SDL
"""
Get a costing summary for a job including material and operation costs. Requires job:read.
"""
jobCostingSummary(
  """
  Job to cost, as a JobID TypeID (e.g. "job_01K…"). An id that matches no job in the caller's tenant is not an error: the payload comes back with a null job, zero totals and a "job not found" entry in errors.
  """
  jobId: JobID!
): JobCostingSummaryPayload! @topic(names: ["jobs", "costing"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.