Dataset Viewer
Auto-converted to Parquet Duplicate
description
stringlengths
10
105
category
stringclasses
17 values
[debit] NORTHWESTERN MUTUALEFT PYMT PPD ID: 9901629141
Insurance
[debit] MTG PMT PENFED CU
Mortgage
[debit] BETMGM 147 PARK BLVD UNION CITY 94587 CA USA
Entertainment
[debit] REPUBLIC SERVICES 222 MISSION CT CHICAGO60601 IL USA
Utilities
[debit] PYPL*365 MARKET
Groceries
[debit] PUBLIX 7860 UNIVERSITY LN OAKLAND 94601-4574CA USA
Groceries
[debit] MTG PMT GUARANTEED RATE
Mortgage
[debit] WITHDRAWAL FROM CERAVE
Personal Care
[debit] MUNICIPAL WATER UTIL PMT WEB ID: 1P3K5KBY
Utilities
[debit] WAL-MART #0006
Shopping
[debit] HARD ROCK BET SPORTSBOOK
Entertainment
[debit] APPLE TV+
Subscription
[debit] republic services 1128 main st raleigh 27601-7390nc usa
Utilities
[debit] frontier
Utilities
[debit] DR JONES PSYCHIATRY
Healthcare
[debit] GREYSTAR RENT PMT 02806478 PPD ID: 958027310
Rent
[debit] ATM OPERATOR FEE
Fees
[debit] Annual Fee
Fees
[credit] US GOVERNMENT DIR DEP PPD ID: 547185326
Income
[debit] MONDAY.COM* Subscription
Subscription
[debit] PREAUTHORIZED WITHDRAWAL TO ADVANCE AUTO
Transportation
[debit] INVITATION HOMES RENT PMT 28909425 WEB ID: VNKE0NYQ
Rent
[debit] WITHDRAWAL FROM AMERICAS BEST
Healthcare
[debit] pearson 8094 park pkwy orlando32801 fl usa
Education
[credit] Payment Refund: ASOS
Income
[debit] GROCOUTLT #47001 HOUSTON
Groceries
[credit] withdrawal from t-mobile gas
Utilities
[debit] PAYPAL INST XFER DEL TACO WEB ID: PAYPALSI43
Restaurants
[debit] Subscription Payment: BASECAMP
Subscription
[debit] PreApproved Payment Bill User Payment: AMERICAN FAMILY
Insurance
[debit] PREAPPROVED PAYMENT BILL USER PAYMENT: BRILLIANT.ORG
Education
[credit] HOMESITE INSPAYMENT PPD ID: 0828867279
Insurance
[debit] Tofu House 1570 Market Ln Boston02101 Ma Usa
Restaurants
[debit] JBG SMITH RENT PAYMENT
Rent
[debit] WITHDRAWAL FROM GFL ENVIRONMENTAL WASTE SVC
Utilities
[debit] MERRILL LYNCH INVESTMENTS MONEYLINE
Transfer
[debit] LIONSUPERM BRO #52861
Groceries
[debit] GYRO KING 5917 CENTER RD NEWARK 07101 NJ USA
Restaurants
[debit] Wholefds Fre #3941 New York
Groceries
[debit] ELPOLLOLOCO 52543
Restaurants
[debit] KHAN ACADEMY 9524 INDUSTRIAL AVE SAN JOSE 95101-9225CA USA
Education
[debit] DRIVING RANGE INC
Entertainment
[debit] University Of Union City Tuition
Education
[debit] PG&E
Utilities
[debit] FOODMAXX #12878
Groceries
[debit] Chegg #99589 Brooklyn
Education
[debit] Withdrawal from NATIONAL GRID CABLE
Utilities
[debit] SPEEDWAY 58649378
Transportation
[debit] FANTASTIC SAMS
Personal Care
[credit] SALESFORCE PAYROLL
Income
[debit] GIANT EAGLE #913
Groceries
[debit] COLLEGE OF DENVER TUITION
Education
[debit] ALBERTSON OAK #2661
Groceries
[debit] PHILLIPS 66 #62356 RALEIGH
Transportation
[debit] WAWA 04751
Transportation
[debit] MINI GOLF
Entertainment
[debit] PAYPAL INST XFER ZENDESK WEB ID: PAYPALSI74
Subscription
[debit] minimum balance fee
Fees
[debit] MONTHLY INSTALLMENTS (11 OF 12)
Transfer
[debit] PAYPAL INST XFER SKILLSHARE WEB ID: PAYPALSI87
Education
[debit] PreApproved Payment Bill User Payment: NOTION
Subscription
[debit] HILTON
Travel
[debit] bethpage fcu mortgage 61521701 ppd id: 926343602
Mortgage
[debit] MORTGAGE PAYMENT
Mortgage
[debit] DASHLANE
Subscription
[debit] SEAFOOD CITY #65132
Groceries
[debit] ATM OPERATOR FEE
Fees
[debit] TRAVELERS PREMIUM PPD ID: 5587382849
Insurance
[debit] MONTHLY INSTALLMENTS (10 OF 24)
Transfer
[debit] PP*CHEGG
Education
[debit] BROOKFIELD RENT PMT 65580641 WEB ID: FI9DTG12
Rent
[credit] ORIG CO NAME:BLUE SKY VENTURES CO ENTRY DESCR:PAYROLL SEC:PPD
Income
[debit] PIGGLYW LAS #79315
Groceries
[credit] INACTIVITY FEE
Fees
[debit] Account Closure Fee - 20/87
Fees
[debit] Help.loom.com
Subscription
[debit] DOLLAR RENT A CAR 7600209
Travel
[debit] MOBIL
Transportation
[debit] CALTRAIN
Transportation
[debit] MORTGAGE PAYMENT
Mortgage
[debit] JIFFY LUBE 137 MAIN WAY CHICAGO 60601 IL USA
Transportation
[debit] SP PLUS #7651 SAN JOSE
Transportation
[debit] priceline #4270 houston
Travel
[debit] RADISSON
Travel
[credit] CARNIVAL CRUISE LINE
Travel
[credit] Zelle payment from KAREN LEWIS LTTJBLS9QPL4
Income
[debit] MONTHLY INSTALLMENTS (11 OF 12)
Transfer
[debit] pointsbet 7348 main blvd portland 97201 or usa
Entertainment
[debit] MORTGAGE PAYMENT
Mortgage
[debit] PAYMENT TO: LION SUPERMARKET
Groceries
[credit] ETSY PAYOUT
Income
[debit] BROOKFIELD RENT PMT 83632596 PPD ID: 581226651
Rent
[debit] Brilliant.org Co
Education
[debit] Cvs
Healthcare
[debit] CRUNCH FITNESS 1088 UNIVERSITY RD PITTSBURGH15201 PA USA
Personal Care
[debit] Camden Property Rent Pmt 15503030 Web Id: C537qbgj
Rent
[debit] PREAUTHORIZED WITHDRAWAL TO MINI GOLF
Entertainment
[debit] AETNA INS PREMIUM PPD ID: 0887062775
Insurance
[credit] VA BENEFITS 310 SOC SEC
Income
[debit] FOREIGN TRANSACTION FEE
Fees
End of preview. Expand in Data Studio

