POST
/
invoices
/
{invoiceId}
/
void
Void Invoice
curl --request POST \
  --url https://rest.taxes.provider.com/api/v1/invoices/{invoiceId}/void \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "documentDateTime": "2022-11-01T05:12:08.131Z"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

The json of all the parameters specified in authentication configuration of tax app will be sent by Chargebee.

Headers

merchant_id
string

Merchant's domain name will be sent by Chargebee

trace_id
string

Unique id of the request will be sent by Chargebee

Path Parameters

invoiceId
string
required

The unique identifier of the invoice at the Tax Service Adapter or Tax Service Provider.

Body

application/json

The request to void an invoice or credit note.

Response

204

Invoice voided successfully.