The concept From findings to requirements
Your evidence register now says what is true, what is not and what is still unknown. This lesson turns the verified entries into requirements: clear statements of what must be true for the business, and how well the solution must work. Requirements come from evidence and business goals, not from the first request or from a solution you already like.
Write the outcome, not the mechanism. Normalize loan identifiers sounds like a requirement, but it is one way to build something. The requirement is the outcome the business needs: a loan number sent with or without the LN- prefix reaches the same loan. Writing the outcome keeps design choices open and gives the tester something to check.
What it must do Functional requirements
A functional requirement says what must be true for the business. Each one below is traceable, to a business goal or obligation and to the evidence behind it, and testable, with the check a tester would run:
| ID | Requirement: what must be true | Traces to | How it is tested |
|---|---|---|---|
| R1 | Every payment in the bank file is posted to the correct loan, or listed as an exception with a reason, by 8 a.m. the next business day | Goal: borrowers' payments count on time. Evidence E5, E7 | Replay one week of files: every row is posted or listed; none is missing |
| R2 | A loan number sent with or without the LN- prefix reaches the same loan | Evidence E4: the March format change | Post sample rows from the February and March files: both reach the same loans |
| R3 | Analysts see each exception with the payment, the bank row and the loan record side by side, and can resolve it there | Goal: less manual investigation. Evidence E3 | Provisional target, to validate with at least three representative analysts in acceptance testing: a standard exception resolved in under two minutes without another tool |
| R4 | Operations is alerted the same morning when any row is rejected or the bank file has not arrived by 2:00 a.m. | Detection gap: failures were silent for weeks. Evidence E2 | Inject one bad row and hold back one file: both alerts arrive within 15 minutes |
| R5 | Every manual resolution records who did it, what changed, when and why | Obligation: the compliance audit policy | Resolve three test exceptions: the audit report shows all four fields for each |
| R6 | A payment received more than once is posted only once | Obligation: accurate financial records. Risk E6, still unknown | Send the same file twice and one event three times: each payment is posted once |
A requirement that traces to nothing is a wish. If you cannot name the goal, obligation or evidence behind a line, either find it or take the line out. And if you cannot describe the test, the requirement is still too vague.
A requirement that protects money Repeated events must never create duplicate postings
Payment data often arrives more than once. A provider retries after a timeout, the bank resends a file, or someone reruns the import after a failure. Every repeat must be recorded for the audit trail, recognized as already processed, and post nothing the second time. This is called being idempotent: doing it twice has the same effect as doing it once.
The trap is that two genuine payments can look exactly like a duplicate. A borrower who pays two installments on the same day sends the same amount, for the same loan, on the same date. Merging them would lose real money. So a repeat is decided by the source and its transaction ID, never by amount and date alone:
| What arrives | What should happen |
|---|---|
| The same bank file, sent twice | Recognized at file level by its file ID and contents; nothing is posted again; operations is told |
| The same provider event, retried after a timeout | Same source and transaction ID: posted once, and the repeat is logged |
| Two payments that look alike: same loan, same amount, same day | Different transaction IDs suggest two payments but do not prove it. Post both only when the provider references and the settlement show two payments; otherwise hold the second and escalate |
| One payment seen twice: the provider event and its bank settlement row | Two records of one payment: matched to each other, not posted twice |
How well Non-functional requirements
A non-functional requirement describes how well the system must work. These are the requirements customers forget to say, and the ones that cause failures in production. Cover each quality briefly, with a number where you can, and name who must confirm it:
| Quality | At the lender (to confirm) | Confirmed by |
|---|---|---|
| Capacity | The peak day, about 160,000 payments, and the 100,000-row morning file are processed before 6:00 a.m. | Operations manager, IT integration lead |
| Availability | The exception screen is available 7 a.m. to 7 p.m. Central on business days, at least 99.5% of that time | Operations manager |
| Recovery | A failed run can be rerun safely with no duplicate postings and finishes within one hour; received files are kept, so no payment is lost | IT integration lead |
| Retention | Payment records and audit history are kept for seven years | Compliance officer |
| Privacy | Borrower details are visible only to operations and compliance roles; account numbers are masked in exports; no borrower data in logs | Compliance officer |
| Observability | Every run reports rows received, posted, rejected and unmatched; an alert fires within 15 minutes of a rejected row or a missing file | IT integration lead, operations manager |
| Security and audit | Only authorized roles can adjust a payment, and every adjustment is traceable | Compliance officer |
Make it testable Ask for measurable requirements
| Vague | Testable |
|---|---|
| The system must be fast. | Process the 100,000-row morning file before 6:00 a.m., every business day. |
| The system must be secure. | Only authorized roles can make financial adjustments. |
| The system must be scalable. | Meet the same targets on the peak day, about 160,000 payments. |
| Keep the history. | Retain audit events for the required retention period. |
Practice Sort and sharpen
Practical exercise
Functional or non-functional?
The lender's team suggests the requirements below. Sort each one, then rewrite the vague ones so they can be tested.
- Show analysts the reason for each unmatched payment.
- The reconciliation must be reliable.
- Send an alert when the bank file is late.
- It must be easy to use.
- Borrower data must be safe.
Show a sample answer
- Show the reason for each unmatched payment: functional, and already testable.
- Must be reliable: non-functional and vague. Rewrite: the daily run completes for every business day, and a failed run is retried and reported within 15 minutes.
- Alert when the file is late: functional. Make it testable: alert the operations manager if the bank file has not arrived by 2:00 a.m.
- Easy to use: non-functional and vague. Rewrite: an analyst can resolve a standard exception in under two minutes without help. Label it provisional until it is tested with at least three representative analysts, including a new one.
- Borrower data must be safe: non-functional. Rewrite: borrower data is encrypted and only the operations and compliance roles can view it.
- Trace every rewrite: reliability traces to R1 and the silent failures; the late-file alert traces to R4; ease of use traces to the shadowing evidence E3; data safety traces to the compliance policy.
5 questions
Check your understanding
What you can do now
- Tell functional and non-functional requirements apart.
- Write requirements as business outcomes, not assumed solutions.
- Trace each requirement to a goal, obligation or evidence, and write its test.
- Require that repeated events never create duplicate postings, without merging genuine payments.
- Cover capacity, availability, recovery, retention, privacy and observability.
- Turn vague requirements into measurable, testable ones.
- Treat example targets as questions for the customer, not commitments.