Objects and Fields mapped between Chargebee and NetSuite
This page helps you understand the objects and field mapping that is done between Chargebee and NetSuite.
Customer
Source Entity - Chargebee Customer
Supported Actions - Create, Update
Unsupported Actions - Delete, Void
The following table provides information on the customer object fields mapped between Chargebee and NetSuite:
NetSuite Target Field | Chargebee Source Field | Additional information |
---|---|---|
|
| A prefix is added if this field is configured. For example, If the prefix is CB-Customer and the customer id in Chargebee is 100 then the prefix will be synced as CB-Customer-100. If you have checked the Allow Override option in NetSuite, then Chargebee's identifiers will be set as the primary ID for Invoices, Credit Memos, Customers, and so on. If Allow Override is not set in NetSuite, then the value we’ve set in Chargebee will be ignored. |
|
| A prefix is added if this field is configured. |
|
|
|
|
| This field is applicable if |
|
| This field is applicable if |
|
| If |
|
| NetSuite Reference (The reference value from NetSuite is mapped to Chargebee here.) |
| Mapped as per the configuration, otherwise left blank | NetSuite Reference (The reference value from NetSuite is mapped to Chargebee here.) |
| Mapped as per the configuration | NetSuite Reference (The reference value from NetSuite is mapped to Chargebee here.) |
|
|
|
|
|
|
|
| Refer to the NetSuite CustomerAddressbook section below for more details. |
|
| Mapped as per the backend configuration made, else not applicable. |
|
|
|
NetSuite CustomerAddressbook
Customer Address Book in NetSuite is mapped as Billing address in Chargebee. Chargebee creates or appends customer billing address to NetSuite’s customer address book.
Source Entity - Chargebee Customer billing address
The following table provides information on the CustomerAddressbook object fields mapped between Chargebee and NetSuite:
NetSuite Target Field | Chargebee Source Field | Comments |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Mapped based on the configurations made in the backend. Contact Chargebee Support for more help. |
|
|
|
|
|
|
|
|
|
NetSuite Item Mapping
In NetSuite, Item is the object name for Plans/Addons in Chargebee.
Source entity - Chargebee Plans, Addons, and Item Prices
Supported actions - Create, Update
Unsupported actions - Delete, Void
The following table provides information on the NetSuite Item mapping done between Chargebee and NetSuite:
NetSuite Target Field | Chargebee Source Field | Additional information |
---|---|---|
|
| If A prefix is added if this field is configured. If you have checked the Allow Override option in NetSuite, then Chargebee's identifiers will be set as the primary ID for Invoices, Credit Memos, Customers, and so on. If Allow Override is not set in NetSuite, then the value we’ve set in Chargebee will be ignored. |
|
| A prefix is added if this field is configured. If you have checked the Allow Override option in NetSuite, then Chargebee's identifiers will be set as the primary ID for Invoices, Credit Memos, Customers, and so on. If Allow Override is not set in NetSuite, then the value we’ve set in Chargebee will be ignored. |
|
|
|
| as per configuration |
|
|
| We will find matching account either by |
|
| Mapped based on Item level |
|
| Mapped based on Item level |
|
| Mapped based on Item level |
| Mapped as per the backend configuration made, otherwise left blank. | NetSuite Reference (The reference value from NetSuite is mapped to Chargebee here.) |
|
| Mapped based on Item level |
|
| Mapped based on Item level |
NetSuite Invoice
The following table provides information on the Invoice mapping done between Chargebee and NetSuite:
NetSuite Target Field | Chargebee Source Field | Comment |
---|---|---|
entityId |
| NetSuite Reference (The reference value from NetSuite is mapped to Chargebee here.) |
tranId |
| A prefix is added if this field is configured. If you have checked the Allow Override option in NetSuite, then Chargebee's identifiers will be set as the primary ID for Invoices, Credit Memos, Customers, and so on. If Allow Override is not set in NetSuite, then the value we’ve set in Chargebee will be ignored. |
externalId |
| A prefix is added if this field is configured. |
tranDate |
| Mapped as invoice date. |
terms | Mapped as per the configuration made, otherwise left blank | Mapped based on the configurations made in the backend. |
|
| If the invoice currency is different from customer currency, then we will add the currency to the NetSuite customer and then set the currency reference. |
|
| If |
|
|
|
|
|
|
|
| Mapping is done as shown in the above NetSuite Address Mapping section. |
|
| Mapping is done as shown in the above NetSuite Address Mapping section. |
|
| Mapped as per the backend configuration made. |
|
| Mapped as per the backend configuration made. |
|
| Mapped as per the backend configuration made. |
|
| If |
|
| See the Item List section section shown below for more details. |
| Mapped as per the configuration made, otherwise mapping is not applicable |
|
NetSuite CreditMemo
Credit Memo in NetSuite is the object name for Credit Notes in Chargebee.
The following table provides information on the CreditMemo mapping done between Chargebee and NetSuite:
NetSuite Target Field | Chargebee Source Field | Additional information |
---|---|---|
|
| NetSuite Reference (The reference value from NetSuite is mapped to Chargebee here.) |
|
| A prefix is added if this field is configured. If you have checked the Allow Override option in NetSuite, then Chargebee's identifiers will be set as the primary ID for Invoices, Credit Memos, Customers, and so on. If Allow Override is not set in NetSuite, then the value we’ve set in Chargebee will be ignored. |
|
| A prefix is added if this field is configured. |
|
|
|
|
| NetSuite Reference (The reference value from NetSuite is mapped to Chargebee here.) |
|
| If |
|
| Not applicable for Credit Note. |
|
|
|
|
| Not applicable for Credit Note. Mapping is done as shown in the NetSuite Address Mapping section above. |
|
| Not applicable for Credit Note. Mapping is done as shown in the NetSuite Address Mapping section above. |
|
| Mapped as per the backend configuration. |
|
| Mapped as per the backend configuration. |
|
| Mapped as per the backend configuration. |
|
|
|
|
| Mapping is shown in the Item List section below. |
|
| NetSuite Reference (The reference value from NetSuite is mapped to Chargebee here.) |
|
|
|
|
| We will create or append to the |
| Mapped as per configuration, else mapping is not applicable. |
|
NetSuite Line Item
Line item-level tracking categories are automatically fed from the items created in NetSuite.
The following table provides information on the Line Item level mapping done between Chargebee and NetSuite:
NetSuite Target Field | Chargebee Source Field | Comment |
---|---|---|
|
| If We can also map to the existing item (For ad-hoc, setup charges, bad_debts, and discounts) in NetSuite. |
Description |
|
|
Amount |
| For tax inclusive cases, the amount is adjusted. |
Quantity |
|
|
IsTaxable |
| Mapped based on tax details. |
| Mapped based on the tax mapping and tax line item details. |
|
| Used for setting Accounts Receivable Management (ARM) start and end date.
| If Accounts Receivable Management (ARM) module is enabled, NetSuite supports start and end dates at line item level through custom fields of type date. |
NetSuite Customer Payment and Customer Refund
Based on the transaction type, we will map the fields to either payment or refund to NetSuite.
The following table provides information on the payment/refund field mapping done between Chargebee and NetSuite:
NetSuite Target Field | Chargebee Source Field | Comment |
---|---|---|
customer |
| NetSuite Reference (The reference value from NetSuite is mapped to Chargebee here.) |
tranId |
| A prefix is added if this field is configured. If you have checked the Allow Override option in NetSuite, then Chargebee's identifiers will be set as the primary ID for Invoices, Credit Memos, Customers, and so on. If Allow Override is not set in NetSuite, then the value we’ve set in Chargebee will be ignored. |
externalId |
| A prefix is added if this field is configured. |
currency |
| NetSuite Reference (The reference value from NetSuite is mapped to Chargebee here.) |
autoApply |
|
|
payment |
| Converted from cents to amount. |
checkNum |
|
|
memo |
| if |
account | Mapped based on configurations, | Gateway + currency account mapping |
|
|
|
|
| If |
|
| Mapped based on the payment method configuration. |
|
|
|
class |
| Mapped based on the backend configuration. |
location |
| Mapped based on the backend configuration. |
department |
| Mapped based on the backend configuration. |
|
| Mapped based on the backend configuration, else left blank. |
|
| payment uses refund uses |