iotoms Docs

Get India e-invoice IRN log

GET
/api/v1/reports/tax/india/irn-log

Lists transactions for the filing month with their e-invoice reference number (IRN) generation status. month (1 to 12) and year are required.

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Query Parameters

month*integer

Filing month (1–12)

Formatint32
year*integer

Filing year (>= 2017)

Formatint32

Header Parameters

X-TenantID*string

Tenant identifier

Response Body

OK

*/*
  1. response
status*string

Outcome of the call: SUCCESS when the request worked, ERROR when it did not.

message*string

Short human-readable message describing the result, for logs or display; do not parse it.

data?array<>|

One row per sale transaction in the filing month. The e-Way Bill log includes only sales that carry an e-Way Bill number.

Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/reports/tax/india/irn-log?month=0&year=0' \  -H 'X-TenantID: your-tenant-code'
Example Response
{  "status": "string",  "message": "string",  "data": [    {      "transactionId": "string",      "cartId": "string",      "invoiceNumber": "string",      "businessDate": "2019-08-24",      "customerNumber": "string",      "customerGstin": "string",      "grandTotal": 0,      "supplyType": "string",      "placeOfSupply": "string",      "irnNumber": "string",      "irnAckDate": "2019-08-24",      "irnAckNumber": "string",      "eWayBillNumber": "string",      "irnStatus": "GENERATED",      "ewayBillNumber": "string"    }  ]}