curl --location --request GET 'http://localhost:8000/api/v1/receipt?search&supplier_id&date' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Success",
"data": [
{
"id": 2,
"batch_code": "REC-20251015135200-3244",
"receipt_date": "2025-10-20",
"supplier_id": 1,
"supplier": {
"id": 1,
"name": "Ledner Ltd"
},
"total_product": 2,
"created_by": {
"id": 3,
"name": "Admin Store"
}
},
{
"id": 1,
"batch_code": "REC-20251015133335-3244",
"receipt_date": "2025-10-20",
"supplier_id": 1,
"supplier": {
"id": 1,
"name": "Ledner Ltd"
},
"total_product": 2,
"created_by": {
"id": 3,
"name": "Admin Store"
}
}
],
"meta": {
"current_page": 1,
"last_page": 1,
"per_page": 10,
"total_data": 2
}
}