Admin guide: Sales

Tally export

On this page

Menu group: Sales · Permission needed: sales.export

Tally export turns the invoices and credit notes of GST & Tax into a file your accountant imports into Tally Prime: Tally XML (the main one), or the same figures as Excel or CSV for checking. There is no live connection to Tally: you download a file and the accountant imports it. It uses the same invoice numbers, dates and amounts as GST & Tax, and it shows a reconciliation with GST & Tax before you download. It has not been tested against a real Tally yet, so the first import is done step by step (see the safe import steps below). You find it on the GST & Tax page (the + Tally export button and the More exports list) and under Sales reports.

What it exports#

One Sales voucher per invoice (or one summary voucher per day), and one Credit Note voucher per credit note, for the period you choose (last month is the default).

  • The voucher number is our invoice number (for example INV-26-27/00002), so a second import is easy to recognise. A credit note voucher points to the original invoice number in its Reference.
  • Each voucher debits the party for the invoice total and credits Sales, Output CGST and Output SGST (same state) or Output IGST (other states), a courier line when shipping is not taxable, and a Round Off line when the total is not a whole rupee. A credit note is the same with the signs reversed.
  • Only invoices that exist are exported. An order cancelled before payment (cancelled without a credit note) is left out, exactly as GST & Tax leaves it out. A paid order that was cancelled or refunded is exported as the invoice plus its credit note.
  • The amounts come from the same per-line calculation as the invoices and GST & Tax, so discounts, coupons, automatic discounts, combo prices and COD fees are already inside the amounts.
  • Receipts (money received) are not exported. The store does not record a payment date or a bank settlement for each order, so a receipt voucher would be a guess.

Tally export settings (the four open questions)#

