get https://api-sandbox.ezypay.com/v2/billing/creditnotes/
Get the full details of a credit note
Responses
Get the full details of a credit note
xxxxxxxxxx
curl --request GET \
--url https://api-sandbox.ezypay.com/v2/billing/creditnotes/creditNoteId \
--header 'accept: application/json'
xxxxxxxxxx
36}
{
"id": "adfd27f3-1443-44d7-a343-62802131dd21",
"invoiceId": "d3b774c5-13b3-4461-935d-00abc26c0e8c",
"documentNumber": "CN0000000000000001",
"date": "2019-04-01",
"status": "PAID",
"items": [
{
"description": "",
"amount": {
"currency": "NZD",
"value": 1.24,
"type": null
},
"tax": {
"rate": 0.1
},
"id": "4c59b609-8e8f-4685-8f76-30492c865f4c",
"type": "transaction_fee",
"accountingCode": null
}
],
"amount": {
"currency": "NZD",
"value": 1.24,