{
"success": true,
"message": "transactions found",
"data": [
{
"transaction_type": "bought",
"product_type": "bought",
"amount": 0,
"amount_recieved": 0,
"quantity": 0,
"synced": 0,
"raw": "",
"_id": "64133ba0ab0a81f58f261a04",
"userId": "63a051d03f8e4e5987b6958c",
"type": "cashout",
"description": "Thy",
"description1": "Food & Drinks",
"date": "2023-03-16T15:51:38.000Z",
"time": "4:51PM",
"item_type": "product_service",
"total": "-5000",
"total_cost": "5000",
"costs": [
{
"costId": "63a91e2bb331eab63959bd42",
"costName": "Food & Drinks",
"amount": "5000",
"_id": "64133ba0ab0a81f58f261a05"
}
],
"profit": {
"amount": "0",
"description": "loss"
},
"createdAt": "2023-03-16T15:54:08.671Z",
"updatedAt": "2023-03-16T15:54:08.671Z",
"__v": 0
},
{
"transaction_type": "bought",
"product_type": "bought",
"amount": 0,
"amount_recieved": 0,
"quantity": 0,
"synced": 0,
"raw": "",
"_id": "64133ba0ab0a81f58f2619fd",
"userId": "63a051d03f8e4e5987b6958c",
"type": "cashin",
"description": "Plumbing",
"description1": "",
"date": "2023-03-16T15:42:07.000Z",
"time": "4:42PM",
"item_type": "service",
"total": "2000",
"total_cost": "0",
"costs": [
{
"costId": "63a91e40b331eab63959bd45",
"costName": "Monthly Dues/Taxes",
"amount": "0",
"_id": "64133ba0ab0a81f58f2619ff"
}
],
"profit": {
"amount": "0",
"description": "loss"
},
"createdAt": "2023-03-16T15:54:08.107Z",
"updatedAt": "2023-03-16T15:54:08.107Z",
"__v": 0
},
{
"transaction_type": "bought",
"product_type": "bought",
"amount": 0,
"amount_recieved": 0,
"quantity": 0,
"synced": 0,
"raw": "",
"_id": "63e6a269e887aa9e6b1c1937",
"userId": "63a051d03f8e4e5987b6958c",
"type": "cashin",
"description": "Garri sack",
"description1": "",
"date": "2023-02-10T00:00:00.000Z",
"time": "9:00PM",
"item_type": "product",
"total": "10000",
"total_cost": "0",
"costs": [],
"profit": {
"amount": "0",
"description": "loss"
},
"createdAt": "2023-02-10T20:00:41.382Z",
"updatedAt": "2023-02-10T20:00:41.382Z",
"__v": 0
},
{
"transaction_type": "bought",
"product_type": "bought",
"amount": 0,
"amount_recieved": 0,
"quantity": 0,
"synced": 0,
"raw": "",
"_id": "63e6a268e887aa9e6b1c1931",
"userId": "63a051d03f8e4e5987b6958c",
"type": "cashin",
"description": "Garri sack",
"description1": "",
"date": "2023-02-10T00:00:00.000Z",
"time": "8:59PM",
"item_type": "product",
"total": "12000",
"total_cost": "0",
"costs": [],
"profit": {
"amount": "0",
"description": "loss"
},
"createdAt": "2023-02-10T20:00:40.890Z",
"updatedAt": "2023-02-10T20:00:40.890Z",
"__v": 0
},
{
"transaction_type": "bought",
"product_type": "bought",
"amount": 0,
"amount_recieved": 0,
"quantity": 0,
"synced": 0,
"raw": "",
"_id": "63e6a184e35ffc748dd996eb",
"userId": "63a051d03f8e4e5987b6958c",
"type": "cashin",
"description": "Bag of rice",
"description1": "",
"date": "2023-02-10T00:00:00.000Z",
"time": "6:55PM",
"item_type": "product",
"total": "0",
"total_cost": "0",
"costs": [],
"profit": {
"amount": "0",
"description": "loss"
},
"createdAt": "2023-02-10T19:56:52.880Z",
"updatedAt": "2023-02-10T19:56:52.880Z",
"__v": 0
},
{
"transaction_type": "bought",
"product_type": "bought",
"amount": 0,
"amount_recieved": 0,
"quantity": 0,
"synced": 0,
"raw": "",
"_id": "63e684e20912cb8bf5e42dd7",
"userId": "63a051d03f8e4e5987b6958c",
"type": "cashin",
"description": "Bag of rice",
"description1": "",
"date": "2023-02-10T00:00:00.000Z",
"time": "6:53PM",
"item_type": "product",
"total": "20000",
"total_cost": "0",
"costs": [],
"profit": {
"amount": "0",
"description": "loss"
},
"createdAt": "2023-02-10T17:54:42.527Z",
"updatedAt": "2023-02-10T17:54:42.527Z",
"__v": 0
}
]
}