Download PDF of a Document

Request URL

GET: {{HOST}}/invoicing/v1/invoice/{{identifier}}/download

Request Headers

PARAMETERDESCRIPTIONEXAMPLE VALUE

X-Cleartax-Auth-Token

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

208c5df0-b252-4271-a23d- 61b384b58bfc

gstin

Mandatory. GSTIN number

29AAFCD5862R000

pan

Optional. PAN number

AAFCD5862R

branch

Optional. GSTIN number

Bangalore

Request Query Params

ParamterData TypeField ValidationsDescription

enableDsc

Boolean

Enum: true, false

This parameter will digitally sign the pdf.

Sample Response

{
 "downloadUrl": "URL to download PDF with an expiry time"
}
{
 "errorDetails": [
 {
 "errorCode": "6002",
  "errorMessage": "Invalid Document Identifier. Send the correct the
value and try again",
 "errorSource": "CLEARTAX",
 "path": null
 }
 ]
}

Last updated