Delete B2C transaction

Delete B2C transaction

You can delete a B2C QR transaction by sending a POST request to B2C QR code API with the following request headers.

Request URL

POST: {{HOST}}/einv/v1/b2c/delete

Sample URL

https://api-sandbox.clear.in/einv/v1/b2c/delete

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.

transaction_id

body

String

Mandatory. Transaction_id that needs to be deleted

Sample Request Body

["29AAFCD5862R000_TESTB2C5_INV_2023"]

Sample Response

On successful deletion, you will receive HTTP status code as 204 No Content.

Last updated

Was this helpful?