Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

   "invoiceDate":"2021-06-11T19:43:20.673+05:30",

}

Response if E-Invoicing is enabled

{

   "orderCode":"order1234",

   "shipmentCode":"101",

   "invoiceId":"INCREFF_1003",

   "documentUrl":"https://storage.googleapis.com/dev-oltp-nextscm-com/1001080/Invoice/invoice_INCREFF_1003.pdf",

   "invoiceDate":"2021-06-11T19:43:20.673+05:30",

   "irn":"50abcdc88aasdf5e2asd015",

   "signedInvoice":"sXCJQaW5cIjoxMjIwMDEsXCJTdGNkXCI6XCIwNlwiLFwiRW1cIjpcImNsaWVudEBkdW1teS5jb21cIn0sXCJCdXllckR0bHNcIjp7XCJHc3RpblwiOlwiMDZBQUJDUjE3MThFMVpUXCIsXCJMZ2xObVwiOlwiUmVsaWFuY2UgUmV0YWlsIEx0ZC5cIixcIlBvc1wiOlwiMDZcIixcIkFkZHIxXCI6XCJSZWxpYW5jZSBSZXRhaWwgTHRkLCBTaG9wIE5vIDI3IDI4IFVHIDEwMiBCYXNlbWVudFwiLFwiQWRkcjJcIjpcIlVwcGVyIEdGIGFuZCAxc3QgZmxvb3IgXFx1MDAyNiBNaWRkbGUgQmFzZW1lbnQgXCIsXCJMb2NcIjpcIkd1cmdhb25cIixcIlBpblwiOjEyMjAxNyxcIkVtXCI6XCJjbGllbnRAZHVtbXkuY29tXCIsXCJTdGNkXCI6XCIwNlwifSxcIkRpc3BEdGxzXCI6e1wiTm1cIjpcIkh1bW1lbCBJbmRpYSBQdnQuIEx0ZFwiLFwiQWRkcjFcIjpcImtoYXNyYSBubyAxNS8xMy8xLzEvMSAxOC8yIDE5LzIsIDIyIDIzLzEgMTcvMi8zLzEsIHZpbGxhZ2UgZ2Fkb2xpLCBraHVyZCBzZWN0b3IgMzdcIixcIkFkZHIyXCI6XCIgICBcIixcIkxvY1wiOlwiR3VyZ2FvblwiLFwiUGluXCI6MTIyMDAxLFwiU3RjZFwiOlwiMDZcIn0sXCJTaGlwRHRsc1wiOntcIkdzdGluXCI6XCIwNkFBQkNSMTcxOEUxWlRcIixcIkxnbE5tXCI6XCJSZWxpYW5jZSBSZXRhaWwgTHRkLlwiLFwiQWRkcjFcIjpcIlJlbGlhbmNlIFJldGFpbCBMdGQsIFNob3AgTm8gMjcgMjggVUcgMTAyIEJhc2VtZW50XCIsXCJBZGRyMlwiOlwiVXBwZXIgR0YgYW5kIDFzdCBmbG9vciBcXHUwMDI2IE1pZGRsZSBCYXNlbWVudCBcIixcIkxvY1wiOlwiR3VyZ2FvblwiLFwiUGluXCI6MTIyMDE3LFwiU3RjZFwiOlwiMDZcIn0sXCJJdGVtTGlzdFwiOlt7XCJJdGVtTm9cIjowLFwiU2xOb1wiOlwiMVwiLFwiSXNTZXJ2Y1wiOlwiTlwiLFwiUHJkRGVzY1wiOlwiS0lFTFwiLFwiSHNuQ2RcIjpcIjY0MDQxOTkwXCIsXCJRdHlcIjoxLjAsXCJVbml0XCI6XCJQQ1NcIixcIlVuaXRQcmljZVwiOjM5MS4yOSxcIlRvdEFtdFwiOjM5MS4yOSxcIkFzc0FtdFwiOjM5MS4yOSxcIkdzdFJ0XCI6MTIuMDAwLFwiSWdzdEFtdFwiOjAuMDAsX",

"signedQRCode":"EzLzEyLzIwMjJcIixcIlRvdEludlZhbFwiOjQzOC4yNSxcIkl0ZW1DbnRcIjoxLFwiTWFpbkhzbkNvZGVcIjpcIjY0MDQxOTkwXCIsXCJJcm5cIjpcIjUwZTk2NTFjZDM2M2E0MjgyMzllZWVlY2M4OGE2OWQyZjNmNTMyMmE1YjE0NWUyMTE0ZTRjMjI4OGJmZjgwMTVcIixcIklybkR0XCI6XCIyMDIyLTEyLTEzIDE1OjI0OjAwXC",

}

Parameter Name

Data Type

Description

Mandatory

orderCode

String

The order code against which Invoice is being generated

Yes

shipmentCode

String

The shipment code against which Invoice is being generated

Yes

invoiceId

String

Invoice Id for the Invoice generated

Yes

documentUrl

String

Downloadable URL of the InvoicePDF

Yes

invoiceDate

Date

Invoice Time

Yes

irn

String

IRN generated by Government Portal. This will be sent in the E-Invoicing case.

No

signedInvoice

String

Signed Invoice generated by Government Portal. This will be sent in the E-Invoicing case.

Yes

signedQRCode

String

Signed QR Code generated by Government Portal. This will be sent in the E-Invoicing case.

Yes

FAQs

For E-Invoice generation, will the same API be used?

...