Datasets:
description stringlengths 2 83 | category stringclasses 16
values |
|---|---|
Dr. Garcia Chiropractic | Healthcare |
confluence | Subscription |
WALMART PHARMACY.COM | Healthcare |
SAFELITE - SAN FRANCISCO | Transportation |
SUMMIT HEALTHCAREPAYROLL PPD ID: 339164293 | Income |
BLUE SKY VENTURES PAYROLL | Income |
ANTHEM PREMIUM 4801 MISSION AVE CHICAGO 60601 IL USA | Insurance |
SQ *Somisomi | Restaurants |
Entergy | Utilities |
Regal Cinemas 2008 Main Ln Phoenix85001 Az Usa | Entertainment |
American Family Grp*yupyewel582d | Insurance |
FOREIGN TRANSACTION FEE | Fees |
BART 101531 | Transportation |
FARMERS INS BILLING*IDXF6UBLNV | Insurance |
Cox*yz9zcd01gh | Utilities |
ihop #99575 columbus | Restaurants |
SPROUTS 4966 NEWARK | Groceries |
CASH APP CASHOUT PPD ID: 31606612 | Income |
Zelle payment to CHARLES BROWN SAN DIEGO CA 65447691475 | Transfer |
verizon | Utilities |
ZOO #49060 FREMONT | Entertainment |
ERIE INSURANCE GRPPREMIUM 8752430843 PPD ID: 817150469 | Insurance |
UNITED AIRLINES | Travel |
Cigna Billing.com | Insurance |
MARRIOTT 3541 OAK PKWY PORTLAND97201 OR USA | Travel |
MOO.COM #5184 MINNEAPOLIS | Shopping |
WITHDRAWAL FROM O'REILLY MEDIA | Education |
HIPPO INSURANCE CO*VFCETJLH5Y | Insurance |
PIGGLY WIGGLY #931 | Groceries |
CONED ONLINE PMT 872709429878 WEB ID: YA5EL6P8 | Utilities |
WALMART PHARMACY.com | Healthcare |
LUCKY 5149933 | Groceries |
AMAZON MARKTPLACE*P2WP8BA5 | Shopping |
FLORIDA POWER | Utilities |
CVS | Healthcare |
paypal inst xfer chase credit crd autopay web id: paypalsi07 | Transfer |
ANNUAL FEE | Fees |
Fandango #578 Brooklyn | Entertainment |
PAYPAL INST XFER MIRO WEB ID: PAYPALSI15 | Subscription |
ANDERSON FAMILY MEDICINE | Healthcare |
FOOD 4 LESS*0ZXGKVTT966U | Groceries |
SERVPRO.COM | Housing |
APPLEBEE'S*ZMQM68AAS3 | Restaurants |
meijer 3325 chicago | Groceries |
HUMANA PAYMENT | Insurance |
Cvs 7647 Mission Blvd Fremont94536 Ca Usa | Healthcare |
WITHDRAWAL FROM DOMINION ENERGY | Utilities |
ACE HARDWARE - HOUSTON | Housing |
FRONTIER AIRLINES | Travel |
CITY PARKING | Transportation |
DAVE & BUSTER'S | Entertainment |
MYFITNESSPAL.com | Subscription |
SQ *TAISHOKEN RAMEN | Restaurants |
HOTWIRE.COM | Travel |
AMZN DIGITAL*HUUG98SDC | Shopping |
STATEMENT CREDIT | Income |
CASEY'S | Transportation |
CHEGG.COM | Education |
MARSHALLS 27904 | Shopping |
ALLSTATE GRP*2HIACB6WS1Q9 | Insurance |
GOOGLE *RENDER.COM | Subscription |
INTEREST PAYMENT | Income |
TEXAS ROADHOUSE 537904 | Restaurants |
UNIVERSITY OF DALLAS TUITION | Education |
WIRE TRANSFER FEE | Fees |
WITHDRAWAL FROM TRIPADVISOR | Travel |
Safeway 9352 Salt Lake City | Groceries |
TICKETMASTER 2497 MISSION AVE CHICAGO 60601-1713IL USA | Entertainment |
DAILY CASH ADJUSTMENT - 28/18 | Fees |
RELATED COS RENT PAYMENT | Housing |
DOLLAR RENT A CAR | Travel |
stanford university payroll | Income |
CURRY HOUSE #362 MIAMI | Restaurants |
PEARSON #37882 PORTLAND | Education |
Kindle Unltd*78IHSKH4IL | Shopping |
florida power autopay 143709063024 ppd id: 409725143 | Utilities |
TOO GOOD TO GO 7709 INDUSTRIAL AVE MIAMI 33101-4299FL USA | Restaurants |
BANK OF AMERICA MORTGAGEMORTGAGE 82541066 WEB ID: REEIVA5C | Housing |
EXPRESS CHECKOUT PAYMENT: ROBLOX | Entertainment |
REMOTE ONLINE DEPOSIT # 1 | Income |
Zelle payment from RICHARD LI OWIWBQOTL5XX | Income |
Withdrawal from LEMONADE BILLING | Insurance |
monthly service fee | Fees |
CITY WATER 6885 ELM ST DENVER 80201-9478CO USA | Utilities |
MONTHLY INSTALLMENTS (3 OF 12) | Transfer |
Express Checkout Payment: Planet Fitness | Personal Care |
LYFT *TRIP HOUSTON 5IQ4S1 | Transportation |
SCHOOL DISTRICT OF LAS VEGAS TUITION | Education |
TRAVELERS PAYMENTPREMIUM 9152668090 WEB ID: 8K4W4LZQ | Insurance |
KAYAK - NEW YORK | Travel |
LEMONADE PREMIUM 7627 CENTER ST ATLANTA30301 GA USA | Insurance |
PEET'S COFFEE*3D4B6QGEO | Restaurants |
WITHDRAWAL FROM FANTASTIC SAMS | Personal Care |
manual db-bkrg 46/71 | Transfer |
Target 41061380 | Shopping |
DAILY CASH ADJUSTMENT | Fees |
HARTFORD INS*KRPWHIURF | Insurance |
BLUE SKY VENTURESDIR DEP PPD ID: 380383284 | Income |
PAYPAL PAYMENT TO JESSICA LEE | Transfer |
Packt Publishing 9390 Mission Blvd Nashville37201 Tn Usa | Education |
Update Notice
A newer version of this dataset is available: DoDataThings/us-bank-transaction-categories-v2
v2 adds
[debit]/[credit]sign prefixes, 24,000 samples (up from 16,000), 500+ merchants, PayPal wrapper patterns across all categories, and a refined 16-category taxonomy (Housing split into Rent; Mortgage removed). See the v2 dataset card for details.This v1 dataset remains available. If you don't need sign-aware data, v1 is still useful for basic transaction classification training.
US Bank Transaction Categories — Synthetic Dataset
16,000 synthetic transaction descriptions modeled after real US bank statement formats. Designed for training transaction classifiers that work on actual bank data — not the clean "Starbucks coffee" descriptions that most datasets use.
Why Synthetic?
Real bank transaction data is private. But the formats are universal — Chase, Apple Card, PayPal, Capital One all produce descriptions with predictable structures. This dataset captures those structures with randomized merchants, store numbers, addresses, and reference codes.
Format
CSV with two columns:
description,category
"AMAZON MKTPL*K8R2M5VN7","Shopping"
"Zelle payment to JAMES GARCIA, SEATTLE, WA 48291736502","Transfer"
"PAYPAL INST XFER NETFLIX WEB ID: PAYPALSI42","Subscription"
"CHEVRON 0385291","Transportation"
Categories (16)
| Category | Count | Examples |
|---|---|---|
| Restaurants | 1,000 | MCDONALD'S F28471, TST*SAKURA SUSHI - OAKLAND, SQ *POKE BOWL |
| Groceries | 1,000 | SAFEWAY #1197, WHOLE FOODS 3842 SEATTLE, SQ *TRADER JOE'S |
| Shopping | 1,000 | Amazon.com*K8R2M5VN7, TARGET T-2847, WALMART SUPERCENTER #3291 |
| Transportation | 1,000 | CHEVRON 0385291, UBER *TRIP DENVER A8KM2Q, SHELL OIL 48291736 |
| Entertainment | 1,000 | TICKETMASTER, AMC THEATRES #1234, STEAM |
| Utilities | 1,000 | PG&E, COMCAST XFINITY, SPECTRUM 48291 |
| Subscription | 1,000 | PAYPAL INST XFER NETFLIX WEB ID:, GOOGLE *SPOTIFY, PP*APPLE.COM/BILL |
| Healthcare | 1,000 | CVS #4829, DR. SMITH FAMILY MEDICINE, WALGREENS PHARMACY |
| Insurance | 1,000 | FARMERS INS BILLING, STATE FARM PREMIUM, GEICO AUTO |
| Housing | 1,000 | MORTGAGE PAYMENT, AVALON RENT PMT, HOME DEPOT #0635 |
| Travel | 1,000 | UNITED AIRLINES, MARRIOTT, AIRBNB, HERTZ |
| Education | 1,000 | COURSERA, BARNES & NOBLE #1234, UNIVERSITY OF SEATTLE TUITION |
| Personal Care | 1,000 | PLANET FITNESS, SEPHORA, SUPERCUTS #4829 |
| Transfer | 1,000 | Zelle payment to NAME, CITY, ST, AUTOMATIC PAYMENT - THANK, CHASE CREDIT CRD AUTOPAY PPD ID: |
| Income | 1,000 | EMPLOYER PAYROLL PPD ID:, Zelle payment from NAME, INTEREST PAYMENT |
| Fees | 1,000 | OVERDRAFT FEE, ANNUAL MEMBERSHIP FEE, LATE PAYMENT FEE |
Six Format Templates
The descriptions follow six real US bank statement formats:
- ACH (Chase checking) —
INSTITUTION PURPOSE DETAILS WEB/PPD ID: CODE - Merchant + ID (Chase credit) —
MERCHANT #1234orMERCHANT*ORDERID - Full address (Apple Card) —
MERCHANT ADDRESS CITY ZIP STATE COUNTRY - PayPal prefix —
PreApproved Payment Bill User Payment: MERCHANT - Action prefix (Capital One) —
Withdrawal from DESCRIPTION - Simple —
MERCHANTorMERCHANT.COM
Variation Dimensions
- Capitalization: ALL CAPS, Title Case, lowercase, mixed
- Spacing: normal, extra-padded (ACH style), compressed
- Store numbers:
#1234,1234,#01234, absent - Order IDs:
*ORDERID(Amazon style) - POS prefixes:
SQ *(Square),TST*(Toast) - Addresses: full, partial, zip-smashed-into-city (Apple Card quirk)
- Cities: 36 US cities across multiple states
Usage
from datasets import load_dataset
ds = load_dataset("DoDataThings/us-bank-transaction-categories")
print(ds["train"][0])
# {'description': 'AMAZON MKTPL*K8R2M5VN7', 'category': 'Shopping'}
Design Decisions
- No "Business" category. Whether a transaction is a business expense depends on the account, not the description. An ANTHROPIC charge is "Subscription" regardless of which card it's on.
- Transfer vs Income. "Zelle payment to" = Transfer (money out). "Zelle payment from" = Income (money in). The preposition matters.
- Subscription vs Shopping.
Amazon.com*ORDERID= Shopping (one-time purchase).AMAZON WEB SERVICES= Subscription (recurring SaaS). Format signals distinguish them. - Balanced classes. 1,000 samples per category prevents the classifier from defaulting to the most common class.
Trained Model
A DistilBERT model fine-tuned on this dataset is available at DoDataThings/distilbert-us-transaction-classifier — 99.75% validation accuracy, 90% on real unseen bank descriptions.
Generator
The synthetic data generator script is open source. You can extend the merchant pools, add new format templates, or increase the sample count:
node scripts/generate-training-data.js --count 1000
Available at github.com/wnstnb/foliome.
License
MIT
- Downloads last month
- 40