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
4e847e0a-8491-471d-b90a-d52c09166092,"[{""sku"": ""SKU-43296"", ""qty"": 1, ""price"": 12.81}]",paypal,1515.44,172.1,2026-01-06T09:43:34.736762,349.44,TXN-89570156
a5819cd6-ad3b-4796-a272-516701dc5a42,"[{""sku"": ""SKU-90913"", ""qty"": 4, ""price"": 155.59}, {""sku"": ""SKU-86913"", ""qty"": 1, ""price"": 345.14}, {",apple_pay,1204.11,104.47,2026-01-06T09:43:34.740437,2194.6,TXN-55846081
b8017ef3-2805-4cd1-86ac-c8e35ed749fc,"[{""sku"": ""SKU-69914"", ""qty"": 1, ""price"": 308.77}, {""sku"": ""SKU-66690"", ""qty"": 3, ""price"": 31.97}, {""",credit_card,1883.56,171.28,2026-01-06T09:43:34.740545,861.3,TXN-57310567
ab06f96f-661e-45cd-a10e-a31b71725aa5,"[{""sku"": ""SKU-94696"", ""qty"": 4, ""price"": 58.13}, {""sku"": ""SKU-87511"", ""qty"": 2, ""price"": 232.78}]",apple_pay,1605.56,155.54,2026-01-06T09:43:34.740621,1076.56,TXN-47795160
fd691704-ebb2-42e3-a438-5a47a7fbf1f9,"[{""sku"": ""SKU-31480"", ""qty"": 5, ""price"": 354.03}, {""sku"": ""SKU-66634"", ""qty"": 4, ""price"": 219.31}]",paypal,1533.28,154.29,2026-01-06T09:43:34.740685,310.8,TXN-45639419
