curl --location --request GET 'http://localhost:8000/api/v1/receipt/2' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Success",
"data": {
"supplier_id": 1,
"supplier": {
"id": 1,
"name": "Ledner Ltd"
},
"batch_code": "REC-20251015135200-3244",
"date": "2025-10-20",
"created_at": "2025-10-15T06:52:00.000000Z",
"created_by": {
"id": 3,
"name": "Admin Store"
},
"products": [
{
"product_id": 2,
"product": {
"id": 2,
"name": "BG SKIN Radiance Brightening Toner"
},
"quantity": 12,
"price": "4000.00",
"stock": 0,
"expire_date": "2025-10-23"
},
{
"product_id": 3,
"product": {
"id": 3,
"name": "BG SKIN Glow Ivory Sunscreen"
},
"quantity": 14,
"price": "3000.00",
"stock": 0,
"expire_date": "2025-10-23"
}
]
}
}