Expenses and revenue management in Viindoo Accounting

An analytic account lets you put the revenue and every cost of one transaction side by side. You choose the same analytic account on the sales order, the invoices, the vendor bills and the employee expenses of the transaction, and Viindoo shows the revenue, the costs and the margin of the transaction in one place.

This guide is for accountants. The example follows the order of the customer Thanh Dat Hotel Co., Ltd., tracked with the analytic account Lobby furniture: 32,400,000 VND of revenue, 5,000,000 VND of supplier costs and 400,000 VND of employee expenses (440,000 VND with the included tax), which leaves a margin of 27,000,000 VND.

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 and the analytic account must exist, see Analytic account in Viindoo.

Who can do this, and where?

Task

Role needed

Application

Choose the analytic account on a sales order

Salesperson

Sales

Choose the analytic account on invoices and vendor bills

Accounting Invoicing or higher

Accounting

Choose the analytic account on an expense

Employee

Expenses

Open the analytic account and read the analytic reports

Accounting Administrator (analytic account), Accounting Auditor - Readonly or higher (reports)

Accounting

How do I record the revenue of the transaction?

  1. Open the sales order and choose the analytic account in the column Analytic Distribution of each order line. Confirm the order.

    A confirmed sales order whose two lines carry the analytic account Lobby furniture in the column Analytic Distribution
  2. Create the invoice from the order. The invoice lines inherit the analytic account of the order lines. Post the invoice: the revenue is recorded on the analytic account.

    A posted customer invoice whose two lines carry the analytic account Lobby furniture in the column Analytic

An invoice that does not come from a sales order, for example for an extra delivery or a warranty package, takes the analytic account the same way: choose it in the column Analytic of the invoice lines.

How do I record the costs of the transaction?

Vendor bills

Choose the analytic account in the column Analytic of each bill line that belongs to the transaction, then post the bill.

A posted vendor bill for the truck rental and the loading whose lines carry the analytic account Lobby furniture in the column Analytic

To fill the account in automatically, create an analytic distribution rule for the vendor, see Creating Default Analytic Account.

Employee expenses

On an expense, choose the analytic account in the field Analytic Distribution. The cost reaches the analytic account when the accountant posts the expense. In the example, the expense of 440,000 VND for the tolls and the parking of the delivery includes 40,000 VND of tax: the analytic account receives the 400,000 VND without the tax.

A posted expense for the tolls and the parking of the delivery with the analytic account Lobby furniture in the field Analytic Distribution

See Employee Expenses Process for the full expense process.

Other costs

For a cost that has no document of its own, for example a penalty, create a journal entry in Accounting ‣ Accounting ‣ Transactions ‣ Journal Entries and choose the analytic account on its lines.

How do I analyse the revenue and the costs?

  1. Go to Accounting ‣ Configuration ‣ Analytic Accounting ‣ Analytic Accounts and open the analytic account. The buttons at the top of the form show the figures of the account: Budget, Gross Margin, Customer Invoices and Vendor Bills.

    The analytic account Lobby furniture with its buttons Budget, Gross Margin, Customer Invoices and Vendor Bills
  2. Click Gross Margin to list the revenue and the costs of the account line by line. The total, here 27,000,000 VND, is the gross margin of the transaction: the revenue minus the costs charged to the account.

    The revenue and cost lines of the analytic account Lobby furniture in November 2026 with the gross margin as total
  3. For a comparison between transactions, go to Accounting ‣ Reporting ‣ Management ‣ Analytic Report and group the rows by the plan Sales Orders, see Unlock Financial Insights: Analyze Revenue and Costs by Sales Orders.

Common problems

Problem

Cause

What to do

The expense does not appear in the analytic account

The expense is not posted yet.

Ask the accountant to approve and post the expense.

The invoice lines have no analytic account

The invoice was created without a sales order, or the order lines had no analytic account when the invoice was created.

Choose the analytic account on the invoice lines before posting.

The margin looks too high

Some costs are not charged to the analytic account.

Check the vendor bills and expenses of the transaction.

Next steps