Accounting for Stock Valuation

The value of your stock depends on two settings of the product category: the Costing Method, which says how the cost of a product is calculated, and the Inventory Valuation, which says when Viindoo posts the journal entries of the stock. With Perpetual (at invoicing) the stock account is debited by the vendor bill and credited, against the cost of goods sold, by the customer invoice. With Periodic (at closing) nothing is posted until you close the period. You follow the value of the stock in Inventory > Reporting > Stock.

Who does this: an accountant or an inventory manager with the Inventory / Administrator access right and access to Accounting. Applications: Inventory, Purchase, Sales and Accounting.

Before you start

This tutorial requires the installation of the following applications/modules:

The Inventory Valuation field of the product category is shown to the users who have the Inventory / Administrator or an Accounting access right.

Which costing method should I choose?

On the product category, Costing Method offers three methods. The example is the same for each method: you buy 10 units at 100,000 VND, then 10 units at 150,000 VND, then you sell 5 units.

Standard Price

Each product has a fixed price that you enter by hand on the product, and you update it yourself when it changes. The stock is valued at this price, whatever the purchase price is. With a standard price of 120,000 VND:

Operation

Value of the movement

Inventory value after it

Buy 10 units at 100,000 VND

+1,200,000

1,200,000

Buy 10 units at 150,000 VND

+1,200,000

2,400,000

Sell 5 units

-600,000

1,800,000

First In First Out (FIFO)

The goods that came in first are the first ones to go out: the cost of a delivery is the cost of the oldest units in stock.

Operation

Value of the movement

Inventory value after it

Buy 10 units at 100,000 VND

+1,000,000

10 x 100,000 = 1,000,000

Buy 10 units at 150,000 VND

+1,500,000

10 x 100,000 + 10 x 150,000 = 2,500,000

Sell 5 units

-500,000

5 x 100,000 + 10 x 150,000 = 2,000,000

Average Cost (AVCO)

Viindoo recalculates the cost of the product every time goods are received: the new cost is the value of the stock divided by the quantity in stock.

Operation

Value of the movement

Inventory value after it

Buy 10 units at 100,000 VND

+1,000,000

10 x 100,000 = 1,000,000

Buy 10 units at 150,000 VND

+1,500,000

20 x 125,000 = 2,500,000

Sell 5 units

-625,000

15 x 125,000 = 1,875,000

When should the journal entries be posted?

Inventory Valuation has two options:

  • Periodic (at closing): validating a receipt, a delivery, a vendor bill or a customer invoice does not post the value of the stock. The stock accounts are brought up to date by the closing entry of the period, in the Inventory Valuation journal.

  • Perpetual (at invoicing): the vendor bill debits the Stock Account of the category, and the customer invoice adds two lines, one that debits the Expense Account of the category (the cost of goods sold) and one that credits the Stock Account. Receipts and deliveries themselves post nothing.

Note

The company-wide defaults of the valuation, the costing method, the valuation account and the closing frequency are in Accounting > Configuration > Settings, section Inventory Valuation. A product category can override them for its own products.

How do I set it up and follow it?

The steps below use a category with Average Cost (AVCO) and Perpetual (at invoicing) valuation, and the example above.

  1. Open Inventory > Configuration > Products > Categories and open the category of your product. Set Costing Method to Average Cost (AVCO) and Inventory Valuation to Perpetual (at invoicing). In Account Properties, check the Expense Account (632 Cost of goods sold) and set the Stock Account (156 Merchandise inventory).

    Product category with the Average Cost costing method, Perpetual inventory valuation and its stock account in Viindoo
  2. Create the product with Product Type Goods and Track Inventory ticked, and choose this category in the Category field. Create and confirm a purchase order for 10 units at 100,000 VND, then open its receipt and click Validate. The receipt is Done and its Journal Entries button shows 0: the receipt posts nothing, but the stock is already valued at 1,000,000.

    Validated receipt of a purchase order with no journal entry in Viindoo Inventory
  3. Go to Accounting > Vendors > Bills and click New. Choose the vendor, select the purchase order in Auto-Complete, fill in the Bill Date and click Confirm. On the Journal Items tab, the product line is debited to the stock account (156 Merchandise inventory) with 1,000,000.

    Journal items of a vendor bill that debit the stock account in Viindoo Accounting
  4. Receive and bill a second purchase order of 10 units at 150,000 VND the same way. The cost of the product is now 125,000 VND, the average of the two receipts. Then create and confirm a sales order for 5 units, validate its delivery, and create and confirm the invoice. The delivery posts nothing. The invoice posts, besides the sale, the cost of the goods: it debits the cost of goods sold (632) and credits the stock account (156) with 5 x 125,000 = 625,000.

    Journal items of a customer invoice with the cost of goods sold and the stock account in Viindoo Accounting
  5. Open Inventory > Reporting > Stock and search for the product. Unit Cost is 125,000 and Total Value is 1,875,000 for the 15 units on hand. Click the Total Value to open the Valuation list: it shows the receipts that still hold stock, with their remaining quantity and remaining value (5 units, 625,000 and 10 units, 1,250,000).

    Stock report with the unit cost and the total value of a product in Viindoo Inventory

With Periodic (at closing) valuation the same operations post no journal entry: the vendor bill goes to the expense account of the category and the stock accounts are adjusted by the closing entry.

Expected result

  • The product has the cost given by its costing method (here 125,000 VND per unit).

  • With Perpetual (at invoicing) valuation, each vendor bill debits the stock account and each customer invoice posts the cost of goods sold against it.

  • The Stock report shows the unit cost and the total value of each product.

Common mistakes

Problem

What to do

Validating a receipt or a delivery creates no journal entry.

This is normal: the entries are posted with the vendor bill and the customer invoice. A closing entry is needed when the category is on Periodic (at closing) valuation.

The vendor bill debits the wrong account.

The Stock Account of the category is empty or the category is on Periodic (at closing). Set the stock account and Inventory Valuation on the category before you create the bill.

You do not see the Inventory Valuation field.

It is shown to the users who have the Inventory / Administrator or an Accounting access right. Ask your administrator.

The cost of the product does not change after a receipt.

The category uses Standard Price: change the price on the product yourself, or use FIFO or Average Cost (AVCO).

Next steps