Print B2C Invoice
You can print a B2C invoice by sending a POST
request to B2C QR code API with the following request headers.
Request URL
POST: {{HOST}}/einv/v1/b2c/download-pdf
Sample URL
https://api-sandbox.clear.in/einv/v1/b2c/download-pdf
Request Headers
x-cleartax-auth-token: {{USER_AUTH_TOKEN}}
Content-Type: application/json
gstin:{{gstin_number}}
Parameter
Parameter Type
Type
Description
X-Cleartax-Auth-Token
Header
String
Mandatory. The auth token generated from ClearTax user id and password. Know how.
Content-Type
Header
String
Mandatory. This will always be "application/json" for JSON
Gstin
Header
String
Mandatory. GSTIN number for the user.
template
query
String
Mandatory. TEMPLATE1
transaction_id
body
String
Mandatory. Transaction_id that needs to be printed
Sample Request Body
["29AAFCD5862R000_TESTB2C5_INV_2023"]
Sample Response
Last updated
Was this helpful?