What is an Invoice Reference Number (IRN)?
IRN or Invoice Reference Number is a unique code generated by IRP (Invoice Registration Portal). Invoice Reference Number is also known as hash as IRN uses hash generation algorithm. Invoice Reference Number shall be generated for every invoice, debit or credit note.
Why IRN is also known as Hash?
IRN is also known as Hash as it uses hash generation algorithm. This algorithm converts the message containing Alphanumeric codes and certain special characters into unique numbers in such a way that the original message cannot be decoded easily. The generation of this algorithm will mainly depend upon the GSTIN under the e-Invoicing system.
Decoding Invoice Reference Number (IRN) or Hash
As we already know the IRN or Hash is a unique number generated by changing characters into numbers through hash generation algorithms. The three important part on which IRN generation will depend upon
- The GSTIN of the Supplier
- Invoice number of the supplier
- The format of the financial year (FY) i.e. ‘YYYY-YY’. For instance 2020-21.
Pre-requisite to generate IRN
Here are some of the Pre-Requisite at the time of generating IRN:
- The Document Date should be less than or equal to the current date.
- The following types of documents are only considered for the generation of IRN.
- Debit Note
- Credit Note.
- E-Invoice request should be made only for the following category of transactions
- Business to Business(B2B) invoices
- Business to Government (B2G) invoices
- Business to Export invoices
- Reverse Charges invoices
- Supplies through e-Commerce Operator
- A supplier should ensure that the unique invoice number is being generated for the financial year for each invoice, in his ERP/manual system. For the financial year, the date of the invoice is considered. The financial year starts on 1st April and ends on 31st March.
- Requests for the IRN/e-Invoice can be made only by the supplier of the goods or services. However, the e-Commerce Operator can request for the IRN/e-invoice on behalf of the supplier. In this case, the e-Commerce Operator should have registered on the GST portal accordingly.
- The IRN can be generated and passed by the tax payer’s system on the combination of Supplier GSTIN, Financial Year, document type and document number.
- e-invoice(IRN) can be re-generated for the canceled e-invoice(IRN)
- Duplicate IRN requests are not considered i.e., if the IRN is already generated on a particular type of document and document number of the supplier for the financial year, then one more IRN cannot be generated on the same combination.
- In the case of export transactions, the taxpayer has to pass the following data
- The subtype of export
- Payment type – With or Without
- Port code
- Country code
- Currency and value
- In case of Debit/Credit Note of the transaction, the taxpayer has to pass the Original Invoice Number in Debit/Credit Note details.
- PIN Codes are validated against the States, they belong to.
- To identify the type of movement of goods, the type of transaction is being captured.
- Recipient GSTIN should be registered and active GSTIN number. In case of transaction of direct export, recipient GSTIN has to be URP.
- In the case of ‘Bill to – Ship to’ transaction, the details of the recipient party(Bill-to) and shipping party (Ship-to) should be passed.
- In the case of ‘Bill From – Dispatch From’ transaction, the details of the supplier party(Bill-from) and dispatching party (dispatch-from) should be passed.
- In the case of an intrastate transaction, where both Supplier GSTIN and recipient GSTIN belong to the same state, the SGST and CGST tax rates and values have to be passed.
- In the case of an inter-state transaction, where both Supplier GSTIN and recipient GSTIN belong to different states, the IGST tax rate and value have to be passed.
- In the case of the export transaction, IGST tax rate and value have to be passed.
- In case the supplier is SEZ unit, then IGST tax rate and value have to be passed irrespective of the state of the buyer.
- Each item needs to valid HSN code with at least 4 digits. That is, items of goods type should be 4 or 6 or 8 digits and items of service type should be 4 or 5 or 6 digits.
- Tax rates are being validated. Only the allowed tax rates will be accepted.
- The maximum number of items in each invoice should not exceed more than 1000 items.