system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
Produce a CSV document for a transaction record.
assistant
Approach:
1. Task: Create transaction record in CSV
2. Complexity: medium - 5-8 fields, 2-3 levels
3. Format rules: header row, comma-separated, quoted fields with commas
4. Structure: Organize data logically with appropriate nesting
5. Populate fields with realistic example data based on the schema.

Output:
customer_id,items,payment_method,subtotal,tax,timestamp,total,txn_id
edf02a7e-3985-4506-8896-d98d0d913802,"[{""sku"": ""SKU-58741"", ""qty"": 4, ""price"": 440.81}, {""sku"": ""SKU-34038"", ""qty"": 2, ""price"": 358.55}]",credit_card,848.1,112.43,2026-01-06T09:43:30.402617,1407.49,TXN-47128388
7fb607bd-f9fd-4a94-aac1-d2bd5576b584,"[{""sku"": ""SKU-94609"", ""qty"": 3, ""price"": 198.95}]",apple_pay,1780.15,160.25,2026-01-06T09:43:30.403692,455.01,TXN-70025851
b26e747b-e481-4a94-8e32-6bebb004742f,"[{""sku"": ""SKU-87746"", ""qty"": 1, ""price"": 348.63}, {""sku"": ""SKU-46442"", ""qty"": 1, ""price"": 405.53}, {",paypal,1744.44,59.11,2026-01-06T09:43:30.403743,1164.29,TXN-36927230
79eb19c2-f602-479b-b2c0-7f2bdc0918e6,"[{""sku"": ""SKU-46453"", ""qty"": 5, ""price"": 238.64}, {""sku"": ""SKU-91465"", ""qty"": 4, ""price"": 457.34}, {",apple_pay,327.89,54.08,2026-01-06T09:43:30.403793,1437.68,TXN-40781030
