Professional Documents
Culture Documents
OFI GST E-Invoicing Functionality1
OFI GST E-Invoicing Functionality1
OFI GST E-Invoicing Functionality1
Change Record
5
7
Reviewers
Name Position
Audience
Name Distribution
12.1 & Above Product Support Team External
12.1 & Above Customers External
Contents
Document Control ................................................................ 2
1. Introduction ................................................................. 4
2. Legal Requirement ....................................................... 4
3. Overview of E-invoicing Functionality under GST ........ 5
4. Prerequisites ................................................................ 5
5. Mandatory Setups ........................................................ 6
6. Transaction Flow ........................................................ 10
7. India Generate IRN Extract Program .......................... 12
8. IRN Inbound Approach ............................................... 16
9. Important Points ........................................................ 24
10 References .................................................................. 24
3
E-invoicing Functionality under OFI-GST
1. Introduction
This document provides detailed information about the E-invoicing Functionality in Oracle Financials for
India GST Architecture, mandatory setups, transaction flow and process to generate the required
information from ERP standpoint.
The Central Board of Indirect Taxes and Customs (CBIC), Government of India have issued Notification
No.60/2020 Central Tax dated 30-July-2020 notifying the revised version of e-invoice schema (version
1.03) that need to be used for complying with the prescribed e-invoice requirements for India. This
notification supersedes prior versions of the schema notified earlier.
Through Notification No. 61/2020 Central Tax dated 30-July-2020, CBIC also notified that the prescribed
e-invoice procedure would be applicable only for invoices raised for B2B supplies by Large Tax payers
having aggregate turnover of more than Five Hundred Crore Rupees in the preceding financial year. The
Board had also extended the exemption from e-invoice procedure for Tax payers based out of special
economic zones who are registered under GST regime as SEZ Units. The list of industries exempted from
e-invoice process notified earlier for Insurance companies, Banking and Non-banking financial
institutions, Goods and Passenger Transport agencies is now extended to SEZ units as well.
The compliance date for the prescribed e-invoice procedure for Large Tax payer units indicated above is
1-October-2020.
Large Tax payer units who are required to comply with e-invoice procedure must electronically register
their Invoices for B2B supplies with National Invoice Registry (IRP) following the prescribed procedure
and must obtain Invoice Reference Number (IRN) and a unique QR code along with certain other details
which need to be incorporated to their invoice.
4
E-invoicing Functionality under OFI-GST
3. Overview of E-invoicing Functionality under GST
For OFI-GST users, new features has been added to the existing Tax invoice generation procedure to support the
following enabling capabilities for e-invoicing:
1. Tax invoice creation in conformity with the provided schema, containing all mandatory information
required for e-filing.
Planned enabling capabilities listed above will help the customers to map the outbound and inbound
communication from ERP with a service provider like OCS, ACS or a GSP who offer edge applications on top of the
enabling capabilities that will be supported by development.
4. Prerequisites
It is assumed that Regime to Rate setups including the Tax invoice number generation process under OFI-GST
architecture does exist in the system.
For detailed information on the same, kindly refer to the “OFI GST Configuration Functional Document” under
Functional Documentation tab in below MOS Note :
E-Business Suite Release 12: Oracle Financials for India (OFI) Information Center (Doc ID 2640446.2)
5
E-invoicing Functionality under OFI-GST
5. Mandatory Setups
The following steps need to be completed to ensure complete data gets exported for generation of IRN on the
IRP Portal.
(N) Oracle Financials for India > Party Registrations > Define First Party Registration.
6
E-invoicing Functionality under OFI-GST
b. Legal Name for Third Party (Customer)
(N) Oracle Financials for India > Party Registrations > Define Third Party Registration.
(N) Oracle Financials for India > Tax Configuration > Define Tax Type.
7
E-invoicing Functionality under OFI-GST
d. Address Information of First Party
(N) Inventory Management Superuser > Setup > Organizations > Locations.
Query for the Location attached to Inventory Organization and ensure to provide complete address details.
8
E-invoicing Functionality under OFI-GST
e. Address Information of Third Party
Query for the respective customer and ensure to provide complete address details at Site Level.
9
E-invoicing Functionality under OFI-GST
6. Sample Transaction Flow (Manual AR Transaction)
10
E-invoicing Functionality under OFI-GST
Verify the Tax level details - Tools > India Tax Details form
Complete the transaction and verify that tax invoice number generated successfully
11
E-invoicing Functionality under OFI-GST
7. India Generate IRN Extract Program
Users will be provided with a concurrent program that will generate the IRN Extract File in XML format.
12
E-invoicing Functionality under OFI-GST
Parameter Required Default Description
Values
Tax Regime Yes No It shows all the GST Regimes defined in system.
Registration Yes No It shows all registration numbers attached with the respective
Number Tax Regime.
Tax Invoice No No Free-field where users can enter the Tax Invoice Number. This is
Number mandatory if date range is NOT provided.
Start Date Yes N/A Free-field where users need to enter the Start Date of the Tax
invoices.
End Date Yes N/A Free-field where users need to enter the End Date of the Tax
invoices.
RE-EXTRACT No Yes Default Value as NO. Users can set it to Yes for re-extraction
cases.
Sample Output:
XML_Extract_10SEP2
0.xml
XML Tags
The following table describes the mandatory XML tags generated as a part of the IRN Outbound Extract
feature.
13
E-invoicing Functionality under OFI-GST
<element name="Loc"
SELLER_LOCATION VARCHAR2(60)
value="SELLER_LOCATION"/>
<element name="Pin"
SELLER_PINCODE NUMBER
value="SELLER_PINCODE"/>
<element name="Stcd"
SELLER_STATE NUMBER
value="SELLER_STATE"/>
<element name="Gstin"
BUYER_GSTIN VARCHAR2(15)
value="BUYER_GSTIN"/>
<element name="Loc"
BUYER_LOCATION VARCHAR2(60)
value="BUYER_LOCATION"/>
<element name="Loc"
DISPATCH_LOCATION VARCHAR2(60)
value="DISPATCH_LOCATION"/>
<element name="Pin"
DISPATCH_PINCODE NUMBER
value="DISPATCH_PINCODE"/>
<element name="Stcd"
DISPATCH_STATE NUMBER
value="DISPATCH_STATE"/>
<element name="Loc"
SHIP_TO_LOCATION VARCHAR2(60)
value="SHIP_TO_LOCATION"/>
<element name="Pin"
SHIP_TO_PINCODE NUMBER
value="SHIP_TO_PINCODE"/>
<element name="Stcd"
SHIP_TO_STATE NUMBER
value="SHIP_TO_STATE"/>
<element name="UnitPrice"
UNIT_PRICE NUMBER
value="UNIT_PRICE"/>
<element name="TotAmt"
TOTAL_AMOUNT NUMBER
value="TOTAL_AMOUNT"/>
<element name="AssAmt"
ASSESSABLE_AMOUNT NUMBER
value="ASSESSABLE_AMOUNT"/>
<element name="TotItemVal"
TOTAL_ITEM_VALUE NUMBER
value="TOTAL_ITEM_VALUE"/>
<element name="AssVal"
TOTAL_ASSESSABLE_VALUE NUMBER
value="TOTAL_ASSESSABLE_VALUE"/>
<element name="TotInvVal"
TOTAL_INVOICE_VALUE NUMBER
value="TOTAL_INVOICE_VALUE"/>
<element name="InvStDt"
INVOICE_PERIOD_START_DATE DATE
value="INVOICE_PERIOD_START_DATE"/>
<element name="InvEndDt"
INVOICE_PERIOD_END_DATE DATE
value="INVOICE_PERIOD_END_DATE"/>
14
E-invoicing Functionality under OFI-GST
<element name="PrecInvNo"
PRECEDING_INVOICE_NUMBER VARCHAR2(20)
value="PRECEDING_INVOICE_NUMBER"/>
<element name="PrecInvDt"
PRECEDING_INVOICE_DATE DATE
value="PRECEDING_INVOICE_DATE"/>
<element name="LglNm"
SELLER_LEGAL_NAME VARCHAR2(100)
value="SELLLER_LEGAL_NAME"/>
<element name="Addr1"
SELLER_ADDRESS1 VARCHAR2(100)
value="SELLER_ADDRESS1"/>
<element name="LglNm"
BUYER_LEGAL_NAME VARCHAR2(100)
value="BUYER_LEGAL_NAME"/>
<element name="POS"
BUYER_PLACE_OF_SUPPLY VARCHAR2(2)
value="BUYER_PLACE_OF_SUPPLY"/>
<element name="Addr1"
BUYER_ADDRESS1 VARCHAR2(100)
value="BUYER_ADDRESS1"/>
<element name="Distance"
TRANS_DISTANCE VARCHAR2(4)
value="TRANS_DISTANCE"/>
<element name="LglNm"
SHIP_TO_LEGAL_NAME VARCHAR2(100)
value="SHIP_TO_LEGAL_NAME"/>
<element name="Addr1"
SHIP_TO_ADDRESS1 VARCHAR2(100)
value="SHIP_TO_ADDRESS1"/>
<element name="Nm"
DISPATCH_ENTITY_NAME VARCHAR2(60)
value="DISPATCH_ENTITY_NAME"/>
<element name="Addr1"
DISPATCH_ADDRESS1 VARCHAR2(100)
value="DISPATCH_ADDRESS1"/>
<element name="SlNo"
ITEM_SERIAL_NUMBER VARCHAR2(6)
value="ITEM_SERIAL_NUMBER"/>
<element name="IsServc"
ITEM_SERVICE_FLAG VARCHAR2(1)
value="ITEM_SERVICE_FLAG"/>
<element name="Nm"
BATCH_NUMBER VARCHAR2
value="BATCH_NUMBER"/>
15
E-invoicing Functionality under OFI-GST
8. IRN Inbound Approach
a. IRN details have to be given in the JSON file as per the below format:
{
"GSTIN": "37BZNPM9430M1KL",
"STATUS":"ACT",
"IRNDTLS": [
{
"IRN": "12345",
"ACKNO":"17100000054",
"ACKDT":"25-02-2020",
"DOCDTLS": {"TYP": "INV","NO": "SO131","DT": "25-02-2020"},
"QRCODE":"sbfjsdfj"
}
]
}
b. Navigation: Oracle Financials for India > Settlement management > Review Tax Repository
16
E-invoicing Functionality under OFI-GST
c. Click on “Upload File” radio button which will open the JSON Browser UI.
d. Browse the JSON file and click on Submit button. Come back to the form and click on OK to
successful upload in Review Tax repository.
17
E-invoicing Functionality under OFI-GST
e. Select the File Type as IRN-INBOUND and save the record. Now click on Process button.
This will submit concurrent "India-GSTIN Inbound Process" which is responsible for updating the Tax
Repository with IRN details.
18
E-invoicing Functionality under OFI-GST
Program completed successfully.
f. Verify the IRN details and QR code in the India Tax Details form at Transaction Level.
19
E-invoicing Functionality under OFI-GST
Click on “QR Code” button to view below image. Image will be in bmp format and user can scan the
same.
20
E-invoicing Functionality under OFI-GST
Second Approach: Direct load of jai_gst_rept_inbound_interface table with the IRN details.
Users can insert the data directly into the “jai_gst_rept_inbound_interface” table and import it into
ERP System.
FIRST_PARTY_PRIMARY_REG_NUM
FORM_TYPE - 'IRN-INBOUND' (FOR successful IRN )
TRX_TYPE
TAX_INVOICE_NUMBER
TAX_INVOICE_DATE
GSTN_ACCK_STATUS (as 'PS' if success)
GSTN_ACCK_ID ('acknowledgement number'),
INVOICE_REFERENCE_NUMBER,
QR_CODE_RESPONSE in <IRNbase64string>
21
E-invoicing Functionality under OFI-GST
Parameter Required Default Description
Values
P_FILE_ID No No Not required in case of Second Approach
P_FILE_NAME No No Not required in case of Second Approach
Form Type Yes No IRN-INBOUND needs to be passed mandatorily.
Tax Regime Yes N/A It shows all the GST Regimes defined in system.
GSTIN Yes N/A It shows all registration numbers attached with the respective
Registration Tax Regime.
Number
Return Period Yes No Period to which Tax invoices belong to.
File Name Yes No Free-field where users can enter any value.
c. Verify the IRN details and QR code in the India Tax Details form at Transaction Level.
22
E-invoicing Functionality under OFI-GST
Click on “QR Code” button to view below image. Image will be in bmp format and user can scan the
same.
(Note: Image will be displayed only if user has applied the files mentioned in
IRN_QRCODE_APEXJSON.zip).
23
E-invoicing Functionality under OFI-GST
9. Important Points
• B2B, B2G and Export Transactions (First Party and Third Party should be present or Ship to
country should be Non India country) will be considered for E-invoicing process.
• Only Documents having a valid Tax Invoice number will be considered for E-invoicing.
• Once the data is extracted by a request it will not be extracted again.
• If users wants to re extract again, they need to pass the REEXTRACT parameter as YES in
concurrent program.
• For Tax Point Basis “DELIVERY” data will be populated in respective IRN table after Ship Confirm
get completed.
• For Tax Point Basis “INVOICE” (Bill only order) data will populated after completion of Auto
Invoice Import Program.
• For Manual AR invoice, it will be populated at the time of completion of AR Transaction.
Tag “trans_distance” is mandatory only if the user opts for E-way bill generation along with IRN
and users has to manually update this field in JAI_IRN_DETAILS table.
There is no API/Interface to update Legal Name for First/Third Party Registration setups.
Tax Invoice Number or Start Date and End Date is mandatory for India Generate IRN Extract
program else the XML output will not be generated.
10. References
E-Business Suite Release 12: Oracle Financials for India (OFI) Information Center (Doc ID 2640446.2)
Oracle E-Business Suite: India GST E-Invoice, October 1, 2020 (Doc ID 2628076.1)
Internal Document
Oracle Financials for India (OFI) - Goods and Services Tax(GST) : E-Invoice Functionality Technical Flow
(Doc ID 2709910.1)
24
E-invoicing Functionality under OFI-GST