Step 1
Collect the order export with stable customer identifiers, order dates, order values and refund or cancellation entries for one stated analysis window, together with the analysis date and the merchant's rule for which orders count toward the totals.