{
"success": true,
"message": "Invoice transactions fetched successfully!",
"data": [
{
"id": "1740964",
"user_id": "2230",
"business_id": "2186",
"customer_id": "3245",
"transaction_uid": "YBC2186115300-2404300000",
"app_id": "115300",
"name": "Multiple Items",
"transaction_type": "cash_in",
"amount": 40000,
"amount_received": 40000,
"quantity": 2,
"items": "2",
"delivery_charge": 0,
"discount": 0,
"unpaid_balance": 40000,
"discount_type": "amount",
"discount_amount": 0,
"sub_total_amount": 40000,
"tax": 0,
"tax_amount": 0,
"unpaid_remind_date": "2024-04-30T12:00:00.000+01:00",
"app_created_at": "2024-04-30T00:00:00.000+01:00",
"raw": "{\"synced\":0,\"invoice_id\":\"YBC2186115300-2404300000\",\"tax\":0,\"discount_amount\":0,\"discount\":0,\"delivery_charges\":0,\"created_at\":\"2024-04-30 00:00:00\",\"updated_at\":\"2024-04-30 00:00:01\",\"quantity\":2,\"unpaid_balance\":40000,\"transaction_type\":\"cash_in\",\"name\":\"Multiple Items\",\"discount_type\":\"amount\",\"unpaid_remind_date\":\"2024-04-30 12:00:00\",\"amount_received\":40000,\"customer_id\":\"2\",\"amount\":40000,\"profit\":40000,\"sub_total_amount\":40000,\"items\":\"2\",\"recurring_transaction_id\":\"13\",\"version_code\":15,\"tax_amount\":0,\"id\":\"115300\"}",
"reminder_sent": true,
"deleted_at": null,
"created_at": "2024-04-30T00:00:01.227+01:00",
"updated_at": "2024-04-30T11:00:00.465+01:00",
"app_updated_at": "2024-04-30T00:00:00.000+01:00",
"profit": 40000,
"supplier_id": null,
"recurring_transaction_id": "42",
"created_by": "2230",
"business": {
"id": "2186",
"business_id": "0525b13e-898c-4c7d-99a8-93321280fe13",
"user_id": "2230",
"business_type_id": "8",
"name": "Blue",
"code": null,
"country": "Anguilla (AIA)",
"state": "",
"address": null,
"currency": "NGN",
"logo": "https://res.cloudinary.com/dwfnoynkp/image/upload/v1706787623/dev/logos/business-0525b13e-898c-4c7d-99a8-93321280fe13.jpg",
"is_verified": false,
"is_active": true,
"created_at": "2024-01-30T16:02:15.382+01:00",
"updated_at": "2024-02-01T12:40:24.264+01:00"
},
"user": {
"id": "2230",
"user_id": "baa10cbd-4446-4b20-975d-de262c4993af",
"business_id": "2186",
"first_name": "M",
"last_name": "A",
"phone": "123456789",
"email": "adeleke1402@gmail.com",
"gender": "female",
"avatar": null,
"dial_code": "+1264",
"role": "USER",
"timezone": "Africa/Lagos",
"is_subscribed": true,
"email_verified": true,
"created_at": "2024-01-30T16:02:15.375+01:00",
"updated_at": "2024-04-05T20:24:17.029+01:00",
"fullName": "M A"
},
"formattedTotalAmount": "₦40,000.00",
"formattedTotalAmountRecieved": "₦40,000.00",
"formattedUnpaidBalance": "₦40,000.00",
"formattedDeliveryCharge": "₦0.00",
"getMoneyIn": "0",
"getMoneyOut": "0",
"getUnFormattedMoneyIn": 0,
"getUnFormattedMoneyOut": 0,
"formattedDiscountAmount": "₦0.00",
"formattedTaxAmount": "₦0.00",
"formattedSubTotalAmount": "₦40,000.00",
"formattedTransactionAmount": "₦40,000.00",
"formatAmount": "40,000",
"formatUnpaid": "40,000"
},
{
"id": "1740963",
"user_id": "2230",
"business_id": "2186",
"customer_id": "3241",
"transaction_uid": "KXL2186115200-2404300000",
"app_id": "115200",
"name": "Multiple Items",
"transaction_type": "cash_in",
"amount": 29500,
"amount_received": 29500,
"quantity": 2,
"items": "2",
"delivery_charge": 0,
"discount": 0,
"unpaid_balance": 29500,
"discount_type": "amount",
"discount_amount": 0,
"sub_total_amount": 29500,
"tax": 0,
"tax_amount": 0,
"unpaid_remind_date": "2024-04-30T12:00:00.000+01:00",
"app_created_at": "2024-04-30T00:00:00.000+01:00",
"raw": "{\"synced\":0,\"invoice_id\":\"KXL2186115200-2404300000\",\"tax