← Sales & Refund Reconciliation

Lesson 1 of 4

Define the reporting cohort

Select the reporting month and keep money in integer cents.

Do the work

  1. Declare the start inclusive and next month start exclusive.
  2. Filter sale status independently from refund status. A requested refund is not posted money.
  3. Keep the order ID with each sale so a later join can be reconciled.

See the method

2026-09-01 belongs to September; 2026-10-01 does not.

Read every demonstration step
  1. 2026-09-01 belongs to September; 2026-10-01 does not.
  2. An order can be paid even when one of its refunds is only requested.
  3. Integer cents avoid display rounding during this exercise.

Practice independently

Take it further

Compare the eligible order count before and after each join.