> For the complete documentation index, see [llms.txt](https://kb.logicerp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.logicerp.com/logic-erp-installation-configuration-and-troubleshooting-solutions/faqs/printing/send-invoice-copies-in-pdf-format-while-sale-bill-printing.md).

# Send Invoice copies in PDF format while Sale Bill Printing

**YouTube:** [How to send invoice copies in PDF format from Sale Bill printing?](https://youtu.be/8RKp_bA43dQ)

## How to send Invoice copies in PDF format from Sale Bill Printing?

In this tutorial, we’ll learn how to **automatically send a PDF copy of the customer’s bill to their email** as soon as the bill is printed.

***

### Access to Designer Printing Format

* Go to **Continuous Printing**.
* Open **Sales Bill Print Designer & Printing**.
* From the **Search List**, select the required **configuration and sales bill**.
* Click **Refresh** to load the design window.

<figure><img src="/files/AKXtbQsrjX7eHVNPqUZC" alt=""><figcaption></figcaption></figure>

***

### Configure Mail Settings

* From the **Menu Bar**, go to **Options → Mail Settings**.

<figure><img src="/files/edbUOkpl1LylNYRgsTF6" alt=""><figcaption></figcaption></figure>

* Under **Mail To**, you need to add the customer’s email field:
  * In the **Event Resources Panel** (bottom-left), expand **Sales Bill Details → Bill Header Details Table**.
  * Locate the **Email ID** field.
  * **Right-click** and add it to the **Mail To** section.

<figure><img src="/files/bTk6JyNQvwmg6kW1t6EB" alt=""><figcaption></figcaption></figure>

* Specify the **Subject** and **Body** of the email.
* Choose the **File Format** as **PDF**.
* Under **Sending Options**, select either:
  * **Review and Send** (to preview before sending), or
  * **Send Directly** (to send automatically).

<figure><img src="/files/HbeCkTMhe4n6pgzfkVxT" alt=""><figcaption></figcaption></figure>

***

### Set Up Global Mail Account

* From the **Menu Bar**, open **Global Mail Account Settings**.
* Under **Account Details**, define:
  * **Account Name**
  * **Description**
* In **Mail Server Settings**:
  * Select **Gmail**.
  * Enter the **Display Name** and the **Email ID** that will send invoices.
  * Ensure the **Account Type** is set to **POP3**.

<figure><img src="/files/RLiwlXTAciltdnCnZZzH" alt=""><figcaption></figcaption></figure>

***

### Configure Login Information

* For **Username**, enter the same email ID.
* For **Password**, you’ll need to generate a **Gmail App Password**:
* Log into your Gmail account.
* Go to **Settings → Security → Enable 2-Step Verification**.

<figure><img src="/files/7tAxUpTxxyoKU2AV6d9R" alt=""><figcaption></figcaption></figure>

* Search for **App Passwords** in the security settings.

<figure><img src="/files/ZRtCuTUhziYWWYtzDuMg" alt=""><figcaption></figcaption></figure>

* Enter your Gmail account password.
* Create a new App Password by providing an **App Name**.

<figure><img src="/files/yzvJ4uFBUN6631tYav41" alt=""><figcaption></figcaption></figure>

* Click **Create** to generate your unique password.
* Copy the App Password provided.

<figure><img src="/files/6An5SdiCWLKlQpABHzs0" alt=""><figcaption></figcaption></figure>

* Return to the configuration window in Logic ERP and **paste the App Password** into the **Password** field.
* Click **Test Connection** to verify the setup.
* Upon successful verification, you’ll receive a **confirmation email**.

<figure><img src="/files/lr6kGBQbi9ccM2dFOFHs" alt=""><figcaption></figcaption></figure>

* Save the **Mail Account Settings** and the **Printing Configuration**.

***

### Link Mail Settings to Printing Configuration

* Open **Sales Multiple Printing Configuration**.
* Select the **Printing Configuration** attached to the desired series.
* Under **Print Options →.NET Printing Configuration**, choose the configuration in which you set up the mail settings.

<figure><img src="/files/4c2kGZH8w7gbtpP5BDMx" alt=""><figcaption></figcaption></figure>

***

### Implement the Setup

* Modify or create new a bill and click **Print**.
* Since we selected **Preview and Send**, the **Preview Window** opens.

<figure><img src="/files/B0tFHFOM3EQFDjYWyTz4" alt=""><figcaption></figcaption></figure>

* Simultaneously, the **Invoice PDF** is sent to the customer’s email.
* Check the customer’s mailbox — the invoice should be delivered successfully.

<figure><img src="/files/qVz0bAIfhiR7sU9GVjiu" alt=""><figcaption></figcaption></figure>

This ensures that every time a customer’s bill is generated, it is **printed and simultaneously emailed**.

***

### Bulk Emailing (Optional)

If your printing format is already designed in the **Sales Bill Print Designer**:

* Go to **Sales Bill Print Designer & Printing Window**.
* Select the desired configuration.
* From the **Search List**, choose the required bills.
* Lastly, Click on preview button.

<figure><img src="/files/e9MVEpRwcpxeTnbvcr6l" alt=""><figcaption></figcaption></figure>

* You can even select **multiple bills at once**, and the system will automatically send PDF copies of all invoices to the respective customer emails in a single batch.

***

### Key Benefits

* Eliminates manual effort in emailing invoices.
* Ensures timely and consistent delivery of bills to customers.
* Supports both single-bill and bulk invoice emailing.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.logicerp.com/logic-erp-installation-configuration-and-troubleshooting-solutions/faqs/printing/send-invoice-copies-in-pdf-format-while-sale-bill-printing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
