> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Transaction Rules Overview

> Transaction Rules allow users to automatically recategorize or rename all similar transactions according to their preferences.

When recategorizing or renaming a transaction, the user will be asked whether they want the new data to apply to the selected transaction or to all future transactions. If they choose to apply it to all future transactions, it will create a transaction rule which will automatically apply the changes going forward.

## Transaction Rule Fields

| Field               | Data Type | Description                                                                                                                                                                                          |
| :------------------ | :-------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `category_guid`     | String    | A unique identifier for the `category`. Defined by MX.                                                                                                                                               |
| `created_at`        | String    | The date and time the `transaction_rule` was created, represented in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format *with* a timestamp, e.g. `2015-04-13T12:01:23-06:00`. |
| `description`       | String    | The matched transaction's `description` will be updated to the string provided here.                                                                                                                 |
| `guid`              | String    | A unique identifier for the `transaction_rule`. Defined by MX.                                                                                                                                       |
| `match_description` | String    | A string used to find a `transaction` to which the rule will be applied. Transaction matching is based on a comparison of `match_description` to a transaction's cleansed `description`.             |
| `updated_at`        | String    | The date and time the `transaction_rule` was last updated, represented in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format *with* a timestamp, e.g. `2015-04-13T12:01:23Z`. |
| `user_guid`         | String    | A unique identifier for the `user` to which the `transaction_rule` belongs. Defined by MX.                                                                                                           |
