Get E-Invoice
Generate E-Invoice
URL
frontoffice/geteinvoice
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
| Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| key | String | 32 | 32 | M | bBV3iiSXJbGhsfRExn6KX9OIBWLckU80 | Key obtained from authentiaction. |
| islno | Integer | M | 12 | Unique number generated for the entry | ||
| fyear | Integer | M | 23 | Financial Year | ||
| firmid | Integer | M | 1 | Firm ID |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| islno | Integer | M | 12 | Unique number generated for the entry | ||
| fyear | Integer | M | 23 | Financial Year | ||
| einvirn | String | M | 933e07c445b15108edb6a44d4e352385ceec99be72f | Unique Invoice Referance Number (used only in web application) | ||
| einvjson | String | M | {"AckNo":15231428,"AckDt":"2023-04-01 17:28:00","Irn":"933e07c445b15108edb6a44d","SignedInvoice":"eyJhbGciOiJSUzI1Ni","SignedQRCode":"eyJhbGciOiJSU","Status":"ACT","EwbNo":null,"EwbDt":null,"EwbValidTill":null,"Remarks":null} | E-Invoice data as JSON string (used only in web application) | ||
| einvqrcode | String | M | eyJhbGciOiJSUzI1NiIsImtpZCI6IkI4RDYzRUNC | E-Invoice unique QR code (used only in web application) | ||
| einvcanceldate | String | M | 2023-04-01 20:37:00.000 | E-Invoice date of entry cancellation (used only in web application) |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"islno": "12",
"fyear": "23",
"firmid": "1"
}
Sample Success Response
{
"islno": "12",
"fyear": "23",
"einvirn": "933e07c445b15108edb6a44d4e352385ceec99be72f",
"einvjson": "{"AckNo":15231428,"AckDt":"2023-04-01 17:28:00","Irn":"933e07c445b15108edb6a44d","SignedInvoice":"eyJhbGciOiJSUzI1Ni","SignedQRCode":"eyJhbGciOiJSU","Status":"ACT","EwbNo":null,"EwbDt":null,"EwbValidTill":null,"Remarks":null}",
"einvqrcode": "eyJhbGciOiJSUzI1NiIsImtpZCI6IkI4RDYzRUNC",
"einvcanceldate": "2023-04-01 20:37:00.000",
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 401,
"msg": "Invalid authentication credentials."
}
{
"e": 499,
"msg": "Invalid Session"
}