Bank Transaction Category Classification
This dataset contains detailed synthetic bank transaction records, each labeled with spending categories such as groceries, travel, and utilities. It includes transaction metadata, merchant details, recurrence information, and account associations, making it ideal for developing and benchmarking personal finance management tools, automated expense categorization, and financial analytics solutions.
Sample rows
preview · 8 of 200 rows · all 18 columns| transaction_idstring | transaction_typestring | amountfloat | is_recurringboolean | location_statestring | account_idstring | transaction_datedate | transaction_datetimedatetime | currencystring | merchant_namestring | merchant_categorystring | transaction_descriptionstring | categorystring | subcategorystring | recurrence_frequencystring | location_citystring | location_countrystring | balance_after_transactionfloat |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TXN0000001 | debit | -54.23 | false | NY | ACCT1023 | 2024-06-11 | 2024-06-11T10:37:22 | USD | FreshMart | Supermarket | FreshMart grocery purchase - weekly supplies | groceries | supermarket | blank | New York | US | 1445.77 |
| TXN0000002 | debit | -9.99 | true | CA | ACCT2047 | 2024-06-09 | 2024-06-09T20:12:45 | USD | NetVision | Streaming Service | NetVision monthly streaming subscription | entertainment | video streaming | monthly | San Francisco | US | 2388.91 |
| TXN0000003 | credit | 3075 | true | NY | ACCT1023 | 2024-06-01 | 2024-06-01T08:01:05 | USD | MetroCorp Payroll | Payroll | Monthly salary credited by MetroCorp | income | salary | monthly | New York | US | 3490 |
| TXN0000004 | debit | -68.45 | false | IL | ACCT6578 | 2024-06-10 | 2024-06-10T13:25:41 | USD | DineUp Cafe | Restaurant | Dinner at DineUp Cafe | dining | restaurant | blank | Chicago | US | 2178.92 |
| TXN0000005 | debit | -1350 | true | CA | ACCT3174 | 2024-05-28 | 2024-05-28T19:14:09 | USD | Metro Apartments | Real Estate | Monthly rent for Metro Apartments | housing | rent | monthly | Los Angeles | US | 800 |
| TXN0000006 | debit | -27.5 | true | NY | ACCT1670 | 2024-06-12 | blank | USD | RideEZ | Public Transit | RideEZ monthly transit pass | transportation | public transit | monthly | Brooklyn | US | 1292.3 |
| TXN0000007 | debit | -123.1 | true | CA | ACCT2047 | 2024-06-03 | 2024-06-03T07:55:50 | USD | Greenergy | Utilities | Greenergy monthly electricity bill | utilities | electricity | monthly | San Francisco | US | 2265.81 |
| TXN0000008 | debit | -72.15 | false | TX | ACCT5544 | 2024-06-11 | 2024-06-11T15:00:37 | USD | BigStore Electronics | Electronics | BigStore headphones purchase | shopping | electronics | blank | Houston | US | 4967.59 |
| TXN0000009 | debit | -11.99 | true | CA | ACCT3174 | 2024-06-09 | blank | USD | Spotify | Music Streaming | Spotify monthly subscription | entertainment | music streaming | monthly | Los Angeles | US | 788.01 |
| TXN0000010 | transfer | 0 | false | blank | ACCT4071 | 2024-06-10 | 2024-06-10T18:41:29 | USD | Self Transfer | Funds Transfer | Internal account transfer | other | system | blank | Remote | US | 2500 |
| TXN0000011 | debit | -42.6 | false | WA | ACCT1670 | 2024-05-14 | 2024-05-14T12:05:17 | USD | WholeFoods Market | Supermarket | WholeFoods grocery shopping | groceries | supermarket | blank | Seattle | US | 1249.7 |
| TXN0000012 | debit | -89 | false | TX | ACCT5544 | 2024-06-08 | 2024-06-08T21:23:55 | USD | Spotlight Cinema | Cinema | Spotlight Cinema movie tickets | entertainment | movies | blank | Dallas | US | 4878.59 |
| TXN0000013 | credit | 1850 | true | TX | ACCT4071 | 2024-05-30 | 2024-05-30T09:50:44 | USD | BigTech Payroll | Payroll | Monthly salary from BigTech | income | salary | monthly | Austin | US | 4350 |
| TXN0000014 | debit | -23.15 | false | NY | ACCT1023 | 2024-06-04 | 2024-06-04T08:33:28 | USD | Cafe Luna | Cafe | Lunch at Cafe Luna | dining | cafe | blank | New York | US | 3466.85 |
| TXN0000015 | debit | -42 | false | CA | ACCT2047 | 2024-06-07 | 2024-06-07T11:47:02 | USD | HealthLife Pharmacy | Pharmacy | Prescription pickup at HealthLife | health | pharmacy | blank | San Francisco | US | 2223.81 |
| TXN0000016 | refund | 250 | false | IL | ACCT6578 | 2024-05-18 | blank | USD | Refund Center | Refund | Refund from BigStore for returned item | shopping | refund | blank | Chicago | US | 2428.92 |
| TXN0000017 | debit | -350 | true | BE | ACCT7812 | 2024-06-10 | 2024-06-10T17:20:11 | EUR | MediCarePlus | Health Insurance | MediCarePlus quarterly health insurance | health | insurance | quarterly | Berlin | DE | 2750 |
| TXN0000018 | debit | -45.9 | false | BY | ACCT9921 | 2024-06-11 | 2024-06-11T09:18:36 | EUR | CinemaLuxe | Cinema | CinemaLuxe movie ticket | entertainment | movies | blank | Munich | DE | 1704.1 |
| TXN0000019 | credit | 2800 | true | BY | ACCT9921 | 2024-05-31 | 2024-05-31T17:44:03 | EUR | EuroPay Payroll | Payroll | EuroPay monthly salary | income | salary | monthly | Munich | DE | 3549.1 |
| TXN0000020 | debit | -63.5 | false | BE | ACCT7812 | 2024-06-06 | blank | EUR | BigStore Electronics | Electronics | BigStore Bluetooth speakers | shopping | electronics | blank | Berlin | DE | 2686.5 |
What the 200 rows show
from the 200-row sampleCredit (transaction type) stands out: mean amount is 22,580, against -224.5 for the rest.
- 39%is_
recurring = true - -42.0median amount
- 3recurrence frequencies
- 7currencies
- 7location countries
- 11categories
Median -42.0, from -9,500 to 250,000.
- string 13
- float 2
- date 1
- datetime 1
- boolean 1
Columns
18 columns in four groups| column | type | description | example |
|---|---|---|---|
| Text 13 columns | |||
transaction_id | string | Unique identifier for each bank transactionunique | TXN0000001 |
account_id | string | Unique identifier for the bank account associated with the transaction | ACCT1023 |
currency | string | ISO 4217 currency code for the transaction (e.g., USD, EUR)7 currencies | USD |
merchant_name | string | Name of the merchant or payee involved in the transactionoptional | FreshMart |
merchant_category | string | Industry or business category of the merchant (e.g., Supermarket, Airline)optional | Supermarket |
transaction_description | string | Free-text description or memo for the transaction as provided by the bankoptional | Dinner at DineUp Cafe |
category | string | Labeled spending category for the transaction (e.g., groceries, travel, utilities, dining)11 values | groceries |
subcategory | string | More granular subcategory within the main category (e.g., 'airfare' under 'travel')optional | supermarket |
recurrence_frequency | string | Frequency of recurrence if the transaction is recurring (e.g., monthly, weekly)6 values · optional | monthly |
location_city | string | City where the transaction took place, if availableoptional | New York |
location_state | string | State or region where the transaction took place, if availableoptional | NY |
location_country | string | Country where the transaction took place, if available (ISO 3166-1 alpha-2 code)7 countries · optional | US |
transaction_type | string | Type of transaction (e.g., debit, credit, refund, transfer)debit · credit · refund · transfer | debit |
| Numbers 2 columns | |||
amount | float | Monetary value of the transaction. Negative for debits (expenses), positive for credits (income/refunds) | -54.23 |
balance_after_transaction | float | Account balance immediately after the transaction was processedoptional | 1445.77 |
| Dates and times 2 columns | |||
transaction_date | date | Date when the transaction occurred | 2024-06-11 |
transaction_datetime | datetime | Exact date and time when the transaction was processedoptional | 2024-06-11T10:37:22 |
| True or false 1 column | |||
is_recurring | boolean | Indicates if the transaction is part of a recurring series (e.g., subscriptions, rent)optional | false |
Use it for
A finance dashboard
The is_
recurring rate, amount by transaction_ type and a breakdown of location_ state. Excel, Power BI or Tableau. Why do the 29 credit rows have a mean amount of 22,580?
A root-cause class exercise
Hand out the rows and one question. The answer is in the data, not in the brief.
- Transactions200TXN0000001-54.23debitTXN0000002-9.99debitTXN00000033075credit
A software demo
Believable transactions with account_
id, transaction_ date and transaction_ datetime to fill a screen in front of a buyer.
blueprint · bank-transaction-category-classification
Behind this dataset
Same schema. As many rows as you need.
These 200 rows came out of a blueprint — 18 columns with generation rules behind each one. Open it in Data Factory to retune a column, add your own, wire in foreign keys, and run it at the size you actually need.
- Transaction description and amount included
- Assign category from controlled list
- No direct account or customer info
- Realistic transaction frequency patterns
1 credit per row. New accounts start with 25 free credits.
- Exports
- CSV, JSON, JSONL, Parquet, SQL, Excel, TSV, XML
- Licence
- yours to use, including commercially
- API slug
- bank-transaction-category-classification