his article explains how to automate accounting fields for card expenses and reimbursement claims from the Airwallex website.
Both sit under Expenses: card expenses document purchases paid with an Airwallex card, while reimbursements cover business costs employees pay themselves and claim back.
Accounting automations can pre-fill fields for both, using mappings or advanced rules.
Before you start
You must have the View/Edit permission under All expenses. This permission is included in the Owner, Admin, Finance Admin, Finance Manager, and Bookkeeper roles. It can also be added as part of a custom role.
Configure your spend accounting connection or custom accounting data first. The available accounting fields and values depend on that setup
Configure employee Department or Location fields in user management before using them in a mapping or rule. See Admin Guide: Setting up employee fields. These choices are unavailable if the employee fields have not been configured.
Rules apply to card expenses and reimbursement claims created after the rule is created. Existing card expenses and reimbursements will not be changed. Automation setup is available on the website only, not the mobile app.
Choose an automation
| Option | When to use it |
| Mapping | Automate accounting values in bulk by matching Airwallex data to accounting fields. Examples:
|
| Advanced rule | Automate accounting values for specific, repeated scenarios based on conditional rules. Examples:
|
| Suggested mapping | Review a proposed starting point from your accounting connection. A suggestion has no effect until activated. |
These automations pre-fill accounting fields for card expenses and reimbursement claims. For Gmail and Outlook receipt forwarding, see AI receipt matching
Open accounting automations
In the left sidebar, select the dropdown icon next to the Spend item. The section expands to show a list of available Spend features.
In the expanded list, select the Accounting item. The accounting page opens.
In the page header, select the Automations tab. The list shows your automations and any suggestions.
Use the search field or Filters menu to find an existing automation. To create a new one, follow the mapping or advanced-rule instructions below.
Create a mapping
Mappings connect one Airwallex field with an accounting field. For example, you can map a card transaction's category to an expense category, or map employee departments to accounting departments.
At the top of the page, select the New automation option. The automation editor opens.
In Automation type, select the Mapping option. The field-mapping controls appear.
In the Name field, enter a name that identifies the purpose of the mapping.
In Select fields, select the source from the Airwallex field dropdown. Available fields include Choose Category for a card transaction category and available employee fields like Department or Location.
In the Accounting field dropdown, select the field you want to pre-fill. The Map fields section shows the values you can map.
In Map fields, select an accounting value for each source value you want to map. For example, map Airlines to your travel expense category.
To create the mapping, select the Create button. Check that the mapping appears in the list with Active status. Only active automations pre-fill accounting fields.
Category mappings apply to card transactions. Employee-field mappings can pre-fill card expenses and reimbursements. Review the mapped values before relying on them for accounting.
Create an advanced rule
Advanced rules combine conditions with one or more accounting actions. All conditions in a rule must be met for its actions to apply.
At the top of the page, select the New automation option. The automation editor opens.
In Automation type, select the Advanced rule option. The condition and action controls appear.
In the Name field, enter a name that identifies the card expenses or reimbursement claims the rule should cover.
-
In the Conditions section, select a source in the Select Airwallex field dropdown. Available conditions include:
Card
User
Merchant
Department: the user’s department in Airwallex or from HRIS
Location: the user’s location in Airwallex or from HRIS
Transaction category: the card transaction’s merchant category such as Airlines or Bars & Restaurants
Transaction currency
Entity
Expense type (card expense, out-of-pocket claim, mileage claim)
In the condition's operator dropdown, select the comparison, then select the values to match. For example, a Merchant condition shows an is operator and a merchant selector.
To add another condition, select the Add condition link once it becomes available. Complete the field, comparison and values for each condition.
In the Actions section, select the destination in the Select accounting field dropdown. Your setup may include Tax rate, Description, Expense category, and any other accounting fields.
In the value control next to as, select or enter the value to pre-fill for that field.
To pre-fill another field, select the Add action link once it becomes available and complete its controls.
Review all conditions and actions. To create the rule, select the Create button, then check that the rule appears in the list with Active status.
For reimbursement rules, use applicable user or employee fields. To restrict a rule by claim type, select the Expense type field, then choose Card expense, Out-of-pocket or Mileage as appropriate; you can select more than one.
To leave an unsaved rule, select Cancel, then select Exit without saving if a confirmation appears.
Review a suggested mapping
Airwallex can suggest automation mappings when an accounting provider is first connected and no rules exist. Review suggestions before activating them.
In the list, select the row of a mapping marked Suggestion. The Expense automation drawer opens.
In the drawer, review the source field, destination field and mapped values.
To change the suggestion, select the Edit button. The Edit automation editor opens.
In the editor, review the Name and Map fields controls. Update the accounting values you want to change.
To keep your changes, select the Save button. Review the mapping in the drawer again.
To use the suggestion, select the Activate button. Check that it shows Active in the automations list.
Use Cancel in the editor to leave without saving, or Close in the drawer to finish reviewing. The Dismiss action is for rejecting the suggestion; use it only after checking that you do not want that mapping.
How rule priority works
Rules can fill different fields on the same card expense or reimbursement claim. When they try to set different values for the same field, priority is determined in this order:
Advanced rules take priority over mappings, regardless of the mapping’s source field.
Between advanced rules, the highest-priority condition takes precedence: Card → User → Merchant → Department → Location → Transaction category → Transaction currency → Entity → Expense type.
Configured automations take priority over default AI pre-filling.
-
Name: if the above priorities all tie, the alphabetically earlier rule name wins.
For example, an advanced rule using Location and Entity takes priority over a Department mapping. Between advanced rules, one using User takes priority over one using Department and Location.
Check an automation on a new card expense or reimbursement claim
Open accounting automations and check that the mapping or rule shows Active. Note the condition values and expected accounting value.
In the left sidebar, expand the Spend menu item, then select the Expenses item.
Select the Card expenses or Reimbursements tab for the rule you are checking. For card expenses, select a card expense created after the automation was created that meets its conditions. For reimbursements, open the reimbursement report and select a claim created after the automation was created that meets its conditions.
In the selected card expense or reimbursement claim, check the accounting field against the expected value. For example, a new card expense in Airlines should show the travel category selected in your category mapping, provided no higher-priority rule overrides it.
If the value differs, check the source values, all conditions and competing automations before correcting the card expense or reimbursement claim. Review the remaining required information before submission.
Checking the field does not submit or approve the card expense or reimbursement report. New rules do not recode older card expenses or reimbursement claims.
Common issues
I cannot access Automations
Use the Airwallex website and check that you are in the intended organisation. Ask your owner or admin to check your role and permissions. For product or plan availability, contact Airwallex support through Kai in the bottom-right corner of the web app.
A field is missing from the mapping or rule editor
Check your accounting setup and imported or custom values. If the editor says No department fields available or No location fields available, configure the employee field in user management first. Field availability can differ between a mapping and an advanced rule.
An automation did not change an existing card expense or reimbursement claim
Automations apply to card expenses and reimbursement claims created after rule creation. Check when the record was created and correct older records manually. Also check that the automation is active rather than still marked Suggestion.
The wrong accounting value was pre-filled
Check all applicable rules for that field. An advanced rule can override a mapping, and a more specific condition can take priority over another rule. Verify the conditions and selected accounting value before changing the rule.
A rule works for card expenses, but not reimbursements
Card-specific conditions need a corresponding Airwallex card transaction. For reimbursement claims, use applicable user or employee-field conditions and check the Expense type condition. Its Out-of-pocket and Mileage options refer to reimbursement claim types; Card expense refers to the card route.
Default AI pre-filling differs from your finance policy
Review the value before submitting or approving the card expense or reimbursement report. Configure a mapping or advanced rule for repeatable coding requirements; configured automations take priority over default AI pre-filling. Default AI pre-filling cannot currently be disabled.
For unresolved issues, contact Airwallex support through Kai in the top -right corner of the web app, with the automation name, link to the card expense or reimbursement report, and the field that was filled incorrectly. See Spend Accounting Hub for the wider accounting workflow.