Docs

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

Objects and Fields Mapped between Chargebee and QuickBooks

This page helps you understand the objects and field mapping between Chargebee and QuickBooks.

Customer

Note:

Source Entity - Chargebee Customer

Supported Actions - Create and Update

Unsupported Actions - Delete

The following table provides information on the customer object fields mapped between Chargebee and QuickBooks:

QuickBooks Online (QBO) Target FieldChargebee Source Field
Fax, Note and otherMapped based on the custom fields defined in the backend configuration.
Display NameBased on configuration
BillingAddressbillingAddress
CompanyNamecompany
currencycurrencyCode
PrimaryEmailAddremail
GivenNamefirstName
Notesid
FamilyNamelastName
PrimaryPhonephone
PrimaryTaxIdentifiervatNumber / billingAddress.country Based on the configuration. Note: If useCountryForVatNumber is enabled, then vat_number_prefix is given preference; otherwise, billingAddress of the country is applied.

QuickBooks Item Mapping

In QuickBooks, Item is the object name for plans/add-ons in Chargebee.

Note:

Source Entity - Chargebee Item/Plan/Add-on

Supported Actions - Create and Update

Unsupported Actions - Delete

The following table provides information on the line item level mapping done between Chargebee and QuickBooks:

QBO Target FieldChargebee Source FieldAdditional Information
Unit PriceComputed based on price and currencycodeUnit price is set based on the currency.
Nameplan.sku / plan.name addon.sku / addon.name itemPrice.sku / itemPrice.nameSKU is given preference over name.
SKUitemPrice.id / plan.sku / addon.sku 
Descriptiondescription 
IncomeAccountRefaccountcode 
Taxabletaxable 

QuickBooks Invoice

Note:

Source Entity - Invoice

Supported Actions - Create, Update, Void, Delete

Unsupported Actions - None

The voided invoices as Credit Notes are synced only if sync_voided_invoice_as_credit_note is enabled.

The following table provides information on the invoice mapping done between Chargebee and QuickBooks:

QBO Target FieldChargebee Source FieldAdditional Information
PoNumberpoNumber/customerIdMapped based on the backend configuration. Note: If AdditionalConfig is enabled, then we set customerId; otherwise, poNumber.
DocNumberidMapped based on the backend configuration.
DueDatedueDate 
TxnDatedate 
CurrencyRefcurrencyCode 
ExchangeRateexchangeRateNote: If base and invoice currencies do not match, then we apply the exchange rate.
ShipAddress or Physical Address/Billing AddressshippingAddress/billing addressMapping is available in the Address mapping section.
ApplyTaxAfterDiscounttrue **Note: If flag is set to true, subtract the discount first and then calculate the sales tax.** 
PrivateNoteidAtGateway/referenceNumberConfigured based on the backend configuration. Note: If the AdditionalConfig add_gw_txn_id_in_inv_memo is enabled, we append the idAtGateway. If there are multiple transactions, all of them are appended with the gatewayId or referenceNumber.
LineLineItemsRefer to the Item list section shown below for more details.
GlobalTaxCalculationpriceType 
TxnTaxDetailMapped based on the tax mapping and tax line item details. 
Custom Field  
Definition IDMapped based on the backend configuration.Note: If use_customer_id_as_po AdditionalConfig is enabled, set the value defined as part of custom_field_id_for_po.
NameMapped based on the backend configuration.Note: If use_customer_id_as_po AdditionalConfig is enabled, set the value defined as part of custom_field_name_for_po.
TypeSTRING_TYPE 
String ValuecustomerId 

QuickBooks Customer Address Mapping

Chargebee passes this information derived from invoice billing or shipping address while syncing invoices.

QBO Target FieldChargebee Source Field
Countrycountry
Email addressbillingAddress.email
Line1firstName, lastName, or company
Line2line1
Line3line2
Physical Address 
billEmailbillingAddress.email
citycity
countrySubDivisionCodestateCode
line4line3
line5email / phone
Postal Codezip

QuickBooks Credit Memo

Note:

Source Entity - Credit Note

Supported Actions - Create and Update

Unsupported Actions - None

The following table provides information on Credit Note mapping between Chargebee and QuickBooks:

QBO Target FieldChargebee Source Field
DocIdid
TxnDatedate
CurrencyRefcurrencyCode
ExchangeRateexchangeRate
ApplyTaxAfterDiscounttrue **Note: If flag is set to true, subtract the discount first and then calculate the sales tax.**
PrivateNoteidAtGateway/referenceNumber

QuickBooks Transaction

Based on the transaction type, we will map the fields to either payment or refund within QuickBooks.

Note:

Source Entity - Chargebee Transaction

Supported Actions - Create, Update, deletion of transactions is available based on additional config allow_transaction_delete

The following table provides information on the transaction mapping done between Chargebee and QuickBooks:

QBO Target FieldChargebee Source FieldAdditional Information
TxnDatesettled_at or txnDateIf delayed_settlement_payment_methods enabled, transaction will not be synced unless settled.
Private NotereferenceString 
PaymentRefNumCB internal ID 
DepositToAccountRefBased on Gateway mapping defined in the configuration 
totalAmtComputed based ontxnAmount and currencyNote: Value is adjusted if it is a zero decimal currency.
currencyRefcurrencyCode 
PaymentMethodRefcard/offline 

Was this article helpful?