# Import from Tally

> Export sales vouchers from Tally as XML and import them into Alya Books.

Source: /help/en/integrations/tally

Tally does not connect over the internet, so Alya Books imports the XML file that Tally exports. Sales vouchers become draft invoices, and the parties on them become contacts.

## Export from Tally

1. Open Tally → **Gateway of Tally** → **Display** → **Daybook**.
2. Press **Alt+E** to export.
3. Choose the format **XML**. Filter to sales vouchers if you want only those.
4. Save the file.

## Import into Alya Books

1. Go to **Connectors** and click **Import XML** on the Tally card. (The same import is on **Import Data** → **Tally XML Export** → **Start Import**.)
2. Choose the `.xml` file or drag it into the dialog.
3. Start the import. The result shows how many vouchers were imported, skipped and failed, and the run is added to the card's **Sync history**.

## What Alya Books reads from a voucher

| Tally field | Alya Books |
|---|---|
| Voucher number and date | Invoice number and issue date |
| Party name, GSTIN/TRN, address lines | Buyer contact (created if it does not exist), with TRN and address |
| Reference | Order reference |
| Effective date | Due date |
| Inventory entries (item, quantity with unit, rate) | Invoice lines |
| Ledger entries | Single-line invoice when there are no inventory entries; ledgers named VAT or tax set the 5 % rate |
| Narration | Notes |

Negative amounts, which Tally uses for sales, are imported as positive values.

## Good to know

- A voucher is identified by number and date, so importing the same file twice does not create duplicates.
- Imported invoices are drafts: open each one, check the VAT category and buyer TRN, then **Validate** and submit.
- The **Field mapping** panel on the Tally card shows which PINT AE fields the import fills and which you complete in **Settings** or **Contacts**.
- The card also offers **Connect Tally** with a server URL and company name for a future direct connection; today the XML upload is the working route.

## Related

- [Zoho Books connector](/help/en/integrations/zoho-books)
