{
"success": true,
"message": "Transaction fetched Successfully !",
"data": {
"id": 13,
"user_id": "8",
"business_id": "8",
"customer_id": null,
"app_id": "3",
"name": "Books",
"transaction_type": "cash_out",
"product_type": null,
"amount": 2500,
"amount_received": 2500,
"quantity": 0,
"items": 1,
"delivery_charge": 0,
"discount": 0,
"unpaid_balance": 0,
"discount_type": "amount",
"discount_amount": 0,
"sub_total_amount": 2500,
"tax": 0,
"tax_amount": 0,
"unpaid_remind_date": null,
"app_created_at": "2023-05-06T23:24:47.000+01:00",
"raw": "{\"synced\":0,\"invoice_id\":\"1K3mr\",\"tax\":0,\"discount_amount\":0,\"discount\":0,\"delivery_charge\":0,\"created_at\":\"2023-05-06 22:24:47\",\"quantity\":0,\"unpaid_balance\":0,\"transaction_type\":\"cash_out\",\"name\":\"Books\",\"discount_type\":\"amount\",\"unpaid_remind_date\":null,\"amount_received\":2500,\"customer_id\":null,\"amount\":2500,\"product_type\":null,\"sub_total_amount\":2500,\"items\":1,\"version_code\":3,\"tax_amount\":0,\"id\":3}",
"deleted_at": null,
"created_at": "2023-05-06T22:25:18.253+01:00",
"updated_at": "2023-09-13T22:00:25.128+01:00",
"user": {
"id": 8,
"user_id": "e07e3cee-626a-4b21-b8ad-a659dd0ca287",
"business_id": null,
"first_name": "Stephen ",
"last_name": "Joseph",
"phone": "8061516479",
"email": "shegesamuel@gmail.com",
"gender": "male",
"avatar": null,
"dial_code": "+234",
"role": "user",
"is_subscribed": true,
"email_verified": true,
"created_at": "2023-05-06T20:55:02.295+01:00",
"updated_at": "2023-07-25T18:24:23.235+01:00",
"fullName": "Stephen Joseph"
},
"business": {
"id": 8,
"business_id": "8458d3fa-b91c-4587-9f1d-d31f5bc544e4",
"user_id": "8",
"business_type_id": "7",
"name": "Smart business",
"country": "Nigeria (NGA)",
"state": "Abuja FCT",
"address": null,
"currency": "NGN",
"logo": null,
"is_verified": false,
"is_active": true,
"created_at": "2023-05-06T20:55:02.295+01:00",
"updated_at": "2023-07-25T18:24:23.235+01:00"
},
"expense": {
"id": 37,
"user_id": "8",
"business_id": "8",
"transaction_id": "13",
"app_id": "47",
"name": "Materials/Supplies",
"amount": 2500,
"app_created_at": "2023-05-06T23:24:47.000+01:00",
"raw": "{\"version_code\":3,\"synced\":0,\"created_at\":\"2023-05-06 22:24:47\",\"name\":\"Materials/Supplies\",\"product_id\":null,\"transaction_id\":3,\"amount\":2500,\"id\":47}",
"deleted_at": null,
"created_at": "2023-07-30T12:26:33.527+01:00",
"updated_at": "2023-09-13T22:00:27.543+01:00"
},
"sale": null
}
}