{
"success": true,
"message": "all Transactions",
"data": {
"transactions": [
{
"transaction_type": "bought",
"product_type": "bought",
"amount": 0,
"amount_recieved": 0,
"quantity": 0,
"synced": 0,
"raw": "",
"_id": "63ae859d2e92026b306424ae",
"user": "63a8b66c8ecf20b1a5edfe2c",
"type": "cashin",
"description": "Makeup",
"date": "30 Dec, 2022",
"time": "7:30AM",
"item_type": "service",
"total": "-700",
"total_cost": "1700",
"costs": [
{
"costId": "63a91ea3b331eab63959bd48",
"costName": "Rent",
"amount": "850",
"_id": "63ae859d2e92026b306424b0"
},
{
"costId": "63a91eddb331eab63959bd51",
"costName": "Eqiupment & Repairs",
"amount": "850",
"_id": "63ae859d2e92026b306424b1"
}
],
"profit": {
"amount": "0",
"description": "loss"
},
"createdAt": "2022-12-30T06:30:53.839Z",
"updatedAt": "2022-12-30T06:30:53.839Z",
"__v": 0
},
{
"transaction_type": "bought",
"product_type": "bought",
"amount": 0,
"amount_recieved": 0,
"quantity": 0,
"synced": 0,
"raw": "",
"_id": "63ae9d8debd0ecc01ac5b058",
"user": "63a8b66c8ecf20b1a5edfe2c",
"type": "cashin",
"description": "Something",
"date": "30 Dec, 2022",
"time": "9:12AM",
"item_type": "product",
"total": "5000",
"total_cost": "0",
"costs": [],
"profit": {
"amount": "0",
"description": "loss"
},
"createdAt": "2022-12-30T08:13:01.792Z",
"updatedAt": "2022-12-30T08:13:01.792Z",
"__v": 0
},
{
"transaction_type": "bought",
"product_type": "bought",
"amount": 0,
"amount_recieved": 0,
"quantity": 0,
"synced": 0,
"raw": "",
"_id": "63ae9db6ebd0ecc01ac5b0bd",
"user": "63a8b66c8ecf20b1a5edfe2c",
"type": "cashin",
"description": "Dance lessons",
"date": "30 Dec, 2022",
"time": "9:13AM",
"item_type": "service",
"total": "5000",
"total_cost": "0",
"costs": [],
"profit": {
"amount": "0",
"description": "loss"
},
"createdAt": "2022-12-30T08:13:42.433Z",
"updatedAt": "2022-12-30T08:13:42.433Z",
"__v": 0
},
{
"transaction_type": "bought",
"product_type": "bought",
"amount": 0,
"amount_recieved": 0,
"quantity": 0,
"synced": 0,
"raw": "",
"_id": "63b851ce5b841b27f35cdfa6",
"user": "63ade40da24ee8e09c6507e6",
"type": "cashin",
"description": "Fish",
"date": "6 Jan, 2023",
"time": "5:51PM",
"item_type": "product",
"total": "1500",
"total_cost": "0",
"costs": [],
"profit": {
"amount": "0",
"description": "loss"
},
"createdAt": "2023-01-06T16:52:30.060Z",
"updatedAt": "2023-01-06T16:52:30.060Z",
"__v": 0
},
{
"transaction_type": "bought",
"product_type": "bought",
"amount": 0,
"amount_recieved": 0,
"quantity": 0,
"synced": 0,
"raw": "",
"_id": "63b8547c5b841b27f35ce008",
"user": "63ade40da24ee8e09c6507e6",
"type": "cashout",
"description": "Fuel",
"description1": "Electricity/Fuel",
"date": "6 Jan, 2023",
"time": "6:03PM",
"item_type": "product_service",
"total": "-1000",
"total_cost":