# Overview

CRUD operations to manage **billing codes** and **company codes**.
A billing code is a customer-defined identifier (e.g., an account or company) that can be attached to shipments, invoices, or reports.


Version: 1.0.0
License: PB Software License Agreement

## Servers

```
https://api-dev.sendpro360.pitneycloud.com/costaccountmgmt
```

```
https://api-qa.sendpro360.pitneycloud.com/costaccountmgmt
```

Sandbox Server
```
https://api-sandbox.sendpro360.pitneybowes.com/costaccountmgmt
```

Production Server (uses live data)
```
https://api.sendpro360.pitneybowes.com/costaccountmgmt
```

## Security

### bearerAuth

Type: http
Scheme: bearer

## Download OpenAPI description

[Overview](https://docs.sendpro360.pitneycloud.com/_bundle/openapi/billingcodes.yaml)

## Account Code

APIs for managing account codes.

### Create Account Code

 - [POST /api/v1/accountCodes](https://docs.sendpro360.pitneycloud.com/openapi/billingcodes/account-code/createaccountcode.md): Creates a new Account Code record. The code should be unique per tenant.

### Get Account Codes

 - [GET /api/v1/accountCodes](https://docs.sendpro360.pitneycloud.com/openapi/billingcodes/account-code/getaccountcodes.md): Returns a list of Account Codes.  
Use sortBy to sort results by a supported field and direction.

### Get Account Code by ID

 - [GET /api/v1/accountCodes/{id}](https://docs.sendpro360.pitneycloud.com/openapi/billingcodes/account-code/getaccountcodebyid.md): Retrieves a single Account Code by its unique id.

### Update Account Code

 - [PUT /api/v1/accountCodes/{id}](https://docs.sendpro360.pitneycloud.com/openapi/billingcodes/account-code/updateaccountcode.md): Update the code and/or description for the specified id. Use this to revise an Account Code record.

### Delete Account Code

 - [DELETE /api/v1/accountCodes/{id}](https://docs.sendpro360.pitneycloud.com/openapi/billingcodes/account-code/deleteaccountcodebyid.md): Deletes the Account Code identified by id.

## Company Code

APIs for managing company codes.

### Create Company Code

 - [POST /api/v1/companyCodes](https://docs.sendpro360.pitneycloud.com/openapi/billingcodes/company-code/createcompanycode.md): Creates a new Company Code record. The code must be unique per tenant.

### Get Company Codes

 - [GET /api/v1/companyCodes](https://docs.sendpro360.pitneycloud.com/openapi/billingcodes/company-code/getcompanycodes.md): Returns a list of Company Codes.

### Get Company Code by ID

 - [GET /api/v1/companyCodes/{id}](https://docs.sendpro360.pitneycloud.com/openapi/billingcodes/company-code/getcompanycodebyid.md): Retrieves a single Company Code by its unique id.

### Update Company Code

 - [PUT /api/v1/companyCodes/{id}](https://docs.sendpro360.pitneycloud.com/openapi/billingcodes/company-code/updatecompanycode.md): Update the code and/or description for the specified id.

### Delete Company Code

 - [DELETE /api/v1/companyCodes/{id}](https://docs.sendpro360.pitneycloud.com/openapi/billingcodes/company-code/deletecompanycodebyid.md): Deletes the Company Code identified by id.

