---
title: "[DEPRECATED] Updates Billing Code Status"
method: PATCH
path: "/compliance/v1/companies/{companyId}/clientOnboarding/billing/{billingCode}"
tags: ["Client Onboarding"]
deprecated: true
---

# \[DEPRECATED\] Updates Billing Code Status

`PATCH /compliance/v1/companies/{companyId}/clientOnboarding/billing/{billingCode}`

## Request

- Base URL: `dc1demogwext.paylocity.com` (relative, and the document’s source URL is not known)
- URL: `dc1demogwext.paylocity.com/compliance/v1/companies/{companyId}/clientOnboarding/billing/{billingCode}`
- Auth: API key in header `Authorization`

> **Deprecated.**

> ❗️ This endpoint is being deprecated in the Fall of 2025 
> All new development should be [using the newest version of this endpoint](https://developer.paylocity.com/integrations/reference/patch_compliance-v2-companies-companyid-clientonboarding-billingcode) 

 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

- This endpoint doesn't support billing codes containing special characters

## Path parameters

- `companyId` string, required
- `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
  - `businessUnitIds` string[], nullable: (Optional) Business Unit IDs to associate with this billing code. When provided, the associations are replaced to match this list (associations not present are removed, new ones are added). An empty list clears all associations (making the billing code global). When omitted (null) the associations are left unchanged. **Allowable Values:** each value 150 char max

## 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.dev/paylocity/apis/background-check-api.md) - [All operations](https://skmtc.dev/paylocity/apis/background-check-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paylocity/apis/background-check-api/revisions/8d585de5e05e?raw)
