Open Base44
Build overviewLesson 03 of 4

Commission & earnings tracker

Track what's been paid

Match payments to deals so you're never short.

What to do

  1. 1Paste the prompt and log a payout from one company.
  2. 2Link it to the deals it covers.
  3. 3Check the Owed figure goes down.
Copy into Base44
About me: Jordan Ellis, a remote appointment setter selling high-ticket coaching offers. Currency: GBP. My timezone: Europe/London. Brand colour: #0F5C45. Contact: jordan@example.com.

Create a Payout entity with: company, paid_on, amount_minor, type (Base pay, Commission, Bonus) and reference. When logging a commission payout, let me tick the CommissionEntries it covers; those entries become Paid.
Add a Payouts page listing payouts newest first.
For each company, work out:
- Owed = Approved commission not yet paid, plus base pay for past months with no Base pay payout
- Paid this month and paid all time
Highlight a company in amber when its pay_day has passed this month and Owed is above zero.

Keep every existing feature working. Build only this step. Show clear loading, empty, error and success states. If anything needs manual setup in the Base44 dashboard, tell me exactly what to do — don't pretend an integration is connected. Never put API keys or secrets in frontend code. When you're done, tell me exactly how to test this change.
Personalised for Jordan Ellis

What you should see

A clear view of what each company owes you and when it's late.

Check it works

Try each of these in your app, then tick it off.

Previous

Tick all 3 checks to mark this lesson done. Skip for now