{
"success": true,
"message": "Transaction fetced successfully",
"data": {
"tx": {
"id": "1743091",
"user_id": "2400",
"business_id": "2290",
"customer_id": null,
"transaction_uid": "KEK2290980117765-2407260942",
"app_id": "980117765",
"name": "Transport",
"transaction_type": "cash_out",
"amount": 5000,
"amount_received": 5000,
"quantity": 1,
"items": "1",
"delivery_charge": 0,
"discount": 0,
"unpaid_balance": 0,
"discount_type": null,
"discount_amount": 0,
"sub_total_amount": 5000,
"tax": 0,
"tax_amount": 0,
"unpaid_remind_date": null,
"app_created_at": "2024-07-26T01:00:00.000+01:00",
"raw": "{\"synced\":1,\"invoice_id\":\"KEK2290980117765-2407260942\",\"tax\":0,\"discount_amount\":0,\"discount\":0,\"delivery_charges\":0,\"created_at\":\"2024-07-26 01:00:00\",\"updated_at\":\"2024-07-26 09:43:04\",\"quantity\":1,\"unpaid_balance\":0,\"transaction_type\":\"cash_out\",\"name\":\"Transport\",\"discount_type\":null,\"unpaid_remind_date\":\"2024-07-26 09:43:04\",\"amount_received\":5000,\"customer_id\":null,\"supplier_id\":\"4\",\"amount\":5000,\"profit\":0,\"sub_total_amount\":5000,\"items\":\"1\",\"recurring_transaction_id\":\"21\",\"version_code\":15,\"tax_amount\":0,\"id\":\"980117765\",\"system_id\":\"1743091\",\"created_by\":\"2400\"}",
"reminder_sent": false,
"deleted_at": null,
"created_at": "2024-07-26T09:42:57.955+01:00",
"updated_at": "2024-07-26T09:43:04.916+01:00",
"app_updated_at": "2024-07-26T01:00:00.000+01:00",
"profit": 0,
"supplier_id": "999",
"recurring_transaction_id": "105",
"created_by": "2400",
"delivery_date": null,
"business": {
"id": "2290",
"business_id": "fa8c7ee1-80c1-4935-b4b0-73eabbfaf46f",
"user_id": "2400",
"business_type_id": "15",
"name": "Maman",
"code": null,
"country": "Angola (AGO)",
"state": "",
"address": "lekki face one",
"currency": "VEF",
"logo": "https://res.cloudinary.com/dwfnoynkp/image/upload/v1720098558/dev/logos/business-fa8c7ee1-80c1-4935-b4b0-73eabbfaf46f.jpg",
"is_verified": false,
"is_active": true,
"created_at": "2024-05-30T00:58:33.454+01:00",
"updated_at": "2024-07-25T23:57:13.684+01:00",
"brand_color": "#686c4b"
},
"customer": null,
"sales": [],
"expenses": [
{
"id": "11486",
"user_id": "2400",
"business_id": "2290",
"transaction_id": "1743091",
"app_id": "5635945",
"name": "Transport",
"amount": 5000,
"app_created_at": "2024-07-26T01:00:00.000+01:00",
"raw": "{\"transaction_id\":\"980117765\",\"amount\":5000,\"id\":\"5635945\",\"synced\":1,\"description\":\"Went to the market\",\"quantity\":1,\"created_at\":\"2024-07-26 01:00:00\",\"updated_at\":\"2024-07-26 09:43:06\",\"name\":\"Transport\",\"version_code\":15,\"system_id\":\"11486\",\"created_by\":\"2400\"}",
"deleted_at": null,
"created_at": "2024-07-26T09:42:58.633+01:00",
"updated_at": "2024-07-26T09:43:06.143+01:00",
"expense_type": null,
"app_updated_at": "2024-07-26T01:00:00.000+01:00",
"description": "Went to the market",
"created_by": "2400",
"quantity": 1,
"business": {
"id": "2290",
"business_id": "fa8c7ee1-80c1-4935-b4b0-73eabbfaf46f",
"user_id": "2400",
"business_type_id": "15",
"name": "Maman",
"code": null,
"country": "Angola (AGO)",
"state": "",
"address": "lekki face one",
"currency": "VEF",
"logo": "https://res.cloudinary.com/dwfnoynkp/image/upload/v1720098558/dev/logos/business-fa8c7ee1-80c1-4935-b4b0-73eabbfaf46f.jpg",
"is_verified": false,
"is_active": true,
"created_at": "2024-05-30T00:58:33.454+01:00",
"updated_at": "2024-07-25T23:57:13.684+01:00",
"brand_color": "#686c4b"
},
"formattedAmount": "VEF 5,000.00"
}
],
"formattedTotalAmount": "Bs 5,000.00",
"formattedTotalAmountRecieved": "Bs 5,000.00",
"formattedUnpaidBalance": "Bs 0.00",
"formattedDeliveryCharge": "Bs 0.00",
"getMoneyIn": null,
"getMoneyOut": "5,000",
"getUnFormattedMoneyIn": null,
"getUnFormattedMoneyOut": 5000,
"formattedDiscountAmount": "Bs 0.00",
"formattedTaxAmount": "Bs 0.00",
"formattedSubTotalAmount": "Bs 5,000.00",
"formattedTransactionAmount": "Bs 5,000.00",
"formatAmount": "5,000",
"formatUnpaid": "0"
},
"bankDetails": [
{
"id": "318",
"user_id": "2400",
"business_id": "2290",
"bank_name": "Wema",
"account_number": "10107070808",
"account_name": "Ololade",
"created_at": "2024-07-04T14:03:51.302+01:00",
"updated_at": "2024-07-04T14:03:51.302+01:00"
},
{
"id": "319",
"user_id": "2400",
"business_id": "2290",
"bank_name": "Access",
"account_number": "1488386558",
"account_name": "Adeleke Michael Adebowale",
"created_at": "2024-07-04T14:07:15.806+01:00",
"updated_at": "2024-07-04T14:07:15.806+01:00"
}
],
"paymentNotes": {
"id": "34",
"user_id": "2400",
"business_id": "2290",
"name": "Default",
"description": "Please ensure to view your products to ensure they are in good condition. No return after purchase",
"created_at": "2024-07-04T14:11:02.076+01:00",
"updated_at": "2024-07-25T23:58:35.506+01:00",
"created_by": "2400"
},
"showSubtotal": false
}
}