If you posted an invoice by mistake and found you cannot edit it, that is by design. In NextBook every financial transaction goes through three states.
Draft
The invoice is saved but has not yet affected stock or the accounts. Its stock is only "reserved" so it cannot be sold on another invoice. You can edit or delete a draft.
Posted
Stock has left the warehouse, the customer's receivable and the income have been written to the ledger, and the invoice is locked. You can print it and reverse it, but not edit it.
Reversed
A reversing document has been created that puts stock and the accounts back as they were. Both documents stay in the system.
Why this is better
- Every change leaves a trail, so you can say later what happened and why.
- A report you ran yesterday does not silently change today.
- Stock and the accounts always agree with the documents.
The idea behind the locked document
In a paper notebook, a mistake is crossed out and rewritten, and no one can tell afterwards what the original said. That is convenient and dangerous at once. It is convenient because errors are easy to fix. It is dangerous because anyone, at any time, can change a figure in a way that nobody can see: an amount, a date, a quantity. Accounting systems that want to be trusted by owners, partners, banks and tax officers make a different promise: once a financial document is final, it cannot be changed. If it was wrong, the correction is itself a new, visible document.
This is the principle behind draft, post and reverse. It may feel strict at first, but it is what turns a collection of entries into a record that others can rely on.
The three states in detail
Draft: a working copy
A draft is an invoice, bill or other document that you have saved but not finalised. Nothing is final about it. You can change the customer, the items, the quantities and the prices, or delete the whole document. A draft does not change the ledger, the customer’s balance or the stock on hand. The only effect is that the stock on the lines is reserved, so that another invoice cannot sell the same units while you are still preparing this one.
Drafts are useful for several situations: a quotation you want to prepare before the customer confirms, a large order that is built up over a few hours, an invoice you want a colleague to check, or simply a document you are not sure about. Use drafts freely, but do not let them pile up: an old draft holding stock is a small trap for the next sale.
Posted: the document becomes a fact
When you post, the system performs the whole transaction. Stock leaves the warehouse and the cost of the goods sold is calculated. The customer’s receivable and the income are written to the ledger. The invoice gets its final number and its date, and it becomes locked. You can print it, send it, and look at it as often as you like, but you cannot edit it.
Think of posting as signing a cheque. Before you sign, you can still change your mind. After you sign, what has been done is a matter of record.
Reversed: the honest way to undo
If a posted document turns out to be wrong, you reverse it. Reversing creates a mirror document that cancels the first: stock comes back into the warehouse, the customer’s receivable and the income are taken out of the ledger, and both documents stay on file. Then you create the correct document and post it. The trail reads naturally: the original, its reversal, and the replacement. Anyone looking at the history can see exactly what happened and when.
A worked example
On Monday a clerk posts an invoice to the wrong customer: 20 bags of rice at 2,400 AFN each, which is 48,000 AFN. On Tuesday the mistake is noticed. The sequence is as follows. All numbers are made up.
- Reverse Monday’s invoice. Stock goes up by 20 bags again, the wrong customer’s balance falls by 48,000 AFN, and the sales are reduced by 48,000 AFN. The reversal document is dated Tuesday and carries a reference to the original.
- Create a new invoice for the correct customer, with the same items. Post it. Stock goes down by 20 bags, the correct customer’s balance rises by 48,000 AFN, and the sales are recorded again.
- Net effect: stock and sales are the same as if the invoice had been right on Monday. The two customers’ balances are correct. And the history shows three documents.
If the mistake is noticed on the same day, and if the document is still a draft, you do not need any of this: you simply edit the draft.
What is the difference between reversing and deleting?
Deleting makes the document disappear. A reversal keeps it, and adds the opposite. In accounting, anything that has affected the books must stay visible. If deletion were allowed, someone could post a sale, collect the cash, and delete the invoice, and the books would have no trace of either. Reversal makes this kind of concealment impossible, and it protects honest staff too, because their corrections are plainly marked as corrections.
What about the numbers: the effect on reports
- Reports run before a reversal show the original figures; reports run after show the corrected figures, with both documents in the detail. A report for a past period does not change just because you corrected something today, unless you deliberately record the reversal back in that period.
- The stock on hand is always in step with the documents. Posting reduces it; a reversal restores it.
- Customer and supplier statements show the invoice and its reversal as two lines, so that the customer’s statement agrees with what they received.
- The ledger totals are always balanced, because a reversal is itself a balanced entry.
Dates and closed periods
A reversal normally carries the date on which it is made. If the original was in a month that has already been closed and reported, record the correction in the current month rather than going back, and explain it in a note. Changing a month that has been reported to a bank, a partner or the tax office is a serious matter and should be avoided unless there is an agreed procedure.
Good habits around the three states
- Check the customer, warehouse, items, quantities and prices before pressing post. A thirty-second check saves a reversal.
- Use drafts for anything uncertain, and review them at the end of each day.
- When you reverse, write a short reason in the note: “wrong customer”, “wrong price”, “goods returned”. Future you will be grateful.
- Make the person who can post different from the person who can reverse, if your team is large enough. Reversals should be a conscious decision.
- Review the list of reversed documents each month. If the same person or the same type of error appears again and again, that is training or a process to fix.
Returns are not reversals
One more distinction is important. If a customer brings goods back a week after the sale, the invoice was not wrong, so you do not reverse it. You record a sales return, which is a separate document that brings the goods back into stock and reduces what the customer owes. Reverse when the original entry was a mistake; use a return when a correct sale is later undone by an actual event.
How this protects you
The locked document is not just a technical rule. It is protection for the owner against error and misuse, for staff against false accusations, and for the business in front of a bank or a tax inspector who asks you to explain a number. Every figure can be traced to a document, and every document to a person and a date.