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: complex - 8-10 fields, 3-4 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
2bedc7f2-81fc-428e-8905-082f3269a8ac,"[{""sku"": ""SKU-71851"", ""qty"": 1, ""price"": 387.94}]",credit_card,521.89,92.88,2026-01-06T09:43:31.929253,1428.8,TXN-97907464
a2f973e0-b0da-4e99-a08c-246979f33208,"[{""sku"": ""SKU-60136"", ""qty"": 5, ""price"": 188.64}, {""sku"": ""SKU-56904"", ""qty"": 4, ""price"": 37.5}]",apple_pay,1176.71,110.87,2026-01-06T09:43:31.930595,384.66,TXN-20450264
a52d3fc0-b2c6-41b0-81f8-b41c0779df25,"[{""sku"": ""SKU-37923"", ""qty"": 2, ""price"": 439.62}]",paypal,1547.64,18.11,2026-01-06T09:43:31.930674,1516.32,TXN-67266372
84aa5f50-1071-4e17-9353-cf452325574b,"[{""sku"": ""SKU-30806"", ""qty"": 5, ""price"": 364.07}]",credit_card,307.17,132.69,2026-01-06T09:43:31.930727,2111.43,TXN-67608508
