Commit credit note
curl --request POST \
--url https://rest.taxes.provider.com/api/v1/credit-notes/{creditNoteId}/commit \
--header 'Authorization: <api-key>'{
"message": "Unexpected error during processing the request."
}{
"status": "DOWN",
"version": "1.0.0",
"description": "The service is unhealthy. Several components are down.",
"components": [
{
"id": "app-db-memory",
"name": "Application Database Memory Usage",
"type": "DATABASE",
"status": "UP"
},
{
"id": "adapter-server",
"name": "Adapter API Server",
"type": "ADAPTER",
"status": "DOWN"
},
{
"id": "service-server",
"name": "API Server",
"type": "API",
"status": "DOWN"
}
],
"time": "2022-11-01T05:12:08.131Z"
}CreditNote
Commit credit note
This endpoint is used to mark a credit note as committed. Once committed, the credit note is considered as finalized.
POST
/
credit-notes
/
{creditNoteId}
/
commit
Commit credit note
curl --request POST \
--url https://rest.taxes.provider.com/api/v1/credit-notes/{creditNoteId}/commit \
--header 'Authorization: <api-key>'{
"message": "Unexpected error during processing the request."
}{
"status": "DOWN",
"version": "1.0.0",
"description": "The service is unhealthy. Several components are down.",
"components": [
{
"id": "app-db-memory",
"name": "Application Database Memory Usage",
"type": "DATABASE",
"status": "UP"
},
{
"id": "adapter-server",
"name": "Adapter API Server",
"type": "ADAPTER",
"status": "DOWN"
},
{
"id": "service-server",
"name": "API Server",
"type": "API",
"status": "DOWN"
}
],
"time": "2022-11-01T05:12:08.131Z"
}Authorizations
The json of all the parameters specified in authentication configuration of tax app will be sent by Chargebee.
Headers
Merchant's domain name will be sent by Chargebee
Unique id of the request will be sent by Chargebee
Path Parameters
The unique identifier of the credit note at the Tax Service Adapter or Tax Service Provider.
Query Parameters
The unique identifier of the invoice at the Tax Service Adapter or Tax Service Provider.
Response
Credit note committed successfully.