Blueprint · Fintech

Freelance invoicing

An invoicing app for one freelancer. They write an invoice whose total is correct to the penny, send it to a client who does not need an account, record the payments that arrive, and fix mistakes with a credit note instead of changing an invoice the client already has.

L2–L4

Level range

8

Sprints

41

Tasks

Backend and frontend

Built as

By the last sprint

What you’ll build

An invoicing app for freelancers. You write an invoice whose total anyone can check by hand, and send it to a client who opens it without an account. You record the money that arrives, and fix mistakes with a credit note instead of an edit. You can see what you are owed and how late it is, and overdue invoices are chased by email without you doing anything.

What you’ll learn

A skill in every sprint

You show you have it in a pull request your team reviews, then explain it in a walkthrough.

01

Authentication

You can register and sign in a user, keep a request authenticated without asking for the password again, and explain where the credential lives in the browser and why there rather than somewhere else.

02

A ledger you can trust

You can record credits and debits and produce a balance that is the sum of them — and explain why the balance is not a column you update, and what happens when two movements land at once.

03

Roles and permissions

You can give users different roles and have the server refuse what a role may not do — not merely hide the button — and show the refusal working against a request the interface never offered.

04

Statements that reconcile

You can generate a statement for a date range that adds up, downloads, and returns the same figures when it is generated again next month.

05

Notifications people do not mute

You can notify a user when an event concerns them, show an unread count that survives a refresh, and honour a preference that says stop.

06

Background jobs

You can hand work to a worker, tell the user it is in progress, and show the result when it lands — and say what happens to that work if the process dies halfway.

07

Going live

Somebody who has never met you can open a URL and use the product — and you can say what is different about the copy running there, where its secrets come from, and what you do when a release turns out to be wrong.

The roadmap

8 sprints, 41 tasks

Every sprint has a goal and a set of tasks. Open a sprint to see the tasks you will pick up.

  1. Sprint 01

    Who you are, and who you bill

    A freelancer has an account that holds everything an invoice must say about them, and the clients they bill are records that do not need an account.

    5 tasks
    1. Let a freelancer create an account and land signed in
    2. Let a freelancer sign back in and stay signed in
    3. Let a freelancer sign out safely on a shared computer
    4. Let a freelancer save their business and payment details
    5. Let a freelancer keep a list of their clients
  2. Sprint 02

    An invoice that adds up

    A draft invoice's total is correct to the penny, worked out by stated rules, and is the same every time it is opened.

    5 tasks
    1. Let a freelancer add lines to a draft, with totals exact to the penny
    2. Work out tax on each line, and say so on the invoice
    3. Share a discount across the lines so the tax stays right
    4. Show a totals block a client can check with a calculator
    5. Protect the worked examples with checks that fail if a figure changes
  3. Sprint 03

    Issued is a promise

    Issuing gives an invoice a number and locks it for good, and the client opens it from a link without an account.

    5 tasks
    1. Issue a draft as a numbered, dated invoice
    2. Refuse every change to an issued invoice
    3. Let a client open an invoice from a link, without an account
    4. Make sure a freelancer can only reach their own work
    5. Keep drafts private, and let a freelancer switch off an invoice link
  4. Sprint 04

    Settling and correcting

    Money that arrives and mistakes that are found both become new, dated documents, and the invoice itself never changes.

    6 tasks
    1. Let a freelancer record a payment that has arrived
    2. Show what is still owed after a part payment
    3. Let a freelancer correct an invoice with a credit note
    4. Work out what is owed from the documents, never store it
    5. Show each invoice's payments and credit notes in date order
    6. Show the client the same history and the same amount owed
  5. Sprint 05

    What you are owed

    One figure for everything owed, how late each part is, and a statement for each client that shows the same figures when produced again later.

    5 tasks
    1. Show one figure for everything the freelancer is owed
    2. Split what is owed by how late it is
    3. Produce a statement of account for one client
    4. Make sure a statement for a past period never changes
    5. Let the freelancer give a statement to the client
  6. Sprint 06

    Chasing what is late

    A freelancer chases a late client with the right amount, and each client gets one reminder email, not one per invoice.

    5 tasks
    1. Show which invoices are overdue, and by how many days
    2. Let a freelancer send a reminder email to a late client
    3. Send one reminder per client, covering all their late invoices
    4. Record every reminder sent against each invoice
    5. Never ask a client for money they have already paid
  7. Sprint 07

    Chasing that runs itself

    Reminders go out on a timetable with nobody pressing anything, and no invoice is ever chased twice at the same step.

    5 tasks
    1. Send reminders every day with nobody pressing anything
    2. Make sure the same reminder step is never sent twice
    3. Chase each invoice on a four-step timetable
    4. Show the freelancer when chasing has stopped working
    5. Let a freelancer pause chasing for a client or an invoice
  8. Sprint 08

    Off the laptop

    The product is live on the internet at its own address, reminders are sent from there, and the records survive restarts, releases and a lost server.

    5 tasks
    1. Put the product on the internet so strangers can use it
    2. Keep every setting and password out of the repository
    3. Send real emails from an address the client's mail server accepts
    4. Run the daily reminders on the live server while the laptop is off
    5. Make a bad release reversible and keep a tested backup
The reading

Read before you build

Senior engineers read the docs before they touch the code. Every Blueprint comes with short documents on the product and its world, the kind a team hands a new hire. Read them well and you ask sharper questions and walk into every review prepared.

What you are building

The product, the two people who use it, the parts that make it hard, and what is left out.

The documents that pass between you

Draft, invoice, payment, credit note and refund: what each one is, and what it may and may not do.

More fintech Blueprints

More to build

Not the one for you?

Every Blueprint is planned the same way, across health, shopping, money, education and more.

Browse all Blueprints
Ready?

Build freelance invoicing.

Start your free week. Adaeze runs your kickoff, and Lars reviews every pull request.

Start today, for free