> ## Documentation Index
> Fetch the complete documentation index at: https://www.aiaccountant.com/help/llms.txt
> Use this file to discover all available pages before exploring further.

# Sync bills to Tally

> Push approved purchase bills into your Tally company and confirm the purchase voucher.

Approved bills stay in AI Accountant until you sync. Syncing writes them to your connected Tally company as purchase vouchers.

## Run the sync

1. Open **Accounts Payable** and go to the **All Bills** tab.
2. Click **Sync** at the top right.

Every approved and unsynced bill goes across. A short syncing message appears while it runs.

## Confirm it worked

Once the sync finishes:

* The voucher number is updated.
* A cloud icon appears next to the row.
* Opening the bill shows the full details, the allocation, and the status **Synced to Tally**.

## Check the voucher in Tally

Open your Tally company and locate the purchase voucher. The vendor name, supplier invoice number, purchase ledger, item or expense ledger, quantity, rate, GST, total amount, and bill reference all match the reviewed bill in AI Accountant.

## Voucher numbering

Voucher numbers come from Tally, not from AI Accountant.

| Your Tally setting  | What happens                                                   |
| ------------------- | -------------------------------------------------------------- |
| Automatic numbering | The number stays blank until you sync, then Tally fills it in. |
| Manual numbering    | The number you entered on the bill is used as is.              |

A blank voucher number before syncing is expected, not a failure.

## If a bill does not sync

| What you see                       | What to check                                                                              |
| ---------------------------------- | ------------------------------------------------------------------------------------------ |
| The bill is not in the sync at all | It is still in Needs Review. Only approved bills sync.                                     |
| Voucher number still blank         | The sync has not run for that row. Return to All Bills and click Sync.                     |
| Sync fails on one bill             | A master used on the bill is missing in Tally. Check the vendor, ledger, item, and godown. |
| Nothing syncs at all               | Tally is closed, or the connector is not running on the Tally computer.                    |
