Generate QR Code (Phase I)

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/generate

Request Headers

x-cleartax-auth-token: {{USER_AUTH_TOKEN}}
Content-Type: application/json
owner_id: {{OWNER_ID}}
vat: {{VAT}}
Parameter
Data Type
Field Validations
Description

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

Param Name
Type
Validation
Description

InvoiceTotalAmt

Numeric

SellerName

String

TimeStampInvoice

VatNumber

Numeric

VatTotalAmt

Numeric

Request Payload

Sample Response

Last updated

Was this helpful?