Period locks and the audit trail: why last month’s numbers should never change quietly
Books that can be edited without a trace are not books; they are drafts. A period lock closes a month, an append-only log records every action, and database rules make tampering impossible rather than merely discouraged.
5 min read
In short: a defensible set of books has five properties: months you canlock, numbers withno gaps, anappend-only audit log of who did what,database rules that make an unbalanced or altered posted entry impossible, and aretention floor (six years in Wameed). When an inspector, a bank or a buyer asks “how do I know these numbers were not changed?”, these are the answer.
Controls are boring until the day they are needed. Then they are the only thing that matters.
Fiscal years and periods
The books are organised intofiscal years andperiods (usually months). A period is open while you are still posting to it, andclosed (locked) when the month is finished and reviewed.
Period locks
A lock says: “nothing may post to this period any more.”
- Posting is refused for a locked date, whatever the source.
- The lock history is append-only: you can see when a period was locked, by whom, and if it was reopened.
- Reopening is deliberate, needs permission, and is recorded.
- A filed VAT return locks its period in practice: figures that have been declared should not move. Seethe VAT return.
When to lock
After you have reconciled cash and bank, reviewed the entries, filed the VAT return and had your accountant sign off. A common rhythm is to lock the month by the 10th–15th of the next.
What to do when you find a mistake after locking
Do not reopen casually. Post anadjusting entry in the current open period with a clear description, and attach the reason. Reopen only for a material correction, with your accountant’s agreement, and lock again.
Gapless numbering
Journal entries receive their numberat posting time, in strict sequence. No number is skipped, and a number is never reused. A missing number is a red flag; a gapless sequence means the books can be shown to be complete.
The audit log
Anappend-only log records the actions taken in the books: who created, approved, posted, reversed or locked what, and when. In Wameed it covers a large catalogue of actions. “Append-only” means entries can be added but not edited or deleted, enforced in the database rather than by good manners.
Use it to answer:
- Who changed the account map last week?
- Who approved this draft entry?
- Who reopened March?
- Who filed the VAT return?
Database rules that make tampering impossible
Policies are not enough; people with access can break policies. The system enforces key rulesin the database:
- An unbalanced entry cannot be posted. Debits must equal credits.
- A posted entry cannot be altered or deleted. You reverse and re-post.
- A line cannot be posted to a heading account (a group label).
- The drill-down rows that tie an automatic entry to its source documents are kept as evidence and cannot be removed quietly.
- The audit tables cannot be edited or truncated.
- A branch with books cannot be deleted while entries exist.
These rules mean even an administrator with direct access cannot casually rewrite history.
Vouchers and attachments
Entries can carryattachments — the invoice scan, the bank slip — stored safely. In an audit, the entry and its evidence travel together.
Retention
Saudi rules require businesses to keep books and supporting documents for a minimum period. Wameed enforces asix-year retention floor on the books: they cannot be physically purged before then. Confirm the retention requirements that apply to you with your accountant and ZATCA.
Segregation of duties
Even the best controls fail if one person does everything. In a small business:
- The person who posts is not the person who approves where possible. A manual-review posting mode lets one person prepare and another approve.
- Reconciliations are reviewed by someone other than the preparer.
- The owner reviews the log periodically.
- Access is by role and removed when someone leaves.
A monthly close checklist
- Reconcile cash, card clearing and bank.
- Review the daily sales entries and any failures. Seethe daily sales entry.
- Enter outstanding purchase invoices and expenses.
- Reconcile supplier payables. Seesupplier payables.
- Prepare and file the VAT return.
- Review the statements.
- Lock the period.
- Ask the accountant to lock the mirrored period in any synced package. Seesyncing with accounting software.
Frequently asked questions
Can I edit a posted entry?
No. You reverse it and post the correct one, leaving the history visible.
Can a locked period be reopened?
Yes, deliberately and with permission, and the reopening is recorded.
Who can see the audit log?
People with the permission. Keep it to owners and finance.
Is this required by law?
Retention and the integrity of records matter for tax and audit; confirm the specific requirements with your accountant and ZATCA.
- #إقفال الفترات
- #سجل التدقيق
- #السنة المالية
- #سلامة الدفاتر
- #period lock
- #audit trail
- #books integrity
Share this article
Ask about your own shop
Thirty minutes on your products, your tax setup and your hardware — not a slide deck.
Keep reading
5 min read
Multi-level hiring approvals: who must say yes before a candidate moves forward
In a chain, the branch manager likes a candidate and head office has never met them. Approval rules per stage, named approvers in a fixed order and a rule that any “no” stops the card make hiring accountable without making it slow.
5 min read
Recruitment and a careers page for your shop: from job post to staff member in one system
WhatsApp threads, a stack of CVs and a memory of who said what is not a hiring process. A job post with a public link, a board you can drag candidates across and a hire that becomes a staff member in one click are.
4 min read
Document-expiry alerts: never find out that an iqama or health card expired last month
An expired residence permit or health certificate becomes a fine, a closed branch or a missing employee. A daily check that warns owners at sixty, thirty and seven days, once each, makes renewal a routine task.

