# Invoice Number Errors While Generating GSTR-2

**YouTube:** [How to Correct Invoice Number Errors While Generating GSTR-2?](https://www.youtube.com/watch?v=eiBeDX5F6nU)

## How to Correct Invoice Number Errors While Generating GSTR-2?

In this tutorial, we will guide you through the process of **validating and correcting invoice numbers** while generating **GSTR-2** in **Logic ERP**.

***

#### **Open GST Returns Module**

* Navigate to the **GST Returns** module.
* Select **GSTR-2** as the return type.
* Choose the **relevant time period** for which you want to generate the return.
* Click on the **Generate** button.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FIL5Yre5a5A9K7dUmenKU%2FGenerate.png?alt=media&#x26;token=6e320ac7-28d2-4bdd-b53c-af5fc89af131" alt=""><figcaption></figcaption></figure>

***

#### **Identify Invalid Data Error**

* After generation, if the system displays an **Invalid Data Error**, it means that some invoice details are incomplete or incorrect.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FfPkAZInZLLQBQeSaqmVu%2FError%201.png?alt=media&#x26;token=6977138d-a0d7-4205-95f8-a0f4904e828e" alt=""><figcaption></figcaption></figure>

* In the **B2B section**, red flags will appear next to entries with issues.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FONexk9dVxrkAa7Fvuvkm%2FG.jpg?alt=media&#x26;token=d1c2834d-c946-40d2-98d3-58d335d44d53" alt=""><figcaption></figcaption></figure>

* The **error reason** will be displayed as **“Invalid Invoice Number.”**

***

#### **Review Error Details**

* Open the **GSTR Error Details** section to view the error summary.
* The details show:
  * **Three B2B invoices** with invoice number validation issues.
  * **Error descriptions** explaining the exact problem with each entry.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F3HMn5fXUiHyURYti38U7%2FError%202.png?alt=media&#x26;token=493d5d13-f086-4cd2-b635-0252dd47f32e" alt=""><figcaption></figcaption></figure>

#### **Correct Invalid Invoice Numbers**

* Go to the **B2B section** to begin corrections.
* Based on the error description, note that:
  * An **invoice number** can contain a maximum of **16 alphanumeric characters**.
  * Only certain special characters are allowed.
* You can correct the invoice number by:
  * **Opening the Purchase Voucher** directly and editing the invoice number or **Clicking on the Invoice Number** directly from the error screen to open the corresponding voucher.

***

#### **Update and Save the Voucher**

* Once the **Purchase Voucher** opens:
  * Update the invoice number as per the correct format.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F2Ri2ykFXs27AWOWElVtn%2FPV%20-%20Bill%20Number.png?alt=media&#x26;token=f4b4e8b8-2a1d-42ee-b011-34d3f1b76b98" alt=""><figcaption></figcaption></figure>

* If the **Save** button is hidden:
  * Ensure that **Num Lock** is turned **off** on your keyboard.
  * Press **Alt + Insert** to unhide the **Save** button.
* Click **Save** to update the voucher.

***

#### **Refresh and Regenerate the Return**

* Close the voucher window and return to the **GST Returns** module.
* Click on **Generate** again to refresh the data.
* In the **B2B section**, the previously red-flagged invoices will now turn **green**, indicating successful validation.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FU8CMvxaDE1Nz3qM6kDPU%2FGSS2.jpg?alt=media&#x26;token=7b3155fa-3f07-491a-9cce-c35260dbd435" alt=""><figcaption></figcaption></figure>

***

#### **Resolve Blank Invoice Number Error**

* For any **blank invoice number** entries:

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fn3znYYLuXE73ljozvcV8%2FBlank%20Bill%20No.png?alt=media&#x26;token=69814bba-c4d3-42a6-8291-03b3d4c96804" alt=""><figcaption></figcaption></figure>

* Click the **Invoice Number** field directly.
* Enter the correct invoice number.
* Save the voucher and regenerate the return again.
* Once corrected, all red flags will turn green, confirming that all invoice number issues have been resolved.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FttBQhymhGitlbwDk0EzH%2FError%20Res.jpg?alt=media&#x26;token=72dcafa2-46ed-4ce3-b8a0-04cdb0cafdf6" alt=""><figcaption></figcaption></figure>

***

#### **Verify Error Clearance**

* In the **GSTR Error Details**, the earlier validation errors (for three invoices) will now show an **error count of zero**, confirming that all invoice numbers have been successfully validated.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FCpl4mUJy80jC4fo0Ouor%2FGST%20Error%20Details.jpg?alt=media&#x26;token=d4cc1149-feea-48e8-add2-db34ee718add" alt=""><figcaption></figcaption></figure>

***