Settings > Commerce settings > Integrations has an Integrations at a glance table with a Tally export row (Configured or Not configured). Open Tally export settings from there, or from the Export for Tally page. Four things were not decided yet, so each is a setting with a safe starting value. Decide them with your accountant and change them any time; nothing is lost.

  • Question 1, courier GST: the courier / shipping line follows your existing GST setting Shipping charged is taxable (Settings > Tax / GST). If it is taxable, shipping is part of the taxable value, taxed like the goods, and no courier line is exported. If it is not taxable, the courier line is a plain ledger line without GST (as in the accountant's sample: Courier Charges 110.00), and a COD fee gets its own COD Charges line. The Tally settings page only shows the current state and links to that setting; it is not duplicated.
  • Question 2, one voucher per invoice or per day: One voucher per invoice (the default) keeps every invoice number visible in Tally. One voucher per day posts a single Sales voucher and a single Credit Note voucher per day, numbered DAY-YYYYMMDD, with the same totals. A day exported earlier and then added to gets DAY-YYYYMMDD-2.
  • Question 3, party ledger: Single default party (the default) puts every sale on one ledger, CASH unless you rename it (for example Online Sales). Customer name as party creates a party ledger per customer name. A daily summary always uses the default party.
  • Question 4, stock items: Accounting only (the default) posts values only. With stock items every invoice line is posted as a stock item named after the product and variant, with its HSN, quantity, rate and the unit (Nos). The stock items must exist in Tally; the Masters file creates them. A credit note for a part-refund of value has no quantity, so it stays accounting only.
  • Company name in Tally: must match the company open in Tally exactly. Blank uses the legal name from Settings. Voucher types: Sales and Credit Note unless your accountant uses another type, for example Cash Bill - Onl-01.
  • Ledger names: Sales, Output CGST, Output SGST, Output IGST, Courier Charges, COD Charges and Round Off. They must exist in Tally with exactly these names; the Masters file creates them.
  • Voucher numbers: replace the start of the invoice number, for example INV- with ONL/ gives ONL/26-27/00002, to match the accountant's own series. Credit notes have their own pair (for example CN- with CN/). The replacement is used everywhere (voucher number, reference, history), and the export refuses to run if two vouchers of the same type would get the same number.
  • Date format of the Excel / CSV sheet. Tally XML always uses YYYYMMDD, and amounts are plain numbers with two decimals (no Indian comma grouping).

The Export for Tally page#

Pick the period and what to include, check the preview, then download.

  • Period: last month by default, or any month, quarter, financial year or custom range up to 400 days. Opened from GST & Tax it keeps that page's period and filters.
  • Include: Sales invoices and Credit notes. Include already exported (re-export) is off by default.
  • Preview: documents and vouchers, taxable value, CGST, SGST, IGST, shipping (courier and COD lines), round off and total, for invoices, credit notes and the net.
  • Reconciliation with GST & Tax: every invoice and credit note of the same period and filters, against the totals GST & Tax shows. All differences should be zero. If they are not, a red box appears and the download is blocked.
  • Format: Tally XML (for import), Excel (.xlsx) or CSV. Vouchers are split into files of 500 and zipped when there are more.
  • Masters XML (import first), Ledger checklist (a plain text list of every ledger, voucher type and stock item the vouchers use), and Download 1 sample voucher (just the first voucher as its own file).

Safe import steps for the accountant#

The file has not been tried against a real Tally yet, so go one small step at a time.

  • 1. Take a backup of the Tally company (or use a copy of it).
  • 2. Open Export for Tally, choose the period and press Masters XML. In Tally Prime: Import > Masters (or Gateway of Tally > Import Data > Masters), choose the file. If a ledger already exists Tally may report it as an error or skip it; that is fine. Compare with the Ledger checklist.
  • 3. Press Download 1 sample voucher and import that single file the same way (Import > Vouchers). Open the voucher in Tally and check the party, the amounts, the GST ledgers, the round off and the total against the invoice.
  • 4. Only then press Download with Tally XML and import the batch (if the download is a zip, unzip it and import each file).
  • 5. After every import look at Tally's import result: it lists how many vouchers were created and which had errors. The details are in the import log file (tallyerrors or the log shown at the end of the import, in the Tally Prime folder), with the voucher number and the reason, for example ledger not found.
  • If Tally says a voucher number already exists, that voucher was imported before. Do not import it again; delete it in Tally first if it has to be replaced.

Re-export and duplicates#

The store remembers which invoices and credit notes were in a downloaded file.

  • Documents are marked as exported only when you press Download with Tally XML, never for the preview, masters, checklist or sample. Excel and CSV are for checking, so they mark only if you tick Mark documents as exported.
  • Next time those documents are left out. The page says how many were left out. Tick Include already exported (re-export) to export them again; Tally will then refuse the duplicate voucher numbers unless the old vouchers were deleted.
  • The Export history shows date, who, range, format, vouchers, documents, total and file name (with the file's SHA-256 fingerprint on hover). Every export is also written to the audit log with counts and totals only, never customer names or addresses.

Privacy#

With the default Single default party the file contains no customer names or addresses. Customer name as party puts each customer's name (and a business buyer's GSTIN) in the file, so use it only when your accountant needs it. Keep the files as you would keep any accounting record.

Limits#

What to expect.

  • One export covers at most 400 days. For a year, export month by month or quarter by quarter.
  • There is no receipt, payment or bank settlement voucher.
  • Several GST rates in one invoice are posted to the same Output CGST / SGST / IGST ledgers (no ledger per rate).
  • The Masters file creates ledgers with standard groups (Sales Accounts, Duties & Taxes, Indirect Incomes, Indirect Expenses, and Sundry Debtors for the party). Your accountant can move them in Tally.
  • Not tested against a real Tally installation. If an import fails, send the Tally error text and the sample voucher file to the GroKeeper team.

How do I export my sales to Tally?#

Also asked as: tally; tally export; export to tally; tally prime; tally xml; accountant tally; import into tally; sales to tally; tally vouchers; tally file

Steps

  1. Open GST & Tax in the left menu and pick the month, or open Sales reports and press Export for Tally.
  2. Press + Tally export (it keeps the month and filters). Check the Preview and that the Reconciliation says it matches GST & Tax.
  3. Press Masters XML and give it to your accountant to import first, then Download 1 sample voucher and ask them to import and check that one.
  4. Choose Tally XML and press Download. Give the file (or the unzipped files) to your accountant.
  5. Ask your accountant to confirm the four settings under Tally export settings (courier GST, one voucher per invoice or per day, party ledger, stock items) before the first real import.

Tips

  • The documents in the file are marked as exported, so next month's file will not repeat them. There is no live connection to Tally.

Tally says ledger not found#

Also asked as: ledger not found; tally error; tally import error; ledger does not exist; tally ledger; tally masters; voucher not imported; tally exception; stock item not found; voucher type not found

Steps

  1. The voucher uses a ledger name that is not in the Tally company, or is spelled differently (even a capital letter or a space).
  2. Open Export for Tally and press Ledger checklist: it lists every ledger, voucher type and stock item the vouchers use. Compare with Tally.
  3. Press Masters XML and import it first in Tally (Import > Masters). It creates the ledgers with the exact names.
  4. If your Tally uses other names (for example Sales - Online), change them in Tally export settings (Settings > Commerce settings > Integrations) and download again.
  5. Check the Company name in Tally setting: it must match the open company exactly. Then import the single sample voucher before the batch.

Tips

  • The Tally import log names the voucher number and the missing ledger. A voucher type that does not exist in Tally is reported the same way.

Can I export the same month again?#

Also asked as: export again; re-export; reexport; export same month again; already exported; duplicate voucher; tally duplicate; exported twice; voucher already exists

Steps

  1. Open Export for Tally and choose the month. Already exported documents are left out by default, and the page says how many.
  2. Tick Include already exported (re-export) and press Preview, then Download.
  3. Tell your accountant: Tally rejects vouchers whose number already exists. Delete the earlier vouchers of that month in Tally first, or import only the missing ones.
  4. Every export is listed in Export history with its date, file name and fingerprint, so you can see what was sent when.

Tips

  • A new invoice issued later in an already exported month is picked up automatically in the next normal export.

Why does my Tally total differ?#

Also asked as: tally total different; tally does not match; tally mismatch; tally round off; tally courier; gst register mismatch; gst & tax mismatch; reconciliation; tally amount different; tally taxable value

Steps

  1. On Export for Tally read the Reconciliation box: it compares the export with GST & Tax for the same period and filters. Differences there mean the download is blocked and the GroKeeper team should check.
  2. If the box matches but Tally differs, check the period: GST & Tax counts an invoice in the month it was issued and a credit note in the month it was issued.
  3. Check the courier setting: when shipping is not taxable, the courier is a separate line without GST; when it is taxable, it is inside the taxable value. The invoice total is the same either way.
  4. Invoice totals are rounded to whole rupees with a Round Off line, and a daily summary adds the same lines up, so totals agree to the paisa.
  5. Tally may already contain the same sales from another source (for example the accountant's own cash bills). Compare voucher numbers.

Tips

  • Credit notes are exported as Credit Note vouchers, so they reduce the sales in Tally; the preview shows them as positive amounts and subtracts them in the Net row.