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
7ef8b7c0-96f5-425b-a34a-21b7e1f5f553,"[{""sku"": ""SKU-10520"", ""qty"": 2, ""price"": 262.34}, {""sku"": ""SKU-69100"", ""qty"": 4, ""price"": 135.83}, {",paypal,887.28,42.29,2026-01-06T09:43:31.932704,731.95,TXN-50783918
33bc8ef8-d712-49bf-9ba2-ce02d6eadca8,"[{""sku"": ""SKU-49350"", ""qty"": 2, ""price"": 345.57}]",apple_pay,665.95,105.64,2026-01-06T09:43:31.936512,1056.95,TXN-92427864
4cdb304a-2607-44b4-9244-2dbd636c21b1,"[{""sku"": ""SKU-71598"", ""qty"": 3, ""price"": 303.38}, {""sku"": ""SKU-98508"", ""qty"": 2, ""price"": 23.16}, {""",credit_card,1180.21,7.29,2026-01-06T09:43:31.936589,994.01,TXN-71524541
f52d13dd-b3a5-47e7-97a4-013445bbe28b,"[{""sku"": ""SKU-32940"", ""qty"": 2, ""price"": 269.98}, {""sku"": ""SKU-36180"", ""qty"": 2, ""price"": 378.86}, {",credit_card,762.61,149.43,2026-01-06T09:43:31.936664,64.35,TXN-70293349
