Unlock Financial Insights: Analyze Revenue and Costs by Sales Orders

To know whether an order or a contract makes money, you need its revenue and all its costs in one place. In Viindoo you give each sales order its own analytic account, in an analytic plan made for orders, and you choose that account on every document of the order. The analytic reports then show the profit of each order and let you compare the orders.

This guide is for accountants and salespeople. The example compares two orders, Lobby furniture (order S00043 of Thanh Dat Hotel Co., Ltd.) and Classroom desks (order S00044 of Viet Tin Education Co., Ltd.).

Requirements

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

Sales and Purchase are needed for the sales order and the vendor bill. Analytic Accounting must be ticked in the accounting settings, see Analytic account in Viindoo.

Who can do this, and where?

Task

Role needed

Application

Create the analytic plan and the analytic accounts

Accounting Administrator

Accounting

Choose the analytic account on the order lines

Salesperson

Sales

Choose it on vendor bills and journal items, and read the reports

Accounting Invoicing or higher (reports: Auditor - Readonly or higher)

Accounting

How do I prepare the analytic plan for orders?

Create one analytic plan for the orders, here Sales Orders, as explained in Analytic Plans in Viindoo. Each analytic account of this plan stands for one order or one contract, and the plan becomes a column of the analytic reports. In the example the plan is Mandatory for sales orders: the button Confirm refuses an order whose lines carry no account of the plan.

The analytic accounts of the plan Sales Orders, Classroom desks and Lobby furniture, with their debit, credit and balance

How do I give an analytic account to an order?

  1. Create the analytic account of the order in Accounting ‣ Configuration ‣ Analytic Accounting ‣ Analytic Accounts. Name it after the order or the contract, for example Classroom desks, and choose the plan Sales Orders, see Analytic account in Viindoo.

  2. Open the sales order. In the tab Order Lines, show the column Analytic Distribution with the toggle at the end of the header if it is hidden.

  3. Click the cell Analytic Distribution of a line. In the window that opens, type the name of the analytic account and choose it in the list. The window has one column for each analytic plan, with the share already given to the plan in the heading; the account lands in the column of its plan, with 100 percent.

    The analytic distribution window of an order line with the analytic account Classroom desks in the column Sales Orders at 100 percent
  4. Repeat for the other lines, then confirm the order.

A confirmed sales order whose two lines carry the analytic account Lobby furniture in the column Analytic Distribution

Note

The analytic account must exist before you choose it. If the salesperson forgot to choose an account, the accountant can choose it on the lines of the draft invoice before posting it.

How do I record the revenue of the order?

Click Create Invoice on the sales order. The invoice lines inherit the analytic account of the order lines. When you post the invoice, the revenue is recorded on the analytic account of the order.

A posted customer invoice for the order Classroom desks whose line carries the analytic account Classroom desks in the column Analytic

An invoice can carry an analytic account without coming from a sales order: choose the account in the column Analytic of its lines.

How do I record the costs of the order?

Vendor bills

Choose the analytic account in the column Analytic of each bill line, then post the bill.

When one bill covers several orders, split it into one line per order, with the quantity or the amount that belongs to each order, and choose the matching analytic account on each line.

A vendor bill with one packaging line for each order, each line carrying the analytic account of its order in the column Analytic

Warning

Do not choose an analytic account when you cannot tell which order a purchase belongs to, for example a purchase for the general stock. The cost would be charged to the wrong order.

Journal items

A cost that is already posted without an analytic account, for example a delivery cost, can be charged afterwards. Go to Accounting ‣ Review ‣ Control ‣ Journal Items, search the lines of the order, tick the line and choose the analytic account in the column Analytic Distribution: the column is optional, show it with the toggle at the end of the header. You need the accounting access rights for this. In the example, the delivery of 2,200,000 VND to the school of Viet Tin Education is charged to the account Classroom desks.

The journal item of the delivery bill with the analytic account Classroom desks in the column Analytic Distribution

Employee expenses and other costs

The costs paid by employees are charged to the order in the expense report, see Expenses and revenue management in Viindoo Accounting. Any other cost is charged with a journal entry that carries the analytic account.

How do I analyse the profit of each order?

  1. Go to Accounting ‣ Accounting ‣ Transactions ‣ Analytic Items. Search on the plan Sales Orders or on the name of the order to list its revenue and cost lines. The filter P&L Accounts keeps the profit and loss accounts only.

    The twelve analytic items of the profit and loss accounts of the two orders, with the revenue and the costs of each order
  2. Go to Accounting ‣ Reporting ‣ Management ‣ Analytic Report. Group the rows by the plan Sales Orders to see the balance of each order: the revenue minus the costs. Open an order to see the amounts by financial account.

    The analytic report grouped by the plan Sales Orders and by financial account, with the balance of each order

    The order Lobby furniture earns 13,580,000 VND (32,400,000 VND of revenue, 13,420,000 VND of cost of goods sold and 5,400,000 VND of costs) and the order Classroom desks 11,200,000 VND (39,000,000 VND of revenue, 23,500,000 VND of cost of goods sold and 4,300,000 VND of costs).

  3. Switch to the graph to follow the trend over time.

    The analytic report as a graph: the balance of Classroom desks and of Lobby furniture

Common problems

Problem

Cause

What to do

The order shows no cost

The vendor bills are drafts, or their lines have no analytic account.

Post the bills and choose the analytic account on their lines.

The profit of an order looks too high

A cost of the order was posted without its analytic account.

Charge the cost to the order in the journal items.

The column Analytic Distribution is missing on the order lines

The column is hidden in the list.

Show it with the toggle at the end of the column header.

Next steps