---
title: "Create a job group line item"
method: POST
path: "/v1/jobGroups/{jobGroupId}/lineItems"
tags: ["JobGroups"]
---

# Create a job group line item

`POST /v1/jobGroups/{jobGroupId}/lineItems`

## Request

- Base URL: `https://api.bigchange.com`
- URL: `https://api.bigchange.com/v1/jobGroups/{jobGroupId}/lineItems`
- Auth: HTTP bearer

Create a new job group line item (required scope jobs:write)

## Path parameters

- `jobGroupId` integer, required

## Headers

- `Customer-Id` integer, required

## Request body

- CreateJobGroupLineItemModel: Create job group line item request model
  - `contactId` integer, nullable: Contact id that the costs are charged to
  - `quantity` number, double, required: Quantity of the line item
  - `description` string: Description of the line item
  - `taxId` integer, nullable: Tax identifier (must exist and not be deleted for customer). Nullable
  - `unitCost` number, double, nullable: Unit cost (nullable, non-negative)
  - `unitSellingPrice` number, double: Unit selling price (non-negative)
  - `nominalCodeId` integer, nullable: Id of the associated nominal code
  - `departmentCodeId` integer, nullable: Id of the associated department code

## Response `201`

Created

- PostResponseInt64: Represents a response for a POST request, containing the ID of the newly created record
  - `id` integer: Identifier of the newly created record

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Content
- `500`: Internal Server Error

---

[API](https://skmtc.dev/bigchange/apis/bigchange-dx.md) - [All operations](https://skmtc.dev/bigchange/apis/bigchange-dx/llms.txt) - [OpenAPI document](https://skmtc.dev/bigchange/apis/bigchange-dx/revisions/b262bfdb1dd0?raw)
