Markdown Editor

Functional Specification Document (FSD) Template

Roles and permissions matrix, per-feature flows, business rules, validation, messages, data fields, reports, notifications

Anforderungen & AnalyseVollständigCommon practice; ISO/IEC/IEEE 29148:2018 quality characteristicsfunctionalspecification

Anleitung: Use it when developers and testers need exact feature behaviour: flows, rules, screens, messages and data. Fill the FSD or SRS choice (1.5) and the roles matrix first. The main pitfall is restating SRS requirements in different words; refine them and cite their IDs instead.

Vorschau

Functional Specification: [Product or feature name]

Complete functional specification document (FSD). It describes exactly how the product behaves from the user's point of view: roles and permissions, each feature's flows, business rules, screens, validation, messages and data. No standard defines the FSD as a document type: the layout follows common industry practice, and the requirement quality checks paraphrase the characteristics in ISO/IEC/IEEE 29148:2018 (current as of October 2026; a third edition is at Draft International Standard stage, 2026-09). Replace every [bracketed] value and every row marked Example.

Document control

FieldValue
Document ID[FSD-PRODUCT-001]
Product / feature[Name] [release]
Version[0.1]
Status[Draft / In review / Approved / Superseded]
Author[@business-analyst]
Product owner[@product-owner]
Classification[Internal / Confidential]
Last updatedYYYY-MM-DD
Related documents[BRS / PRD], [SRS], [UX designs], [Technical design], [Test plan]

Approvals

RoleNameDecisionDate
Product owner[@name][Approved / Rejected / Approved with comments]YYYY-MM-DD
Engineering lead[@name][Decision]YYYY-MM-DD
QA lead[@name][Decision]YYYY-MM-DD
UX lead[@name][Decision]YYYY-MM-DD

Revision history

VersionDateAuthorChange summary
0.1YYYY-MM-DD[@name]First draft of features F-01 to F-03
0.2YYYY-MM-DD[@name]Example: Added refund approval rule RULE-RET-03; updated error messages after UX review
1.0YYYY-MM-DD[@name]Example: Approved for development of release 2

Contents

1. Introduction

1.1 Purpose

This document specifies the functional behaviour of [Product name] [release]. It is the reference for design, development, testing, documentation and user acceptance.

1.2 Scope

  • In scope: [feature F-01], [feature F-02], [feature F-03].
  • Out of scope: [feature excluded], [feature in a later release].
  • Assumptions: [assumption that affects behaviour, for example "users are already signed in through single sign-on"].

1.3 Audience and how to read

[Who reads which sections. Example: developers and testers read 4 and 5; operations reads 7 and 8; sponsors read 1, 3 and 10.]

1.4 Source requirements

SourceID rangeLocation
Example: Business requirementsBR-001 to BR-012BRS 1.0
Example: User storiesORD-101 to ORD-140Backlog
[Source][IDs][Location]

Identifier note: BR-nnn always means a business requirement from the BRS. Business rules inside this document use RULE-<feature>-nn so the two are never confused.

1.5 FSD or SRS: which to use

SituationUseWhy
Example: One product team, user-facing features, agile deliveryFSD onlyScreen behaviour, rules and messages are what developers and testers need
Example: Contracted or regulated delivery, acceptance against a formal baselineSRS (requirements/srs-iso-29148), with an FSD per feature if detail is neededThe SRS follows the ISO/IEC/IEEE 29148 information item that customers and auditors expect
Example: Software is one element of a larger systemSyRS (requirements/system-requirements), SRS per software element, FSD optionalRequirements are allocated across hardware, software and people
Example: Small change to an existing productUser stories with acceptance criteria (requirements/user-story-map)A full FSD costs more than the change

When both exist, the SRS holds the binding, testable "shall" statements (including quality requirements), and the FSD refines SRS section 3.2 into flows, screens, messages and data fields. Each FSD feature then cites the SRS IDs it refines in 1.4 and in the feature table in section 3.

2. User roles and permissions

2.1 Roles

