---
title: "Add a line item to a claim"
method: PATCH
path: "/api/v1/claims/{claimId}/line-items"
tags: ["Claims"]
---

# Add a line item to a claim

`PATCH /api/v1/claims/{claimId}/line-items`

## Path parameters

- `claimId` integer, required

## Request body

- LineItemRequestBody — line item data
  - `title` string — The title of the line item
  - `category` string — The category of the line item
  - `date` string, date — The date of the line item

## Response `201`

Line item added to claim successfully

- AddLineItemResponse
  - `id` integer

## Other responses

- `400` — Invalid request body
- `403` — Forbidden

## Changes

- **2026-05-18** `a0c2063407bb` — 1 breaking, 3 info
  - removed the success response with the status `204`
  - added the non-success response with the status `400`
  - removed the non-success response with the status `404`
  - added the success response with the status `201`
- **2026-05-14** `def1cfa2791d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ministryofjustice/apis/openapi-definition-3/changes/api/v1/claims/:claimId/line-items/patch.md)

---

[API](https://skmtc.dev/ministryofjustice/apis/openapi-definition-3.md) · [All operations](https://skmtc.dev/ministryofjustice/apis/openapi-definition-3/llms.txt) · [OpenAPI document](https://skmtc.dev/ministryofjustice/apis/openapi-definition-3/revisions/b5fcd3dd0dc2?raw)