US Bank Transaction Categories v2 — Synthetic Dataset

68,000 sign-prefixed transaction descriptions across 17 spending categories, modeled after real US bank statement formats. Designed for training classifiers that work on actual bank data — not the clean "Starbucks coffee" descriptions that most datasets use.

Successor to v1.

Why This Dataset

Real bank transaction data is private. But the formats are universal — Chase, Apple Card, PayPal, Capital One, Mercury all produce descriptions with predictable structures. This dataset captures those structures with 500+ real merchant names, randomized store numbers, addresses, and reference codes.

Why Sign Prefixes

Bank transaction descriptions are ambiguous without direction. "VENMO CASHOUT" as a credit is income — as a debit it's a transfer. [debit]/[credit] encodes the cardholder's perspective so the model can disambiguate.

Sign distributions per category reflect real-world patterns:

  • Spending categories: 95%+ debit
  • Income: 97% credit
  • Transfer: 50/50 (bidirectional by nature)

Format

CSV with two columns:

description,category
"[debit] AMAZON MKTPL*K8R2M5VN7","Shopping"
"[credit] ACME CORP       PAYROLL                    PPD ID: 123456789","Income"
"[debit] PreApproved Payment Bill User Payment: Netflix","Subscription"
"[debit] SCHWAB BROKERAGE MONEYLINK PPD ID: 5551234567","Transfer"
"[credit] AUTOMATIC PAYMENT - THANK","Transfer"
"[debit] PP*SAFEWAY","Groceries"
"[debit] TST*GOLDEN DRAGON - OAKLAND","Restaurants"

Categories (17)

