E Invoicing API
Search…
⌃K

Generate IRN (SOAP)

Name
Description
Name URL
Method Type
Post
Post Parameters (JSON Format)
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:server"> soapenv:Header/ soapenv:Body urn:eInvoiceGenerate <access_token>b29cee2156282be62f51b24fe8b3f07f01c9bff1</access_token> <user_gstin>09AAAPG7885R002</user_gstin> <data_source>erp</data_source> <transaction_details> <supply_type>B2B</supply_type> <charge_type>N</charge_type> <igst_on_intra>N</igst_on_intra> <ecommerce_gstin></ecommerce_gstin> </transaction_details> <document_details> <document_type>INV</document_type> <document_number>MIPL/145621391</document_number> <document_date>31/05/2021</document_date> </document_details> <seller_details> 09AAAPG7885R002 <legal_name>MastersIndia UP</legal_name> <trade_name>MastersIndia UP</trade_name> Vila Vila Noida 201301 <state_code>UTTAR PRADESH</state_code> <phone_number>9876543231</phone_number> [email protected] </seller_details> <buyer_details> 05AAAPG7885R002 <legal_name>MastersIndia UT</legal_name> <trade_name>MastersIndia UT</trade_name> Kila Kila Nainital 263001 <place_of_supply>5</place_of_supply> <state_code>UTTARAKHAND</state_code> <phone_number>9876543231</phone_number> [email protected] </buyer_details> <dispatch_details> <company_name>MastersIndia UP</company_name> Vila Vila Noida 201301 <state_code>UTTAR PRADESH</state_code> </dispatch_details> <ship_details> 05AAAPG7885R002 <legal_name>MastersIndia UT</legal_name> <trade_name>MastersIndia UT</trade_name> Kila Kila Nainital 263001 <state_code>UTTARAKHAND</state_code> </ship_details> <export_details> <ship_bill_number>qwe1233</ship_bill_number> <ship_bill_date>31/05/2021</ship_bill_date> <country_code>IN</country_code> <foreign_currency>INR</foreign_currency> <refund_claim>N</refund_claim> <port_code>232434</port_code> <export_duty>232434</export_duty> </export_details> <payment_details> <bank_account_number>Account Details</bank_account_number> <paid_balance_amount>100</paid_balance_amount> <credit_days>2</credit_days> <credit_transfer>Credit Transfer</credit_transfer> <direct_debit>Direct Debit</direct_debit> <branch_or_ifsc>KKK000180</branch_or_ifsc> <payment_mode>CASH</payment_mode> <payee_name>Payee Name</payee_name> <outstanding_amount>1.9></outstanding_amount> <payment_instruction>Payment Instruction</payment_instruction> <payment_term>Terms of Payment</payment_term> </payment_details> <reference_details> <invoice_remarks>Invoice Remarks</invoice_remarks> <document_period_details> <invoice_period_start_date>31/05/2021</invoice_period_start_date> <invoice_period_end_date>31/05/2021</invoice_period_end_date> </document_period_details> <preceding_document_details> <preceding_document> <reference_of_original_invoice>CFRT/0006</reference_of_original_invoice> <product_description>Test</product_description> <preceding_invoice_date>31/05/2021</preceding_invoice_date> <other_reference>2334</other_reference> </preceding_document> </preceding_document_details> <contract_details> <receipt_advice_number>aaa</receipt_advice_number> <receipt_advice_date>31/05/2021</receipt_advice_date> <batch_reference_number>2334</batch_reference_number> <contract_reference_number>2334</contract_reference_number> <other_reference>2334</other_reference> <project_reference_number>2334</project_reference_number> <vendor_po_reference_number>233433454545</vendor_po_reference_number> <vendor_po_reference_date>31/05/2021</vendor_po_reference_date> </contract_details> </reference_details> <additional_document_details> <additional_document> <supporting_document_url></supporting_document_url> <supporting_document>india</supporting_document> <additional_information>india</additional_information> </additional_document> </additional_document_details> <ewaybill_details> <transporter_id>05AAABB0639G1Z8</transporter_id> <transporter_name>Jay Trans</transporter_name> <transportation_mode>1</transportation_mode> <transportation_distance>120</transportation_distance> <transporter_document_number>1230</transporter_document_number> <transporter_document_date>31/05/2021</transporter_document_date> <vehicle_number>PQR1234</vehicle_number> <vehicle_type>R</vehicle_type> </ewaybill_details> <value_details> <total_assessable_value>4</total_assessable_value> <total_cgst_value>0</total_cgst_value> <total_sgst_value>0</total_sgst_value> <total_igst_value>0.2</total_igst_value> <total_cess_value>0</total_cess_value> <total_discount>0</total_discount> <total_other_charge>0</total_other_charge> <total_invoice_value>4.2</total_invoice_value> <total_cess_value_of_state>0</total_cess_value_of_state> <round_off_amount>0</round_off_amount> <total_invoice_value_additional_currency>0</total_invoice_value_additional_currency> </value_details> <item_list> <item_serial_number>123</item_serial_number> <product_description>Wheat desc</product_description> <is_service>N</is_service> <hsn_code>100110</hsn_code> <bar_code>1212</bar_code> 1 <free_quantity>0</free_quantity> KGS <unit_price>4</unit_price> <total_amount>4</total_amount> <pre_tax_value>0</pre_tax_value> 0 <other_charge>0</other_charge> <assessable_value>4</assessable_value> <gst_rate>5</gst_rate> <igst_amount>0.2</igst_amount> <cgst_amount>0</cgst_amount> <sgst_amount>0</sgst_amount> <cess_rate>0</cess_rate> <cess_amount>0</cess_amount> <cess_nonadvol_amount>0</cess_nonadvol_amount> <state_cess_rate>0</state_cess_rate> <state_cess_amount>0</state_cess_amount> <state_cess_nonadvol_amount>0</state_cess_nonadvol_amount> <total_item_value>4.2</total_item_value> <country_origin>52</country_origin> <order_line_reference>5236</order_line_reference> <product_serial_number>14785</product_serial_number> <batch_details> ABDHDSH <expiry_date>31/05/2022</expiry_date> <warranty_date>31/05/2022</warranty_date> </batch_details> <attribute_details> <item_attribute_details>aaa</item_attribute_details> <item_attribute_value>147852</item_attribute_value> </attribute_details> </item_list> </urn:eInvoiceGenerate> </soapenv:Body> </soapenv:Envelope>
Success Response
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> SOAP-ENV:Body <ns1:eInvoiceGenerateResponse xmlns:ns1="urn:server"> 142110006377059 2021-06-01 20:26:17 1e6a362ea4c893cf0d6a8254c2d7862778fa19dcc091304ac220a13412e1ccae eyJhbGciOiJSUzI1NiIsImtpZCI6IkVEQzU3REUxMzU4QjMwMEJBOUY3OTM0MEE2Njk2ODMxRjNDODUwNDciLCJ0eXAiOiJKV1QiLCJ4NXQiOiI3Y1Y5NFRXTE1BdXA5NU5BcG1sb01mUElVRWMifQ.eyJkYXRhIjoie1wiQWNrTm9cIjoxNDIxMTAwMDYz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MxRpvxoficAumrgvHPKC2k37hqc2HZYBA21-OuCFF_w ACT 0 [{"InfCd":"EWBERR","Desc":[{"ErrorCode":"4013","ErrorMessage":"The distance between the pincodes given is too high or low."}]}] Success 200 09AAAPG7885R002_MIPL/145621391_1622559518 </ns1:eInvoiceGenerateResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Error Response
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> SOAP-ENV:Body <ns1:eInvoiceGenerateResponse xmlns:ns1="urn:server"> 1 HSN code is required. Failed 204 09AAAPG7885R002_MIPL/104_1583755721 </ns1:eInvoiceGenerateResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>