E-way bill and e-invoice API error codes

The codes the government network returns, in plain words, with the call each one comes from. A rejected call is never charged.

Government network codes

Codes and messages are passed through as the network sends them, so you can search for them elsewhere. The network sometimes adds a stray comma to a code or a line break to a message; this API trims both.

CodeMessageWhat to doSeen on
108Invalid login credentialsThe API username or password was refused. Usually the API user was created for a different GSP, or the password has special characters.Generate an e-way bill
301Invalid eway bill numberThe e-way bill number does not exist. Check the 12 digits.Update transporterConsolidated e-way bill
325Could not retrieve dataNo e-way bill is available to you under that number. It is charged like a match, because the call reached the network.Get details by numberUpdate vehicle / Part BGet consolidated e-way bill
336Could not retrieve transporter dataReturned as an empty list with a note, not as an error.Transporter list
341This e-way bill is generated by you and hence you cannot reject itCancel your own e-way bill instead, within 24 hours of generating it.Reject an e-way bill
381There is No PART-B/Vehicle EntryAdd the vehicle first with the update vehicle call, then extend.Extend validity
387No Record Found for Entered consolidated eWay bill.The trip sheet number is wrong, or it is not yours to regenerate.Regenerate consolidated
418No record foundNo e-way bill matches that document type and number for this GSTIN. Check the document type first: it must match what was filed.Look up by document number
604Already generatedHandled for you: the existing e-way bill is returned with already_existed: true.Generate an e-way bill
658Rate control limit exceededThe state filter allows 50 calls per 15 minutes. Wait for the window to pass.Transporter list
728You can cancel the ewaybill within 24 hours from Part B entryToo late. Generate a correct e-way bill instead; the old one stays until it expires.Cancel an e-way bill
2150Duplicate IRNHandled for you: the existing IRN is returned with already_existed: true.Generate an e-invoice
2234SGST and CGST amount does not match taxable value and tax rateA tax amount does not match the taxable value at its rate. Fix the arithmetic; it is stopped before reaching the network and is free.Generate an e-invoice
3026E-Invoice options are not enabled for this GSTINThe GSTIN has not been enabled for e-invoicing on the e-invoice portal.Generate an e-invoice

Responses from gstinapi.in itself

CodeMessageWhat to do
HTTP 403paid_account_requiredReal filings need an account that has bought a credit pack. test_mode works on any account.

Most "Invalid login credentials" (108) failures are an API user created for a different GSP. Create the API user the right way, or browse every API call.