## ⚙️ Lock Invoices After Shift Close

Protect closed-shift totals so yesterday's paid invoices cannot be voided or re-tendered after the shift report is done.

### 📝 How to configure
1. Tap the **Settings** icon in the left sidebar.
2. On the **POS** tab, open **General Settings**.
3. Tap **Order**.
4. Scroll down to **Lock Invoices After Shift Close**.
5. Turn on the toggle. Its description reads: "Block void, change payment and void & duplicate on invoices paid in a closed shift".
6. Tap the green **Done** check to save.

Once the toggle is on, go to **MANAGEMENT** → **Invoices** and open the **More** menu on a locked, paid invoice:

| Action | Result on a locked invoice |
|---|---|
| **Change Payment** | Blocked, red error toast appears |
| **Void** | Blocked, red error toast appears |
| **Void & Duplicate** | Blocked, red error toast appears |

Tapping any of these three actions shows an error toast: "This invoice belongs to a closed shift and cannot be modified." The buttons stay visible; they are not greyed out.

Only paid invoices timestamped before the currently open shift started are locked (or any paid invoice when no shift is open). An invoice paid during the current open shift is never locked. **View Receipt**, **Reprint**, **Last Kitchen Slip**, **Add Customer**, **Add Sales Person** and **Order Timeline** keep working on a locked invoice, and open (unpaid) invoices are not affected. No role bypasses the lock; to correct a locked invoice, a manager must turn this setting off, make the change, then turn it back on.

> **💡 Tip:** To see it in action, enable the toggle, pay an invoice, close the shift, then try **Change Payment** or **Void** on that invoice from **MANAGEMENT** → **Invoices**.

---

## 🎬 Video Guide

[Watch Demo Video](https://support.agenteehq.com/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBaWNEIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--49364ea2d3059751199ab01dd2b5a78f98489e00/lock-invoices-after-shift-close-EN.mp4)