RoleDescriptionTypical usersNumber
Example: CustomerPlaces and tracks ordersRegistered shoppers50,000
Example: Support agentHandles order queries and refunds up to a limitContact centre staff40
Example: Support supervisorApproves refunds above the agent limitTeam leads6
Example: AdministratorConfigures products, prices and rolesOperations3
[Role][Description][Users][n]

2.2 Permissions matrix

C = create, R = read, U = update, D = delete, A = approve, dash = no access.

FunctionCustomerSupport agentSupport supervisorAdministrator
Orders (own)C R URRR
Orders (all)-R UR UR
Refunds up to [limit]-CC A-
Refunds above [limit]-CA-
Product catalogueRRRC R U D
User roles---C R U D
Reports-R (own team)RR

3. Functional overview

[Short narrative of what the product does and the main user journeys.]

The feature map below shows how the main features relate.

IDFeaturePrimary rolePrioritySource
F-01Example: Browse and searchCustomerMustBR-001
F-02Example: Cart and checkoutCustomerMustBR-002
F-03Example: Order trackingCustomer, agentMustBR-004
F-04Example: Returns and refundsCustomer, agent, supervisorShouldBR-007
F-05[Feature][Role][MoSCoW][Source]

4. Global rules and conventions

  • Dates and times: shown in the user's time zone as [YYYY-MM-DD HH:mm]; stored in UTC.
  • Currency: [ISO 4217 code], two decimal places, rounding half-up.
  • Required fields: marked with an asterisk and announced to screen readers.
  • Validation timing: on leaving the field and again on submit.
  • Error message style: say what is wrong and how to fix it, in plain language, next to the field. No error codes in user-facing text.
  • Audit: every create, update and delete stores user, time and old and new values.
  • Accessibility: [WCAG 2.2 level AA].
  • Languages: [list]; all user-facing text comes from translation files.

5. Feature specifications

5.1 F-04 Returns and refunds

5.1.1 Description

Example: Lets a customer request a return for delivered items within the return window, and lets support staff approve and refund it. Supports full and partial refunds to the original payment method.

5.1.2 Actors and preconditions
  • Actors: Customer, Support agent, Support supervisor.
  • Preconditions: The order exists, has status Delivered, and the delivery date is within [30] days.
  • Trigger: Customer selects "Return items" on an order, or an agent opens a return on the customer's behalf.
5.1.3 Main flow
  1. Customer opens a delivered order and selects "Return items".
  2. System lists the returnable items with quantity selectors.
  3. Customer selects items and quantities and chooses a reason.
  4. System validates the request (5.1.6) and shows the refund amount.
  5. Customer confirms.
  6. System creates a return with status Requested, emails a return label and shows the return number.
  7. Warehouse scans the returned parcel; system sets status Received.
  8. Support agent inspects and selects "Approve refund".
  9. System refunds to the original payment method and sets status Refunded.
  10. System notifies the customer (N-03).
5.1.4 Alternate and exception flows
IDAt stepConditionBehaviour
A12Some items are not returnable (final sale)Items shown greyed with reason "Final sale items cannot be returned"
A24Return window passed while the request was open (outside the window the button is not shown, 5.1.7)Request blocked; message E-RET-02; link to contact support
A38Refund above agent limitStatus Awaiting approval; supervisor notified (N-04)
A49Payment provider declines refundStatus Refund failed; agent alerted; retry or store credit offered
A58Item damaged by customerAgent selects "Reject" with reason; customer notified (N-05)
5.1.5 Business rules
IDRule
RULE-RET-01Example: Returns are accepted up to 30 days after delivery date.
RULE-RET-02Example: Original shipping is refunded only when the whole order is returned.
RULE-RET-03Example: Agents may approve refunds up to 200; above that a supervisor must approve.
RULE-RET-04Example: One open return per order line at a time.
5.1.6 Validation rules
FieldRuleError message ID
QuantityInteger, 1 to quantity delivered minus quantity already returnedE-RET-01
ReasonRequired; one of the configured reasonsE-RET-03
CommentOptional; up to 500 charactersE-RET-04
Delivery dateWithin 30 days of todayE-RET-02
5.1.7 User interface elements
ElementTypeBehaviour
Return itemsButtonVisible only for Delivered orders inside the window
Item quantityNumber stepperRange from validation rules
Return reasonSelectValues from configuration table RET_REASON
Refund summaryRead-only panelUpdates as items are selected
Confirm returnPrimary buttonDisabled until at least one item and a reason are chosen

