Skip to content

Monthly Billing

Now you are familiar with the process. Try to apply it for building this feature.

What this feature builds

  • Pickup wizard update — if the rental is longer than 30 days, set a "bill next on" date 30 days from pickup. Short rentals skip this — they are billed in full at return.
  • Prolong update — if a customer extends a short rental so it now exceeds 30 days, set the "bill next on" date at that moment.
  • Daily Job Queue — runs every day, finds all active rentals where the "bill next on" date has passed, raises the next 30-day invoice, and moves the date forward another 30 days.

Start the new chat and follow the process below.

The loop

  1. Spec — use the create-feature-spec skill
  2. ImplementImplement the feature spec. — agent runs build → test → fix autonomously
  3. Test — verify three scenarios:
    • Short rental (≤ 30 days) at pickup → Next Billing Date stays blank
    • Prolong that rental past 30 days → Next Billing Date is now set
    • Booking with Next Billing Date in the past → Job Queue creates a new period Sales Order and advances the date
  4. Docs — use the generate-docs skill
  5. Finalisefinalise-feature, merge, replan

Watch it in action

Replan → · Next feature → Live Car Tracking