Fetch Invoices API
### Fetch Invoices API
This API is use to get all Invoices existing in Dice.
| **Params** | **Required** | **Description** |
| --- | --- | --- |
| start_date | Mandatory | Date filter, from which date the Invoices needs to be fetched. <br> <br>Format - **dd-MM-yyyy** |
| end_date | Mandatory | Date filter, till which date the Invoices need to be fetched. <br> <br>Format - **dd-MM-yyyy** |
| offset | Mandatory | Page Number |
| pageSize | Optional | Number of Invoices to be fetched in a single page. Value cannot be greater than 5000. <br> <br>If not provided along with the request then default value will be 1000 considered. |
| status | Optional | Status of Invoice. <br>filter - settlement_pending / settled / completed |
Headers
DICE-APP-ID
Company Code of client
X-CLIENT-ID
API Client ID
X-CLIENT-SECRET
API Client Secret
status
Status of Invoice
Query parameters
start_date
Date should be in dd-MM-yyyy format and it runs on CreatedAt
end_date
Date should be in dd-MM-yyyy format and it runs on CreatedAt
offset
Offset starts from 0 (Page Number), values can be 0, 1, 2
pageSize
optinal parameter, default is 1000
Response
OK
invoices
total
currentPage
totalPages