Category Count Examples
Restaurants 4,000 TST*SAKURA SUSHI, DAVESHOTCHICKEN, CLV*BURGER JOINT, PP*CHIPOTLE
Groceries 4,000 SAFEWAY #1197, WHOLEFDS FRE #10467, PYPL*TRADER JOE'S, 365 MARKET
Shopping 4,000 Amazon.com*K8R2M5VN7, TIKTOK SHOP, Express Checkout Payment: TARGET, TOTAL WINE
Transportation 4,000 CHEVRON 0385291, CHARGEPOINT *STATION 1234, COSTCO GAS #1061, CA DMV FEE
Entertainment 4,000 VALVE STEAM PURCHASE, DRAFTKINGS SPORTSBOOK, PreApproved Payment: Valve Corp.
Utilities 4,000 PG&E, PGANDE WEB ONLINE, REPUBLIC SERVICES TRASH, SUNRUN SOLAR
Subscription 4,000 CURSOR USAGE, X CORP. PAID FEATURES, PYPL*NETFLIX, SALESFORCE; Billing
Healthcare 4,000 TELADOC TELEHEALTH, KAISER PERMANENTE, PP*ASPEN DENTAL, BETTERHELP
Insurance 4,000 FARMERS INS BILLING, HOMESERVE USA, PreApproved Payment: STATE FARM
Mortgage 4,000 ROCKET MORTGAGE, PATELCO CU MORTGAGE, SOFI MORTGAGE PAYMENT, Principal Pmt
Rent 4,000 EQUITY RESIDENTIAL RENT PAYMENT, GREYSTAR LEASE PAYMENT
Travel 4,000 ROYAL CARIBBEAN, TSA PRECHECK, SWA INFLIGHT WIFI, MARRIOTT
Education 4,000 COURSERA, Express Checkout Payment: Scholastic Inc, BRILLIANT.ORG
Personal Care 4,000 SPORT CLIPS, SEPHORA, 360 FITNESS LLC, TST*ISLAND VINTAGE SHAVE
Transfer 4,000 COINBASE ACH TRANSFER, WIRE TRANSFER TO NAME, ATM DEPOSIT, DDA TO DDA
Income 4,000 PAYROLL PPD ID:, SSA TREAS 310 FED SAL, DOORDASH DASHERPAY
Fees 4,000 OVERDRAFT FEE, ATM SURCHARGE, PAPER STATEMENT FEE

Eight Bank Statement Formats

Every spending category produces descriptions in all major US bank formats:

Format Structure Banks
Chase ACH INSTITUTION PURPOSE PPD/WEB ID: CODE Chase checking
Chase merchant MERCHANT #STORE or MERCHANT*ORDERID Chase credit cards
Apple Card MERCHANT ADDRESS CITY ZIP STATE COUNTRY Apple Card
PayPal PreApproved Payment: MERCHANT, PP*, PYPL*, PAYPAL *, INST XFER PayPal (as card issuer)
Capital One Withdrawal from MERCHANT, Preauthorized Deposit from MERCHANT Capital One
Mercury MERCHANT; Description or just MERCHANT Mercury, neobanks
POS SQ *MERCHANT, TST*MERCHANT, CLV*MERCHANT Square, Toast, Clover
Simple MERCHANT, MERCHANT.COM, MERCHANT INC. Various

PayPal as a Bank Format

PayPal isn't just a payment wrapper — it's a card issuer. People use PayPal credit/debit cards at any merchant. This dataset treats PayPal formats as first-class bank statement structures:

  • PreApproved Payment Bill User Payment: STARBUCKS → Restaurants
  • PP*SAFEWAY → Groceries
  • PYPL*NETFLIX → Subscription
  • Express Checkout Payment: TARGET → Shopping
  • PAYPAL INST XFER MEDIUM.COM WEB ID: PAYPALSI77 → Subscription

PayPal-formatted descriptions appear in all spending categories at realistic rates (5-15% of samples).

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 *, TST*, CLV*
  • PayPal prefixes: PP*, PYPL*, PAYPAL *, PreApproved Payment, Express Checkout
  • Addresses: full, partial, zip-smashed-into-city (Apple Card quirk)
  • Compressed names: DAVESHOTCHICKEN, CHICKFILA, WHOLEFDS FRE, TRADERJOES
  • Cities: 36 US cities across multiple states
  • Sign prefixes: [debit]/[credit] with category-appropriate distributions

Design Decisions

  • No "Housing" category. Split into Mortgage (model-classified) and Rent (model-classified). Home maintenance → Shopping.
  • No "Business" category. Whether a transaction is a business expense depends on the account, not the description.
  • Transfer vs Income uses sign. [credit] VENMO CASHOUT = Income. [debit] VENMO PAYMENT TO = Transfer. The sign prefix is the primary disambiguator.
  • Subscription vs Shopping uses format cues. Amazon.com*ORDERID = Shopping. AMAZON WEB SERVICES = Subscription. X CORP. PAID FEATURES = Subscription. TIKTOK SHOP = Shopping.
  • 500+ real merchants across restaurants (including culturally diverse cuisines), groceries, SaaS/AI tools, fintech platforms, crypto brokerages, EV charging, gambling/sportsbooks, and more.
  • Balanced classes. 4,000 samples per category prevents the classifier from defaulting to the most common class.

Usage

from datasets import load_dataset

ds = load_dataset("DoDataThings/us-bank-transaction-categories-v2")
print(ds["train"][0])
# {'description': '[debit] AMAZON MKTPL*K8R2M5VN7', 'category': 'Shopping'}

Trained Model

A DistilBERT model fine-tuned on this dataset is available at DoDataThings/distilbert-us-transaction-classifier-v2 — 99.9% validation accuracy, 96% of real-world classifications at 0.90+ confidence.

Generator

The synthetic data generator is open source:

node scripts/generate-training-data.js --count 4000  # 4,000 per category

Available at github.com/wnstnb/foliome.

License

MIT

Downloads last month
18

Models trained or fine-tuned on DoDataThings/us-bank-transaction-categories-v2