Reconcile payouts

Daily: check what marketplaces and payment providers paid out against the orders behind it.

Finance · When it runs: On a schedule

How it goes about it

  1. Read new payout reports from the raw items and save each as "payout" with record_save: provider, period, gross, fees, refunds, chargebacks, net.
  2. Add up the orders and refunds of that period for that provider (record_query) and compare with the gross amount.
  3. Check that net equals gross minus fees, refunds and chargebacks, and that the net amount arrived at the bank ("payment").
  4. Name every difference above 1 euro: which orders are missing or double, which fee is unexpected.
  5. Start "Handle a chargeback" for every chargeback in the report.
  6. Record the result (type payout.reconciled, refs payout) and the KPI payout_differences. Unexplained differences go to the human with inbox_ask.

The steps are written for the AI your co-founder thinks with, which is why they name its tools.

Rules it keeps to here

  • Payout difference that needs no explanation 1 €Differences up to this amount per payout are accepted as rounding.

Figures it moves

  • Unexplained payout differences
  • Unmatched payments

Hire your co-founder

All procedures