Cancel a credit note by ID Copy

DELETE {{baseInfraUrl}}/{{version}}/credit-note/:noteId

Cancel a single Credit Note by its id.

RESPONSES

status: OK

{"note":{"amount":193240,"city":"São Paulo","created":"2022-06-07T14:09:40.371518+00:00","district":"Jardim Paulista","documentId":"5760205505691648","expiration":"2022-06-14T11:09:40.226984+00:00","externalId":"my_unique_id_postman1","id":"5745965138968576","interest":20.68,"invoices":[{"amount":234413,"descriptions":[],"discounts":[],"due":"2023-06-17T02:59:59.999999+00:00","expiration":5097600,"fine":2,"id":"","interest":1,"name":"Jamie Lannister","tags":[],"taxId":"012.345.678-90"}],"name":"Jamie Lannister","nominalAmount":200000,"nominalInterest":16.71,"payment":{"accountNumber":"5005482","accountType":"checking","amount":193240,"bankCode":"60701190","branchCode":"7248","id":"","name":"Jamie Lannister","scheduled":"2022-06-07T14:09:40.238601+00:00","status":"","tags":[],"taxId":"594.739.480-42"},"paymentType":"transfer","rebateAmount":0,"scheduled":"2022-06-07T11:09:40.226984+00:00","signers":[{"contact":"jamie.lannister@gmail.com","method":"link","name":"Jamie Lannister"},{"contact":"39.908.427/0001-28","method":"server","name":"Stark Sociedade de Crédito Direto S.A."}],"stateCode":"SP","status":"canceled","streetLine1":"Rua ABC","streetLine2":"Ap 123","tags":[],"taxAmount":6760,"taxId":"012.345.678-90","templateId":"5707012469948416","transactionIds":[],"updated":"2022-06-07T14:14:00.775192+00:00","workspaceId":"6275127679385600","zipCode":"01234-567"}}