Skip to content
Pages · Examples

When things go wrong

Applies to CustomerVendorInvoiceBill

Failures we caused on purpose#

What we didReason shownFix
Closed a deal for an account never sent to QuickBooks"Customer "Copperline Labs" has no QuickBooks ID yet. Sync that Customer to QuickBooks first, or map a field that holds its QuickBooks ID."We changed Copperline Labs to Type Customer - Direct (it synced), then clicked Retry all on the Health tab: the invoice was created
Created a customer whose name QuickBooks already has"QBO Sync Failed (400): Duplicate Name Exists Error - The name supplied already exists. : null"Make the name unique (a formula that adds the account number), or link the account to the existing customer: a QB Administrator sets SF Master Record Id on that customer's QB Customer (how)
Sold a product QuickBooks does not haveMISSING_REF_DATA::ItemRef::Cable TrayCreate the product in QuickBooks, fetch reference data, then retry. (Retry all left this one failed again, with the same reason, until the product existed.)
Closed a deal with no products"Child line items are not available yet, so the Invoice was not created in QuickBooks…" (Nothing to send, not a failure)Add the products; the next save creates the invoice
Saved a website QuickBooks rejects"QBO Sync Failed (400): Malformed Web Site Address format…"Use a full, real address such as https://www.bluebirddental.com and save again

Failed records on the Health tab during these tests, each with its reason in the Reason column.

Video: a deal whose customer was never sent fails; send the customer, then Retry selected on the Health tab.

Deleting synced records#

We chose a delete action for two entities in their Trigger Rules (When the Salesforce record is deleted), then deleted records:

Deleted in SalesforceDelete actionResult
Account Closing Down Co (customer 3300)Make inactive in QuickBooksCustomer made inactive; QuickBooks renamed it "Closing Down Co (deleted-2)" (QuickBooks adds the number when an older "(deleted)" name exists). The QB Customer stays in Salesforce with Is Deleted ticked.
Purchase order PO-0002, its bill 1192 unpaidDelete in QuickBooks (unless paid)Bill 1192 deleted in QuickBooks; the QB Bill marked Is Deleted
Purchase order PO-0000, its bill 1191 paid in QuickBooksDelete in QuickBooks (unless paid)Nothing changed in QuickBooks: "QuickBooks Bill 1191 has a payment applied, so it was left unchanged. Void or delete it in QuickBooks if that is really intended."

A morning check for finance#

  1. Open the QB Bridge Health tab. Failed (open) should be 0.
  2. If not, read each Reason under Failed records and fix it.
  3. Select the fixed rows and click Retry selected (or Retry all).

Where to next#