{
"success": true,
"message": "Expense fetched Successfully!",
"data": {
"id": "300",
"user_id": "1",
"business_id": "1",
"transaction_id": "887",
"app_id": "38",
"name": "Monthly Dues/Taxes",
"amount": 50000,
"app_created_at": "2023-06-06T17:39:53.000+01:00",
"raw": "{\"product_id\":null,\"transaction_id\":90,\"amount\":50000,\"id\":38,\"synced\":0,\"created_at\":\"2023-06-06 16:39:53\",\"name\":\"Monthly Dues/Taxes\"}",
"deleted_at": null,
"created_at": "2023-06-06T16:40:31.141+01:00",
"updated_at": "2023-09-21T21:06:38.487+01:00",
"business": {
"id": "1",
"business_id": "6c5e601d-f2d3-4732-999b-77e89fc362a1",
"user_id": "1",
"business_type_id": "12",
"name": "Sunnie’s Kitchen",
"country": "Nigeria (NGA)",
"state": "Lagos",
"address": null,
"currency": "NGN",
"logo": "https://res.cloudinary.com/dwfnoynkp/image/upload/v1688735037/nrvrypdtlrq7vbgou2f7.png",
"is_verified": false,
"is_active": true,
"created_at": null,
"updated_at": "2023-08-15T15:46:07.848+01:00"
},
"user": {
"id": "1",
"user_id": "6240cf73-7a20-4ebe-a2c2-49270c18bf06",
"business_id": "1",
"first_name": "Tobi",
"last_name": "Idogho",
"phone": "+2348098520703",
"email": "idogho.tobi@gmail.com",
"gender": "female",
"avatar": null,
"dial_code": "+234",
"role": "user",
"timezone": "Africa/Lagos",
"is_subscribed": true,
"email_verified": true,
"created_at": null,
"updated_at": "2023-09-24T11:28:03.686+01:00",
"fullName": "Tobi Idogho"
},
"transaction": {
"id": "887",
"user_id": "1",
"business_id": "1",
"customer_id": null,
"transaction_uid": "FIsZU",
"app_id": "90",
"name": "Bank fees",
"transaction_type": "cash_out",
"product_type": null,
"amount": 50000,
"amount_received": 50000,
"quantity": "0",
"items": "1",
"delivery_charge": 0,
"discount": "0",
"unpaid_balance": 0,
"discount_type": "amount",
"discount_amount": 0,
"sub_total_amount": 50000,
"tax": 0,
"tax_amount": 0,
"unpaid_remind_date": null,
"app_created_at": "2023-06-06T17:39:53.000+01:00",
"raw": "{\"version_code\":2,\"tax_amount\":0,\"id\":90,\"product_type\":null,\"amount\":50000,\"customer_id\":null,\"transaction_type\":\"cash_out\",\"discount_type\":\"amount\",\"name\":\"Bank fees\",\"discount\":0,\"discount_amount\":0,\"items\":1,\"sub_total_amount\":50000,\"tax\":0,\"unpaid_balance\":0,\"synced\":0,\"amount_received\":50000,\"unpaid_remind_date\":null,\"quantity\":0,\"created_at\":\"2023-06-06 16:39:53\",\"invoice_id\":null,\"delivery_charge\":0}",
"reminder_sent": false,
"deleted_at": null,
"created_at": "2023-06-06T16:40:30.668+01:00",
"updated_at": "2023-09-21T21:05:10.616+01:00",
"formattedTotalAmount": "₦50,000.00",
"formattedUnpaidBalance": "₦0.00",
"formattedDeliveryCharge": "₦0.00",
"formattedDiscountAmount": "₦0.00",
"formattedTaxAmount": "₦0.00",
"formattedSubTotalAmount": "₦50,000.00"
}
}
}