---
title: "Create Billing Codes"
method: POST
path: "/compliance/v1/companies/{companyId}/clientOnboarding/billing"
tags: ["Client Onboarding"]
---

# Create Billing Codes

`POST /compliance/v1/companies/{companyId}/clientOnboarding/billing`

> 🚧 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 endpoint inserts the billing code and its status by companyId for a given client

**Use Cases**

- Partner wants to send over one or multiple billing codes for a client, can be when onboarding a new client, or can be when client adds new billing codes to their company
- Partner wants to make bulk changes to billing codes to make them either active or inactive for a client

## Path parameters

- `companyId` string, required

## Headers

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

## Request body

- AddBillingCodeRequest — Billing code request payload.
  - `billingCodes` BillingCodeDto[], nullable — Array of billing codes.
    - `billingCode` string, nullable — Billing code associated with the screening order. This billing code is created on the partner side for a specific company. **Allowable Values:** 150 char max
    - `isActive` boolean — (Optional, if not provided – TRUE) A Boolean value indicating if the package is active. **Allowable Values:** true, false
    - `businessUnitId` string, nullable — (Optional) Business Unit ID to associate this billing code with a package businessUnit. **Allowable Values:** 150 char max

## Response `201`

Created entity.

## Other responses

- `400` — Bad Request Error - Returns the details of the error
- `401` — Unauthorized
- `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)
