Skip to content
Tutorials Center
My learning

Topics

Lesson 17 of 38 ยท Vouchers and Transactions

Sales and Purchase Accounting Invoices

Record credit sales and purchases in Tally Prime using accounting invoices and the as-voucher mode: party, sales or purchase ledger, tax ledgers and bill references.

Sales and purchases are the heart of trading. In Tally Prime the Sales voucher (F8) and Purchase voucher (F9) record them. When inventory is switched on, they become item invoices with quantities and rates, which the inventory chapter covers in detail. This lesson focuses on the accounting side: services, or goods without stock tracking, where you record the party, the income or expense ledger and any tax lines. Understanding this form first makes the item invoice much easier, because the accounting lines are the same.

Three voucher modes

On a Sales or Purchase voucher, Ctrl+H (Change Mode) switches between:

Mode You enter Used for
Item invoice Stock items with quantity and rate, plus ledgers Goods with inventory
Accounting invoice Ledgers with amounts, in an invoice layout (party details, invoice number) Services, or goods with no stock tracking
As voucher Ledgers with explicit Dr and Cr, like a journal Unusual cases, adjustments

In a company with Accounts only, the voucher opens in accounting invoice or as-voucher mode; with inventory, item invoice is the default.

A sales invoice in accounting mode

Take a consultant billing a client 50,000 for services, with 18% GST (9% CGST + 9% SGST, since both are in the same state). Press F8 and fill in:

  1. Party A/c name: the customer's ledger (Sundry Debtors), say Mehta Traders. Tally shows their balance.
  2. Invoice number and date; the voucher number may be automatic.
  3. Sales ledger: the income ledger under Sales Accounts, for example Consulting Income, with amount 50,000.
  4. Tax ledgers: CGST and SGST ledgers under Duties & Taxes with 4,500 each (after you set up GST; see the GST chapter).
  5. Bill allocation: for the party, a New Ref with the invoice number and a credit period.
  6. Narration.

The resulting entries are:

Ledger Dr Cr
Mehta Traders 59,000
Consulting Income 50,000
CGST Payable 4,500
SGST Payable 4,500

The party is debited the total including tax; income and tax ledgers are credited. Debits equal credits at 59,000.

A purchase invoice

A Purchase voucher (F9) is the mirror: Dr the purchase (or expense) ledger and Dr the input tax ledgers, Cr the supplier. For goods with no stock tracking, the debit goes to a ledger under Purchase Accounts. For services such as repairs, the debit goes to an expense ledger. The supplier's line uses New Ref with the supplier's bill number, which becomes the bill you pay later. Input GST on purchases is debited to ledgers such as Input CGST and Input SGST under Duties & Taxes, and is set off against output GST when returns are prepared.

flowchart LR
    subgraph Sale["Sales invoice"]
      A["Dr Customer (total)"]
      B["Cr Sales income"]
      C["Cr Output tax"]
    end
    subgraph Buy["Purchase invoice"]
      D["Dr Purchase or expense"]
      E["Dr Input tax"]
      F["Cr Supplier (total)"]
    end

The party carries the total; the income or expense and the tax lines carry the parts.

A sales invoice, line by line

Party Dr Customer owes the total.
Sales Cr Income before tax.
Tax Cr CGST, SGST or IGST.
New Ref Bill for the customer.
1 / 2

Cash sales and purchases

If the customer pays on the spot, you can record the sale against Cash (or a bank ledger) instead of a party, in the same Sales voucher. Some businesses prefer to enter a credit sale and then a receipt voucher, even when cash comes at once, so that every sale has an invoice party and a bill. A one-line "Cash Sales" daily total is common for retail counters. Choose the approach that suits your reporting.

Rounding, discounts and extra charges

  • Rounding off: create a ledger such as Round Off under Indirect Expenses (or Indirect Incomes) and let Tally calculate it automatically from the voucher type settings, so invoices total in whole rupees.
  • Discounts: an invoice can include a negative line for discount, or the discount can be shown in the item rate. A cash discount for early payment is normally a separate ledger (Discount Allowed or Received).
  • Freight and packing: add them as extra ledger lines (income on a sale, expense on a purchase), and decide whether they attract tax.

Party details and invoice number

The voucher has extra fields that appear on the printed invoice and, for registered parties, on GST returns: buyer's name and address, GSTIN, place of supply, supplier invoice number and date. If these are missing in the ledger master, fill them in the voucher or alter the ledger. Make sure the supplier's invoice number is entered exactly as printed: it is what ties the purchase to the supplier's return.

A stand-in: a sales invoice that balances

This stand-in builds the sales voucher from a base amount and a GST rate, splits tax into CGST and SGST (or IGST if the states differ), and checks that debits equal credits.

Python Sales invoice with GST lines (stand-in)

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

A stand-in: receivable and payable balances from invoices

Invoices create balances. This stand-in posts a few sales and purchase invoices and shows who owes what.

Python Debtors and creditors from invoices (stand-in)

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Common mistakes

  • Wrong sales ledger. A service posted to a goods ledger can change the GST treatment and the return.
  • Tax on the wrong side. Output tax on sales is a credit; input tax on purchases is a debit.
  • Forgetting New Ref. Without a bill reference, the party's balance is hard to reconcile.
  • Typing the supplier's invoice number from memory. Copy it exactly.
  • Recording a purchase as an expense payment. If you owe the supplier, use a purchase voucher and then a payment.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. A sales invoice of 50,000 plus 18% GST. What does the customer ledger carry?

    The party is debited the total including tax; sales and tax are credited.
  2. 2. Which key switches a Sales voucher between item invoice, accounting invoice and as voucher?

    Ctrl+H is Change Mode.
  3. 3. On a purchase invoice, input GST is:

    Input tax is debited and later set off against output tax.
  4. 4. What does New Ref on the party line do?

    New Ref creates a bill with an amount and due date.

Summary

  • Sales (F8) and Purchase (F9) vouchers have item invoice, accounting invoice and as-voucher modes (Ctrl+H).
  • A sales invoice debits the party with the total, credits income and output tax; a purchase does the reverse with input tax.
  • Use New Ref for bills so later receipts and payments can settle them.
  • Fill in party details and the supplier's invoice number accurately.

Next: Credit Notes and Debit Notes