Date Filters not working correctly

Random
Random Expensify Customer Posts: 10 Expensify Newcomer
edited January 2021 in Integrations and API

I am sending a request to fetch expenses with following requestJobDescription to fetch all expenses from last year and current year.

{"credentials":{"partnerUserID":"XXXX","partnerUserSecret":"XXXXXX"},"type":"file","onReceive":{"immediateResponse":["returnRandomFileName"]},"inputSettings":{"type":"combinedReportData","reportState":"Open","limit":10000,"filters":{"startDate":"2020-01-01","endDate":"2021-12-31"}},"outputSettings":{"fileExtension":"csv"}}

but the resulting file has no data. I do have an open report with unsubmitted expenses.

Answers