Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Invoice Details

Request Method

GET

Request URL

{{host}}/einv/v1/einvoices/detail

There are two use cases here

Case 1:

By IRN: send only IRN

Case 2:

By document details: documentNumber, documentType, documentDate, and sellerGstin stay mandatory as today (sellerGstin = URP for self-invoices). The new query parameter buyerGstin is mandatory when invoiceType = PURCHASE, because a purchase self-invoice is identified by Buyer GSTIN + Document Type + Document Number + Financial Year

Request Headers

PARAMETER
PARAM TYPE
TYPE
DESCRIPTION

X-Cleartax-Auth-Token

Header

String

Mandatory. The auth token generated from ClearTax user id and password. Know how.

gstin

Header

String

Mandatory. GSTIN number for the user

invoiceType

Header

String

PURCHASE or SALE

Request Path Params

This API does not require any path parameters. All required inputs are sent via query parameters or headers.

Request Query Params

Parameter
Data Type
Field Validations( Case 1 By IRN )
Field Validations( Case 2 By Document details)

irn

String

Mandatory

Not Required

documentNumber

String

Not Required

Mandatory

documentType

String

Not Required

Mandatory (INV, CRN, DBN)

documentDate

String

Not Required

Mandatory (dd/mm/yyyy)

sellerGstin

String

Not Required

Mandatory (URP for self-invoices)

buyerGstin (New)

String

Not Required

Mandatory when invoiceType = PURCHASE

invoiceType header (New)

String

PURCHASE for self - Invoices

PURCHASE for self-invoices

Request Body

No request body is required for this API; all required parameters are passed as query parameters or headers.

Sample Request for Case 1

Get

Sample Request for Case 2

Get

Sample Response:

Last updated