Documentation
Documentation is the written record of how a piece of work was done and why: its purpose, inputs, steps, assumptions, checks and results. It lets a person who did not do the work understand it, rerun it and review it.
What it is
Documentation is the written account of a piece of work, kept so that someone other than the author can follow it. It records what the work is for, what data went in, which steps were taken, which assumptions and judgements were made, which checks were run and what came out.
The same idea applies to different objects. A query is documented by comments and a description of its filters. A financial model is documented by an assumption sheet, a description of each schedule and a change log. A process is documented by a procedure that names the steps, owners and controls.
Typical parts are:
- Purpose and scope.
- Sources of data and their dates.
- Method and steps.
- Assumptions and judgements, with the reason for each.
- Checks performed and their results.
- Version, author, reviewer and date of the last change.
This page covers the working documentation of analysis and models. Audit working papers, the audit form, have their own page.
Why it matters
Work that only its author understands cannot be reviewed, rerun or handed on. When the author leaves, or a figure is questioned months later, the reason behind a choice is lost.
IAASB, in International Standard on Auditing 230, states the test for audit documentation: it is sufficient to enable an experienced auditor with no previous connection to the audit to understand the procedures, results, evidence and significant judgements. The Federal Reserve’s supervisory guidance on model risk management treats documentation of model development and validation as part of governance, detailed enough for parties unfamiliar with a model to understand how it operates.
Worked example
Illustrative numbers. An analyst builds a monthly cost report from a query that reads 12 tables. The documentation is a one-page note and comments in the query.
The note states the purpose (cost by department), the source tables, the rule that excludes 3 internal accounts, the check that the report total equals the ledger total, and the version and date. A colleague takes over the report. Reading the note and the comments, the colleague reruns the query, sees that the totals agree and answers a question about the excluded accounts without asking the author.
Without the note, the colleague would need to reverse-engineer the query to learn why 3 accounts are missing.
How to read it
Documentation is adequate when a reader with the right background can answer four questions from it alone: what was done, with what data, under which assumptions and with what result.
Dated versions show how the work changed and why a result differs from an earlier one.
Assumptions
- The reader has the technical background of the field but no knowledge of the particular work.
- The documentation is updated when the work changes, so that it matches what is actually in use.
- The documentation is stored where the people who need it can find it.
Who uses it
- Data analysts comment queries, describe filters and record the source of each figure.
- Business intelligence analysts describe the definition of each metric on a report.
- FP&A analysts keep the assumption sheet and change log of a planning model.
- Business controllers record the steps and checks of the close and of reconciliations.
- Model risk and validation specialists read model documentation to review how a model works and where it is limited.
- Internal auditors read documentation to test whether a process runs as described.
Common confusions
- Documentation is not the same as comments in code. Comments explain lines; documentation explains purpose, data, assumptions and checks.
- Documentation is not the same as audit working papers. Working papers record the auditor’s procedures and conclusions; process and model documentation records how a business activity or model works.
- A procedure that describes intended practice is not a record of what was done in a given period. The record of a run is a separate item.
- Documentation does not replace review. It makes review possible.