POST
/
credit-notes
/
{creditNoteId}
/
void
Void credit note
curl --request POST \
  --url https://rest.taxes.provider.com/api/v1/credit-notes/{creditNoteId}/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

creditNoteId
string
required

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

Query Parameters

invoiceId
string

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

Credit note voided successfully.