Tally Prime export
Set your Tally company for each GSTIN and your ledger names in Accounting setup, then import AirQR's sales vouchers and ledger masters into Tally Prime so nobody retypes bills.
17 min read
India only. Tally exports exist for businesses in India. For a business in the UAE, the United States or the European Union they are not shown, and downloads are refused. See Regions and countries.
AirQR can export your settled bills as Tally Prime XML, which covers sales vouchers (one per bill, or one per day per payment mode) and the ledger masters to create in Tally first. The files come from the GST & accounts page, one set for each GSTIN, and the Tally company and ledger names are set under Accounts → Settings → GST & accounts settings, a page called Accounting setup. Owners and accountants can download the files, and managers when an owner switches on GST and accounts for them. Opening and changing Accounting setup needs Change Accounting setup, which the owner and the Accountant role have by default. A manager has it only if the owner switches it on (or if they already had both Settings and GST access). Available on every plan, including the trial.
If you give customers credit (see Credit and dues), each credit customer becomes a ledger and the money they pay comes out as Receipt vouchers (see "Credit customers" below).
Please agree the ledger names and groups with your accountant, and have them check the first month's import before relying on it.
Step 1. Set your Tally company and ledger names in Accounting setup
Tally matches ledgers by exact name. A voucher that names a ledger Tally doesn't have is rejected. So first decide the company and the names:
- Go to Accounts → Settings → GST & accounts settings. The page is Accounting setup.
- Under Your GST registrations there is a block for each GSTIN, with its state, its GSTIN and the outlets under it (a closed outlet is marked Archived). Type the Tally company name this GSTIN's files go into, exactly as the company is named in Tally Prime. Each GSTIN can be its own Tally company. Leave it empty and the files import into whichever company is open in Tally. The same block has How you file (Monthly or Quarterly (QRMP)), which sets the due dates on GST & accounts. Press Save in the block. A GSTIN you no longer use is listed under Earlier GSTINs, and you can still set its company.
- Under GST return, check the SAC code (996331 for restaurant, café and takeaway service, bars use 996332, outdoor catering 996334) and the Tally voucher type (usually "Sales", use your own, such as "POS Sales", if your accountant keeps restaurant bills separate).
- Check the ledger names in three groups:
- Sales, charges and adjustments cover Sales (Food & Beverage Sales), Service charge, Packaging charges, Delivery charges, Card charges (Card Charges, under Sales Accounts), Discounts (Discount Allowed), Round off, Tips (Tips Payable).
- Output GST covers Output CGST, Output SGST / UTGST, Output IGST.
- Money received covers Cash, Card (Card Settlement), UPI (UPI Settlement), Other & online (Other Receipts).
- Either type the names already used in your Tally company, or keep AirQR's names and import the ledger masters (step 2).
- Under GST return, choose Bills in Tally, which has the options One entry per bill (the default, best for detailed books) or One entry per day per payment method (lighter books). Leave Tally export format on Standard (current) unless your accountant asks for GST vouchers (see GST vouchers (optional)).
- Tap Save changes. Defaults puts back AirQR's standard names (then save).
The SAC, the voucher type and the ledger names apply to every GSTIN and outlet of your brand, unless a GSTIN has its own Tally mapping. The Tally company and how you file are per GSTIN. Until you save, the page says "You're seeing the defaults, nothing has been saved yet."
Step 2. Import the ledger masters into Tally (first time only)
- On GST & accounts, press Tally account names on the Tally card. (The same file is under Ledger masters in Accounting setup, and in each GSTIN's Tally folder in Download for accountant.)
- In Tally Prime, open the company (the one you named for the GSTIN), then go to Gateway of Tally → Import → Masters (Alt+O → Import → Masters).
- Choose the downloaded XML file and pick Combine / Modify or Add new, as your accountant prefers.
The file also holds one ledger for each customer who has been given credit in the period (see "Credit customers" below). The ledgers are created under Sales Accounts, Duties & Taxes (with GST duty heads Central, State and Integrated Tax), Indirect Expenses, Current Liabilities, Cash-in-Hand and Current Assets. Review the groups with your accountant. Tally's built-in Cash ledger isn't re-created.
Step 3. Import the sales vouchers into Tally
- On GST & accounts, choose the Period and the GSTIN (see GST reports). Open For your accountant → Checks and make sure it says Everything reconciles.
- On the Tally card press Your bills for Tally beside the GSTIN you are importing (or take the file from that GSTIN's Tally folder in Download for accountant). The file you get is the style set in Accounting setup. A GSTIN's file holds the bills of every outlet billing under it:
- Sales vouchers, one per bill use the bill number as the voucher number (the number and seller details saved when the bill was issued, so changing the outlet code or GSTIN later does not relabel old vouchers), dated the day it was settled. Best for detailed books. Each part of a split bill has its own bill number. The voucher number is the number printed on the bill (
SP/26-27/1021, orSP-1021on an outlet still on running numbers), character for character. See Printed bills, bill numbers and changes after printing. - Sales vouchers, one per day per payment mode give one voucher per day for each of cash, card, UPI and other, with the bill range in the narration. Best for lighter books. A split-payment bill is shared between modes in proportion to what each mode paid.
- Sales vouchers, one per bill use the bill number as the voucher number (the number and seller details saved when the bill was issued, so changing the outlet code or GSTIN later does not relabel old vouchers), dated the day it was settled. Best for detailed books. Each part of a split bill has its own bill number. The voucher number is the number printed on the bill (
- In Tally Prime, open the company you named for that GSTIN (or the right company, if you left the name empty), then Gateway of Tally → Import → Transactions (called Vouchers in older releases) and choose the file. Do the same for each GSTIN.
Import only one of the two formats for any period, or your sales will be counted twice. Each voucher has a fixed ID, so importing the same file again is caught as a duplicate rather than posted twice, but your accountant should still check this in their Tally release.
Tally mapping for each GSTIN
If one GSTIN's Tally company names its ledgers differently from the others, give that GSTIN its own Tally mapping. Open Accounts → Settings → GST & accounts settings, find the GSTIN's block and open Tally mapping (it needs Change Accounting setup, like the rest of the page). A GSTIN with no mapping gets exactly the files it got before, with the ledger names below it in the page.
- Ledger name and Tally group work like this. For each ledger, the first box is the name in this GSTIN's Tally company and the second is its group (Sales Accounts, Duties & Taxes, Bank Accounts, Cash-in-Hand, Sundry Debtors, Indirect Incomes or Expenses). The grey text is what is used when you leave a box empty. The name is used in the vouchers and the group in the account names file.
- Cost centre = outlet means each sale is allocated to the outlet that billed it (by the outlet's name, or its bill-number code), and the account names file creates the outlets as cost centres. It applies to the bills. Refunds and receipts have no cost centre. Not yet proven on TallyPrime. Import one bill into a test company first.
- Payment ledgers per outlet are needed only if an outlet's cash drawer, card machine or UPI is its own ledger in Tally.
- Narration template is the text Tally shows beside each voucher, with the tokens
{bill}{date}{outlet}{method}{customer}{order}replaced. Leave it empty to keep the narration AirQR has always written. A narration is cut at 250 characters. In the one-entry-per-day style{bill}is the range of bill numbers, and{customer}and{order}are empty.
Pressing Save Tally mapping keeps a version number, who saved it and when ("Mapping changed by … on …"), and the version is in the README of the ZIP files below. Saving without a change keeps the version, and clearing every box removes the mapping.
Account names, preview and only what changed
On the Tally card, each GSTIN has its Your bills for Tally button, Account names only, and Preview and changes.
- Account names (masters) are exported with Account names only, which is the ledgers with their groups (and the cost centres, if the mapping has them). Tick Put the account names first and the bills download as a ZIP with the account names file and then the bills file. Import the first, then the second, as in steps 2 and 3.
- Preview one day works like this. Pick a day inside the period and press Preview. You see that day's vouchers as a table (ledger, debit, credit, cost centre, narration) and, under Raw XML, the exact XML the download would hold for it. Nothing is downloaded or logged.
- Only what changed works like this. AirQR remembers what you downloaded for each GSTIN and period. Press Check what changed since the last export to see the new bills, and the Changes to make in Tally, which are bills that were cancelled or changed in AirQR since that export, each with its voucher number, date, what changed and the old and new amounts. Download new bills and the changes list is a ZIP with the new bills as an import file and the changes as a CSV. AirQR does not write XML that alters or cancels a voucher in Tally, so your accountant alters or cancels those by hand. Only a person who sees every outlet of the GSTIN can use it (the owner and the Accountant role do).
- A bill billed and cancelled since the last export is only a line in the changes list ("Billed and cancelled since the last export: nothing to import"), because Tally never had it, so there is nothing to import or to cancel.
- After you change the mapping, every bill would look changed, so "only what changed" asks you to download the whole period again, with the account names file, and starts from that export.
- Cost centres are made from the outlets of that GSTIN that you can see, and a payment ledger can only be set for an outlet of that GSTIN. The accountant pack's Tally README repeats the "other way" warning when its style differs from the last export. The pack is still made.
- A period exported the other way needs care. If the period was last exported as one entry per bill and you now export it as one entry per day (or the reverse), importing both counts every sale twice. The card warns you and the download needs the box I understand: export it anyway.
- Books closed do not block an export. Closing a month (see Accountant tools) does not stop one. The file is made from the bills as they are now, and the README of the ZIPs says which months are closed. The accountant's adjustment lines are working-paper figures and are never in a Tally file.
- Download for accountant uses each GSTIN's mapping in its Tally folder, and counts as an export of the period.
GST vouchers (optional)
Tally export format in Accounting setup has two choices. Standard (current) is the accounting voucher described below. GST vouchers (new) writes each sale as a GST invoice for Tally's GST features. The voucher is marked as an invoice, carries the place of supply and the HSN or SAC code on each entry, and a bill that was cancelled after printing is cancelled in Tally right after it is created. The money posted is the same.
These GST fields have not yet been proven against a live TallyPrime. Keep Standard unless your accountant wants the GST view, and then import one bill into a test company first and check that Tally accepts it and shows what you expect. If Tally rejects the file, switch back to Standard. Nothing in AirQR changes. The pack's Tally readme says which format the file is in.
What each Tally sales voucher posts
Every voucher balances to the paisa:
| Ledger | Debit or credit | Amount |
|---|---|---|
| Cash / Card / UPI / Other | Debit | money received by that mode |
| Customer name (mobile number) | Debit | the part of the bill put on that customer's credit |
| Discount Allowed | Debit | all discounts (manual, offers, loyalty points) |
| Round Off | Debit if negative, credit if positive | the bill's round off |
| Food & Beverage Sales | Credit | the food and drink value, net of tax |
| Service Charge / Packaging / Delivery | Credit | as billed |
| Card Charges | Credit | the optional card charge on the bill, before its GST |
| Output CGST / SGST / IGST | Credit | the tax on the bill |
| Liquor Sales | Credit | liquor (VAT tax classes), net of VAT and of its share of discounts |
| Output VAT | Credit | state VAT on liquor |
| Tips Payable | Credit | tips collected, owed to staff |
Liquor Sales and Output VAT only appear when you use tax classes for liquor. Rename them in Accounting setup. The ledger masters file includes them when the period has liquor sales. Refund credit notes reverse them in the same proportions.
The largest payment on a bill is the voucher's party ledger. On a bill with a credit part the party is the credit customer's ledger. Tips are never taxed and sit in Tips Payable until you pay them out to staff (see Tips split and payroll).
Refunds, Credit Note vouchers
Each GST credit note (one for every Record refund on a settled bill, see GST credit notes) is added to both voucher files as one Credit Note voucher, dated the day of the refund.
- Voucher number is the credit note number, for example
IN-CN-12. The voucher refers to the original invoice's number and date. Refunds given before 31 October 2026 have no credit note number and keep their old voucher number, like "R1042-3F2A". - Postings work like this. The ledger the money went back from (Cash, Card, UPI, or Other for bank transfers) is credited. Food & Beverage Sales and Output CGST / SGST are debited, as the credit note took them back (items at their own rate, an amount-only refund in the bill's proportions), and a full refund also takes back the bill's round off. A tip going back is debited to Tips Payable and never reduces tax.
- A cancelled credit note posts no voucher. If you already imported it, delete it in Tally yourself.
- A credit note outside the time limit (issued after 30 November following the bill's financial year) posts the money given back, but not the tax, so the Output GST ledgers are not reduced, matching what GST & accounts shows.
The Credit Note voucher type exists in every Tally Prime company by default. See GST reports for how credit notes are reported.
A settled bill voided with Void bill (Void a settled bill) is exported as a cancelled voucher. The money handed back is not a Credit Note voucher, because a void makes no credit note.
Credit customers, Sundry Debtors and Receipt vouchers
With the Credit & dues module on, bills put on a customer's credit and the money that comes in later are exported too.
- One ledger per credit customer, under Sundry Debtors with bill-wise tracking on, named Customer name (mobile number). The Ledger masters file includes them, so import it before the vouchers.
- A credit sale debits that customer's ledger against the bill number (a New Ref), instead of a payment ledger. The customer's ledger is the voucher's party. Any cash, UPI or card part of the same bill debits its usual ledger as above.
- Money recorded in Payments → Credit is exported as Receipt vouchers. They credit the customer against the bills they paid, and debit the cash, UPI, card or Other payments ledger (bank transfers and online payments go to Other payments) for the way they paid. They are in both voucher files.
- A refund with Reduce what the customer owes is a Credit Note voucher that credits the customer's ledger (not cash), with the GST credit note number.
- In Sales vouchers, one per day per payment mode, a bill that has any credit part is exported as its own voucher, because a day voucher cannot name a customer. All other bills stay in the day's vouchers.
The On credit ledger in the accounting settings is only used for a credit part that has no customer on record (it should not happen). It carries no bill reference.
Test first. Import one day's files and the ledger masters into a test company before your real books, and check each customer's outstanding against Payments → Credit in AirQR. Renaming a customer in AirQR changes their ledger name in later exports. Rename the ledger in Tally to match (AirQR shows both names when you save).
Three more credit entries come out as vouchers, so a customer's balance in Tally matches AirQR's:
- An opening balance you enter for a customer is a Journal voucher dated the day you entered it. It debits the customer's ledger against a bill called Opening balance and credits the Opening balance adjustment ledger (change the name in Settings → Accounting). Ask your accountant to move that credit to the right account.
- A write-off is a Journal voucher. It debits the Bad debts ledger (Settings → Accounting) and credits the customer against the bills that were written off.
- A payment you undo after it was exported is a Payment voucher on the day you undo it. It credits the cash, UPI, card or Other payments ledger and debits the customer against the bills the payment had cleared, which are open again until the next payment clears them. A payment taken and undone inside the same export period is not exported at all.
Payments and write-offs against an opening balance clear the Opening balance bill, so import the opening balance's Journal first (the file lists it before the Receipts). A cancelled credit note works as described above. Delete it in Tally yourself.
Troubleshooting
Tally downloads use AirQR filenames and an AirQR source comment inside the XML. The ledger and voucher import structure is preserved.
- Tally rejects a voucher because a ledger doesn't exist. The name in Accounting setup doesn't match Tally exactly. Fix the name (or import the ledger masters), then download the vouchers again.
- Sales doubled in Tally. Both voucher formats were imported for the same period. Ask your accountant to delete one set.
- Vouchers went into the wrong company. Check the Tally company name for that GSTIN in Accounting setup (it must match the company name in Tally Prime, and each GSTIN has its own), or leave it empty and open the correct company in Tally before importing.
- Wrong voucher type. Change Tally voucher type in Accounting setup, save, and download again. The type must already exist in Tally.
- A bill is missing. Only settled bills in the chosen period are exported. Open bills appear once they are settled. Cancelled bills are never exported as sales.
- Aggregator orders (Swiggy, Zomato) are not in AirQR's bills and are not exported.
Using Zoho Books instead of Tally?
If your accountant keeps the books in Zoho Books, AirQR can send your bills, payments and refunds there directly, with no files to import. Bills on a customer's credit, and the money the customer pays later, go there too. Each credit customer becomes their own Zoho Books customer (see Credit and dues). It is a separate feature from this export, so don't do both for the same period. See Zoho Books sync. The same goes for stock purchases. With Zoho Books they can go as supplier bills (see Stock purchases as bills), so don't also import the Tally purchase vouchers for the same period.
New to AirQR?
Try everything free for 28 days, no card needed. Already a customer? Sign in to follow these steps in your dashboard.
Still stuck? Contact support at support@airqr.in.
Related articles
- Your clients, every business you do the accounts forAn accountant who works for several businesses on AirQR sees all of them on one page, with each GSTIN's return period and dates, whether it is marked filed or overdue, books closed, the last Tally export, and the open problems and credit notes. Each business decides who sees its accounts.
- Accountant tools (Problems, Books closed and GST adjustments)Where an accountant sees every problem AirQR found for a GSTIN and month and decides what to do about it, closes the books for a month, adds GST adjustment lines with a reason, and proposes a refund the owner then does. Adjustments never touch a bill and never go to Tally or Zoho Books.
- Accounts for businesses without GSTOutlets with no GSTIN (state VAT only, or not registered) get an Accounts page with their sales, the VAT collected, a short VAT checklist, VAT and sales reports, Tally files without GST ledgers, and a ZIP for the accountant.
- GST credit notes to refund a bill and keep your GST rightEvery money-back on a settled bill makes a numbered GST credit note that prints, reaches Tally and Zoho Books and takes the right GST off your return. How tips, items, split bills, the time limit and Mark as filed work.