Skip to navigation

Fetch All Credit Notes

View as Markdown

Fetch All Credit Notes

This endpoint is a GET request to retrieve All Credit Notes based on the given time stamp.

Request Parameters

This API is use to get all Invoices existing in Dice.

ParamsRequiredDescription
start_dateMandatoryDate filter, from which date credit notes needs to be fetched.

Format - long
end_dateMandatoryDate filter, till which date the credit notes need to be fetched.

Format - long
offsetMandatoryPage Number

Headers

DICE-APP-IDstringOptional
X-CLIENT-IDstringOptional
X-CLIENT-SECRETstringOptional

Query parameters

startDateintegerOptional

Start date (unix timestamp) for filtering credit notes.

endDateintegerOptional

Start date (unix timestamp) for filtering credit notes.

offsetintegerOptional

Offset starts from 0 (Page Number), values can be 0, 1, 2

Response

OK
creditNoteslist of objects
totalinteger
currentPageinteger
totalPagesinteger