Generate QR Code (Phase I)
A new version is available!
This API is valid only for Phase I requirements of ZATCA. In case you are implementing for Phase II, use the latest Generate E-Invoice API built for Phase II.
You can generate the QR code by sending the POST request to Generate QR Code API.
Request URL
https://api-demo.cleartax.com/middle-east/ksa/einvoicing/v1/b2c/qrcode/generateRequest Headers
x-cleartax-auth-token: {{USER_AUTH_TOKEN}}
Content-Type: application/json
owner_id: {{OWNER_ID}}
vat: {{VAT}}Accept
String
Cannot be empty
Mandatory. This will always be "application/json".
gstin
String
Cannot be empty
GSTIN for which you are generating IRN.
branch
String
Should be a valid branch from the user account
Optional. Branch name (store name) added in the user account which maps to a VAT or Group VAT of the entity.
X-Cleartax-Auth-Token
String
Cannot be empty
Mandatory. The auth token generated from ClearTax user id and password. Know how.
Content-Type
String
Cannot be empty
Mandatory. This will always be "application/json".
Request Parameters
InvoiceTotalAmt
Numeric
SellerName
String
TimeStampInvoice
VatNumber
Numeric
VatTotalAmt
Numeric
Request Payload
Sample Response
Last updated
Was this helpful?