Published

An HR team wants staff to find their annual payroll statements. Its proposed integration copies the whole payroll export into document metadata, including earnings and bank details. Yet the retrieval task needs an employee reference, payroll entity, year and statement type. The mapping would spread sensitive values well beyond the statement itself.
Choose index fields for a defined retrieval, access or retention purpose. Retain the approved statement where required, protect its content and keep payroll calculations in the payroll system. Review every extra copy of pay data, including search output, notifications and support logs.
Use verified employee and payroll-entity references to link each statement.
Check the file, index, search experience and integration outputs separately.
Keep the approved revision and its history tied to the correct entity and year.
Start with the questions staff must answer: whose statement is this, which payroll entity issued it, what period does it cover and which approved revision should be retrieved? Record the source document identifier so a correction can find the existing statement. Add the verified access and retention attributes the record needs.
For each proposed field, name its purpose, authoritative source, audience and correction owner. If a separate use requires an earnings value, assess that use and its destinations explicitly. Copying the entire payroll export should not be the default mapping. Even an employee identifier needs protection; it can connect records about the same person.
| Purpose | Candidate fields | Acceptance check |
|---|---|---|
| Match the employee | Source system, payroll entity and approved employee reference. | A matching reference in another entity cannot attach the statement to the wrong employee. |
| Retrieve and correct | Statement type, period, source document ID and revision status. | A correction updates the intended statement while the other entity's statement remains unchanged. |
| Govern the record | Verified access category and required retention category or trigger. | Only permitted roles retrieve the file and metadata; lifecycle controls follow the approved record rules. |
| Trace processing | Processing status and a controlled correlation reference. | Support can trace a failed transfer without routine logs containing earnings, bank details or statement content. |
Treat matching and authorisation as separate checks. Validate imported references and derive access from the agreed identity and policy mapping. An employee ID supplied in a file or request is not, by itself, permission to read that employee's records.
The approved statement may itself contain earnings, deductions or bank information. Leaving those values out of metadata does not remove them from the retained file. Define who can open or preview it, then check the configured OCR, full-text search and enrichment paths for the same record class.
Test what different roles see in titles, snippets, suggestions, exports and notifications. Review where extracted content and event payloads go, and which accounts can read them. A document with restricted access can still be mishandled if an integration copies its contents into a broadly accessible message or log.
Keep the integration identity's authority within its agreed task and employee population. Review the employee self-service interface and its identity mapping as part of the scoped integration. General access to an employee file should not automatically expose every sensitive document within it.
In this fictional design, Riley has a year-end statement from Entity A and another from Entity B. The organisation wants both linked to the same employee file, with access restricted by the agreed employee and payroll roles. This is a proposed integration exercise, not a reported customer deployment.
The team maps each source's employee and entity references to the verified employee record. The index keeps the entity, year, statement type, source document ID and revision status alongside the required governance attributes. Earnings and bank values remain within the protected statements and payroll system, outside the general index.
Under the agreed rules, Riley can retrieve both statements, Entity A's payroll reviewer can retrieve A's statement and Entity B's reviewer can retrieve B's. A manager and a general support role can retrieve neither. Test both files and their search, preview and export surfaces with fictional data.
The payroll team issues a corrected statement for Entity A. The integration matches its source reference, links the approved revision and records which earlier revision it supersedes. Entity B's statement is unchanged. Earlier evidence follows the agreed history-access, retention and hold rules rather than being silently overwritten.
A test correction arrives without its payroll-entity reference. The configured review route holds it for resolution before linking or publishing it. Support traces the failure through its status and controlled reference; the routine log and notification contain no pay values or statement attachment. An authorised owner resolves the mapping and records the outcome.
A new payroll export field, revised statement format or changed support tool can introduce another data destination. Review those changes against the approved field list and repeat the audience and correction checks. Include failed transfers and archived revisions in the review, alongside successful publication.
For the broader split between recruiting, worker information and governed employee documents, see HR document management, ATS and HRIS responsibilities. This payroll review focuses on the fields and document views that cross those boundaries.
The document index should help staff find and govern the right statement. Keep its fields purposeful, protect the statement's content and prove that corrections affect the intended employee and payroll entity. Review every destination that receives data from the integration.
The open-source foundation — API-first, deployable into your own AWS account, and free to use. Right for architecture validation and early implementation.
Production-ready editions for departments and complex workflows. Start with a Proof-of-Value deployment or go straight to production.
For governance-heavy environments with residency, sovereignty, assurance, and multi-jurisdiction requirements. Talk to us about the right deployment model.