Table of Contents

 

 PDF

Reasons for Rejection of e-Invoice and Resolutions

NIC has published the following error codes, error message, the reasons for the errors and the corresponding resolutions to help you resolve errors faced during e-Invoice upload to the NIC portal.

If the error message is not available here, check the page published by NIC https://einv-apisandbox.nic.in/api-error-codes-list.html

 

Most Frequent Errors/Rejections


Understanding Rejection Terms: TallyPrime vs e-Invoice

As the rejection messages are based on GSTIN, the terminologies in TallyPrime vary in some instances. Hence, we have provided a table to facilitate a better understanding between TallyPrime and e-Invoice terminology.

e-Invoice Terminology TallyPrimeTerminology Length
Field Location Bill from place (earlier to Release 2.1) & Invoice bill from place (Release 3.0 and later) – F11:Company Feature 3 to 50 (Alpha)
Field Document Number Invoice Number / Voucher Number

16 (Alpha-Numeric) with / or –

The voucher number must not:

  • Start with 0

  • Contain any spaces

  • Include special characters other than / or

  • Be blank

State Field is Required For all Invoices – its company State field (F11:Company Features> Enable Goods and Services Tax (GST) > Bill from place (earlier to Release 2.1) & Invoice bill from place (Release 3.0 and later)  
For specific Invoice – its Party (Party Details / Consignee Details using Ctrl+I (More Details or Dispatch From Details section under e-Invoice Details using Ctrl+I (More Details)
Field Address 1/Field Address 2

For All invoices – its company addresses

For specific Invoices – Its Party master – Check ledger master or party details for buyer and consignee – 1st Line / 2 refers to 2nd line

Address 1 – 1 to 100 (Alpha Numeric)

Address 2 – 3 to 100 (Alpha Numeric)

Field Legal Name

For all transactions – its company: Mailing Name

Go to Company Alteration > Mailing Name

3 to 100 (Alpha Numeric)

For specific Invoice – Its Party: Mailing Name

Go to Party alteration > Mailing Name

Field Product Description Stock Item name 3 to 100 (Alpha Numeric)
Field POS  Place of Supply – In party details/supplementary details check Place of Supply  
Recipient Pin Code Buyer PIN code – Check party master or party details screens with PIN code 6 digits
Recipient should be SEZ Buyer details – Registration type should be SEZ  
State code does not match For All Transactions – State name is not selected in the list in F11:Company Features > State – select the details from list  
For specific Invoices – State name is not selected properly in Party details / Place of supply
GSTIN is inactive or cancelled Verify GSTIN status / If cancelled or inactive Registration type should be Unregister   

 

Error Message/Scenario  Reason for Error Resolution

IRN is already generated and registered with GSTN Lookup Portal by other IRP

 

You can perform Get IRN from TallyPrime to connect to only the einvoice1 portal. In case you have manually generated IRN on the einvoice2 portal (e-invoice2.gst.gov.in), you will not be able to perform Get IRN/cancellation from TallyPrime. 

You can perform one of the following:

  • Cancel the current e-Invoice generation request done in the e-invoice2 portal and send a new request for e-Invoice.
  • Generate an e-Invoice only on the e-invoice1 portal.
The field Location must be a string with a minimum length of 3 and a maximum length of 50 Location is not as per the required format

The field Location refers to the Invoice bill from place set under the GST Details of the F11 (Company Features). You can check it on the following path:

F11 (Company Feature) > Enable Goods and Service Tax (GST) > GST Details.

If the Invoice bill from place is lesser than 3 characters or greater than 50 characters, then the vouchers get rejected by the e-Invoice system.

Here’s how to resolve the error in such vouchers.

If you are using TallyPrime Release 3.0 and later, then follow the steps given below:

  1. Identify the vouchers.
    1. Press Alt+G (Go To), type or select e-Invoice, and press Enter.
    2. Drill down from the Rejected by e-Invoice System section, and identify the vouchers with the Reason for Rejection.
  2. Specify the Invoice bill from place.
    1. Press F11 (Company Features) > set Enable Goods and Services Tax (GST) to Yes.
    2. Invoice bill from place: Specify the name of the location you want to use for billing.
      Ensure that the name consists of minimum 3 characters and a maximum of 50 characters
      .
  3. Generate e-Invoice for the vouchers.
    1. Press Alt+G (Go To), type or select e-Invoice, and press Enter.
    2. Drill down from the Rejected by e-Invoice System section.
    3. Open the voucher and generate the e-Invoice.

If you are using TallyPrime Release 2.1 and earlier, then the vouchers will be found in the Missing/Invalid Information section. You need to ensure that Invoice bill from place is specified in the required format.

The field document number must match the expression'((a-zA-Z1-9)(1)(a-zA-Z0-9/-)(0,15))$’

(or)

The document number doesn’t match with regular expression

Document Number is not as per the required format

Document Number references to the Voucher No. enter during voucher creation. A Document Number must fulfill the following criteria:

  1. Cannot be empty
  2. Should be maximum 16 characters
  3. Should not have space
  4. The only special character allowed is / (forward slash)
  5. The first character should not be 0 or / (forward slash)

Here’s how to resolve the error in such vouchers.

If you are using TallyPrime Release 3.0 and later, then follow the steps given below:

  1. Press Alt+G (Go To), type or select e-Invoice, and press Enter.
  2. Drill down from the Uncertain Transactions (Corrections needed) section.
  3. Open the voucher, enter the correct document number, and generate the e-Invoice.

If you are using TallyPrime Release 2.1 and earlier, then the vouchers will be found in the Information required for e-Invoice not provided section. You need to ensure that the document number is correct.

The Document date should not be a future date.

The Document Date specified is of future Date

e-Invoice generated for future day that is, not equal to the current date. Check the Document date that is being passed and it should not be of a date greater than today’s date.

The State field is required State code is not specified

State code refers to the State selected under F11 (Company Features) or in the ledger of the party for which the invoice is recorded. When you do not specify the State, you will not be be able to generate an e-Invoice.

You can check the State on the following paths:

  • F11 (Company Feature) > Enable Goods and Service Tax (GST) > GST Details.
  • Press Alt+G (Go To) > Alter Master > Ledger > type or select the name of the Ledger for which the invoice is recorded, and press Enter.

Here’s how to resolve the error in such vouchers.

If you are using TallyPrime Release 3.0 and later, then follow the steps given below:

  1. Identify the vouchers.
    1. Press Alt+G (Go To), type or select e-Invoice, and press Enter.
    2. Drill down from the Information required for e-Invoice not provided section, and you will find the vouchers.
  2. As per the master in which the State is incorrect:
    Press F11 (Company Features) > set Enable Goods and Services Tax (GST) to Yes, and specify the correct State.
    Or 
    Press Alt+G (Go To) > Alter Master > Ledger > type or select the name of the Ledger for which the invoice is recorded and press Enter, and specify the correct State.
  3. Generate e-Invoice for the vouchers.
    1. Press Alt+G (Go To), type or select e-Invoice, and press Enter.
    2. Drill down from the Information required for e-Invoice not provided section.
    3. Open the voucher and generate e-Invoice.

If you are using TallyPrime Release 2.1 and earlier, then the vouchers will be found in the Mismatch due to tax amount modified in voucher section. You need to ensure that the State is selected under F11 (Company Features) and the ledger created for the party.

The field Address 1 must be a string with a minimum length of 1 and maximum length of 100 Address 1/Address 2 is not as per the required format

The maximum length of address allowed is 200 characters (100 against address line 1 and 100 against address line 2). Tally will combine and incorporate the maximum possible characters in first and second address lines (after truncating to nearest word). However, if address is beyond 200 characters it will get rejected by NIC. Hence ensure the Party masters and Company dispatch address and in accordance with this. Please remove any additional information (Ex: Contact person name / phone / e-mail etc. mentioned as part of address.) that is not relevant or is not a property of address.

The field Address 2 must be a string with a minimum length of 3 and maximum length of 100
The pin code does not match with state code of supplier The available PIN Code XXX of Buyer does not belong to his/her State

Consider that you have selected a state in the party ledger but specified the Pincode of another state. In such cases, the e-Invoice will not get generated.

Here’s how to resolve the error in such vouchers.

If you are using TallyPrime Release 3.0 and later, then follow the steps given below:

  1. Identify the vouchers.
    1. Press Alt+G (Go To), type or select e-Invoice, and press Enter.
    2. Drill down from the Mismatch in e-Invoice Details section > Mismatch between Buyer (Bill To) State and Pincode, and you will find the vouchers.
  2. Change the State or the Pincode of the party.
    1. Press Alt+G (Go To) > Alter Master > Ledger > type or select the name of the Ledger for which the invoice is recorded and press Enter
    2. Specify the correct State or the Pincode in the party ledger and press Ctrl+A to save.
  3. Generate e-Invoice for the vouchers.
    1. Press Alt+G (Go To), type or select e-Invoice, and press Enter.
    2. Drill down from the Mismatch in e-Invoice Details section > Mismatch between Buyer (Bill To) State and Pincode.
    3. Open the voucher and generate e-Invoice.

If you are using TallyPrime Release 2.1 and earlier, then the vouchers will be found in the Information required for e-Invoice not provided section. You need to ensure that the State and Pincode specified in the party ledger match.

The JSON value could not be converted to System.Nullable`1[System.Int32]. Path: $.Data.EwbDtls.Distance | LineNumber: 0 | BytePositionInLine: 1969 The entered Pin to Pin Distance is invalid

This message is shown when both e-Invoice and e-Way Bill is generated. The distance provided in e-Way Bill details is invalid. Please check

https://ewaybillgst.gov.in/Others/P2PDistance.aspx

to validate the proper Distance

The field Legal Name must be a String with a minimum length of 3 and maximum length of 100 The field Legal Name is not as per the required format

Legal Name is the Entity registered Business with a specific Name. Under Mailing Name, ensure the Legal Name of the Business is provided to captured and should hold Min 3 to max 100 characters.

The field Transport document number must match the regular expression Transporter Document Number is not as per the required format

Transporter document number in the e-Way Bill Details should follow the below validation

  1. Document number should be 15 characters
  2. Only capital letters are allowed
The field rounding off amount must be between 99 and -99

Reason1 : Ledger type is selected as “Invoice Rounding” in expenses, sales ledger or duty ledger, selected under expenses or sales, where enabled the option invoice rounding and accepted, later changed to the duty ledger.

Reason2 : This error even occurs in vouchers, where round-off is not used. The reason for this could be in any of the ledgers used in the invoice type of ledger would have been chosen as Invoice rounding. This could be in the party, sales, or additional ledger

Reason1

Alter the expense and sales ledger

  • Set the Type of Ledger option to Not Applicable.

Alter the duty ledger

  1. Set Type of Ledger to Not Applicable.
  2. Press Backspace > select Duties & Taxes and press Ctrl+A to accept accept the ledger and transaction.

Reason2

  • We suggest changing the accounting group to Expenses, then Set the Type of Ledger option to Not Applicable.
The field Product Description must be a String with a minimum length of 3 and the maximum length of 300

The Stock item name is not as per the required format

Stock item Name is the product, which is dealt with for any Business, ensure the stock item Name provided should hold Min 3 to max 100 characters.

Recipient cannot be SEZ for – {0} transaction

SEZ GSTIN has been passed as GSTIN in Recipient details for the specified type of transaction

Only the Registration type is configured as Regular, however, its being SEZ party – party type should be configured ie., in the party master alteration > enable set/alter GST details > Under Party type select “SEZ”

Duplicate IRN

You might be attempting to create an IRN that is already generated.

When trying to generate an e-invoice, you will receive a duplicate IRN if the IRN number has already been generated, cancelled, and repassed with another entry in the same cancelled voucher or with a previous voucher number with a new invoice.

Say for Voucher No 1, you have generated an e-invoice, which you have cancelled later. If you are now generating an e-invoice for another voucher with the same voucher number, you will be prompted with a duplicate IRN error.

In this case, record the new voucher with a separate voucher number. Also, remove the IRN from the e-invoice details and then generate the e-invoice through the new voucher.

  • In case the IRN/QR code does not exist for the said invoice, then instead of re-generating, you can use “Get IRN”. If not done within 72 hours, then this solution works. 
  • In case voucher is deleted by any chance, and due to numbering it is showing, then we need to recommend not to delete voucher and insert same voucher and use get IRN and in case it greater than 72 hours then raise credit note.
The HSN – {0} does not belong to Goods

The provided HSN Code is not a valid HSN code for Goods.

In a ledger or stock item, when the Type of Supply is selected as Goods, but the HSN/SAC belongs to Service, the e-Invoice with the ledger does not get generated.

Here’s how to resolve the error in such vouchers.

  1. Identify the vouchers.
    1. Press Alt+G (Go To), type or select e-Invoice, and press Enter.
    2. Drill down from the Mismatch in e-Invoice Details section > Mismatch between HSN/SAC and Type of Supply, and identify the vouchers.
  2. Change the HSN/SAC in the ledger.
    1. Press Alt+G (Go To) > Alter Master > Ledger > type or select the name of the Ledger for which the invoice is recorded and press Enter.
    2. Enter the correct HSN/SAC and press Ctrl+A to save.
  3. Generate e-Invoice for the vouchers.
    1. Press Alt+G (Go To), type or select e-Invoice, and press Enter.
    2. Drill down from the Mismatch in e-Invoice Details section > Mismatch between HSN/SAC and Type of Supply, and identify the vouchers.
    3. Open the voucher and generate e-Invoice.

Verify the details from below link:
https://services.gst.gov.in/services/searchhsnsac

The HSN – {0} does not belong to Service

The provided SAC Code is not a valid SAC code for Services.

In a ledger or stock item, when the Type of Supply is selected as Service, but the HSN/SAC belongs to Goods, the e-Invoice with the ledger does not get generated.

Here’s how to resolve the error in such vouchers.

  1. Identify the vouchers.
    1. Press Alt+G (Go To), type or select e-Invoice, and press Enter.
    2. Drill down from the Mismatch in e-Invoice Details section > Mismatch between HSN/SAC and Type of Supply, and identify the vouchers.
  2. Change the HSN/SAC in the ledger.
    1. Press Alt+G (Go To) > Alter Master > Ledger > type or select the name of the Ledger for which the invoice is recorded and press Enter.
    2. Enter the correct HSN/SAC and press Ctrl+A to save.
  3. Generate e-Invoice for the vouchers.
    1. Press Alt+G (Go To), type or select e-Invoice, and press Enter.
    2. Drill down from the Mismatch in e-Invoice Details section > Mismatch between HSN/SAC and Type of Supply, and identify the vouchers.
    3. Open the voucher and generate e-Invoice.

Verify the details from below link
https://services.gst.gov.in/services/searchhsnsac

The field unit must be a string with a minimum length of 3 and a maximum length of 8.

This error occurs when the UQC is not selected in the Stock Item master.

When you create or alter Stock Items, ensure that for given Unit of Measurement – UQC (Unit Quantity Code) is selected.

Once you select the UQC in the stock item and save it, you can generate e-Invoices. 

e-invoice option is not enabled for this GSTIN.

This happens because you have not registered for e-Invoicing with the necessary details on the e-Invoice portal.

While you might have already enabled the e-Invoicing in TallyPrime, you need to complete the enablement process on the e-Invoice portal.

  1. Open e-Invoice Enablement on your browser.
  2. Enter your GSTIN. 
  3. Enter the OTP received on your registered mobile number to verify the GSTIN.
  4. Enter your Turnover and Financial Year 
  5. Click Submit 
    You will be registered for e-invoicing, and you can start generating e-invoices from TallyPrime. 
Cancel the current e-Invoice generation request done in the e-invoice1 portal and send a new request for e-Invoice.

If you have generated the e-Invoice from e-Invoice2 portal, then this error occurs, as you can get IRN or cancel from TallyPrime only on the e-Invoice1 portal.

  1. Log in to the e-Invoice2 portal.
  2. select the respective transactions, and click Cancel e-Invoice.
  3. Select the reason for cancellation from the options.
  4. Click Submit

The e-invoice will be marked as Cancelled on the e-Invoice2 portal. You can then record a new transaction and generate e-Invoice from TallyPrime.

e-Way Bill Errors

Error Message Reason for Error Resolution

The distance between the pincodes given is too high or low.

The provided distance is incorrect. A difference of +/- 10% is allowed, and distance must fall within that range.

If you are using TallyPrime Release 5.0 and later,  

  1. During voucher creation, set Provide e-Way Bill detailsto Yes. The e-Way Bill Details screen appears.
  2. Pin to pin distance as per portal can be left Blank and send request, so that from the portal this will auto fill the distance

If you are using TallyPrime Release 3.0 and later, then you can navigate to the link for the calculation of the distance from within the product.

  1. During voucher creation, set Provide e-Way Bill details to Yes.
    The 
    e-Way Bill Details screen appears.
  2. Press Alt+L (Calculate Distance on Portal).

You will be redirected to the portal on which you can calculate the distance between the pincodes.

However, if you are using TallyPrime Release 2.1 or earlier, then you can open the following link on a browser and calculate the distance between the pincodes:

https://ewaybillgst.gov.in/Others/P2PDistance.aspx

The distance between the pincodes given is too high

The provided distance is incorrect. A difference of +/- 10% is allowed, and distance must fall within that range.

If you are using TallyPrime Release 3.0 and later, then you can navigate to the link for the calculation of the distance from within the product.

  1. During voucher creation, set Provide e-Way Bill details to Yes.
    The 
    e-Way Bill Details screen appears.
  2. Press Alt+L (Calculate Distance on Portal).

You will be redirected to the portal on which you can calculate the distance between the pincodes.

However, if you are using TallyPrime Release 2.1 or earlier, then you can open the following link on a browser and calculate the distance between the pincodes:

https://ewaybillgst.gov.in/Others/P2PDistance.aspx

Invoice Errors

Error Message Reason for Error Resolution

The field Transin must be a string with a minimum length of 15 and a maximum length of 15.

The fileld Transin must match the regular expression ‘({0-9}{2}{A-Z 0-9}{13})’.

rejected-by-einvoice-system

This error occurs in the e-Invoice – Voucher Register report when the Transporter ID is not a valid ID of 15 digits. If you are using e-Invoice with e-Way Bill, you can also see this error in the e-Invoice report under the Rejected by e-Invoice System section. If you are using only e-Way Bill, then you can see this error in the e-Way Bill report under the Rejected by e-Way Bill System. 

  1. In the e-Invoice – Voucher Register screen, select the particular voucher and press Enter to open it in the alteration mode.
  2. Set Provide GST/e-Way Bill/e-Invoice details to Yes.
    The Additional Details : Interstate Sales – Taxable screen appears.
    interstate-sales-taxable
  3. In the Transporter ID field, enter a valid ID of 15 digits.
  4. Save the voucher to resolve the error.

 

IRN details are not found

When trying to Get IRN info, this error is received when user has changed either Doc number, Doc Date and Doc Type post generating the IRN.

Don’t fire the same request simultaneously. This results in one request giving the error as ‘Duplicate IRN request’. Best way to avoid firing of IRN request repeatedly for the same request, is update in your system with IRN number when the response comes back. Next time check the IRN, if it is not there, then fire for IRN.

HSN code(s)-{0} is invalid

Wrong HSN code is being passed

Pl check the HSN code being passed and cross-check the correctness of HSN code on e-invoice portal. Still, if you feel it is correct, then please send the details to the helpdesk for verification at e-invoice system side.

Verify the details from below link

https://services.gst.gov.in/services/searchhsnsac

6 digit HSN code is mandatory for taxpayers with greater than or equal to 5 Cr

This rejection occurs when the HSN/SAC is less than 6 digits for taxpayers with an Annual Aggregate Turnover (AATO) greater than or equal to 5 Cr

The e-invoice system for the Goods and Services Tax (GST) has been revised for taxpayers with an Annual Aggregate Turnover (AATO) of Rs. 5 crores and above. At least 6 digit HSN is mandatory in e-invoices for such taxpayers from the 15th of December 2023

You can resolve this rejection by updating the stock item or ledger with the correct HSN/SAC details.

If the the HSN/SAC is starting with the 01 to 98 chapter, ensure that the Type of supply is configured as Goods, and if the chapter is 99 then Services, with proper applicability date.

Update transactions Ledger-wise or Stock Item-wise

  1. Press Alt+G (Go To) > Alter Master Stock Item.
  2. Select the stock item to be updated and press Enter.
  3. Update the HSN/SAC under HSN/SAC & Related Details.

Once you have updated the HSN/SAC, go to the e-Invoice report to mark the rejected transactions as resolved and try resending the request.

  1. Press Alt+G (Go To) > e-Invoice > and drill down from Rejected by e-Invoice Systems.
  2.  Press Alt+R (Mark as Resolved) to resolve the transaction. After being resolved, the transaction will appear under Pending > For IRN Generation.

Combination of goods and service items are not allowed for inter state transaction with POS same as the supplier state

Items list has entries for both goods and services for inter state transaction

Items of both goods and services are not allowed in same invoice for inter state transaction

Supplier GSTIN state code does not match with the state code passed in supplier details

The state code passed and first two digits of the GSTIN passed in the Supplier details do not match

In the Supplier details, first two digits of the GSTIN should match the state code passed. Tally maps the State code against each state internally. In case user has created any state manually and are used, the said error triggers. Select the State from the given list of States.

Recipient GSTIN state code does not match with the state code passed in recipient details

The state code passed and first two digits of the GSTIN passed in the Recipient details do not match.

In the Recipient details, first two digits of the GSTIN should match the state code passed. Tally maps the State Code against each state internally. In case user has created any state manually and are used, the said error triggers. Select the State from the given list of States.

IRN details cannot be provided as it is generated more than {0} days prior

When trying to Get IRN info, this error is received when user has tried getting IRN info after 3 days.

Note: Currently e-Invoice support for getting IRN info is limited to 3 days from day of Generation. This can be changed by NIC in the future.

 

Vital Errors

Error Message Reason for Error Resolution

GSTIN is inactive or cancelled

GSTIN is inactive or cancelled by department or tax payer .

Check if the GSTN is correct. If yes, click the Sync GSTIN from GST CP API.

  1. To verify, go to the einvocie1.gst.gov.in portal > click Search > Taxpayer/GSTN.
  2. Mention the GSTIN and Captcha > click Go.
    This displays the GSTN details.
  3. Click the Update from GST Common portal.
    The portal displays the updated status.

If you get the status as Active, then you can restart your request to generate the IRN.

However, if GSTIN is still inactive due to business closure, you can change the said transactions as Sales to Unregistered/Consumer so that such transactions can participate in B2C table

Invalid Gstin

GSTIN provided is incorrect

Provide the correct GSTIN

Verify the GSTIN using below link

https://services.gst.gov.in/services/searchtp

Enrolled Transporter not allowed this site

The user who is not registered with GSTN but enrolled as transporter in E Way Bill portal is trying to login to eInvoice system

This is not allowed

Invalid From Pincode or To Pincode

PIN code passed is wrong

Pass the correct PIN code. Check the PIN code on the portal using the below link

https://einvoice1.gst.gov.in/Others/MasterCodes

Select Pincodes from the available radio buttons.
Select State Name, provide Captcha and click on Go to get the list of Pincodes

 

TallyHelpwhatsAppbanner
Is this information useful?
YesNo
Helpful?