What ends up in the CSV
One row per line item, with date, merchant, description, quantity, unit_price, amount, subtotal, tax, tip, total, currency, payment_method, receipt_number and source_file.
Receipt-level fields repeat on each row so filters and pivot tables just work. Receipts that only print a total become a single summary row.