tags: [billing]
Custom Codes
Billing items can be further categorized using codes as defined in an Org's Billing Setup code tables. Each billing item type has two code fields that correspond to item type.
| fieldSelector | name | type | Item Type |
|---|---|---|---|
| TimeCode | {Custom Name} | string | Time Entry |
| TimeCode2 | {Custom Name} | string | Time Entry |
| ExpensesCode | {Custom Name} | string | Expense |
| ExpensesCode2 | {Custom Name} | string | Expense |
| FlatFeeCode | {Custom Name} | string | Flat Fee |
| FlatFeeCode2 | {Custom Name} | string | Flat Fee |
| ~~~~ | |||
For example, an Org may have a expense code defined in their table like L420 |
To apply L420 to an expense item in this scenario, add an additional field to your request to define ExpensesCode:
...
{
"fieldSelector": "ExpensesCode",
"fieldName": "Trial Expenses",
"value": "L420"
}
]
}Related pages
WelcomeService Account UsersAuthenticationRate Limiting for PATsRequestsField SelectionPaginationLegacy vs. Custom ContactsBilling BasicsSyncing Billing ItemsWhy Use Partner IDs?Referencing Partner IDs In UrlsEligible Entities and ScopesWebhooksWebhook SubscriptionWebhook SecurityWebhook PayloadsBulk Data Workflow