Blueprint · Fintech

Currency exposure for an importer

A company that buys goods abroad and sells them at home keeps money at several banks in several currencies, and owes its suppliers in dollars and euros. Its finance team uploads each bank statement, sees every balance traced back to the statement lines it came from, and sees what the company holds and owes in each currency. The app shows what a fall in the naira would cost, and saves the position every evening.

L3–L5

Level range

8

Sprints

41

Tasks

Backend and frontend

Built as

By the last sprint

What you’ll build

An importer's finance team opens the app, signs in and uploads each bank statement. A file that is not a statement is refused with the reason. Every balance opens onto the statement lines it came from, and a statement that does not continue from the one before is held at the line where the two disagree. Cash shows per bank and per currency, with a naira total at a rate that names its day. Supplier bills are counted at the rate of the day they are due. Each currency shows what a 10, 20 or 40 per cent fall in the naira would cost, and every evening's position is saved so the month can be read back.

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

File uploads

You can upload a file from the browser, store it somewhere the application does not own, and show it again on a later request — and say where the bytes travelled and what the database actually holds.

03

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.

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

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.

06

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

    The company's own door

    A company has its own finance team: its people sign in, each belongs to that one company, and nobody ever sees anything another company holds.

    5 tasks
    1. Let a finance team member register their company and land inside it
    2. Keep a member signed in, and let them sign out on a shared computer
    3. Let a member invite a colleague into the company
    4. Show the team its members, and let it remove someone who has left
    5. Stop any company from reaching another company's pages
  2. Sprint 02

    Statements in

    A bank statement file is uploaded and read into lines exactly as the bank printed them, and a file that is not a statement is refused with the reason.

    5 tasks
    1. Let the finance team record the company's bank accounts
    2. Let the finance team upload a statement and see the lines the bank printed
    3. Refuse a file that is not a statement, and give the reason
    4. Recognise a statement that has already been uploaded
    5. Keep the file the bank sent, and let the team download it again
  3. Sprint 03

    Every balance ties back

    Every balance is worked out from statement lines and opens onto them, and a statement that does not continue from the one before is held at the line where the two disagree.

    5 tasks
    1. Check every line's balance against the bank's printed balance
    2. Hold a statement that does not start where the last one finished
    3. Line up statements that were uploaded out of order
    4. Let every balance open onto the lines it came from
    5. Let a corrected statement replace a held one
  4. Sprint 04

    Cash in every currency

    Cash shows per bank and per currency on a chosen day, with a naira total at a rate that names its day, and every total is the sum of the rows above it.

    6 tasks
    1. Let the finance team enter the day's exchange rates
    2. Show cash per bank and per currency on a chosen day
    3. Show a naira total that names the rate and the day behind it
    4. Make every total equal the sum of the rows above it
    5. Say which rate was used when a day has none, and never guess
    6. Let the finance team download the cash view as a file that adds up
  5. Sprint 05

    What is owed, and when

    Supplier bills are kept in the currency they were invoiced in and counted in naira at the rate of the day they are due, and a figure that changes later says what it was and why.

    5 tasks
    1. Let the finance team record suppliers and their bills in the invoice currency
    2. Count each bill in naira at the rate for the day it is due
    3. Settle a bill by matching it to a payment on a statement
    4. Show what was reported and what it is now after a rate is corrected or a bill is late
    5. Show everything owed, soonest due first, with overdue bills at the top
  6. Sprint 06

    What a fall would cost

    Each currency's net position is the cash held less the bills owed, opening onto both, and the finance team sees what a 10, 20 or 40 per cent fall in the naira would cost.

    5 tasks
    1. Show what the company holds, owes and nets in each currency
    2. Say in words whether a fall in the naira hurts or helps
    3. Show what a 10, 20 or 40 per cent fall in the naira would cost
    4. Let the finance team choose its own size of fall
    5. Make every scenario figure match a calculator
  7. Sprint 07

    The position, every evening

    The position is saved by itself every evening, exactly once however many times the work runs, a missed or failed evening is shown rather than hidden, and the month can be read back day by day.

    5 tasks
    1. Save the position every evening with nobody pressing anything
    2. Save one position per evening, however many times the work runs
    3. Show a missed or failed evening instead of skipping it
    4. Let the finance team read the month back evening by evening
    5. Keep a saved evening exactly as it was that evening
  8. Sprint 08

    Where the finance team works

    The app runs at its own address on the internet, holding only figures a company put there, and a finance team that never met the developer can sign up, upload a statement and trust what it says.

    5 tasks
    1. Put the app online at its own address
    2. Make sure the live app holds only figures a company put there
    3. Keep every secret and setting out of the repository
    4. Keep every statement through a release, and let a bad release be undone
    5. Run the evening position live, and tell someone when anything fails
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 finance team who uses it, and the three parts that make it hard.

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 currency exposure for an importer.

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

Start today, for free