---
title: "Update Billing Code Status"
method: PATCH
path: "/compliance/v2/companies/{companyId}/clientOnboarding/billingCode"
tags: ["Client Onboarding"]
---

# Update Billing Code Status

`PATCH /compliance/v2/companies/{companyId}/clientOnboarding/billingCode`

> 🚧 Partner Restricted
> All background check API endpoints are restricted to background check providers that have signed a Paylocity technology partnership agreement. [Please reach out to our team](https://www.paylocity.com/contact/partner-form/) if you would like to discuss partnership opportunities.

**Summary Description**

This is used to update an already registered billing code’s status by companyId and specific billing code for a given client

**Use Cases**

- Partner wants to update the status of a specific billing code for a client to either make active or inactive*

V1 endpoint was deprecated to allow for special characters

## Path parameters

- `companyId` string, required

## Query parameters

- `billingCode` string, required

## Headers

- `testMode` boolean
- `Authorization` string, required

## Request body

- UpdateBillingCodeRequest — Update billing code request payload.
  - `isActive` boolean — A Boolean value indicating if the package is active. Optional. **Allowable Values:** true, false

## Response `204`

Returns confirmation that billing code has been updated

## Other responses

- `400` — Bad Request Error - Returns the details of the error
- `401` — Unauthorized
- `404` — Not Found - Billing code has not been found
- `415` — Unsupported Media Type - Returns the details of the error

---

[API](https://skmtc.net/paylocity/apis/assessments-api.md) · [All operations](https://skmtc.net/paylocity/apis/assessments-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paylocity/assessments-api/revisions/dd22ab229153/schema)
