{
"success": true,
"message": "All files fetched successfully",
"data": {
"data": [
{
"id": 10,
"user_id": 2279,
"business_id": 2217,
"file_url": "https://res.cloudinary.com/dwfnoynkp/image/upload/v1756199075/dev/files/file_1756199072_86m7ry.png",
"file_size": "48166",
"mime_type": "image",
"tag": "DOCUMENT",
"transaction_id": null,
"app_id": null,
"raw": null,
"app_created_at": null,
"app_updated_at": null,
"created_by": 2279,
"deleted_at": null,
"created_at": "2025-08-26T10:04:35.993+01:00",
"updated_at": "2025-08-26T10:04:35.994+01:00",
"file_name": "file upload.png",
"user": {
"id": 2279,
"first_name": "Adeleke",
"last_name": "Michael",
"fullName": "Adeleke Michael"
},
"transaction": null,
"createdByUser": {
"id": 2279,
"first_name": "Adeleke",
"last_name": "Michael",
"fullName": "Adeleke Michael"
}
},
{
"id": 9,
"user_id": 2279,
"business_id": 2217,
"file_url": "https://res.cloudinary.com/dwfnoynkp/image/upload/v1756199073/dev/files/file_1756199068_ufuyi8.png",
"file_size": "403331",
"mime_type": "image",
"tag": "DOCUMENT",
"transaction_id": null,
"app_id": null,
"raw": null,
"app_created_at": null,
"app_updated_at": null,
"created_by": 2279,
"deleted_at": null,
"created_at": "2025-08-26T10:04:32.289+01:00",
"updated_at": "2025-08-26T10:04:32.290+01:00",
"file_name": "get all files.png",
"user": {
"id": 2279,
"first_name": "Adeleke",
"last_name": "Michael",
"fullName": "Adeleke Michael"
},
"transaction": null,
"createdByUser": {
"id": 2279,
"first_name": "Adeleke",
"last_name": "Michael",
"fullName": "Adeleke Michael"
}
},
{
"id": 8,
"user_id": 2279,
"business_id": 2217,
"file_url": "https://res.cloudinary.com/dwfnoynkp/image/upload/v1756192724/dev/files/file_1756192720_rj8yvu.png",
"file_size": "48166",
"mime_type": "image",
"tag": "DOCUMENT",
"transaction_id": null,
"app_id": null,
"raw": null,
"app_created_at": null,
"app_updated_at": null,
"created_by": 2279,
"deleted_at": null,
"created_at": "2025-08-26T08:18:41.990+01:00",
"updated_at": "2025-08-26T08:18:41.990+01:00",
"file_name": "file upload.png",
"user": {
"id": 2279,
"first_name": "Adeleke",
"last_name": "Michael",
"fullName": "Adeleke Michael"
},
"transaction": null,
"createdByUser": {
"id": 2279,
"first_name": "Adeleke",
"last_name": "Michael",
"fullName": "Adeleke Michael"
}
},
{
"id": 7,
"user_id": 2279,
"business_id": 2217,
"file_url": "https://res.cloudinary.com/dwfnoynkp/image/upload/v1756192722/dev/files/file_1756192716_wpe8a9.png",
"file_size": "403331",
"mime_type": "image",
"tag": "DOCUMENT",
"transaction_id": null,
"app_id": null,
"raw": null,
"app_created_at": null,
"app_updated_at": null,
"created_by": 2279,
"deleted_at": null,
"created_at": "2025-08-26T08:18:40.533+01:00",
"updated_at": "2025-08-26T08:18:40.533+01:00",
"file_name": "get all files.png",
"user": {
"id": 2279,
"first_name": "Adeleke",
"last_name": "Michael",
"fullName": "Adeleke Michael"
},
"transaction": null,
"createdByUser": {
"id": 2279,
"first_name": "Adeleke",
"last_name": "Michael",
"fullName": "Adeleke Michael"
}
},
{
"id": "tx_1761017",
"userId": "2279",
"businessId": "2217",
"fileName": "Service G",
"fileUrl": null,
"fileSize": 0,
"mimeType": "transaction",
"tag": "INVOICE",
"transactionId": "1761017",
"appId": "980156695",
"raw": "{\"id\":\"980156695\",\"invoice_id\":\"INV-2217-980156695-250824234900\",\"tax\":0,\"discount_amount\":0,\"discount\":0,\"delivery_charge\":0,\"created_at\":\"2025-08-23 00:00:00\",\"updated_at\":\"2025-08-24 23:49:00\",\"quantity\":1,\"unpaid_balance\":35000,\"transaction_type\":\"cash_in\",\"name\":\"Service G\",\"discount_type\":null,\"unpaid_remind_date\":\"2025-08-23 12:00:00\",\"payment_due_date\":null,\"last_payment_date\":null,\"unpaid_reminder\":null,\"amount_received\":35000,\"customer_id\":\"41\",\"supplier_id\":null,\"funding_source_id\":null,\"amount\":35000,\"profit\":35000,\"sub_total_amount\":35000,\"items\":\"1\",\"recurring_transaction_id\":\"49\",\"version_code\":36,\"tax_amount\":0,\"system_id\":\"1761017\",\"created_by\":\"2279\",\"synced\":1,\"payment_methods\":null,\"sales_channel\":null}",
"appCreatedAt": "2025-08-23T00:00:00.000+01:00",
"appUpdatedAt": "2025-08-24T23:59:12.341+01:00",
"createdBy": "2279",
"createdAt": "2025-08-23T00:00:00.000+01:00",
"updatedAt": "2025-08-24T23:59:12.341+01:00",
"deletedAt": null,
"user": null,
"transaction": {
"id": "1761017",
"user_id": "2279",
"business_id": "2217",
"customer_id": "3518",
"transaction_uid": "INV-2217-980156695-250824234900",
"app_id": "980156695",
"name": "Service G",
"transaction_type": "cash_in",
"amount": 35000,
"amount_received": 35000,
"quantity": 1,
"items": "1",
"delivery_charge": 0,
"discount": 0,
"unpaid_balance": 35000,
"discount_type": null,
"discount_amount": 0,
"sub_total_amount": 35000,
"tax": 0,
"tax_amount": 0,
"unpaid_remind_date": "2025-08-23T12:00:00.000+01:00",
"app_created_at": "2025-08-23T00:00:00.000+01:00",
"raw": "{\"id\":\"980156695\",\"invoice_id\":\"INV-2217-980156695-250824234900\",\"tax\":0,\"discount_amount\":0,\"discount\":0,\"delivery_charge\":0,\"created_at\":\"2025-08-23 00:00:00\",\"updated_at\":\"2025-08-24 23:49:00\",\"quantity\":1,\"unpaid_balance\":35000,\"transaction_type\":\"cash_in\",\"name\":\"Service G\",\"discount_type\":null,\"unpaid_remind_date\":\"2025-08-23 12:00:00\",\"payment_due_date\":null,\"last_payment_date\":null,\"unpaid_reminder\":null,\"amount_received\":35000,\"customer_id\":\"41\",\"supplier_id\":null,\"funding_source_id\":null,\"amount\":35000,\"profit\":35000,\"sub_total_amount\":35000,\"items\":\"1\",\"recurring_transaction_id\":\"49\",\"version_code\":36,\"tax_amount\":0,\"system_id\":\"1761017\",\"created_by\":\"2279\",\"synced\":1,\"payment_methods\":null,\"sales_channel\":null}",
"reminder_sent": 1,
"deleted_at": null,
"created_at": "2025-08-24T23:49:00.919+01:00",
"updated_at": "2025-08-24T23:59:12.341+01:00",
"app_updated_at": "2025-08-24T23:59:12.341+01:00",
"profit": 35000,
"supplier_id": null,
"recurring_transaction_id": "252",
"created_by": "2279",
"delivery_date": null,
"investor_id": null,
"funding_source_id": null,
"last_payment_date": null,
"payment_due_date": null,
"unpaid_reminder": null,
"payment_methods": null,
"sales_channel": null,
"sync_provider": null,
"sync_data_id": null,
"business": {
"id": "2217",
"business_id": "c0862576-42ab-4537-82d6-239b5263f7b3",
"user_id": "2279",
"business_type_id": "5",
"name": "Black",
"code": null,
"country": "Nigeria (NGA)",
"state": "Abuja FCT",
"address": "Sambisa",
"currency": "NGN",
"logo": "https://res.cloudinary.com/dwfnoynkp/image/upload/v1746488195/dev/logos/business-c0862576-42ab-4537-82d6-239b5263f7b3.jpg",
"is_verified": false,
"is_active": true,
"created_at": "2024-04-01T18:37:51.297+01:00",
"updated_at": "2025-08-14T22:52:19.709+01:00",
"brand_color": "#6b3969",
"has_been_viewed": true
},
"user": null,
"customer": {
"id": "3518",
"user_id": "2279",
"business_id": "2217",
"app_id": "41",
"name": "Folabi Paul",
"phone": "0806154833",
"thumbnail": null,
"address": "lekki",
"app_created_at": "2024-10-03T13:40:00.000+01:00",
"raw": "{\"id\":\"41\",\"system_id\":\"3518\",\"version_code\":36,\"name\":\"Folabi Paul\",\"phone\":\"0806154833\",\"email\":null,\"facebook\":null,\"tiktok\":null,\"instagram\":null,\"thumbnail\":null,\"address\":\"lekki\",\"synced\":1,\"amount_spent\":495715,\"created_at\":\"2024-10-03 13:40:00\",\"updated_at\":\"2025-07-23 23:33:00\"}",
"deleted_at": null,
"created_at": "2024-10-03T13:40:00.063+01:00",
"updated_at": "2025-07-23T23:33:00.222+01:00",
"app_updated_at": "2025-03-28T23:10:50.000+01:00",
"email": null,
"instagram": null,
"facebook": null,
"tiktok": null,
"created_by": "2279",
"amount_spent": 495715,
"sync_provider": null,
"sync_data_id": null,
"title": null,
"first_name": null,
"last_name": null,
"billing_street_address1": null,
"billing_street_address2": null,
"billing_city": null,
"billing_state": null,
"billing_postal_code": null,
"billing_country": null,
"shipping_street_address1": null,
"shipping_street_address2": null,
"shipping_city": null,
"shipping_state": null,
"shipping_postal_code": null,
"shipping_country": null,
"birthday": null,
"notes": null
},
"supplier": null,
"fundingSource": null,
"createdByUser": null,
"transactionFiles": [],
"expenses": [],
"sales": [],
"formattedTotalAmount": "₦ 35,000.00",
"formattedTotalAmountRecieved": "₦ 35,000.00",
"formattedUnpaidBalance": "₦ 35,000.00",
"formattedDeliveryCharge": "₦ 0.00",
"moneyInAmount": 0,
"moneyOutAmount": 0,
"getMoneyIn": "0",
"getMoneyOut": null,
"getUnFormattedMoneyIn": 0,
"getUnFormattedMoneyOut": 0,
"formattedDiscountAmount": "₦ 0.00",
"formattedTaxAmount": "₦ 0.00",
"formattedSubTotalAmount": "₦ 35,000.00",
"formattedTransactionAmount": "₦ 35,000.00",
"formatAmount": "35,000",
"formatUnpaid": "35,000"
},
"createdByUser": null,
"source": "transaction",
"originalTransaction": {
"id": "1761017",
"user_id": "2279",
"business_id": "2217",
"customer_id": "3518",
"transaction_uid": "INV-2217-980156695-250824234900",
"app_id": "980156695",
"name": "Service G",
"transaction_type": "cash_in",
"amount": 35000,
"amount_received": 35000,
"quantity": 1,
"items": "1",
"delivery_charge": 0,
"discount": 0,
"unpaid_balance": 35000,
"discount_type": null,
"discount_amount": 0,
"sub_total_amount": 35000,
"tax": 0,
"tax_amount": 0,
"unpaid_remind_date": "2025-08-23T12:00:00.000+01:00",
"app_created_at": "2025-08-23T00:00:00.000+01:00",
"raw": "{\"id\":\"980156695\",\"invoice_id\":\"INV-2217-980156695-250824234900\",\"tax\":0,\"discount_amount\":0,\"discount\":0,\"delivery_charge\":0,\"created_at\":\"2025-08-23 00:00:00\",\"updated_at\":\"2025-08-24 23:49:00\",\"quantity\":1,\"unpaid_balance\":35000,\"transaction_type\":\"cash_in\",\"name\":\"Service G\",\"discount_type\":null,\"unpaid_remind_date\":\"2025-08-23 12:00:00\",\"payment_due_date\":null,\"last_payment_date\":null,\"unpaid_reminder\":null,\"amount_received\":35000,\"customer_id\":\"41\",\"supplier_id\":null,\"funding_source_id\":null,\"amount\":35000,\"profit\":35000,\"sub_total_amount\":35000,\"items\":\"1\",\"recurring_transaction_id\":\"49\",\"version_code\":36,\"tax_amount\":0,\"system_id\":\"1761017\",\"created_by\":\"2279\",\"synced\":1,\"payment_methods\":null,\"sales_channel\":null}",
"reminder_sent": 1,
"deleted_at": null,
"created_at": "2025-08-24T23:49:00.919+01:00",
"updated_at": "2025-08-24T23:59:12.341+01:00",
"app_updated_at": "2025-08-24T23:59:12.341+01:00",
"profit": 35000,
"supplier_id": null,
"recurring_transaction_id": "252",
"created_by": "2279",
"delivery_date": null,
"investor_id": null,
"funding_source_id": null,
"last_payment_date": null,
"payment_due_date": null,
"unpaid_reminder": null,
"payment_methods": null,
"sales_channel": null,
"sync_provider": null,
"sync_data_id": null,
"business": {
"id": "2217",
"business_id": "c0862576-42ab-4537-82d6-239b5263f7b3",
"user_id": "2279",
"business_type_id": "5",
"name": "Black",
"code": null,
"country": "Nigeria (NGA)",
"state": "Abuja FCT",
"address": "Sambisa",
"currency": "NGN",
"logo": "https://res.cloudinary.com/dwfnoynkp/image/upload/v1746488195/dev/logos/business-c0862576-42ab-4537-82d6-239b5263f7b3.jpg",
"is_verified": false,
"is_active": true,
"created_at": "2024-04-01T18:37:51.297+01:00",
"updated_at": "2025-08-14T22:52:19.709+01:00",
"brand_color": "#6b3969",
"has_been_viewed": true
},
"user": null,
"customer": {
"id": "3518",
"user_id": "2279",
"business_id": "2217",
"app_id": "41",
"name": "Folabi Paul",
"phone": "0806154833",
"thumbnail": null,
"address": "lekki",
"app_created_at": "2024-10-03T13:40:00.000+01:00",
"raw": "{\"id\":\"41\",\"system_id\":\"3518\",\"version_code\":36,\"name\":\"Folabi Paul\",\"phone\":\"0806154833\",\"email\":null,\"facebook\":null,\"tiktok\":null,\"instagram\":null,\"thumbnail\":null,\"address\":\"lekki\",\"synced\":1,\"amount_spent\":495715,\"created_at\":\"2024-10-03 13:40:00\",\"updated_at\":\"2025-07-23 23:33:00\"}",
"deleted_at": null,
"created_at": "2024-10-03T13:40:00.063+01:00",
"updated_at": "2025-07-23T23:33:00.222+01:00",
"app_updated_at": "2025-03-28T23:10:50.000+01:00",
"email": null,
"instagram": null,
"facebook": null,
"tiktok": null,
"created_by": "2279",
"amount_spent": 495715,
"sync_provider": null,
"sync_data_id": null,
"title": null,
"first_name": null,
"last_name": null,
"billing_street_address1": null,
"billing_street_address2": null,
"billing_city": null,
"billing_state": null,
"billing_postal_code": null,
"billing_country": null,
"shipping_street_address1": null,
"shipping_street_address2": null,
"shipping_city": null,
"shipping_state": null,
"shipping_postal_code": null,
"shipping_country": null,
"birthday": null,
"notes": null
},
"supplier": null,
"fundingSource": null,
"createdByUser": null,
"transactionFiles": [],
"expenses": [],
"sales": [],
"formattedTotalAmount": "₦ 35,000.00",
"formattedTotalAmountRecieved": "₦ 35,000.00",
"formattedUnpaidBalance": "₦ 35,000.00",
"formattedDeliveryCharge": "₦ 0.00",
"moneyInAmount": 0,
"moneyOutAmount": 0,
"getMoneyIn": "0",
"getMoneyOut": null,
"getUnFormattedMoneyIn": 0,
"getUnFormattedMoneyOut": 0,
"formattedDiscountAmount": "₦ 0.00",
"formattedTaxAmount": "₦ 0.00",
"formattedSubTotalAmount": "₦ 35,000.00",
"formattedTransactionAmount": "₦ 35,000.00",
"formatAmount": "35,000",
"formatUnpaid": "35,000"
},
"customer": {
"id": "3518",
"user_id": "2279",
"business_id": "2217",
"app_id": "41",
"name": "Folabi Paul",
"phone": "0806154833",
"thumbnail": null,
"address": "lekki",
"app_created_at": "2024-10-03T13:40:00.000+01:00",
"raw": "{\"id\":\"41\",\"system_id\":\"3518\",\"version_code\":36,\"name\":\"Folabi Paul\",\"phone\":\"0806154833\",\"email\":null,\"facebook\":null,\"tiktok\":null,\"instagram\":null,\"thumbnail\":null,\"address\":\"lekki\",\"synced\":1,\"amount_spent\":495715,\"created_at\":\"2024-10-03 13:40:00\",\"updated_at\":\"2025-07-23 23:33:00\"}",
"deleted_at": null,
"created_at": "2024-10-03T13:40:00.063+01:00",
"updated_at": "2025-07-23T23:33:00.222+01:00",
"app_updated_at": "2025-03-28T23:10:50.000+01:00",
"email": null,
"instagram": null,
"facebook": null,
"tiktok": null,
"created_by": "2279",
"amount_spent": 495715,
"sync_provider": null,
"sync_data_id": null,
"title": null,
"first_name": null,
"last_name": null,
"billing_street_address1": null,
"billing_street_address2": null,
"billing_city": null,
"billing_state": null,
"billing_postal_code": null,
"billing_country": null,
"shipping_street_address1": null,
"shipping_street_address2": null,
"shipping_city": null,
"shipping_state": null,
"shipping_postal_code": null,
"shipping_country": null,
"birthday": null,
"notes": null
},
"supplier": null,
"fundingSource": null,
"sales": [],
"expenses": [],
"transactionFiles": []
}
],
"meta": {
"total": 837,
"per_page": "5",
"current_page": "1",
"last_page": 168,
"first_page": 1,
"has_more_pages": true
}
}
}