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 Field Chargebee Source Field
Fax, Note and otherMapped based on the custom fields defined in the backend configuration.
Display NameBased on configuration
BillingAddrssbillingAddress
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 else billingAddress of the country is applied.

QuickBooks Item Mapping

In QuickBooks, Item is the object name for Plans/Addons in Chargebee.

Note

Source Entity - Chargebee Item/ Plan/ Addon

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 Field Chargebee 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.name
sku 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 Field Chargebee Source FieldAdditional information
PoNumberpoNumber/customerIdMapped based on the backend configuration. Note: If AdditionalConfig is enabled then we set customerId else 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 Id Mapped 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 Field Chargebee 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 Field Chargebee 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 Field Chargebee Source FieldAdditional information
TxnDatesettled_at or txn DateIf 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?