You send your project brief to two teams and get back two proposals you can't compare at all. One is several times the price of the other, and both say they've covered everything. The root cause usually lies elsewhere: each team has read the scope, and the meaning of “delivered”, in its own way. A software requirements document closes that gap. It records the problem, the users, the expected behaviour and the acceptance conditions the same way for everyone.
What is a requirements document, and who signs it off?
Put simply, a software requirements document is a written agreement about a system's problem, users, expected behaviour, constraints and acceptance conditions. A specific role approves each of its sections. It is not a list of pages or features. A list like “login, dashboard, reports” doesn't tell the vendor which decision the dashboard is supposed to make easier.
Compiling the document is usually the job of a product manager or business analyst. Whoever writes it, though, doesn't give the final approval. Three roles have a stake in sign-off:
Process owner: approves the business rules, such as who is allowed to reject a request.
Technical representative: checks feasibility and technical dependencies.
Project sponsor: the person with authority over the project. They accept the scope and priorities and take responsibility for them.
On a small project, one person may hold two or even all three roles. That's fine, as long as you write the approver's name next to each section. Take this seriously. Most of the delivery disputes I've seen started with a section everyone had read and nobody had signed off.
If you're not yet sure custom software is the right choice, read What custom software is and when it makes sense before you write the document.
What sections does a software requirements document include?
Short answer: a software requirements document has eight main sections. The first four cover the problem and goal, users and access levels, the workflow and its exceptions, and functional and quality requirements. The next four cover data and integrations, the scope of the first version, acceptance criteria for each requirement, and how changes are recorded. Give every requirement an ID, a priority and an approver. The document then becomes the shared basis for estimating, building and delivering.
A requirements-gathering form is a different thing. The form is the input to the conversation: the questions the client answers in the first meeting. An answer like “we want full reporting” isn't a requirement yet. You have to work on it until it becomes a sentence you can test. For example: “A unit manager can see their own unit's open requests, broken down by submission date.”
So work through the sections of this guide in order and fill each one in for your own project. At the end, use the sample and template at the bottom of the article as the basis for your own version.
Problem definition, goal and success metric
Start gathering requirements with an observable problem, not with a technology choice. “We need an admin panel” is a solution, not a problem. The first question I usually ask has three parts: who, in what situation, faces what obstacle?
From here to the end of the guide, we'll follow one hypothetical scenario. A company records and approves internal purchase requests through a messaging app and scattered files. Employees don't know where their request is stuck, and unit managers lose messages among other conversations. The first section of the software requirements document should describe exactly this situation, without exaggeration.
The goal in this example is clear: the status and owner of every request should be known at any moment. We'll set the success metric as “time between submitting a request and the manager's decision.” A metric without a definition is useless, though. Write down where measurement starts, where it ends and who reports the number.
Take the numbers from the organisation's own real data. You need two of them: the baseline, meaning the current state before the software, and the target. Don't put a guessed number in the document as a promised outcome, because everyone will later judge the project's progress against it. If you don't have the data, say so and add measurement to the tasks that come before kickoff.
When analysing software requirements, keep the steps in this order, because each one feeds the next:
Talk to real users, not just their managers.
Remove sensitive information from one real case, then walk through it from start to finish.
Note where people's accounts of the process differ. These differences come back later in acceptance testing.
Confirm the problem with the process owner. Only then move on to designing a solution.
Identifying users, roles and access levels
Each role in the software requirements document needs one row with six columns: role, main task, visible data, permitted actions, restrictions and access approver. The table below is the filled-in version for our hypothetical scenario.
Role | Main task | Visible data | Permitted actions | Restriction | Access approver |
|---|---|---|---|---|---|
Requester | Submitting and tracking requests | Only their own requests | Create, submit, view status | No editing after submission | Unit manager |
Unit manager | Deciding on requests | Their own unit's requests | Approve, reject, return for correction | No access to other units | Project sponsor |
Purchasing officer | Following up on purchases | Approved requests | Update purchase status | No right to approve or reject | Purchasing manager |
System administrator | Managing accounts | List of users and units | Create and deactivate accounts | No right to approve purchases | Project sponsor |
Pay attention to the last row. The system administrator needs broad access to set up accounts, but that's no reason for them to approve purchases too. Write technical permissions separately from business permissions. If you don't, the development team will give everything to a single “admin” role to keep things simple.
Also decide how the system handles a few situations that hardly anyone thinks of in the first meeting:
a unit manager who also submits requests of their own;
an employee who moves to another unit while a request is still open;
a manager who is unavailable for a while;
an employee who leaves the organisation and whose account must be deactivated.
If manager delegation isn't in the first version, put the manual workaround and the person responsible for it in the software requirements document.
One warning from the quality-control side: testing access means more than hiding a button. An unauthorised user might type the page URL straight into the browser, for example, and the system must turn them away there too. For a fuller list of these checks, the application security verification reference is a good place to start.
Recording the current workflow and exception cases
A workflow is the order in which work happens and who is responsible at each step. In the software requirements document, describe the current process separately from the proposed workflow. If you mix the two, today's inefficient habits quietly find their way into tomorrow's software.
In our scenario the proposed path is: draft, submission, manager review, approval or rejection, then routing of approved requests to purchasing. For every transition along that path, specify four things: who performs it, the condition, the data required and the next status.
From status | Action | Performed by | Condition and required data | Next status |
|---|---|---|---|---|
Draft | Submit | Requester | Description, amount and currency are complete | Awaiting review |
Awaiting review | Approve | Unit manager | Request belongs to their own unit | Approved |
Awaiting review | Return for correction | Unit manager | Item to be corrected is stated | Draft |
Awaiting review | Reject | Unit manager | Reason for rejection is recorded | Rejected and closed |
Approved | Route to purchasing | System | No additional condition | In purchasing queue |
Don't treat a return for correction as a final rejection. A return sends the request back to the requester with the same ID. A rejection closes the case. If the document merges the two, reports lose the meaning of “rejected” as well, and the monthly report will show more rejections than really happened.
Now turn to the exceptions. This is where most issues surface during acceptance testing:
Incomplete request: which fields are mandatory, and where does the error message appear?
Double-clicking submit: the system should create only one request.
Connection dropping mid-submit: how does the user know whether their request was recorded?
Manager unavailable: how long does the request wait, and who gets notified?
Changes after submission: are they allowed? If not, what's the right route?
Each exception needs an explicit answer in the software requirements document, even if the answer is “handled manually for now.” In the first version of our example, a rejected request is closed with a stated reason. It can only be corrected through a new request that references the old one. That choice applies only to this hypothetical example. It isn't a general rule, and your organisation may want a different approach.
Functional requirements and expected quality
You need to keep two kinds of requirement apart. A functional requirement is something the system does, like recording a request. A quality requirement, also called a non-functional requirement, defines how fast, how secure or how recoverable that action must be. Both affect the estimate, but most briefs leave out the second kind.
That's why every requirement in the software requirements document should follow a fixed template, so quality requirements get a clear place of their own. The template I suggest has eight parts: ID, role, preconditions, system behaviour, constraint, priority, dependency and acceptance criteria.
A rule of thumb helps here. If a requirement's description is full of “and”, it's probably several requirements. “The manager approves or rejects the request and the decision record is kept” is really two. In the sample at the end of the article, they have two separate IDs. Every independent behaviour needs its own ID so you can test it and accept it on its own.
In our scenario, one functional requirement is that the requester can submit a request with a description, an amount and a specified currency. Two quality requirements sit next to it. No user can see requests outside their own unit, and the record of each decision stays unchanged.
On speed, don't accept “the system should be fast”, because you can't test it. A speed requirement you can actually accept at delivery has four parts:
Data volume: the number of requests in the system during the test;
Concurrent users: how many people work with the system at the same moment;
Test environment: the server and network the measurement runs on;
Agreed threshold: the maximum response time both sides have accepted.
The final form looks something like this: “With … requests in the system and … concurrent users, on the agreed test environment, the request list opens in under … seconds.” Fill the blanks with figures both sides have agreed on, not with guesses.
Backups work the same way. Stating how often data should be backed up isn't enough. Agree two things with the business owner: the maximum amount of data the business can afford to lose, and how quickly the system must be running again. These two numbers affect infrastructure cost more than most sentences in the document, so don't leave them to the technical team's guesswork.
Accessibility, meaning the system can be used by people with visual or motor impairments, is also a quality requirement. Specify the expected level in the document, using the web accessibility criteria reference as your basis.
Every software requirements document has gaps. The gaps themselves aren't the flaw; hiding them is. Record each undecided item with the name of the person responsible for answering it and a deadline for the decision. Otherwise the vendor fills the gaps with their own guesses. By the time you notice, the thing is already built and changing it costs money.
A requirement without a test is a decision you've silently handed to the vendor.
Existing data, reports and integration with other systems
For every existing data set, record six attributes: source, owner, format, approximate volume, quality and sensitivity. Quality here means how complete and consistent the data is. Is a department called “Finance Department” in one file and “Finance” in another? Also prepare an anonymised sample file, with the personal information removed, so the vendor can see what they're dealing with.
In our hypothetical scenario, only the list of users and units moves to the new system. Importing historical requests is outside the first version, and that one sentence heads off later arguments. Migrating old data usually turns out to be more work than the first estimate, because old data is rarely as clean as you think.
Reports need precise definitions too. Without them, everyone reads the numbers their own way. For each report, include these in the software requirements document:
who reads the report and which decision they make with it;
filters and columns;
the reference date, such as submission date or decision date;
an exact definition of each status, for example whether “open” includes requests returned for correction.
One thing almost always gets missed: the export file. The export must follow the same access restrictions as the screen. A manager who sees only their own unit on screen shouldn't see the whole organisation in the downloaded file. Test this separately, because teams often build the screen and the export along two separate paths.
Integration with other systems usually happens through an API (application programming interface), a door through which two pieces of software exchange data. That depends on three things from the other side: access, documentation and a test environment. For each one, name someone in the software requirements document who is responsible for getting it. The reason is simple. The development team can't connect to a system if nobody has handed over its access key yet.
An integration without rules for handling errors is incomplete. If the other service goes down, a request must not be silently dropped or recorded twice. Specify who sees the error and who deals with it. In our example, integration with accounting isn't in the first version. If your project has a dependency like that, the guide to defining integration between business systems will help.
First-version scope and what's out of the project
The first version should deliver one complete, usable workflow, not a collection of half-finished pages. A user should be able to do one real task from beginning to end with it. To prioritise, weigh three things: whether work stops without the item, how risky it is, and what it depends on.
The table below shows the scope in the software requirements document for our hypothetical scenario:
In the first version | Out of the first version |
|---|---|
Submitting requests | Integration with accounting |
Manager decision (approve, reject, return) | Payment |
Status view for the requester | Separate mobile app |
Reports limited by access level | Migration of historical records |
Decision history | Automatic manager delegation |
Keep assumptions separate from commitments. Providing an accurate list of users and units, for example, is the client's job. It's a prerequisite for kickoff, not a feature of the software. If it isn't written in the assumptions section, any delay in providing it gets blamed on the development team.
Next to each excluded item in the software requirements document, write down what happens without it and the temporary workaround. For example, without automatic delegation, the system administrator manually changes a unit's approver when the project sponsor asks. Some things can't be dropped in the name of simplicity, though, and access control is at the top of that list.
Whatever is left unwritten turns into an argument on delivery day.
Turning each requirement into testable acceptance criteria
Acceptance criteria are conditions, checked by a specific test, that decide whether a requirement passes or fails. Don't confuse them with the business success metric. A shorter decision time for managers is a success metric, and you only see the result months later. Acceptance criteria give you an answer on delivery day.
The format I use in quality control has three parts: “Given this state, when this action happens, this result must be seen.” For the request submission requirement, the criteria look like this:
Positive: given a requester account and valid fields, when the user submits the form, the system creates a unique ID with the status “Awaiting review”.
Negative: given an empty amount, when the user submits the form, the system saves nothing and shows the error next to that field.
Repeat: if the same submission arrives again with the same operation ID, the system does not create a second request.
An operation ID (often called an idempotency key) is a code the form sends along with each submission. The system uses it to recognise that a second submission repeats the first, whether the user clicked again or the connection dropped midway.
Write the authorisation test separately. A manager from another unit who opens the request's direct URL must not be able to read or approve it. One point is often forgotten: when the system rejects an unauthorised action, no data should change either.
For every requirement, write three things alongside its criteria: test data, expected result and approver. Keep the requirement ID the same in the software requirements document, the test document and the delivery sign-off.
I suggest making the delivery sign-off a list of IDs with a pass/fail column from the very start. Delivery then becomes a simple check instead of a debate.
Sample software requirements document and editable template
This sample software requirements document is small, but it ties together every section we've covered. It's a hypothetical teaching example, not a real project. Here is the document summary:
Section | Hypothetical teaching sample |
|---|---|
Problem | When submitting and approving internal purchases, requesters and unit managers don't know the status or owner of requests scattered across a messaging app and files. |
Goal | The status and owner of every request are known at any moment. |
Success metric | Time between submission and manager decision. Starts when the submission is recorded and ends when the decision is recorded. Measured by the purchasing process owner. Baseline and target come from the organisation's real data. |
Roles | Requester, unit manager, purchasing officer, system administrator |
Path | Draft, awaiting review, then approved, rejected or returned for correction, then routed to purchasing |
Data | Migrate the list of users and units. No historical records and no accounting integration. |
Scope | Submission, manager decision, status view, access-limited reports, decision history |
Assumptions | The client delivers an accurate list of users and units before kickoff. |
Approvers | Purchasing process owner for the rules, technical representative for feasibility, project sponsor for scope |
And here are the system's four main requirements, each with a fixed ID:
ID and requirement | Priority | Dependency | Positive criterion | Negative criterion | Approver |
|---|---|---|---|---|---|
R-01: Submit request | Essential | None | With valid fields, the system creates a unique ID with the status “Awaiting review”. | Nothing is saved without an amount. A repeated submission with the same operation ID does not create a second request. | Purchasing process owner |
R-02: Manager decision | Essential | R-01 | The unit manager approves a request from their own unit or rejects it with a stated reason. | A manager from another unit cannot read or approve the request through its direct URL. A rejection without a reason is not accepted. | Purchasing process owner |
R-03: Status report | Essential | R-01 and R-02 | Rows on screen and in the export file match the selected filter. | The export file contains no rows outside the user's access. | Purchasing process owner and technical representative |
R-04: Decision history | Essential | R-02 | For every decision, the system records who made it, when, and the outcome. | No role can edit or delete the history through normal paths. | Project sponsor |
Test the last two requirements more carefully, because their errors aren't visible at first glance. For the report, it isn't enough that the page opens. Compare the rows on screen and in the export against the selected filter and the user's access. For the decision history, check that the actor, time and outcome are recorded and that no normal path allows anyone to edit them.
The two tables below are blank versions of the same structure. Copy them into your own file and fill them in.
Section | Your project's content |
|---|---|
Problem (who, in what situation, facing what obstacle) | … |
Goal | … |
Success metric (start, end, owner, baseline) | … |
Roles and access levels | … |
Workflow and exceptions | … |
Data, reports and integrations | … |
In scope for the first version | … |
Out of scope, with temporary workaround | … |
Assumptions and prerequisites | … |
Open items (owner and decision deadline) | … |
Approvers and document version number | … |
Requirement field | Value |
|---|---|
ID | R-… |
Role | … |
Preconditions | … |
System behaviour | … |
Constraint | … |
Priority | Essential / Important / Deferrable |
Dependency | … |
Positive acceptance criterion | Given …, when …, must … |
Negative acceptance criterion | Given …, when …, must not … |
Test data and expected result | … |
Approver | … |
Don't use the template exactly as it is. Build your own project's version from it, and replace the quality thresholds, owner names and deadlines with real figures. The sample above is for learning the structure, not for signing a contract.
نمونهکارهای ما در همین زمینه
Recording changes and approving the final version
A requirements document without a version number is just a file everyone keeps their own copy of. At the top of the document, write the version number, date, status, document owner and list of approvers. Each approval must also refer to a specific version. “I've seen the document and I agree” is worthless without a version number.
For every change to the software requirements document, fill in a short change request form that includes:
the ID or IDs of the related requirements;
the reason for the change;
its impact on scope, data and tests;
its effect on cost and schedule;
the final decision and the name of the person who made it.
Don't let verbal changes go into the build, however small they seem. Adding a second approval for certain purchases, for example, looks like one new button. That button also changes the workflow, the roles table, the reports and the access tests.
Before you send the software requirements document out for estimates, highlight the open questions and assumptions. Ask every vendor to respond based on the same version and the same scope breakdown. Also ask them to link what each proposal covers, along with its exclusions and dependencies, to the requirement IDs. Two proposals that couldn't be compared at the start will then make sense side by side.
We cover this stage in detail in Ordering custom software: from brief to proposal. In Niasa's custom software programming and development services, this is usually where the work starts. We review the document together, turn ambiguities into specific questions and settle the first-version scope before estimating.
Your next step is simple. Pick one workflow your organisation runs often and write up just that one, in full, using the template above. Then take it to a technical team and go through the technical ambiguities and first-version scope together. That single workflow will show you how much work the rest of the document needs and which decisions you still haven't made.
اگر نسخه اولیه سند را نوشتهاید، آن را مبنای گفتوگو با نیاسا درباره محدوده، وابستگیها و پرسشهای باز پروژه قرار دهید.
Frequently asked
5Should the client write the software requirements document?
The client should make the problem, the business rules and the decision-maker clear, but doesn't need to write every requirement in technical language. A product manager or analyst can put the document together, and the technical team can review its constraints and ambiguities.
What's the difference between an initial brief and a requirements document?
An initial brief usually explains what problem you have and what outcome you want. A requirements document turns that explanation into specific behaviours, clear project boundaries and testable delivery conditions.
Is a ready-made template enough to get an accurate quote?
A template helps you avoid forgetting things, but it doesn't replace a review of the project's data and dependencies. If access to other systems or the volume of data migration is still unknown, the quote should state those assumptions and uncertainties.
Can requirements change after the document is approved?
Yes. Approving the document doesn't mean changes are forbidden. A change should be recorded, and once its effect on dependent work, cost, schedule and tests has been reviewed, it goes into a new version of the document.
Do small projects need acceptance criteria too?
Yes. Even a simple form can be ambiguous about mandatory data, access and what happens on error. For a small project, a few clear, testable conditions are usually more useful than a long but vague document.






