---
title: "Gets a list of job line items that belong to the specified job"
method: GET
path: "/v1/jobs/{jobId}/lineItems"
tags: ["Jobs"]
---

# Gets a list of job line items that belong to the specified job

`GET /v1/jobs/{jobId}/lineItems`

Retrieve a paged list of line items for a job (required scope jobs:read)

## Path parameters

- `jobId` integer, required

## Query parameters

- `sortBy` 'createdAt' — JobLineItemSortOptions enum<p>Possible values:</p><ul><li><b>createdAt</b>: JobLineItemSortOptions CreatedAt</li></ul>
- `direction` 'ascending' | 'descending' — Represents the direction in which sorting should be applied<p>Possible values:</p><ul><li><b>ascending</b>: Indicates ascending sorting order</li><li><b>descending</b>: Indicates descending sorting order</li></ul>
- `pageNumber` integer
- `pageSize` integer

## Headers

- `Customer-Id` integer, required

## Response `200`

OK

- PagedResponseReadJobLineItemModel — A paged collection of items
  - `items` ReadJobLineItemModel[] — The items returned for the requested page
    - `id` integer — The unique identifier associated with the job line item
    - `jobId` integer, nullable — The unique identifier of the job associated with the job line item
    - `jobGroupId` integer, nullable — The unique identifier of the job group associated with the job line item
    - `contactId` integer, nullable — The unique identifier of the contact associated with the job line item
    - `createdAt` string, date-time — The date and time when the job line item was created
    - `lineItemType` 'freeText' | 'predefined' | 'stockItem' | 'worksheet' | 'drivingPlanned' | 'drivingActual' | 'workPlanned' | 'workActual' | 'expense' | 'invoice' | 'stock' | 'ratingTable' — Represents the type of a purchase order line item<p>Possible values:</p><ul><li><b>freeText</b>: A free text line item</li><li><b>predefined</b>: A predefined invoicing item</li><li><b>stockItem</b>: A stock item line item</li><li><b>worksheet</b>: A worksheet line item</li><li><b>drivingPlanned</b>: A driving planned line item</li><li><b>drivingActual</b>: A driving actual line item</li><li><b>workPlanned</b>: A work planned line item</li><li><b>workActual</b>: A work actual line item</li><li><b>expense</b>: An expense line item</li><li><b>invoice</b>: An invoice line item</li><li><b>stock</b>: A stock line item</li><li><b>ratingTable</b>: A rating table line item</li></ul>
    - `quantity` number, double — The quantity of the line item
    - `description` string — Description of the job line item
    - `taxId` integer, nullable — VAT / Tax identifier associated with the line item
    - `taxPercentage` number, double — Tax percentage applied to the line item (GET only, never null). Defaults to 0 when no tax is applied
    - `unitCost` number, double, nullable — Unit cost of the item (cannot be negative)
    - `unitSellingPrice` number, double — Unit selling price of the item (cannot be negative)
    - `taxAmount` number, double, nullable — Tax amount for the line item (GET only)
    - `grossAmount` number, double, nullable — Gross amount (formerly NetPrice internal) of the line item (GET only)
    - `nominalCodeId` integer, nullable — Nominal code identifier
    - `departmentCodeId` integer, nullable — Department code identifier
  - `pageNumber` integer — The page number of the response where 1 is the first page
  - `pageSize` integer — The number of items requested for the current page
  - `pageItemCount` integer — The number of items returned in the current page

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/bigchange/apis/bigchange-dx.md) · [All operations](https://skmtc.net/bigchange/apis/bigchange-dx/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bigchange/bigchange-dx/revisions/916e669fc527/schema)
