Sales Transactions
This dataset provides granular, line-item records of point-of-sale transactions, including product details, quantities, pricing, discounts, payment methods, and references to customers and store locations. It is ideal for retail analytics, sales performance tracking, and customer behavior analysis, enabling businesses to optimize inventory, marketing, and operational strategies.
Sample rows
preview · 8 of 200 rows · all 13 columns| transaction_idstring | payment_methodstring | unit_pricefloat | transaction_notesstring | transaction_datetimedatetime | customer_idstring | product_idstring | product_namestring | quantityinteger | discount_amountfloat | total_pricefloat | cashier_idstring | store_idstring |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TXN000001 | credit_card | 23.5 | First-time customer | 2023-01-02T09:12:36 | CUST1023 | PROD-1001 | Standard Widget | 2 | 0 | 47 | EMP-101 | STORE-01 |
| TXN000002 | cash | 2.99 | Cash transaction, no loyalty | 2023-01-05T11:45:22 | blank | PROD-1002 | Promo Mug | 1 | 0 | 2.99 | EMP-102 | STORE-03 |
| TXN000003 | debit_card | 249.99 | blank | 2023-01-09T16:50:13 | CUST2104 | PROD-1003 | Premium Headphones | 1 | 20 | 229.99 | EMP-103 | STORE-02 |
| TXN000004 | mobile_payment | 0.2 | Wholesale order | 2023-01-15T13:30:00 | CUST3778 | PROD-1004 | Bulk Pen Pack | 200 | 15 | 25 | EMP-104 | STORE-04 |
| TXN000005 | cash | 5.99 | blank | 2023-01-23T19:15:47 | blank | PROD-1005 | Standard Notebook | 1 | 0 | 5.99 | EMP-105 | STORE-06 |
| TXN000006 | credit_card | 399 | VIP customer, major discount | 2023-02-01T08:20:14 | CUST4102 | PROD-1006 | Premium Smartwatch | 1 | 50 | 349 | EMP-106 | STORE-02 |
| TXN000007 | gift_card | 4.99 | Promotional free item | 2023-02-04T21:59:59 | blank | PROD-1007 | Promo Tote Bag | 1 | 4.99 | 0 | EMP-107 | STORE-07 |
| TXN000008 | credit_card | 1975.5 | Large discount, premium | 2023-02-10T17:05:32 | CUST5913 | PROD-1008 | Luxury Watch | 2 | 500 | 3451 | EMP-108 | STORE-05 |
| TXN000009 | debit_card | 44.99 | Seasonal promotion | 2023-02-14T12:01:00 | CUST2345 | PROD-1009 | Valentine's Gift Box | 1 | 10 | 34.99 | EMP-109 | STORE-01 |
| TXN000010 | cash | 0.15 | Bulk group purchase | 2023-02-19T10:45:33 | blank | PROD-1010 | Bulk Marker Case | 500 | 35 | 40 | EMP-110 | STORE-03 |
| TXN000011 | mobile_payment | 120 | blank | 2023-03-02T14:28:05 | CUST6120 | PROD-1011 | Premium Messenger Bag | 1 | 0 | 120 | EMP-111 | STORE-04 |
| TXN000012 | cash | 0.5 | blank | 2023-03-05T15:31:46 | blank | PROD-1012 | Standard Pencil | 3 | 0 | 1.5 | EMP-112 | STORE-02 |
| TXN000013 | debit_card | 14.99 | Regular purchase | 2023-03-09T18:44:55 | CUST3891 | PROD-1013 | Standard T-Shirt | 2 | 3 | 26.98 | EMP-113 | STORE-06 |
| TXN000014 | credit_card | 179 | blank | 2023-03-13T09:15:03 | CUST4321 | PROD-1014 | Premium Speaker | 1 | 0 | 179 | EMP-114 | STORE-01 |
| TXN000015 | gift_card | 1 | Zero bill, promo gift | 2023-03-17T09:03:02 | blank | PROD-1015 | Promo Keychain | 1 | 1 | 0 | EMP-115 | STORE-05 |
| TXN000016 | mobile_payment | 0.8 | Edge: large quantity, low price | 2023-03-20T22:10:29 | CUST3156 | PROD-1016 | Bulk Stapler Set | 150 | 50 | 70 | EMP-116 | STORE-03 |
| TXN000017 | credit_card | 425 | VIP customer, major discount | 2023-03-25T15:15:15 | CUST2900 | PROD-1017 | Luxury Sunglasses | 1 | 100 | 325 | EMP-117 | STORE-04 |
| TXN000018 | cash | 8.99 | blank | 2023-04-01T08:07:51 | blank | PROD-1018 | Standard Water Bottle | 2 | 0 | 17.98 | EMP-118 | STORE-01 |
| TXN000019 | debit_card | 89.99 | blank | 2023-04-05T11:22:33 | CUST1297 | PROD-1019 | Premium Bluetooth Earbuds | 1 | 10 | 79.99 | EMP-119 | STORE-02 |
| TXN000020 | cash | 0.1 | Bulk group purchase | 2023-04-10T16:40:00 | blank | PROD-1020 | Bulk Eraser Pack | 100 | 5 | 5 | EMP-120 | STORE-05 |
What the 200 rows show
from the 200-row sampleCredit_
- 9.5median unit_
price - 21stores
- 1median quantity
- 5.0median discount_
amount - 25.0median total_
price
Median 9.5, from 0.05 to 1,976.
- string 8
- integer 1
- float 3
- datetime 1
Columns
13 columns in three groups| column | type | description | example |
|---|---|---|---|
| Text 8 columns | |||
transaction_id | string | Unique identifier for each sales transactionunique | TXN000001 |
customer_id | string | Unique identifier for the customer involved in the transactionoptional | CUST1023 |
product_id | string | Unique identifier for the product sold in the transaction | PROD-1001 |
product_name | string | Name of the product sold | Standard Widget |
payment_method | string | Payment method used for the transaction6 values | credit_card |
cashier_id | string | Identifier for the cashier or employee who processed the transactionoptional | EMP-101 |
store_id | string | Identifier for the store or location where the transaction occurredoptional | STORE-01 |
transaction_notes | string | Additional notes or comments related to the transactionoptional | First-time customer |
| Numbers 4 columns | |||
quantity | integer | Number of units of the product sold1 or more | 2 |
unit_price | float | Price per unit of the product at the time of sale0 or more | 23.5 |
discount_amount | float | Total discount applied to the product in this transaction0 or more · optional | 0 |
total_price | float | Total price for this product line after discounts (quantity * unit_price - discount_amount)0 or more | 47 |
| Dates and times 1 column | |||
transaction_datetime | datetime | Date and time when the transaction occurred | 2023-01-02T09:12:36 |
Use it for
An e-commerce dashboard
Unit_
price by payment_ method and a breakdown of transaction_ notes. Excel, Power BI or Tableau. Why do the 53 credit_
card rows have a mean unit_ price of 276.8? A root-cause class exercise
Hand out the rows and one question. The answer is in the data, not in the brief.
- Transactions200TXN00000123.5credit_c…TXN0000022.99cashTXN000003249.99debit_ca…
A software demo
Believable transactions with transaction_
datetime, customer_ id and product_ id to fill a screen in front of a buyer.
blueprint · sales-transactions
Behind this dataset
Same schema. As many rows as you need.
These 200 rows came out of a blueprint — 13 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 date within business hours
- Payment methods: cash, credit, debit, mobile
- Discounts between 0-50% of original price
- Each transaction has 1-10 line items
- Total amount equals sum of line items
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
- sales-transactions