Saving, Closing, and Reopening Invoices
Understanding how AccuArk saves and manages invoices ensures you never lose work and always know the state of your data. This guide covers every aspect of saving, closing, reopening, and unlocking invoices.
Saving an Invoice
AccuArk provides several ways to save an invoice, each suited to a different workflow:
Save
Click the Save button on the toolbar to save the current invoice and keep the form open. This is the most common save action. Use it frequently while editing a complex invoice to ensure your changes are persisted to the database. After saving, you can continue editing the same invoice.
The save operation validates all required fields before writing to the database. If any required field is missing or invalid, the system displays an error message explaining what needs to be corrected. The invoice is not saved until all validation passes.
Save and New
Saves the current invoice, closes the form, and immediately opens a new blank invoice form. This is efficient when you are entering multiple invoices in succession. The previous invoice is fully saved before the new form opens.
Save and Close
Saves the current invoice and closes the form, returning you to the previous screen. The invoice remains active (IsClosed = 0) and can be reopened from the Invoice List at any time. Save and Close does not close the invoice in the business sense -- it simply closes the form window.
It is important to understand the distinction: "closing the form" (Save and Close) is different from "closing the invoice" (setting IsClosed = 1). Save and Close is a user interface action. Closing an invoice is a business workflow action.
What Gets Saved
When you save an invoice, the following data is written to the database:
- All header fields (invoice number, dates, customer, addresses)
- All line items with their quantities, prices, discounts, tax rates, and notes
- The current order status
- Financial totals (subtotal, discount, tax, shipping, total)
- Notes, terms, memo, and tech notes
- Team assignments
- Deposit information
- Customer approval details (if recorded)
- Delivery confirmation details (if recorded)
Payment records and status history entries are saved independently when those actions are performed. They do not wait for the main invoice save.
When Invoices Auto-Save
Certain actions trigger an automatic save of the invoice without requiring you to click the Save button:
- Recording a payment -- When you record a payment through the Receive Payment dialog, the payment is saved immediately and the invoice's paid amount and balance are updated
- Processing a refund -- Refunds are saved immediately when confirmed
- Changing the order status -- When you select a new status from the order status dropdown, the status change and any associated inventory actions are saved immediately
- Recording customer approval -- Approval details are saved when the approval form is confirmed
- Confirming delivery -- Delivery details are saved when the confirmation form is submitted
These auto-save operations ensure that critical financial and workflow actions are never lost, even if you forget to click Save afterward or the application closes unexpectedly.
Closing an Invoice
Closing an invoice is a distinct action from saving it. Closing marks the invoice as complete and transitions it from your active workload to your historical records.
What Happens When You Close an Invoice
When an invoice is closed (IsClosed set to 1):
- The invoice becomes read-only -- All fields, line items, and controls on the form are disabled. You cannot make changes without first reopening the invoice.
- It leaves the active list -- The invoice no longer appears when filtering for active invoices. It appears in the closed invoice view instead.
- Inventory is finalized -- Any inventory that was subtracted during the order status workflow remains subtracted. No further inventory actions occur on a closed invoice.
- Payments are finalized -- The payment record is preserved as-is. Any remaining balance is recorded but no longer treated as active accounts receivable.
- The close action is logged -- The audit trail records who closed the invoice and when.
Closing Does Not Delete Anything
Closing an invoice is not the same as deleting it. All data -- line items, payments, status history, team assignments, progress logs, approvals, and delivery confirmations -- remains in the database permanently. Closed invoices contribute to all reports, sales summaries, and customer history.
Edit-Locked Statuses
Some order statuses are configured with an edit lock (IsEditLock = true). When an invoice is in an edit-locked status, the invoice form becomes read-only even though the invoice is still active (IsClosed = 0).
Edit locks are used to prevent changes to invoices that have progressed past a certain point in your workflow. For example, you might configure the "In Production" status with an edit lock because you do not want someone modifying line items after the production team has already started working on the order.
What Edit Lock Prevents
When an invoice is in an edit-locked status:
- Line items cannot be added, removed, or modified
- Prices, quantities, and discounts cannot be changed
- Customer and address fields cannot be edited
- Notes and terms cannot be modified
What Edit Lock Does Not Prevent
Even in an edit-locked status, the following actions are still available:
- Changing the order status (to advance the workflow)
- Recording payments and refunds
- Assigning teams
- Recording customer approval
- Confirming delivery
- Viewing status history
- Printing and emailing
The edit lock protects the commercial details of the invoice while allowing workflow operations to continue.
Unlocking an Invoice
When corrections are needed on an edit-locked invoice, an authorized user can click the Unlock button on the toolbar. This temporarily removes the edit lock and allows changes to be made.
Who Can Unlock
The Unlock button is controlled by role-based permissions. Typically, only Managers, Location Admins, and Super Admins have the permission to unlock invoices. Regular employees and cashiers do not see the Unlock button.
This permission model ensures that invoice modifications after an edit lock require authorization from someone with appropriate authority, maintaining the integrity of your workflow.
What Happens After Unlocking
After unlocking, the invoice form becomes editable again. You can modify line items, adjust prices, change customer information, and update notes. When you save, the changes are recorded and the invoice returns to its normal state within the current order status.
The unlock action is logged in the audit trail, creating a record of who unlocked the invoice and when. This provides accountability for any changes made to invoices that were previously locked.
Reopening a Closed Invoice
If a closed invoice needs to be modified, an authorized user can reopen it. Reopening changes IsClosed from 1 back to 0, returning the invoice to the active invoice list and making it editable.
Common Reasons to Reopen
- Late payment -- A customer pays after the invoice was closed; reopen to record the payment
- Error correction -- A pricing error or wrong item was discovered after closing
- Return or exchange -- The customer returns goods and a refund needs to be processed
- Additional work -- The job requires follow-up work that should be tracked on the same invoice
Reopen Audit Trail
The reopen action is recorded in the audit trail with the user and timestamp. If the invoice is subsequently re-closed, that action is also logged. This creates a complete history of every time the invoice was opened and closed, providing full transparency.
Best Practices
- Save frequently -- Click Save after making significant changes. Do not rely on auto-save for line item edits.
- Use edit locks strategically -- Apply edit locks to statuses where changes would cause downstream problems, such as after production has started or after items have shipped.
- Close invoices promptly -- Once an order is fully complete and paid, close the invoice to keep your active list manageable and your reporting accurate.
- Document reopens -- When reopening a closed invoice, add a note in the memo field explaining why the invoice was reopened. This helps future reviewers understand the context.
- Limit unlock permissions -- Only grant the unlock permission to users who genuinely need it. The fewer people who can bypass edit locks, the more reliable your workflow enforcement becomes.
What to Read Next
- Order Status Workflow -- Configure edit locks and other status behaviors
- Payment Recording and Refunds -- Understand how payments interact with the save and close lifecycle
- Status History and Audit Trail -- Review the complete history of changes to any invoice