Import QuickBooks Online Rules as Merchant Rules

Import QuickBooks Online Rules as Merchant Rules

If you code bank and card transactions with bank rules in QuickBooks Online, you can import those rules into Expensify as merchant rules instead of creating them again by hand. Export the rules file from QuickBooks Online, upload it to your workspace, review what will carry over, and Expensify creates a merchant rule for each rule it can convert. Matching expenses are then coded automatically when they’re created.


Who can import QuickBooks Online rules

To import QuickBooks Online rules, you must be:

  • A workspace admin.
  • On a workspace on the Control plan with Rules enabled.
  • On a workspace connected to QuickBooks Online.

If Rules isn’t enabled yet, learn how to enable Rules on a workspace. If your workspace isn’t connected yet, learn how to connect to QuickBooks Online.


How to export your bank rules from QuickBooks Online

  1. In QuickBooks Online, go to Accounting > Rules.
  2. Select the arrow next to New rule, then select Export rules.
  3. Save the file. You upload this file to Expensify without changing it.

How to import QuickBooks Online rules into Expensify

  1. In the navigation tabs (on the left on web, on the bottom on mobile), select Workspaces > [workspace name] > Rules.
  2. Select More, then select Import QuickBooks Online rules.
  3. Select Next.
  4. Drag and drop the rules file into the window, or select Choose file to upload it.
  5. Review how many rules will be imported and how the fields map, then select Import.
  6. Select Got it.

If the file isn’t a QuickBooks Online rules export, Expensify asks you to export your rules from QuickBooks Online and upload that file instead.


How QuickBooks Online rule fields map to merchant rules

Each QuickBooks Online rule becomes a merchant rule that matches on the expense merchant:

  • Contains and Is exactly conditions become merchant conditions with the Contains and Exactly matches match types.
  • A rule set to match any of its conditions becomes one merchant rule for each text condition, so the review page can show more rules to import than the file holds.

The settings each rule applies map to these expense fields:

  • Category sets the category.
  • Payee sets the vendor when your workspace matches vendors from QuickBooks Online. Learn more about QuickBooks Online vendor matching.
  • Memo sets the description. A memo that QuickBooks Online adds to the end of the bank memo replaces the description instead.
  • Class, Customer, and Location set the tag at the level of the Classes, Customers/Projects, and Locations tag lists. They’re only set when your workspace imports them from QuickBooks Online as tags. When more than one tag list could hold a setting, that setting is left off the rule.

A value is only set when it exists in your workspace. For example, a category that isn’t one of your workspace categories is left off the rule.


What QuickBooks Online rules can’t be imported

Expensify skips a rule when importing it would code expenses differently than QuickBooks Online does. A rule is skipped when it:

  • Has no Contains or Is exactly condition.
  • Has a Doesn’t contain condition.
  • Applies to money in.
  • Must match all of its conditions and includes an amount condition or more than one text condition.
  • Must match all of its conditions and its text starts or ends with a space. Merchant rules don’t keep those spaces, so the rule would match more merchants.
  • Splits the transaction or excludes it.
  • Has nothing left to set once unsupported settings are removed.

A rule is imported without some of its settings when it sets a product or service, sets a value your workspace doesn’t have, or is set to match any of its conditions and one of them is an amount or text that starts or ends with a space. QuickBooks Online settings for the transaction type and for adding transactions automatically are ignored, since expenses have no equivalent.


What happens after you import QuickBooks Online rules

  • A confirmation message shows how many rules were imported, skipped, imported without some settings, or already exist in your workspace.
  • Each new rule appears on the Expense defaults tab of the Rules page and is applied to matching expenses going forward.
  • A QuickBooks Online rule set up for one bank account applies to every expense in your workspace, since the export doesn’t include the account a rule belongs to.
  • A QuickBooks Online rule for money out also applies to refunds from the same merchant, since a merchant rule can’t tell a purchase from a refund.
  • When more than one imported rule matches an expense, the rule that was higher in your QuickBooks Online list wins for each field both rules set. A field set only by the lower rule is still applied.
  • Importing the same file again doesn’t create duplicate rules. Rules that are already in your workspace, whether imported earlier or created by hand, keep their place, and the new rules from the file are applied after them. If a new rule matches the same expenses as an existing rule that’s higher in your QuickBooks Online list, the new rule wins. To keep the QuickBooks Online order, delete the rules you imported before you import the file again.

FAQ

Why does the confirmation say a class, customer, or location wasn’t set?

Your workspace imports that dimension from QuickBooks Online as a report field, and merchant rules can only set expense fields. The rest of the rule is still imported. A rule that sets nothing else is skipped, and the confirmation says it only sets values that are report fields. To have rules set the value, select Workspaces > [workspace name] > Connections, select Configure next to QuickBooks Online, select Import, and set that dimension’s Displayed as option to Tags. Locations can only be displayed as tags when reimbursable expenses export as journal entries and non-reimbursable expenses export as credit card or debit card transactions. Then delete the rules you imported and import the file again.

Can I import QuickBooks Online rules on mobile?

Yes. You can import QuickBooks Online rules on both web and mobile from the Rules page. On a smaller screen, select Choose file to upload the rules file instead of dragging and dropping it.

Didn't find what you were looking for?

Concierge is here to answer all your questions.

Recommend a change to this page