List credit note logs

GET {{baseInfraUrl}}/{{version}}/credit-note/log

Here you can list and filter all Credit Note Logs. We return it paged.

Request Params

KeyDatatypeRequiredDescription
cursornullString used to get the next batch of results.
fieldsnullList of strings to filter response JSON keys.
limitnullNumber of results per cursor. Max = 100.
afternullFilter entities created after this date.
beforenullFilter entities created before this date.
typesnullFilter logs by log types.
noteIdsnullList of strings to filter Credit Note Logs by Credit Note ids.

RESPONSES

status: OK

{"cursor":"CksKFAoHY3JlYXRlZBIJCM7p_p3Cm_gCEi9qEWl-YXBpLW1zLWJvbmQtZGV2choLEg1DcmVkaXROb3RlTG9nGICAgNiGz4sKDBgAIAE=","logs":[{"errors":[],"id":"5975142580617216","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:01.264832+00:00","workspaceId":"6275127679385600","zipCode":"01234-567"},"type":"canceled","updated":"2022-06-07T14:14:01.264837+00:00"},{"errors":[],"id":"5680594260328448","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":"created","streetLine1":"Rua ABC","streetLine2":"Ap 123","tags":[],"taxAmount":6760,"taxId":"012.345.678-90","templateId":"5707012469948416","transactionIds":[],"updated":"2022-06-07T14:14:01.264699+00:00","workspaceId":"6275127679385600","zipCode":"01234-567"},"type":"registered","updated":"2022-06-07T14:14:01.264705+00:00"}]}