curl --location --request POST '/api/public/report/invoices/warehouse' \
--header 'Identifier: {{identifier}}' \
--header 'Application-key: {{token}}' \
--form 'wh_id="4"' \
--form 'date_start="01-03-2025"' \
--form 'date_end="06-06-2025"' \
--form 'hd_ids[]=""' \
--form 'pd_ids[]=""' \
--form 'cm_ids[]=""' \
--form 'offset=""'[
{
"id": 2308,
"date": "2022-05-12 00:00:00",
"warehouse": "Основной склад",
"type": "IN",
"supplier": "UserTest",
"positions_count": 7,
"sum": 3503.7,
"comment": "лента",
"approved": true,
"paid_sum": 3003.7,
"debt": 500,
"created_at": 1652351363
},
{
"id": 2307,
"date": "2022-05-12 00:00:00",
"warehouse": "Основной склад",
"type": "IN",
"supplier": "UserTest2",
"positions_count": 7,
"sum": 18223,
"comment": "заморозка",
"approved": true,
"paid_sum": 0,
"debt": 18223,
"created_at": 1652348070
}
]