1. Request Details
HTTP Method | POST |
URL PATH | https://my.gstzen.in/api/delete-invoice/ |
Response Type | application/json |
Authentication Type | Token |
Do not forget the trailing slash '/' at the end.
2. Request Payload Example
Headers
Token | f15da0e8-e4d0-11ed-b5ea-0242ac120002 |
You can find your GSTZen API key at bottom of your profile page.
Body
{ "invoice_uuid": "9a2c9f66-7872-4f9c-983e-d3aa8f13fcae" }
3. Response Example
If account has invoice with provided invoice uuid
{ "status": 1, "message": "Invoice No SAMPLES/0002, with date 2021-01-13 deleted successfully." }
If Invoice exceeds retry limit
{ "status": 0, "message": "You have incorrect e-invoice generation attempt on Invoice No SAMPLES/0002, with date 2021-01-13. Please delete this Invoice manually." }
If account does not invoice with provided invoice uuid
{ "status": 0, "message": "No invoice with uuid '9a2c9f66-7872-4f9c-983e-d3aa8f13fcae' found in your account." }