Generate B2C Payment QR Code (Lite)
Generating B2C QR code
You can generate a QR code by sending a POST
request to E-Invoicing API with the following request headers.
Request URL
Request Header
Parameter | Parameter Type | Type | Description |
X-Cleartax-Auth-Token | Header | String | Mandatory. The auth token generated from ClearTax user id and password. |
Gstin | Header | String | Mandatory. GSTIN number for the user. |
Content-Type | Header | String | Mandatory. This will always be "application/json" for JSON. |
Request Parameters
Parameter | Parameter Type | Type | Description |
company_logo | Body | String | Optional. Base 64 encoded logo can be provided here. |
payee_address | Body | String | Mandatory. Payee VPA(Virtual Payment Address) |
payee_name | Body | String | Mandatory. Payee Name |
transaction_note | Body | String | Optional. Transaction note providing a short description of the transaction. |
transaction_amount | Body | String | Mandatory. Transaction amount in decimal format. |
payee_bank_account_number | Body | String | Optional. Payee bank account number |
payee_ifsc_code | Body | String | Optional. Payee IFSC code |
document_number | Body | String | Optional. Document number |
document_date | Body | String | Optional. Document date |
gstin | Body | String | Optional. Seller GSTIN number |
gst_value | Body | String | Optional. Total GST tax value |
cgst_value | Body | String | Optional. CGST value |
sgst_value | Body | String | Optional. SGST value |
igst_value | Body | String | Optional. IGST value |
cess_value | Body | String | Optional. CESS value |
Sample Request
Sample Response
B2C QR code response is a PNG image encoded in base64 format.
API Generated QR code
When you scan the above QR Code, the payload corresponds to:
Last updated