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
99acb16f-f8b4-41e4-ae62-9ae20ed20eaf,"[{""sku"": ""SKU-93150"", ""qty"": 2, ""price"": 14.35}, {""sku"": ""SKU-57512"", ""qty"": 4, ""price"": 71.34}]",apple_pay,220.17,160.21,2026-01-06T09:43:29.703655,114.14,TXN-47298060
72734f73-307c-494d-8786-3c224a13538c,"[{""sku"": ""SKU-91895"", ""qty"": 1, ""price"": 490.98}, {""sku"": ""SKU-10925"", ""qty"": 1, ""price"": 472.96}, {",apple_pay,799.77,132.17,2026-01-06T09:43:29.705022,471.8,TXN-68159210
64e9a773-cf22-4dc5-a89f-dafc8e28e0c7,"[{""sku"": ""SKU-74962"", ""qty"": 1, ""price"": 207.43}, {""sku"": ""SKU-36659"", ""qty"": 1, ""price"": 127.5}, {""",credit_card,374.37,11.02,2026-01-06T09:43:29.705089,214.2,TXN-40827517
e0666db2-6028-4ff9-b24f-09137b2b457f,"[{""sku"": ""SKU-16253"", ""qty"": 1, ""price"": 69.32}, {""sku"": ""SKU-62736"", ""qty"": 1, ""price"": 299.63}, {""",apple_pay,1667.64,56.23,2026-01-06T09:43:29.705150,623.56,TXN-16174928
39d2e19f-4183-4c68-b831-016736827de6,"[{""sku"": ""SKU-37524"", ""qty"": 5, ""price"": 70.99}, {""sku"": ""SKU-86272"", ""qty"": 3, ""price"": 486.75}, {""",paypal,1641.1,64.51,2026-01-06T09:43:29.705197,1119.26,TXN-38133803
