CreditNote GET

GET /api/account/{account}/accounting/{platform}/{id}/creditnote

Gets a list of all Credit Notes for a date range.

URL Parameters

account*Account
platform*Connection Platform
id*Connection ID

Query Parameters

fromstring
tostring
filterstring
pageinteger
pageSizeinteger

Responses

200 OK
pageinteger
pageSizeinteger
resultsSizeinteger
resultsarray[object]
amountnumber
amountDuenumber
currencystring
invoiceNumberstring
invoiceIdstring
debtorIdstring
updatedDatestring
accountingClosedDatestring
accountingDatestring
statusstring
datestring
itemsarray
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error

Example Success Response

{
  "page": 0,
  "pageSize": 0,
  "resultsSize": 0,
  "results": [
    {
      "amount": 1,
      "amountDue": 1,
      "currency": "string",
      "invoiceNumber": "string",
      "invoiceId": "string",
      "debtorId": "string",
      "updatedDate": "string",
      "accountingClosedDate": "string",
      "accountingDate": "string",
      "status": "string",
      "date": "string",
      "items": []
    }
  ]
}