API: Get receipts for a certain date (range) - which date?
We are already working a while with the API to retrieve lightspeed receipt information (***), and we were wondering about on which date we are actually filtering?
The documentation says: "The date for which receipts should be returned.", the API returns different dates however:
"creationDate": "2019-04-19T18:33:29.590Z", "modificationDate": "2019-04-19T18:33:29.590Z", "closingDate": "1970-01-01T00:00:00.000Z", "deliveryDate": "2019-04-19T18:33:26.000Z", "printDate": "1970-01-01T00:00:00.000Z",
I noticed there is also a useModification flag to filter on modificationDate, I suppose when it is set to false, it filters on creationDate? Is there also a way to filter on closingDate? deliveryDate?