---
schema_version: "1"
id: f0ff68e7a5a0eee100307fdd22508642f64c5ba6c59e18a3fb397ecc013e2cfd
title: Configure Context Definitions for Billing
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/billing_configure_context_definitions.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.billing_configure_context_definitions.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 48a6580ce6a82f4a26333c228be9486756ce2b589c0fa66dcea7367c1b7e4af6
description: Context definitions in Billing act as a central data-mapping layer that helps information flow seamlessly from orders or external transactions into billing schedules. They transform data from Salesforce objects into a standardized format that enable the Billing APIs to read the details required to create accurate billing records. By configuring these context definitions, businesses can automate the transfer of custom field data.
products:
  - Revenue Cloud
release: "264"
---
# Configure Context Definitions for Billing

Context definitions in Billing act as a central data-mapping layer that helps information flow seamlessly from orders or external transactions into billing schedules. They transform data from Salesforce objects into a standardized format that enable the Billing APIs to read the details required to create accurate billing records. By configuring these context definitions, businesses can automate the transfer of custom field data.

- **[Standard Context Definitions for Billing](https://help.salesforce.com/s/articleView?id=ind.billing_standard_context_definitions.htm&release=264.0.0&type=5)**  
    After you turn on Context Service, you can access the standard context definitions that are available with Billing.
- **[Select Context Definition and Mapping for Create Billing Schedules for Orders API](https://help.salesforce.com/s/articleView?id=ind.billing_set_up_context_definition.htm&release=264.0.0&type=5)**  
    The Create Billing Schedules for Orders API uses Context Service to hydrate the data of orders to create billing schedules. Before using this API, select a context definition and its mapping that you want the API to use.
- **[Capture Preferred Transaction Details by Using Custom Fields](https://help.salesforce.com/s/articleView?id=ind.billing_custom_field_support.htm&release=264.0.0&type=5)**  
    To meet specific business requirements, populate custom field data from orders or external transactions to corresponding billing schedule, billing schedule group, and billing schedule group relationship records. Use Context Service to define how data must be transferred by configuring a custom intracontext mapping. Then, use the Create Billing Schedules for Orders API or the Create Standalone Billing Schedules API to generate billing schedules and billing schedule groups. You can also use custom fields to override the standard fields in billing nodes by using the custom intracontext mapping.