Period locks and partial unlock
How the lock dates, filed VAT periods, closed fiscal years and journal lock dates protect the ledger, and how to open a date range inside a locked period with a reason and lock it again.
Once the ledger is enabled, the same locks that protect your invoices protect the books. A journal entry dated in a locked period cannot be written, changed, posted or deleted, by anyone, through the app or the API. The answer is always the same period_locked message, which names the lock and the first open date.
What locks the books
| Lock | Where it is set | What it stops |
|---|---|---|
| Lock date for everyone | Settings → Company → Tax & currency → Lock dates | Every entry dated on or before it |
| Lock date for other members | Settings → Company → Tax & currency → Lock dates | Entries on or before it, for members who cannot reopen periods; owners and admins pass and the pass is logged |
| Filed VAT return | VAT return → Record EmaraTax submission | Entries with a VAT line (rate, box or VAT amount) dated in the filed period; entries without VAT pass |
| Closed fiscal year | Year-end close (later phase) | Every entry in the year |
| Journal lock date | Settings → Company → Accounting → Journal lock dates | Entries of that journal dated on or before it |
Future-dated entries are never blocked by a lock on past dates.
Lock a journal
- Go to Settings → Company → Accounting, card Journal approval and locks.
- Under Journal lock dates, pick the date for a journal (for example the payroll journal once salaries are reviewed) and click Save. Clear removes it.
- Every change is in the audit log with the old and new date.
Open a range inside a locked period
- On the same card, click Unlock a period.
- Give From and To (at most a year apart), the Journal (or all journals), the Entries it applies to (all, manual, reversal, transfer, invoice, payment, opening balance) and the Reason (at least five characters).
- Choose when it Re-locks automatically (after 1, 4, 24 or 72 hours) or only by hand, and click Unlock. Other owners and admins get a notification.
- Post the entries you need. The unlock shows as open in the list with its scope and reason.
- Click Re-lock when you are done. Both the unlock and the re-lock are in the audit log.
A partial unlock never opens a filed VAT period (reopen the VAT return instead, which records the reason and the voluntary disclosure acknowledgement) and never opens a closed fiscal year.
Propose a change instead of unlocking
You do not have to unlock a period to let one change in. When a write meets a lock, the journal editor, the bank triage, the bill editor and the expense editor offer Propose this change; an AI assistant or an API client gets the same answer by itself (status: proposed). The change waits as a card in the close checklist (Proposed changes) and in the Approvals inbox; an approver other than the requester reviews the values before and after and the period impact, and Approve and apply does the partial unlock for exactly those dates, the change and the relock in one step. Where the close module is off, the notice says the change waits under Approvals, and its link Open Approvals leads to the page where it is decided. The unlock is listed with the reason proposal:<id>, already relocked. Owners and admins can turn the path off under Settings → Accounting (Locked-period writes).
Good to know
- Owners, admins and members with the reopen periods permission change journal lock dates and unlocks. Through the API this needs the
periods:managescope. - Reversing an entry in a locked period: the reversal is dated on the original day by default, so it is refused; choose a date in the open period. The original entry is still marked reversed.
- The API offers
POST /ledger/journals/{id}/lock,GETandPOST /ledger/period-unlocksandPOST /ledger/period-unlocks/{id}/relock; AI assistants useset_journal_lock,list_period_unlocks,unlock_periodandrelock_period.