Blog · 20 November 2026 · 9 min read

Functional specification: a worked example,line by line

A complete specification sheet for a simple feature, annotated line by line, with the template I fill in before anything gets built.

A large white wireframe sheet unfolded into several panels on a black background, linked by green lines to a small gear
Fig. 01A large white wireframe sheet unfolded into several panels on a black background, linked by green lines to a small gear

You have a feature to get built, by an in-house team or by a supplier, and someone has asked you for "the functional specification". You look for an example, find forty-page templates, and still have no idea how much detail to write for a simple form.

I have worked on both the client side and the delivery side of projects, and these days I design and then build things myself. So I write specifications that I later have to check, which makes me demanding about what goes on the page. Here is a complete sheet for a simple feature, annotated line by line, and how I choose between a user story and a detailed document.

01What a functional specification says, and what it leaves to the developers

A functional specification describes what the product must do: who uses it, what they can do, with which data, under which rules, and how we will know it is done. It does not say how to build it. Choosing a database, a framework or an API belongs in the technical specification, which the development team writes or approves.

I hold this line for a simple reason. When the functional document imposes a technical solution, nobody feels responsible for questioning it, and the team builds what is written rather than what is useful. When it stays vague about a rule, the developer decides, alone, while coding. That decision should not land on them.

The specification comes after the project specification. That one is for pricing a whole project and comparing offers, and I have described my eight-part template. The functional specification then details each feature, enough to build it and test it.

02General, detailed or user stories: three levels for three readers

You will come across three forms, and they do not compete. Each one serves a different reader.

The general functional specification gives the overview: modules, journeys, roles, the main data flows. Someone new to the project can read it in half an hour.

The detailed functional specification goes down to the feature: fields, business rules, error cases, acceptance criteria. data.gouv.fr publishes a good example, the detailed functional specification for Passe Marché (in French). It shows a version, a date, a "Draft" status, a target audience and a glossary, with sections marked "[TO BE COMPLETED]". I like that honesty: a gap that is flagged is better than a gap that is hidden.

User stories describe a need from the user's point of view. The GOV.UK Service Manual writes them as "As a… I need… so that…", with acceptance criteria that start with "it's done when…". It stresses the goal: if you cannot write it, ask yourself why you think you need that feature.

How I choose

The test I use is whether the reader will be around while the work happens. Jeff Patton puts it well in a session recorded by Miro on story mapping mistakes: a story map does not communicate without someone there to tell the story. If you have to pass on a lot of important things without being in the room, you need a more precise form.

In practice, if the team sits next to me, we refine the backlog together and I can answer a question within the hour, user stories with their criteria are enough. The Scrum Guide describes refinement as an ongoing activity that breaks items down and adds detail as you go. If the build goes to a supplier, in another time zone, or will be read in a year by someone who was not there, I write the detailed sheet.

03A detailed functional specification example, annotated

The example is made up and deliberately simple: signing up to a newsletter from a website footer, with email confirmation. It is small enough to fit on one page, and rich enough to show where the rules hide.

FS-07, newsletter sign-up. Version 1.2 of 14/03, status: approved. Written by the project manager, approved by the marketing lead.

Goal: as a visitor, I want to sign up to the newsletter so that I receive new articles without coming back to the site.

Data:

  • email address, required, one per sign-up;
  • consent tick box, required, unticked by default;
  • source, meaning the page where the sign-up happened, recorded automatically.

Business rules:

  • BR1, the sign-up only becomes active after the confirmation link is clicked;
  • BR2, the confirmation link expires 48 hours after it is sent;
  • BR3, an address that is already signed up and confirmed creates no duplicate, and the visitor sees the same message as for a new sign-up;
  • BR4, every email contains a one-click unsubscribe link.

Error cases:

  • E1, malformed address: a message under the field, nothing is sent;
  • E2, box not ticked: a message under the box, nothing is sent;
  • E3, expired link: a page offering to send a new link.

Acceptance criteria, it's done when:

  • a valid address receives the link within 5 minutes;
  • clicking the link activates the sign-up, once only;
  • a link older than 48 hours leads to page E3;
  • unsubscribing works without logging in or a password.

Out of scope: topic preferences, SMS sign-up, importing old lists.

Open question: do we keep a record of unsubscribes? To be decided with the data protection officer.

The header

A number, a version, a date, a status, and two names: who writes, who approves. On a project integrating an ERP with an online shop, the specification changed at almost every meeting. I moved it forward version by version, so that everyone was talking about the same document. I turned that into a method for integration specifications. Without a version number, two people can approve two different texts while believing they approved the same one.