Wireframe or design reference: [link to design file, frame name].

5.1.8 Error and information messages
IDText shown to the userShown when
E-RET-01"Choose a quantity between 1 and [n]."Quantity outside range
E-RET-02"This order is past the 30-day return window. Contact us if you need help."Window expired
E-RET-03"Choose a reason for the return."No reason selected
E-RET-04"Comments can be up to 500 characters."Comment too long
I-RET-01"Return [number] created. We have emailed your return label."Return created
5.1.9 Data fields
FieldTypeLength / formatRequiredDefaultSource / notes
return_idStringRET-YYYYMMDD-nnnnYesGeneratedSystem
order_idStringORD-nnnnnnnnYesFrom orderOrders
line_itemsList1 to 50 itemsYesNoneCustomer selection
reason_codeEnumRET_REASON valuesYesNoneConfiguration
statusEnumRequested, Received, Awaiting approval, Refunded, Rejected, Refund failedYesRequestedSystem
refund_amountDecimal10,2YesCalculatedRULE-RET-02
5.1.10 Acceptance criteria
  • AC-RET-01: Given a delivered order within 30 days, when the customer returns one item with a reason, then a return is created with status Requested and a label email is sent.
  • AC-RET-02: Given a delivered order 31 days old, when the customer opens it, then "Return items" is not shown; and given a return started on day 30 and confirmed on day 31, then the request is blocked with E-RET-02.
  • AC-RET-03: Given a refund of 250, when an agent approves, then the status becomes Awaiting approval and a supervisor is notified.

5.2 [F-nn Feature name]

[Repeat the structure of 5.1 for each feature: description, actors and preconditions, main flow, alternate flows, business rules, validation rules, UI elements, messages, data fields, acceptance criteria.]

6. Reporting

IDReportAudienceFiltersColumnsRefresh
RPT-01Example: Returns by reasonOperationsDate range, categoryReason, count, refund value, % of ordersDaily
RPT-02Example: Refunds pending approvalSupervisorsTeamReturn ID, age, amount, agentReal time
[RPT-nn][Report][Audience][Filters][Columns][Refresh]

7. Notifications

IDTriggerRecipientChannelContent summaryOpt-out
N-03Example: Refund completedCustomerEmailAmount, method, expected days to appearNo (transactional)
N-04Example: Refund above agent limitSupervisorIn-app, emailReturn ID, amount, agentNo
N-05Example: Return rejectedCustomerEmailReason, next stepsNo
[N-nn][Trigger][Recipient][Channel][Content][Yes / No]

8. Integrations

IDSystemPurposeDirectionTriggerFailure behaviour
INT-01Example: Payment providerIssue refundsOutRefund approvedStatus Refund failed; retry up to 3 times
INT-02Example: Warehouse systemConfirm parcel receiptInParcel scannedManual receipt by agent
[INT-nn][System][Purpose][In / Out][Trigger][Behaviour]

9. Non-functional summary

AreaRequirementReference
PerformanceExample: Return request confirmation within 2 s at p95[NFR-PERF-03]
AvailabilityExample: 99.9% monthly for customer-facing functions[NFR-AV-01]
SecurityExample: Refund approval requires re-authentication within the last 15 min[NFR-SEC-07]
AccessibilityWCAG 2.2 level AA[NFR-ACC-01]
PrivacyExample: Return comments are deleted after 2 years[NFR-PRIV-02]

10. Acceptance criteria summary

FeatureAcceptance criteriaTest casesStatus
F-04AC-RET-01, AC-RET-02, AC-RET-03TC-RET-001 to TC-RET-012[Not run / Passed / Failed]
[F-nn][AC IDs][TC IDs][Status]

10.1 Quality check before sign-off

