curl --location -g --request GET '/api/method/public/invoice-history/get-pos-invoices?from_date&to_date' \
--header 'X-Access-Token: <api-key>'{
"message": [
{
"id": "string",
"is_return": 0,
"discount": 0,
"timestamp": "2019-08-24T14:15:22.123Z",
"sub_total": 0,
"total": 0,
"taxes_and_charges": [
{
"title": "string",
"tax_amount": 0,
"tax_amount_after_discount_amount": 0
}
]
}
]
}