Rules Engine — Rule Direction: Money In, Money Out, or Both

Rules Engine — Rule Direction: Money In, Money Out, or Both

Notes
Overview
Every rule in the LedgerSync Rules Engine has a direction setting that controls which transactions the rule can match: Money In, Money Out, or Money In or Out. Choosing the right direction prevents a rule from mis-categorizing refunds, reversals, or deposits that happen to share a description with expenses.

The Three Direction Options

DirectionMatchesTypical Use
Money OutDebits / outgoing transactions onlyVendor expenses — e.g., "Staples" → Office Supplies
Money InCredits / incoming transactions onlyRevenue and deposits — e.g., "Stripe Payout" → Sales Income
Money In or OutBoth directions with a single rulePayees with activity in both directions — e.g., a vendor you both pay and receive refunds from, transfers, or payroll providers with debits and credits

Why "Money In or Out" Exists

Previously, a rule could only be Money In or Money Out — so a firm that wanted "Amazon" categorized in both directions (purchases and refunds) had to create two nearly identical rules. The "Money in or out" option lets one rule cover both directions.

InfoQuickBooks stays correct: Even when a rule is set to "Money in or out," LedgerSync still applies the correct QuickBooks transaction type (Expense vs. Deposit) based on each transaction’s actual direction. The rule direction only controls matching — not how the transaction posts.

How to Set the Direction

  1. Create or edit a rule (from the Global Rules page or directly from a transaction)
  2. Find the direction setting (Money In / Money Out / Money In or Out)
  3. Select the appropriate option and save

Best Practices

  • Default to Money Out for expense vendor rules — it keeps refunds out of expense categories unless you want them there
  • Use Money In or Out for payees where both directions should land in the same category (refund netting against the expense account)
  • Review the rule after the first few matches to confirm the direction behaves as expected

Need Help?

Contact LedgerSync Support at support@ledgersync.com

Related Articles:
    • Related Articles

    • Rules Engine — Assigning QuickBooks Classes with Rules

      Overview The Rules Engine can assign a QuickBooks Class in addition to the Category when categorizing transactions. This supports clients — such as government entities, nonprofits, and multi-location businesses — that track expenses at a deeper level ...
    • Rules Engine — AI Rule Generation (Single Transaction & Bulk)

      Overview LedgerSync's AI can automatically create Global Rules and Global Vendors for you — either for a single unmatched transaction or for all unmatched transactions in bulk. This dramatically reduces the time it takes to build out a firm's rule ...
    • Working with Global Rules and Global Categories

      Prerequisites This guide assumes you have already connected at least a few of your LedgerSync clients to QuickBooks Online and completed the initial integration setup. If you have not done this yet, please see: How to Connect Your LedgerSync Client ...
    • Benefits of the LedgerSync Rules Engine

      Overview The LedgerSync Rules Engine is a firm-wide transaction categorization system that sits on top of QuickBooks Online. Instead of creating rules one client at a time inside QBO, you build rules once in LedgerSync and they apply automatically ...
    • Rules Engine — Audit Log

      Overview The Rules Engine Audit Log is a complete, searchable record of every action taken inside the LedgerSync Rules Engine — by any user in your firm. It tracks rule changes, category updates, and individual transaction actions so that nothing is ...