Merchant payment-processing statement. Dollar amounts are plain numbers without $ or thousands separators; negatives (credits, non-settlements) keep their sign. Dates print as MM/DD; normalize to YYYY-MM-DD using year 2015. Keep the three detail tables as SEPARATE top-level arrays; do not nest them. depositsByDay is the DEPOSIT BY DAY table, one entry per row (date posted, reference number, tickets, gross amount, adjustments, non-settlement, discount, settled net amount); exclude the TOTAL line. cardSummaryByType is the SETTLEMENT/DISCOUNT detail table, one entry per card-program row (description code, items, amount, average ticket, discount rate, item rate, fee amount). chargebacks is the CHARGEBACKS table, one entry per row; exclude its TOTAL line. Reconciliation: in depositsByDay the per-row totals foot to the account-glance figures (salesTotal, creditsTotal, depositsTotal) where depositsTotal equals salesTotal minus creditsTotal.
