Help / Inventory
Stock documents
Goods receipts, goods issues, transfers and returns: entered as a draft, posted with an entry at average cost, corrected with a reversal.
On this page
On the Stock documents screen (Inventory group) you enter all stock movements. A document is first saved as a draft. On posting, the database assigns it a number, calculates the movements at the weighted average cost and creates the entry in the general ledger. A posted document cannot be changed or deleted; it can only be corrected with a reversal.
Document types
| Type | Prefix | What it does |
|---|---|---|
| Goods receipt | ПР | Stock inflow at purchase value (with related costs) |
| Goods issue | ИЗ | Stock outflow at average cost |
| Transfer | МП | Transfer from one warehouse to another at the same purchase value |
| Return to supplier | ПВД | Return of goods to the supplier at average cost |
| Return from customer | ПВК | Return from a customer, at an entered value or at average cost |
| Stocktake differences | ПО | Created by the system from a locked stocktake |
| Reversal | СТ | Created by the system when you reverse a posted document |
The first five types are entered manually. The number has the form <prefix>-<warehouse code>/<year>/00001. Numbering is per warehouse, type and year, without gaps, and is assigned only on posting.
A document can be in one of these states: draft, pending approval, posted, reversed or cancelled.
Entering a new document
- Open Stock documents and, in the New document section, choose Type.
- Choose Warehouse. For a transfer, also choose To warehouse.
- Enter Document date and, where needed, Partner.
- Counter account can stay empty. The default account for the warehouse type is then used (e.g. 220 for a goods receipt from a supplier).
- For a goods receipt and a return from customer with related costs, enter the Related-costs account (e.g. 651).
- If needed, enter Payment reference and Description.
- Add lines with + line. For each, choose an Item and enter a Quantity. For a goods receipt and a return from customer you also enter Value and Related costs. In a retail warehouse you also enter Sale price incl. VAT. Remove deletes a line.
- Click Save draft. The message “Draft saved.” appears.
Note: Only active items are offered in the item picker. A deactivated item or warehouse cannot be used in a new document.
Lines are entered together with the document. If you need to change a line in a draft, cancel the draft and enter a new document. The database does not allow adding lines later: “Lines are entered together with the document (new document for a change)”.
Retail warehouse
In a retail warehouse, stock is debited at sale price (663), with embedded VAT (664) and price difference (669). A goods receipt therefore requires a sale price for every item. When you open a posted goods receipt, the Costing section shows the purchase value, related costs, total purchase cost and the price per unit. For retail it also shows the price difference, the embedded VAT and the sale value.
Posting
- Click the draft’s row in the table.
- In the details, check the lines and the Entry (plan) section: account, partner, debit and credit.
- Click Post.
If entry approval is not turned on, the entry, the movements and the document number are created in the same transaction. You will see the message “Posted with entry #…”. If approval is turned on, a draft entry is created and the message is “Entry #… awaits approval.” The document is posted when that draft entry is posted. More on this in Drafts and approval.
If the document has no value (e.g. a transfer between two warehouses on the same account), it is posted without an entry: “Posted (no entry: zero value).”
What is posted
- The warehouse’s stock account is debited at purchase value (in retail at sale value, with 664 and 669 credited).
- A goods receipt credits the counter account (with the partner, if the account requires one) and the related-costs account.
- A goods issue and returns use the counter account.
- Stocktake differences go to 764 (surplus) and 464 (shortage).
Valuation at average cost
Outflows (goods issue, transfer, return to supplier) are valued at the weighted average purchase cost. You do not enter a value for them. When the whole quantity goes out, the whole value balance goes with it.
Cancelling a draft
- Open the draft.
- Enter a Reason.
- Click Cancel draft. The message is “Draft cancelled.”
Only a draft can be cancelled. If a draft entry has already been created for the document, cancel the draft entry first.
Reversing a posted document
- Open the posted document.
- Enter Posting date and Reason.
- Click Reverse.
The reversal is a new document with opposite movements and an entry on the reversal date. A reversal does not go to approval. The details show the link “Reversal of document #…” or “Reversed by document #…”. The entry of a stock document cannot be reversed directly from the journal; it is reversed only with a reversal document in the warehouse. See also Reversals and corrections.
Who can
Only the administrator and the accountant can enter, post, cancel and reverse. Other roles can view the documents. Without permission, the database returns “You do not have permission for this action in this legal entity”. See Roles.
What the database prevents
| Message | Code |
|---|---|
| The quantity must be positive | KC164 |
| The goods receipt requires a purchase value for item … | KC164 |
| Related costs require an account for the document’s costs | KC164 |
| Only a goods receipt has related costs | KC164 |
| An outflow is valued at average purchase cost (no value entered) | KC164 |
| A goods receipt in a shop requires a sale price (costing) for … | KC164 |
| Counter account … requires a partner (supplier / customer) | KC164 |
| The counter account cannot be a stock account (use a transfer for that) | KC164 |
| A transfer is possible only to another active warehouse of the same stock type | KC164 |
| The item … is not of the stock type kept in the warehouse … | KC164 |
| The document has no lines | KC164 |
| Negative stock: … in warehouse … — in stock …, outflow … | KC161 |
| Only a draft document can be cancelled (a posted one is corrected with a reversal) | KC163 |
| The document has an open draft entry — cancel the draft first | KC163 |
| The period is locked until … | KC003 |
| The financial year …–… is closed | KC110 |
| The legal entity is in read-only mode … | KC070 |
The database also rejects a document dated earlier than the item’s last movement in the warehouse, because it would change the already calculated average cost: “Item … in warehouse … has a movement on … — a document with an earlier date (…) would change the already calculated average cost”. So enter documents in chronological order.
If the stock has changed since the draft entry was created, the database reports on posting the draft that the entry does not match the movements. In that case, cancel the draft entry and post the document again.
Important: The year cannot be closed while there are unposted stock documents. Post or cancel them before year-end closing.
Something unclear or wrong? Write to us at [email protected].