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
Headers
Path Parameters
Query Parameters
Response
Credit note committed successfully.