Docs

Log in to read the version of docs relevant to your site, or use the dropdown versions

Field-Mapping

Important This page is for a legacy version of the integration that maps Chargebee customers to contacts in Salesforce. The version was deprecated on 6th Jan 2020. If you have not migrated to the latest version (with account-based mapping), please contact support.

Object-Level Mapping

Chargebee objects are mapped to some of the standard Salesforce objects. Moreover, some custom objects are also created in Salesforce and data from Chargebee is mapped to them too. The table below gives more detail of the mapping relationship between objects in Chargebee and Salesforce.

Chargebee Object/DataSalesforce Object (* indicates custom object)
CustomerAccount
Contact
Plan/AddonProduct
CB Pricing Tier*  
Price Book Entry
QuoteCB Quote*
CB Quote Line Item*
CB Quote Product*
CB Quote Coupon*
SubscriptionOpportunity
Opportunity Product
CB Opportunity Product*
CB Opportunity Coupon*
CB Subscription*
Subscription Addon*
Coupon Line Items*
InvoiceCB Invoice*
CB Invoice Line Item*
CouponCB Coupon*
Credit NoteCB Credit Note*
CB Credit Note Allocation*
Chargebee site domain nameCB Site*
CB Contact Site*
Chargebee Config*

Field-Level Mapping for Standard Objects

Here we look at how fields in Salesforce standard objects are mapped to data in Chargebee. The notation used to represent Chargebee data is as seen in the [link_api]Chargebee API[].

Salesforce FieldChargebee Fields
Account NameCompany name of the customer record in Chargebee.

Contact

The Contact object is mapped to fields in the Customer object in Chargebee.

Salesforce Field (* indicates custom field)Chargebee Field/Data
External Id*(This field is deprecated.)
EmailCustomer.email
NameCustomer.first_name, Customer.last_name
PhoneCustomer.phone
MailingStreetCustomer.billing_address.line1 + line2 + line3 (the field values are concatenated, separated by commas)
MailingCityCustomer.billing_address.city
MailingStateCustomer.billing_address. state
MailingCountryCustomer.billing_address. country
MailingPostalCodeCustomer.billing_address. zip
Preferred currency*Customer.preferred_currency_code
Payment Method Status*Customer.payment_method.status
Payment Method Type*Customer.payment_method.type
Net Term Days*Customer.net_term_days
Chargebee_Modified_Time*Customer.updated_at
Auto collection*Customer.auto_collection

Was this article helpful?