The data and the rules

The unticked box is not a design choice. The French data protection authority, the CNIL, points out (in French) that a pre-ticked box is not allowed for collecting consent, and that every email must let people refuse further ones easily. I write it into the sheet, with its source, so that nobody "simplifies" it later.

BR3 is the rule everyone forgets. Should you tell the visitor their address is already signed up? It is handy for them, but it tells anyone that an address is in your list. I chose the same message in both cases. What matters is that the decision is written down and approved, rather than left to the developer.

The acceptance criteria

Each criterion can be checked by someone who did not write the sheet. "The link expires" cannot be tested; "a link older than 48 hours leads to page E3" can be tested in a minute. These are the lines that will feed user acceptance testing.

Out of scope and open questions

The out of scope list stops an expectation nobody voiced from surfacing during testing. The open questions play the same role as the "[TO BE COMPLETED]" notes in the data.gouv.fr document: they show where the sheet is unfinished, and who owes the answer.

04Business rules are where projects succeed or fail

A feature almost always succeeds or fails on a badly written business rule, rarely on the screen. Two lessons taught me to write them all the way through.

The first is about units. Mixing centimetres and millimetres between two tools can distort an entire output. Since then, every numeric field in my specifications carries its unit, and the sheet says which one is the reference.

The second comes from Moonworkers, my company, which provides a payroll API for small UK businesses. A test oracle written from HMRC's own texts replayed 896 contribution cases and found four one-penny errors caused by a rounding rule. The rule was right in principle. It just was not written down to the rounding.

I specify my content pipelines the same way. The rules live in a configuration file the tool reads, not in an instruction someone forgets. Test articles that are deliberately bad must stay blocked: the equivalent of acceptance criteria replayed after every change.

05When I do not write a detailed specification

Nielsen Norman Group is hard on long requirements documents: nobody has time to read them, and those who read them end to end come away with very different interpretations. I agree when it comes to forty-page documents written in one go, before anyone has seen a screen.

So I do not write a detailed sheet for a feature the team builds next to me and that I can show at the end of the week. Nor do I write one for a hypothesis we want to test quickly: a clickable prototype answers that question better.

The sheet also has a hidden cost: it ages. A specification nobody updates after a decision becomes wrong, and a wrong specification is worse than none. If you have nobody to keep it up to date, keep it short.

It does not replace the work of translating between the business and the technical side either. If the original need is misunderstood, a well written sheet describes the wrong thing very precisely.

06Where to start on Monday

Take the next feature you need built and fill in the six headings from the example: goal, data, rules, errors, criteria, out of scope. Add a version and two names at the top. Then reread each acceptance criterion and ask whether someone else could check it without calling you.

If a rule resists, write it down as an open question rather than inventing an answer. That is often where the real decision in the project sits.

If you would like help writing or reviewing a specification before a build, it is part of what I do on projects, and you can see examples of past work in the portfolio. Happy to talk it through.

Frequently asked questions

What is a functional specification?
It is the document that describes what a feature must do, from the point of view of the person who uses it and the person who signs it off. Who can do what, with which data, under which rules, and how we will know it is done. It does not say how to code it. That choice belongs to the developers, and I leave it to them, even when I am the one building.
What is the difference between a functional specification and a technical specification?
The functional specification says what the product must do and under which rules. The technical specification says how the team will build it, with which tools, which architecture and which data exchanges. The first is agreed with the business, the second with the technical team. On a small project, I keep both in one document, in two clearly separate parts.
How long does it take to write a functional specification?
It mostly depends on how many business rules there are and who has to approve them. For a simple feature like the one in the example, a sheet takes an hour or two to write, followed by a conversation with whoever signs it off. The writing is not what takes time. Getting a clear answer on every rule that is still vague is.
What is the difference between a project specification and a functional specification?
The project specification describes the whole project so that a supplier can estimate it: context, goals, scope, constraints. Functional specifications come next and describe each feature precisely enough to be built and then checked. The first helps you choose a supplier, the second helps you build and run acceptance testing.

Sources

  1. 01data.gouv.fr, Passe Marché: detailed functional specification (in French)
  2. 02GOV.UK Service Manual, Writing user stories
  3. 03Miro, Five common mistakes teams make when User Story Mapping, with Jeff Patton, YouTube
  4. 04Ken Schwaber and Jeff Sutherland, The Scrum Guide, Scrum Guides, 2020
  5. 05CNIL, Commercial prospecting by email (in French)
  6. 06Nielsen Norman Group, User Story Mapping (Sarah Gibbons)