Setup and admin · Period lock
Period lock: close a month and keep it closed
Period lock in Daftiq closes your books up to a date you choose. After that, no one can create, edit, post, cancel or delete a financial record dated on or before it: invoices, bills, returns, notes, payments, bank entries, journals, opening balances, POS sales or payroll. A payment made in an open period can still settle an older invoice.
Last updated:
- Where
- Settings → Period Lock
- Setting
- Books closed up to (a date, today or earlier)
- Who can change it
- The company owner, or a role given Period Lock permission
- Undo
- Remove lock reopens every period
Why should I lock a period?
Once a month is reconciled, its sales tax return is filed with FBR, PRA or SRB, or the year is handed to your auditor, its figures must not move. A late edit to an old invoice changes the profit and loss, the tax summary and the balance sheet you already shared.
The period lock stops these edits for everyone in the company, including staff who otherwise have full rights on invoices or journals.
How do I close the books up to a date?
- Finish the month: post the last invoices and bills, record payments and reconcile the bank in accounting.
- Check the reports, for example the trial balance and the tax summary.
- Open Settings and choose Period Lock.
- Enter the date in Books closed up to, for example the last day of the month you finished, and save. The date cannot be in the future.
- The section now shows Locked and "The books are closed up to" that date.
To reopen, press Remove lock or move the date back. The section then shows Open: "No period is locked. Every date is open for posting."
Which records does the lock cover?
| Area | Records |
|---|---|
| Sales | Sales invoices and lines, sales returns, credit notes and their applications, customer payments |
| Purchases | Purchase invoices (bills) and lines, purchase returns, debit notes and their applications, vendor payments |
| Money and books | Revenues, expenses, bank transactions, bank transfers, journal entries, opening balances |
| Modules | POS sales and payments, payroll runs, expense claims, contractor bills, piece work and more when those modules are on |
What happens when someone tries to change a closed period?
Daftiq refuses the change and says why, for example: "The books are closed up to 31-10. This invoice is dated 15-10, which is in the closed period, so it cannot be posted. Ask the company owner to reopen the period first." Moving a record's date into the closed period is refused the same way.
Settling an old document is still allowed: a customer payment dated in an open month can pay an invoice from a closed month, because only the paid and balance amounts change. Automatic postings that fall in a closed month, such as asset depreciation, are dated on the first open day instead.
Where does the period lock fit in month-end?
Month-end in Daftiq runs in order: sales invoices and purchase bills are posted, payments are recorded, the bank is reconciled in the Accounting module (bank reconciliation), reports are checked, and then the period is locked. Every lock change is a settings change, so it shows in the audit log. See the other controls on the setup and admin hub.
Frequently asked questions
Can I lock a future date?
No. The books can only be closed up to today.
Can a staff member with full invoice rights edit a locked month?
No. The lock applies to every user of the company. Only the owner, or a role given the Period Lock permission, can move or remove the lock.
Can a customer still pay an invoice from a locked month?
Yes. A payment dated in an open period settles the old invoice. The old invoice's own lines and date stay as they were.
What if I find a mistake in a locked month?
Either reopen the period, fix it and lock again, or leave the month closed and post a correcting entry in the current month. Both show in the audit log.
Does the lock stop stock movements?
It guards financial records. Documents that move stock and money, such as invoices, bills and POS sales, are covered, so their stock postings cannot be changed through them either.
In this group: Setup and admin
- Company Setup Wizard: Ready in Five Steps
- Users and Logins: Invite Staff, Limits, History
- Roles and Permissions: Who Sees What
- Import Data from Excel or CSV into Daftiq
- Switch to Daftiq from Excel, Tally, QuickBooks
- Company Settings: Logo, NTN, Currency, Numbers
- Email Templates and Notifications
- Use Daftiq in English or Urdu, Right to Left
- Multiple Companies: Company Groups and Switcher
- Approval Workflows: Bills, Discounts, Leave
- Audit Log: Who Changed What and When
- Period Lock: Close the Books Up to a Date
- Custom Fields for Customers, Products, Invoices
- Customer and Vendor Portal
- WhatsApp Invoices, Receipts and Reminders
- Company Documents: Folders, Versions, Expiry
- Daftiq Mobile App: Check In, POS, Scanner
Related guides
Close each month with confidence
Reconcile, check the reports, then set Books closed up to. Your filed figures stay as filed.