Finance Path · Mission 14 of 25Medium

Refund leakage

Filter on signed amount to isolate negative entries

Back to Finance

The Brief

Jordan ReyesSenior Auditoraudit-review

Audit flag — pull every refund in revenue accounts. Refunds are stored as negative amounts on revenue lines. Columns: `txn_id`, `txn_date`, `account_id`, `amount`, `description`. Posted only.

You'll practice

Negative amountsCASE aggregation

Tables available

fact_transactionsdim_accounts

Hints (3)

Each hint you reveal reduces the XP you can earn. Try the query first.

Hint 1

JOIN to dim_accounts and filter `LOWER(account_type) = 'revenue'`.

Hint 2

Filter `amount < 0` AND `posted = 1`.

Hint 3

Return the five columns Jordan listed — no aggregation.