Mapping Slash Categories to Your Chart of Accounts
Last updated November 18, 2026
Overview
Slash assigns card transactions a merchant category, such as Restaurants, based on the merchant's category code. A merchant category rule maps that category to a GL account in your connected accounting software, so new card transactions arrive in the In Review tab with the account already filled in.
This article explains where categories come from, how to map them, how category rules work alongside your other mapping rules, and what to do when a transaction isn't mapped. For every type of mapping rule, see How Accounting Mappings Work in Slash.
Before you start, you'll need:
- A connected accounting integration: Category rules use the chart of accounts Slash imports from your accounting software, such as QuickBooks Online, Xero, NetSuite, or Sage Intacct. Setup guides are listed at the end of this article.
- Permission to manage accounting: Owners, Admins, and Accountants can manage accounting settings. Team members with view-only accounting access can see settings but can't save changes.
- Your accounts set up in your accounting software: Slash pulls GL accounts from your accounting software, so you should create or reactivate an account there before you map to it.
How Slash categories work
- Categories come from the card network: Each card purchase carries a merchant category code (MCC) from the card network. Slash groups MCCs into plain-English categories and gives a card transaction the category that matches its code.
- They apply to card activity: Bank transfers, Bill Pay payments, and deposits don't have merchant categories. Code them with Recipient, Payer, or Customer rules instead.
- A category isn't a GL account: Your chart of accounts lives in your accounting software. A merchant category rule is what connects a Slash category to one of your accounts.
- AI can create category rules for you. With automated categorization turned on, Slash can create reusable rules from your past coding, often by merchant or merchant category. These rules show a sparkle labeled Generated by AI. See Configuring Automated Categorization.
Map a category to a GL account
From Mapping Settings
- Click Accounting in the left sidebar, then click Settings in the top-right corner.
- Open the Mapping Settings tab. The Mapping rules page lists each rule type.
- In the Merchant Category row, click the account field for your software, such as QuickBooks Account or NetSuite Account. Each field shows how many mappings are active.
- Select one or more categories on the left (such as "QuickBooks Class" in the screenshot above, then choose the GL account on the right. Each row maps one or more categories to one account.
- Click Save.
- In the Apply Mapping Changes window that pops up after you make your selections, choose Save and apply to recode matching transactions that are still in review, or Save without applying to use the rule only for new transactions.
To remove a rule, click the trash icon next to it.
From a transaction in review
- Open Accounting and go to the In Review tab.
- Hover over the account field on a card transaction and click the icon next to it: a plus icon if no rule filled the field, or a link icon if a rule did.
- Choose the GL account. In the list of conditions, turn on Merchant category and turn off the others. Slash creates a separate rule for each condition you leave on.
- Leave Apply to current transactions checked to update matching transactions that are still in review.
- Click Create mapping, or Update mapping if you're changing an existing rule.
How category rules work with your other mapping rules
A merchant category rule is one of several rule types. When more than one rule fills the same field, Slash uses the highest-priority match. A Merchant rule beats a Merchant Category rule, and a category rule beats Card, Card Group, Cardholder Department, Cardholder Location, and Virtual Account rules. How Accounting Mappings Work in Slash lists the full order.
For example, map Restaurants to Employee Meals. If you want Starbucks coded to Coffee Expense instead, add a Merchant rule for Starbucks; it wins over the category rule.
Category rules and cardholder department or location rules usually do different jobs. A category rule is based on what was bought and typically fills the GL account. A cardholder department or location rule is based on who made the purchase and typically fills a class, department, or location. Each rule fills only the field it's set up for, so both can apply to the same transaction.
To give card spend a fallback account, add a lower-priority rule, such as a Card Group rule that maps a team's cards to a general expense account. Category and merchant rules still win when they match.
Notes by accounting integration
- QuickBooks Online, Xero, Sage Intacct, Business Central, Rillet, Campfire, and DualEntry: Category rules work the same way. The fields listed next to Merchant Category depend on what your accounting software supports.
- NetSuite: Category rules apply across every subsidiary the entity posts to. They're separate from NetSuite's per-subsidiary account mappings in the General Settings tab, which set the NetSuite bank or credit card account each Slash account posts to. If a GL account is limited to certain subsidiaries in NetSuite, an entry for another subsidiary shows "The selected account is not available for the selected subsidiary." See Syncing Your Accounting Data with NetSuite.
What happens to unmapped transactions
If no rule fills the account, the transaction still arrives in In Review with the account empty. You can't approve it until it has one; Slash shows "You must specify an account for this line item." Choose the account yourself, or create a rule from the transaction so future ones are coded automatically.
Pending card transactions don't get accounting entries or mappings until they settle or are refunded.
Changing a category mapping
- New transactions use the updated rule as soon as you save it.
- Transactions in review are recoded only if you choose Save and apply in Mapping Settings, or leave Apply to current transactions checked when you edit from a transaction. This replaces the existing account on matching transactions in review.
- Ready to Sync and Synced transactions aren't changed. To recode an entry in Ready to Sync, click Send back to review, then update it.
Troubleshooting
- A category rule didn't apply: Check that it's a settled card transaction and that a higher-priority rule, such as a Merchant rule, or a manual edit didn't set the account. Hover over the link icon next to the field to see which rule filled it, for example "Auto-mapped: Restaurants → Employee Meals."
- You can't find an account: Slash shows the accounts it imports from your accounting software. Create or reactivate the account there. Slash picks up changes from your accounting software automatically, though a new account may not appear right away.
- "Line item #1 cannot have a bank or credit card account type.": A card purchase can't be coded to a bank or credit card account. Map the category to an expense account instead.
- AI keeps choosing a different account: Correct the mapping or the transaction, since accurate past coding helps. To keep account coding to your own rules, open the Intelligence tab, choose Code selected fields only, and turn off the account field.
- An entry failed to sync: Open the Failed tab to see the reason, fix the entry, and sync it again. See Using the Slash Accounting Dashboard.
FAQ
Does changing a mapping recode transactions I already synced?
No. Only transactions still in review are recoded, and only when you choose Save and apply or leave Apply to current transactions checked.
Can one category map to different accounts for different teams?
A category rule maps a category to one account for everyone. To report the same spend by team, keep one account per category and use Cardholder Department or Cardholder Location rules to fill your class, department, or location. If a team needs a different account, leave that category unmapped and use a Card Group rule for the team, since category rules outrank card group rules.
Do category rules apply to bank transfers or deposits?
No. Merchant categories come from card transactions. For transfers and deposits, use Recipient, Payer, or Customer rules.
Can I split a transaction across several accounts?
Yes. Split it into line items during review, each with its own account. See How to Split Transactions in Slash Accounting.
Related articles
- How Accounting Mappings Work in Slash
- Configuring Automated Categorization
- Using the Slash Accounting Dashboard
- Integration setup: QuickBooks, Xero, NetSuite, Sage Intacct, Business Central, Rillet, Campfire, and DualEntry
- How to Switch or Disconnect an Accounting Integration
Need more help?
If your category mappings aren't working the way you expect, contact Slash Support through the in-app chat in your Slash dashboard or at support@slash.com.
Can’t find what you’re looking for?
Our support team is available 24/7 to help you with any questions.