CharacteristicQuestion to ask of each flow step, rule and acceptance criterionTypical failure
NecessaryDoes it trace to a source requirement in 1.4?Gold-plating added during design review
AppropriateDoes it describe behaviour, not implementation?Database table or framework named in a rule
UnambiguousWould two testers write the same test?"Shows a suitable message", "quickly"
CompleteAre alternate and exception flows covered for every decision?Missing behaviour when a provider times out
SingularDoes each rule state one condition and one outcome?One rule with three "unless" clauses
FeasibleHas engineering confirmed it can be built within the release?Real-time feed from a system that only sends nightly files
VerifiableIs there an acceptance criterion that covers it?Rule with no AC and no test case
CorrectHas the product owner confirmed the behaviour?Analyst's guess at an edge case
ConformingDoes it follow the global rules in section 4?Date or currency shown in a different format

For the document as a whole, check that it is consistent (no rule contradicts another or the permissions matrix), complete (every feature in section 3 has a block in section 5) and able to be validated (every feature has acceptance criteria in this section).

IDItemCharacteristic failedFindingActionOwnerStatus
QL-01RULE-RET-02UnambiguousExample: "Whole order is returned" unclear when one line was cancelled before shippingDefine as "all shipped lines are returned"Product ownerOpen
QL-025.1.4 A4CompleteExample: No limit on refund retries from the agent screenAlign with INT-01: 3 automatic retries, then manual action[@ba]Open
[QL-nn][Item][Characteristic][Finding][Action][@owner][Open / Closed]

11. Open issues and decisions

IDIssue or decisionOwnerDueStatus / outcome
OI-01Example: Should store credit be offered when card refund fails?Product ownerYYYY-MM-DD[Open]
DEC-01Example: Partial refunds allowed per line, not per unitProduct ownerYYYY-MM-DDDecided
[ID][Issue][@name]YYYY-MM-DD[Status]

12. Appendices

12.1 Glossary

TermDefinition
Return windowNumber of days after delivery during which a return can be requested
Store creditBalance usable for future orders instead of a card refund
[Term][Definition]

12.2 Configuration tables

TableValuesMaintained by
RET_REASONDamaged, Wrong item, No longer needed, Size or fit, OtherAdministrator
[Table][Values][Role]

12.3 References

IDTitleVersion / dateSource
REF-01ISO/IEC/IEEE 29148:2018 Requirements engineering (quality characteristics only)2nd edition, 2018-11 (current as of October 2026; 3rd edition at DIS stage, 2026-09)ISO, IEC and IEEE: https://www.iso.org/standard/72089.html
REF-02W3C Web Content Accessibility Guidelines (WCAG) 2.2W3C Recommendation, October 2023https://www.w3.org/TR/WCAG22/
REF-03ISO 4217 Currency codes[Edition in use]https://www.iso.org/iso-4217-currency-codes.html
REF-04[Business requirements specification][x.y][Location]
REF-05[UX design file][x.y][Location]

12.4 Related templates

TemplateUse it for
requirements/business-requirementsThe BR IDs cited in 1.4
requirements/srs-iso-29148Formal "shall" requirements and quality requirements (see 1.5)
requirements/use-case-specificationDetailed use cases behind the main and alternate flows
requirements/nfr-catalogueFull quality requirements summarised in section 9
requirements/traceability-matrixLinks from source requirement to feature, test and release

Standard and licence note

Based on common industry practice for functional specification documents in business analysis and software delivery; no standard defines this document type. The quality check in 10.1 uses the requirement quality characteristic names of ISO/IEC/IEEE 29148:2018, Systems and software engineering: Life cycle processes: Requirements engineering (second edition, November 2018), with questions in original wording. As of October 2026 the 2018 edition is current and a third edition is at Draft International Standard stage (ISO/IEC/IEEE DIS 29148, draft dated 2026-09); check the current edition before use. No text of the standard is reproduced. Official text: ISO, IEC and IEEE, purchase or licensed access at https://www.iso.org/standard/72089.html. Original text written for this collection; examples are illustrative. Template licence: MIT.

Ähnliche Vorlagen