Mapping: the basics
Recommended: a custom text field such as QuickBooks Id on the object you will map, to store the QuickBooks ID.
Map your first entity#
- Open the QB Bridge app and the QB Bridge Entities tab. Pick the entity in the list on the left.
- Click the Mapping card (Create mapping). The <Entity> Intelligent Mapping window opens, for example Customer Intelligent Mapping.
- In 1. Primary Salesforce Object, choose the object that stands for this entity, for example Account.
- In 2. Header Field Mapping, fill the row marked Required. What it is depends on the entity (see below).
- Optional: click + Add Header Mapping Row for more fields, such as phone or website. QuickBooks accepts a website only as a full address that starts with
https://orhttp://. - In QBO ID Storage (section 3; section 4 for Invoice and Bill, which have line items first), pick your QuickBooks Id field as the Main Entity ID Field.
- Click Save Intelligent Mapping. You see "Intelligent Mapping saved successfully".
The required field for each entity:
DisplayName, usually from Account Name. It must be unique in QuickBooks.
DisplayName, usually from Account Name, or a formula that combines fields. It must be unique in QuickBooks.
CustomerRef: the customer the invoice is for. Map a field that holds the customer's name or its QuickBooks ID, and sync that customer first. An invoice also needs at least one line item; see References and line items.
VendorRef: the vendor the bill is from. Map a field that holds the vendor's name or its QuickBooks ID, and sync that vendor first. A bill also needs at least one line item; see References and line items.

Customer Intelligent Mapping: 3 the Salesforce object, 4 the Required row, 5 + Add Header Mapping Row, 6 QBO ID Storage, where you pick your QuickBooks Id field (left empty in this org), 7 Save Intelligent Mapping. The numbers match the steps above.
Go deeper#
Four kinds of value: field, parent field, fixed value, formula
| Kind | How to enter it | Example |
|---|---|---|
| Field | Pick it from the list | Account Name |
| Parent field | Click the › arrow next to a lookup under Parent Fields, then pick a field of the related record | Account.Name |
| Fixed value | Type the text; the list offers "Wrap in double quotes to use as a static value". Pick it | "USD" |
| Formula | Click Advanced Editor at the top of the list | "SF-" & Name |
The list only offers Salesforce fields whose type fits the QuickBooks field: dates for dates, numbers for numbers. Text fields accept anything. Formulas have their own page: Formulas and LOOKUP.
In the QuickBooks field list, a star marks a required field and (max N) the most characters QuickBooks accepts, for example DisplayName * (max 500).

The list under a Salesforce Field box: Advanced Editor (formulas) at the top, Parent Fields (the arrow opens the fields of a related record), then the object's own fields with their type.
Empty values
- An empty optional field is left out of the request.
- An empty field QuickBooks requires stops that record before anything is sent: "QuickBooks requires "DisplayName", but its mapped value (Name) is empty. Fill it in Salesforce or change the mapping."
- When a text field (a name, an email, a phone number, an address line) is emptied in Salesforce, the next update empties it in QuickBooks too. Emptying a date, number or reference field does not clear it in QuickBooks.
Values that are too long
Each QuickBooks text field has a maximum length (shown as (max N) in the field list). A longer value is never cut. The record stops before anything is sent, with a message such as ""CompanyName" is 120 characters (Name), but QuickBooks accepts at most 100. Shorten it in Salesforce or change the mapping." It is not retried: shorten the value and save the record again.
Some limits: DisplayName 500, CompanyName 100, email 100, phone 30, website 1000, address line 500, invoice and bill number (DocNumber) 21, line Description 4000. All limits are in Entity reference.
How a record is linked to its QuickBooks record
- The link is the QB record (QB Customer, QB Invoice…): its SF Master Record Id holds your record's Id. QB Bridge writes it on the first successful send, and updates that QuickBooks record from then on. A record without one gets a new QuickBooks record.
- The QBO ID Storage field on your record is a copy of the QuickBooks ID, for people, reports and formulas. QB Bridge fills it after each send. It never creates or moves a link.
- If the field holds a value, it must match the linked QuickBooks record. If it does not, nothing is sent and the record fails with a message that says what to do. A blank field is fine.
- So a copied record, or a QuickBooks ID typed into the field, never takes over another record's QuickBooks record. For a copy, clear the field and sync again to create its own.
- To link a record to a QuickBooks record that already exists, a QB Administrator sets SF Master Record Id on its QB record (Go live, sandboxes and upgrades).
Set QBO ID Storage anyway: it is the easiest way for people to see that a record is in QuickBooks, and which one.
One object for two entities
The same object can feed more than one entity, for example Account as both Customer and Vendor. When someone clicks Sync to QuickBooks on such a record, they are asked which entity to sync it as.
Changing the Salesforce object later
Choosing a different object clears every optional row, the line items and the ID storage field, because the old object's fields no longer apply. The Sync to QuickBooks action and the Flows belong to the old object, so move them to the new one too.
Where a mapping is stored, and why every entity looks the same
Each entity has one QBO Mapping record. The window saves your rows on it as JSON, with who saved it and when (shown as Last modified on the card). Nothing reads it until a record is sent.
The entity itself, with its fields, which ones are required and its line types, is not data in your org. It ships with the package as one configuration file per entity, and the same engine reads all of them. That is why the mapping window, the rules and the inbound settings look the same for every entity.
Something's off?#
| You see | Do this |
|---|---|
| Save Intelligent Mapping is greyed out | You need the QB Administrator group. |
| "This mapping conflicts with "Update Salesforce" fields in the inbound settings. Change those first: …" | A field you mapped is already filled from QuickBooks by the inbound settings. Pick another field, or clear it under Also update Salesforce field first (Inbound: changes from QuickBooks). |
| "… is N characters (…), but QuickBooks accepts at most M…" | The value is longer than QuickBooks allows. Shorten it in Salesforce, or map a shorter field or formula. |
| "Please resolve the validation errors before saving." | A box is red. Check every section, including folded line-item panels. |
| The field you need is not in the list | Its type does not fit the QuickBooks field. Use a formula, for example with TEXT(...). |
| "QuickBooks requires "…", but its mapped value … is empty." | Fill the field on that record, or give the mapping a fallback with a formula. |
Where to next#
- Outbound: the Sync to QuickBooks action: send your first record
- Mapping: references and line items: for invoices, bills and fields that point to other records