Accounting automation

OverviewAccessing AutomationMappingsCustom rulesAutomation suggestions

This article refers to a feature that might not be available in your current Brex plan. If you'd like to learn more about this feature and how to unlock additional capabilities in Brex's upgraded plans, please have your account or card admin reach out to Brex Support by clicking on Support in your dashboard.

Overview

New for Spring

The Automation page in your dashboard, helps you create and manage automation. You can create both mappings and custom rules so that your transaction information carries over to your ERP at the time of export.

Automating accounting categorization with mappings and custom rules can dramatically reduce the time you spend coding transactions each month.

Mappings help you pair Brex fields with ERP or HRIS fields to auto-populate important fields such as GL account, department, or class. Custom rules allow you to create logical relationships between multiple fields.


Accessing Automation

You can find the Automations page by signing into your dashboard and going to Accounting > Manage automation.


Mappings

Mappings can automate your accounting categorization and reduce your time spent manually coding. You can map your expense fields to the accounting fields in your ERP or even to custom fields you have in Brex. For example, if you map Brex categories to GL accounts, we’ll automatically map new expenses to a designated GL account, depending on their Brex category.

Accounting automations - 1

Category mappings match each of Brex’s default 48 categories to a GL account in your accounting software. Merchant mapping allows you to automatically set a GL account based on the transaction merchant and will override category mapping.

Create mappings

Account admins, card admins, and bookkeepers can set mappings by following these steps: Step 1: Go to Accounting > Manage automations > Mappings. Step 2: Click Create mapping. Step 3: From the dropdown on the left, choose the value that corresponds to the field on the expense (e.g., Brex location). From the dropdown on the right, select the value that will automatically be filled in based on that expense (e.g., Location).

Accounting automation - 2

Mapping lists all existing mappings. You can click on any of the line items to view or edit them.

Accounting automation - 3

Mappings will apply to all new transactions in your Prepare tab. If there's a conflict, any custom rules you've set up will take priority over these mappings.


Custom rules

All plans

You can enable custom rules in Company settings > Plan > Custom accounting rules. Enabling custom rules overrides your ability to change expense fields, such as Department and Location.

Custom rules automatically categorize transactions that share similar expense fields, reducing the need for manual entries when closing the books. These rules let you establish logical relationships between fields that go beyond basic mappings.

Here’s an example of a custom rule that filters transactions with two expense fields in order to auto-code a GL account field: Brex category: Advertising & marketing + Merchant: Meta > GL account: 6010 Advertising Custom rules can be created by combining any Brex transaction fields, including these:

  • Amount (greater than, lesser than, or equal to)
  • Approved (yes or no)
  • Card (specific card that made the purchase)
  • Category
  • Cost center
  • Department
  • Location
  • Memo (has a memo or not)
  • Merchant
  • Receipt (has a receipt or not)
  • Spend limit
  • User
  • Any custom fields you’ve created (including ERP fields such as location, subsidiary, and vendor)

Create custom rules

Account admins, card admins, and bookkeepers can create custom rules by following these steps: Step 1: Go to Accounting > Manage automations > Custom rules. Step 2: Click Create custom rule. Step 3: Fill out the two sections of the custom rule detail pane.

  • For transactions that contain: Use these fields to filter the transactions you want to apply the rule to.
  • Categorize these fields: Set the accounting field values you want to auto-code.
HC - Accounting automation01

Step 4: Click Create and apply rule. Custom rules will apply to all transactions that you haven’t yet marked as prepared or exported.

Automation preview

When you’re creating a new rule, you can use rule automation prior to implementing it to see which transactions the rule would affect. To do this, click Preview in the creation process on either Automation suggestions or on the Manage Automation page.

View or edit custom rules

Step 1: Go to Accounting > Manage automations > Custom rules. Step 2: Click the specific rule to open the details window. Step 3: In the details window, make your desired changes to the custom rule. The date on the top right of the details pane tells you when the rule was last updated. Step 4: Click Save and apply rule.

Delete custom rules

Step 1: Go to Accounting > Manage automations > Custom rules.

Step 2: Click the specific rule to open the details pane.

Step 3: Click the three dots to the bottom left and click Delete rule.

Solving rule conflicts

Rules are assigned different priority levels, which decide which rule is applied. Conflicts can occur when two rules of the same priority contradict each other.

In the event of a conflict between two custom rules, we’ll ask you to choose which rule to apply. To find transactions with conflicting rules, click Conflicting rules in the Accounting flag filter. To solve the conflict on a case-by-case basis, click on the transaction and choose the rule that takes precedence in the Accounting section. The transaction will be considered Manually recategorized.

Accounting automation - 4

Automation suggestions

Brex Assistant will suggest mappings or custom rules for you to consider creating based on semantic similarity (e.g. names are similar) or your past transaction categorization. For example, if you frequently assign certain GL accounts to transactions that have the same Brex category, we may suggest a mapping that automates codification. You can find suggestions in multiple places in the accounting dashboard.

In-table suggestions

We’ll suggest rules as you categorize your transactions.

HC - ERP Fields 07
HC - Accounting Automation

To create a new rule, click Create rule when choosing a value for a given field. In the details window, review the mapping and either accept or reject it. You can also revise the suggested mapping before accepting it.

Automation home

You can find all suggestions in Accounting > Manage automations.

Accounting automation - 5

The details window will show you all the suggestions available for you to review. You can review the custom rule and either accept or reject it or revise it before accepting it. Note: Not all users have Automation home available. Please contact Brex Support for assistance. You can also click View all to see all of Brex Assistants' suggestions, where you can filter and bulk accept multiple suggestions at the same time.

HC - Accounting Automation
Was this article helpful?