{"generatedAt":"2026-07-29T09:51:34.142Z","includeSensitive":false,"counts":{"products":3,"bills":11,"categories":4,"orders":1,"expenses":2,"expenseAccounts":1,"expenseCategories":2,"companyDetails":1,"loanAccounts":2,"accountsPayable":1,"loans":1,"loanPayments":1,"payableRecords":2,"payablePayments":0,"cashIns":4,"cashOuts":3,"auditLogs":0,"invoices":1,"productBatches":4,"computerParts":1,"employees":1,"payrolls":0,"drawerSessions":3,"netProfitEntries":0,"services":1,"cashAccounts":2,"advancePayments":0,"productSerials":0,"userDetailsPayroll":0},"data":{"products":[{"_id":"6a5f38d9afde014e12bb2125","productName":"pc","brand":"DELL","modelNumber":"1781","generation":"G 10","touchScreen":false,"cpu":"CORE I7","ram":"16 GB DDR4","storage":"1024 GB SSD","gpu":"8GB","charger":"65 W","warrantyExpiry":"2028-07-21T00:00:00.000Z","barcode":"123456789","stock":88,"costPrice":10000,"averageCostPrice":10000,"sellingPrice":11000,"averageSellingPrice":11000,"category":"6a5f3879afde014e12bb2114","image":"20260721-4i34pc.avif","status":true,"__v":0},{"_id":"6a60a4d2bd930a09dfc5cd1c","productName":"Latptop","brand":"Dell","modelNumber":"t-14","serialNumber":"13212331","generation":"10th","touchScreen":false,"cpu":"Core i 7","ram":"16 GB DDR4","storage":"512 GB SSD","gpu":"RTX 4060","charger":"65W -TypeC","warrantyExpiry":"2028-07-22T00:00:00.000Z","stock":10,"costPrice":1000,"averageCostPrice":1000,"sellingPrice":1100,"averageSellingPrice":1100,"category":"6a60a4bbbd930a09dfc5cd01","image":"","status":true,"__v":0},{"_id":"6a60a75cbd930a09dfc5ceee","productName":"Laptop","brand":"DELL","modelNumber":"t14-15","serialNumber":"12345677","generation":"10th","touchScreen":true,"cpu":"Core i 7","ram":"16GB DDR 4","storage":"512 GB SSD","gpu":"RTX 4060-6DDC","charger":"65W type-C","warrantyExpiry":"2027-07-22T00:00:00.000Z","stock":4,"costPrice":1050,"averageCostPrice":1050,"sellingPrice":1150,"averageSellingPrice":1150,"category":"6a60a4bbbd930a09dfc5cd01","image":"","status":true,"__v":0,"barcode":"","description":""}],"bills":[{"_id":"6a5f3ec3afde014e12bb28af","billNumber":"bill-2026-1","date":"2026-07-21T09:41:22.610Z","items":[{"item":"6a5f38d9afde014e12bb2125","itemModel":"Product","itemType":"product","additionalPart":false,"itemName":"pc","quantity":1,"unitprice":11000,"sellingPrice":11000,"costPrice":10000,"grossProfit":1000,"partSwapped":false,"swappedParts":[],"replacements":[],"batchAllocations":[{"batchId":"6a5f38d9afde014e12bb212a","batchNumber":"INIT-bb2125","quantity":1,"costPrice":10000,"_id":"6a5f3ec3afde014e12bb28b1"}],"_id":"6a5f3ec3afde014e12bb28b0"}],"discount":0,"total":11000,"totalRevenue":11000,"totalGrossProfit":1000,"currency":"AF","decimalPlaces":0,"status":"paid","paymentMethod":"cash","paymentStatus":"paid","cashier":"zaki","__v":0},{"_id":"6a5f3f04afde014e12bb2920","billNumber":"bill-2026-2","date":"2026-07-21T09:42:28.312Z","items":[{"item":"6a5f38d9afde014e12bb2125","itemModel":"Product","itemType":"product","additionalPart":false,"itemName":"pc","quantity":1,"unitprice":11000,"sellingPrice":11000,"costPrice":10000,"grossProfit":1000,"partSwapped":false,"swappedParts":[],"replacements":[],"batchAllocations":[{"batchId":"6a5f38d9afde014e12bb212a","batchNumber":"INIT-bb2125","quantity":1,"costPrice":10000,"_id":"6a5f3f04afde014e12bb2922"}],"_id":"6a5f3f04afde014e12bb2921"}],"discount":0,"total":11000,"totalRevenue":11000,"totalGrossProfit":1000,"currency":"AF","decimalPlaces":0,"status":"paid","paymentMethod":"cash","paymentStatus":"paid","cashier":"zaki","__v":0},{"_id":"6a5f3ffeafde014e12bb2a7e","billNumber":"bill-2026-3","date":"2026-07-21T09:46:38.212Z","items":[{"item":"6a5f38d9afde014e12bb2125","itemModel":"Product","itemType":"product","additionalPart":false,"itemName":"pc","quantity":1,"unitprice":11000,"sellingPrice":11000,"costPrice":10000,"grossProfit":1000,"partSwapped":true,"swappedParts":[],"replacements":[],"batchAllocations":[{"batchId":"6a5f38d9afde014e12bb212a","batchNumber":"INIT-bb2125","quantity":1,"costPrice":10000,"_id":"6a5f3ffeafde014e12bb2a80"}],"_id":"6a5f3ffeafde014e12bb2a7f"},{"item":"6a5f396dafde014e12bb214b","itemModel":"ComputerPart","itemType":"computer-part-addon","additionalPart":true,"itemName":"4090","parentItem":"6a5f38d9afde014e12bb2125","quantity":1,"unitprice":1100,"sellingPrice":1100,"costPrice":1000,"grossProfit":100,"partSwapped":false,"swappedParts":[],"replacements":[],"batchAllocations":[{"batchId":"6a5f39ccafde014e12bb215a","batchNumber":"1","quantity":1,"costPrice":1000,"_id":"6a5f3ffeafde014e12bb2a82"}],"_id":"6a5f3ffeafde014e12bb2a81"}],"discount":0,"total":12100,"totalRevenue":12100,"totalGrossProfit":1100,"currency":"AF","decimalPlaces":0,"status":"paid","paymentMethod":"cash","paymentStatus":"paid","cashier":"zaki","__v":0},{"_id":"6a605550f460dec491810e82","billNumber":"bill-2026-4","date":"2026-07-22T05:29:51.100Z","items":[{"item":"6a5f38d9afde014e12bb2125","itemModel":"Product","itemType":"product","additionalPart":false,"itemName":"pc","quantity":1,"unitprice":11000,"sellingPrice":11000,"costPrice":10000,"grossProfit":1000,"partSwapped":false,"swappedParts":[],"replacements":[],"batchAllocations":[{"batchId":"6a5f38d9afde014e12bb212a","batchNumber":"INIT-bb2125","quantity":1,"costPrice":10000,"_id":"6a605550f460dec491810e84"}],"_id":"6a605550f460dec491810e83"}],"discount":0,"total":11000,"totalRevenue":11000,"totalGrossProfit":1000,"currency":"USD","decimalPlaces":2,"status":"paid","paymentMethod":"cash","paymentStatus":"paid","cashier":"zaki","__v":0},{"_id":"6a605620f460dec491810f17","billNumber":"bill-2026-5","date":"2026-07-22T05:33:20.238Z","items":[{"item":"6a5f38d9afde014e12bb2125","itemModel":"Product","itemType":"product","additionalPart":false,"itemName":"pc","quantity":1,"unitprice":11000,"sellingPrice":11000,"costPrice":10000,"grossProfit":1000,"partSwapped":false,"swappedParts":[],"replacements":[],"batchAllocations":[{"batchId":"6a5f38d9afde014e12bb212a","batchNumber":"INIT-bb2125","quantity":1,"costPrice":10000,"_id":"6a605620f460dec491810f19"}],"_id":"6a605620f460dec491810f18"}],"discount":0,"total":11000,"totalRevenue":11000,"totalGrossProfit":1000,"currency":"USD","decimalPlaces":2,"status":"paid","paymentMethod":"cash","paymentStatus":"paid","cashier":"zaki","__v":0},{"_id":"6a6062a11af233b38e04c31e","billNumber":"bill-2026-6","date":"2026-07-22T06:26:40.751Z","items":[{"item":"6a5f38d9afde014e12bb2125","itemModel":"Product","itemType":"product","additionalPart":false,"itemName":"pc","quantity":1,"unitprice":11000,"sellingPrice":11000,"costPrice":10000,"grossProfit":1000,"partSwapped":false,"swappedParts":[],"replacements":[],"batchAllocations":[{"batchId":"6a5f38d9afde014e12bb212a","batchNumber":"INIT-bb2125","quantity":1,"costPrice":10000,"_id":"6a6062a11af233b38e04c320"}],"_id":"6a6062a11af233b38e04c31f"}],"discount":0,"total":11000,"totalRevenue":11000,"totalGrossProfit":1000,"currency":"USD","decimalPlaces":2,"status":"paid","paymentMethod":"cash","paymentStatus":"paid","cashier":"zaki","__v":0},{"_id":"6a65a7821d8693af3ce66d74","billNumber":"bill-2026-7","date":"2026-07-26T06:21:53.703Z","items":[{"item":"6a5f38d9afde014e12bb2125","itemModel":"Product","itemType":"product","additionalPart":false,"itemName":"pc","quantity":1,"unitprice":12000,"sellingPrice":12000,"costPrice":10000,"grossProfit":2000,"partSwapped":true,"swappedParts":[],"replacements":[],"batchAllocations":[{"batchId":"6a5f38d9afde014e12bb212a","batchNumber":"INIT-bb2125","quantity":1,"costPrice":10000,"_id":"6a65a7821d8693af3ce66d76"}],"_id":"6a65a7821d8693af3ce66d75"},{"item":"6a5f396dafde014e12bb214b","itemModel":"ComputerPart","itemType":"computer-part-addon","additionalPart":true,"itemName":"4090","parentItem":"6a5f38d9afde014e12bb2125","quantity":1,"unitprice":1100,"sellingPrice":1100,"costPrice":1000,"grossProfit":100,"partSwapped":false,"swappedParts":[],"replacements":[],"batchAllocations":[{"batchId":"6a5f39ccafde014e12bb215a","batchNumber":"1","quantity":1,"costPrice":1000,"_id":"6a65a7821d8693af3ce66d78"}],"_id":"6a65a7821d8693af3ce66d77"}],"discount":0,"total":13100,"totalRevenue":13100,"totalGrossProfit":2100,"currency":"AF","decimalPlaces":0,"status":"paid","paymentMethod":"cash","paymentStatus":"paid","cashier":"zaki","__v":0},{"_id":"6a6709d304adbd559386e475","billNumber":"bill-2026-8","date":"2026-07-27T07:33:39.322Z","items":[{"item":"6a5f38d9afde014e12bb2125","itemModel":"Product","itemType":"product","additionalPart":false,"itemName":"pc","quantity":1,"unitprice":11000,"sellingPrice":11000,"costPrice":10000,"grossProfit":1000,"partSwapped":false,"swappedParts":[],"replacements":[],"batchAllocations":[{"batchId":"6a5f38d9afde014e12bb212a","batchNumber":"INIT-bb2125","quantity":1,"costPrice":10000,"_id":"6a6709d304adbd559386e477"}],"_id":"6a6709d304adbd559386e476"}],"discount":0,"total":11000,"totalRevenue":11000,"totalGrossProfit":1000,"currency":"USD","decimalPlaces":2,"status":"paid","paymentMethod":"cash","paymentStatus":"paid","cashier":"zaki","__v":0},{"_id":"6a672655a59c4c3730a24798","billNumber":"bill-2026-9","date":"2026-07-27T09:35:16.231Z","items":[{"item":"6a5f38d9afde014e12bb2125","itemModel":"Product","itemType":"product","additionalPart":false,"itemName":"pc","quantity":1,"unitprice":11000,"sellingPrice":11000,"costPrice":10000,"grossProfit":1000,"partSwapped":false,"swappedParts":[],"replacements":[],"batchAllocations":[{"batchId":"6a5f38d9afde014e12bb212a","batchNumber":"INIT-bb2125","quantity":1,"costPrice":10000,"_id":"6a672655a59c4c3730a2479a"}],"_id":"6a672655a59c4c3730a24799"}],"discount":0,"total":11000,"totalRevenue":11000,"totalGrossProfit":1000,"currency":"USD","decimalPlaces":2,"status":"paid","paymentMethod":"cash","paymentStatus":"paid","cashier":"zaki","accountId":null,"customerAccountId":null,"accountName":"","customer":{"accountId":null,"name":"","phone":"","email":"","address":"","company":""},"__v":0},{"_id":"6a672690a59c4c3730a2484c","billNumber":"bill-2026-10","date":"2026-07-27T09:36:16.148Z","items":[{"item":"6a5f38d9afde014e12bb2125","itemModel":"Product","itemType":"product","additionalPart":false,"itemName":"pc","quantity":1,"unitprice":11000,"sellingPrice":11000,"costPrice":10000,"grossProfit":1000,"partSwapped":false,"swappedParts":[],"replacements":[],"batchAllocations":[{"batchId":"6a5f38d9afde014e12bb212a","batchNumber":"INIT-bb2125","quantity":1,"costPrice":10000,"_id":"6a672690a59c4c3730a2484e"}],"_id":"6a672690a59c4c3730a2484d"}],"discount":0,"total":11000,"totalRevenue":11000,"totalGrossProfit":1000,"currency":"USD","decimalPlaces":2,"status":"paid","paymentMethod":"cash","paymentStatus":"paid","cashier":"zaki","accountId":"6a65a9111d8693af3ce66e97","customerAccountId":"6a65a9111d8693af3ce66e97","accountName":"ahmad","customer":{"accountId":"6a65a9111d8693af3ce66e97","name":"ahmad","phone":"070000000","email":"test@gmail.com","address":"kabul Afghanistan","company":"ahmadi"},"__v":0},{"_id":"6a6726d2a59c4c3730a249db","billNumber":"bill-2026-11","date":"2026-07-27T09:37:21.497Z","items":[{"item":"6a5f38d9afde014e12bb2125","itemModel":"Product","itemType":"product","additionalPart":false,"itemName":"pc","quantity":1,"unitprice":11000,"sellingPrice":11000,"costPrice":10000,"grossProfit":1000,"partSwapped":false,"swappedParts":[],"replacements":[],"batchAllocations":[{"batchId":"6a5f38d9afde014e12bb212a","batchNumber":"INIT-bb2125","quantity":1,"costPrice":10000,"_id":"6a6726d2a59c4c3730a249dd"}],"_id":"6a6726d2a59c4c3730a249dc"}],"discount":0,"total":11000,"totalRevenue":11000,"totalGrossProfit":1000,"currency":"USD","decimalPlaces":2,"status":"paid","paymentMethod":"cash","paymentStatus":"paid","cashier":"zaki","accountId":"6a65a9111d8693af3ce66e97","customerAccountId":"6a65a9111d8693af3ce66e97","accountName":"ahmad","customer":{"accountId":"6a65a9111d8693af3ce66e97","name":"ahmad","phone":"070000000","email":"test@gmail.com","address":"kabul Afghanistan","company":"ahmadi"},"__v":0}],"categories":[{"_id":"6a5f3877afde014e12bb2102","name":"LSTITUTE","code":"1000","color":"#d1d5db","parent":null,"__v":0},{"_id":"6a5f3879afde014e12bb2114","name":"LTITUTE","code":"1001","color":"#d1d5db","parent":"6a5f3877afde014e12bb2102","__v":0},{"_id":"6a60a4a1bd930a09dfc5cce4","name":"DELL","code":"100","color":"#d1d5db","parent":null,"__v":0},{"_id":"6a60a4bbbd930a09dfc5cd01","name":"Latitude","code":"99","color":"#d1d5db","parent":"6a60a4a1bd930a09dfc5cce4","__v":0}],"orders":[{"_id":"6a64a8d509ea53b6abd850bf","orderNumber":"001","items":[{"itemType":"part","name":"16GB RAM DDR 5","price":1000,"quantity":1,"totalAmount":1000,"description":"","specs":{"partType":"RAM","brand":"DELL","model":"123132","capacity":"16GB"},"touchScreen":false,"specificationsSummary":"partType: RAM | brand: DELL | model: 123132 | capacity: 16GB","_id":"6a64a8d509ea53b6abd850c0"}],"editionalNotes":"Good","date":"2026-07-25T07:30:00.000Z","customerName":"zaki","customerPhone":"1235688","accessoriesReceived":[],"paymentStatus":"unpaid","advancePayment":0,"totalAmount":1000,"condition":"Accept","status":"Completed","deliveryDate":"2026-07-28T00:00:00.000Z","__v":0}],"expenses":[{"_id":"6a65b2311d8693af3ce674d4","title":"test","category":"test","amount":5000,"date":"2026-07-26T00:00:00.000Z","paymentMethod":"Cash","status":"paid","description":"","reference":"BRE-919374-142","accountId":"6a65b1dc1d8693af3ce6747c","recurring":false,"createdBy":"zaki","sourcePartId":null,"sourcePartBatchId":null,"createdAt":"2026-07-26T07:07:29.764Z","updatedAt":"2026-07-26T07:07:29.764Z","__v":0},{"_id":"6a699a4969ecd31fa1db9481","title":"office rent","category":"test","amount":500,"date":"2026-07-29T00:00:00.000Z","paymentMethod":"Cash","status":"paid","description":"","reference":"","accountId":"6a65b1dc1d8693af3ce6747c","recurring":false,"createdBy":"zaki","sourcePartId":null,"sourcePartBatchId":null,"createdAt":"2026-07-29T06:14:33.498Z","updatedAt":"2026-07-29T06:14:33.498Z","__v":0}],"expenseAccounts":[{"_id":"6a65b1dc1d8693af3ce6747c","name":"break fast","code":"50000","type":"expense","affectsNetProfit":true,"isActive":true,"createdAt":"2026-07-26T07:06:04.901Z","updatedAt":"2026-07-26T07:06:04.901Z","__v":0}],"expenseCategories":[{"_id":"6a65b22b1d8693af3ce674c3","name":"test","accountId":"6a65b1dc1d8693af3ce6747c","createdAt":"2026-07-26T07:07:23.864Z","updatedAt":"2026-07-26T07:07:23.864Z","__v":0},{"_id":"6a699a9669ecd31fa1db949d","name":"Launch","accountId":"6a65b1dc1d8693af3ce6747c","createdAt":"2026-07-29T06:15:50.906Z","updatedAt":"2026-07-29T06:15:50.906Z","__v":0}],"companyDetails":[{"_id":"6a5f3532afde014e12bb2039","name":"SparkTrust","logo":"/uploads/company/logo-1784624433797-167196755.png","phoneNo":"07777777777","phoneNo2":"0788888888","email":"sparktrust@pos.com","address":"shar-e-new","city":"Kabul","country":"Afghanistan","website":"","taxNumber":"","registrationNumber":"","description":"","contactPerson":"Zamir","postalCode":"","isActive":true,"batchPricingMode":"weighted-average","__v":0,"telegramUsername":"0793413604","whatsappNumber":"0793413604"}],"employees":[{"_id":"6a65b3001d8693af3ce67605","fullName":"Ali","phone":"078941613","email":"test@pos.com","address":"kabul","afghanistanIdCardNumber":"1400*200*5201","idCardScanUrl":"84510251","position":"admin","department":"selling","baseSalary":10000,"hireDate":"2026-07-26T00:00:00.000Z","status":"active","notes":"","createdAt":"2026-07-26T07:10:56.686Z","updatedAt":"2026-07-26T07:10:56.686Z","__v":0}],"payrolls":[],"loanAccounts":[{"_id":"6a65a9111d8693af3ce66e97","accountCode":"ACC-278005","name":"ahmad","professionalName":"Ahmadi","company":"ahmadi","phone":"070000000","email":"test@gmail.com","address":"kabul Afghanistan","status":"active","photoUrl":"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Crect%20width%3D%22200%22%20height%3D%22200%22%20fill%3D%22%23EC4899%22%2F%3E%3Ctext%20x%3D%22100%22%20y%3D%22108%22%20text-anchor%3D%22middle%22%20dominant-baseline%3D%22middle%22%20fill%3D%22%23ffffff%22%20font-size%3D%2272%22%20font-family%3D%22Arial%2C%20sans-serif%22%3EA%3C%2Ftext%3E%3C%2Fsvg%3E","createdAt":"2026-07-26T06:28:33.215Z","updatedAt":"2026-07-26T06:28:33.215Z"},{"_id":"6a67358837d0a55954653f76","accountCode":"ACC-793978","name":"Zaki","professionalName":"Ahmadi","company":"Kabul","phone":"+359747159620","email":"zakiahmdi100@gmail.com","address":"3rd share-now","status":"active","photoUrl":"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Crect%20width%3D%22200%22%20height%3D%22200%22%20fill%3D%22%23F59E0B%22%2F%3E%3Ctext%20x%3D%22100%22%20y%3D%22108%22%20text-anchor%3D%22middle%22%20dominant-baseline%3D%22middle%22%20fill%3D%22%23ffffff%22%20font-size%3D%2272%22%20font-family%3D%22Arial%2C%20sans-serif%22%3EZ%3C%2Ftext%3E%3C%2Fsvg%3E","createdAt":"2026-07-27T10:40:08.881Z","updatedAt":"2026-07-27T10:40:08.881Z"}],"accountsPayable":[{"_id":"6a60a21ebd930a09dfc5cb5f","id":"ACC-796582","name":"ahmad","type":"supplier","phone":"123456789","email":"email@gmail.com","address":"3rd, share-e-now`","opening_balance":0,"balance_type":"payable","payment_method_preferred":"cash","bank_name":"Kabul","status":"active","notes":"ahmad","created_at":"2026-07-22T10:57:34.919Z"}],"loans":[{"_id":"6a65a9281d8693af3ce66eb0","loanNumber":"INV-LOAN-invoice-2026-3","accountId":"6a65a9111d8693af3ce66e97","loanDirection":"outgoing","principalAmount":11000,"date":"2026-07-26T00:00:00.000Z","note":"Auto-synced from invoice invoice-2026-3","status":"active","receivableType":"invoice","affectsRevenue":true,"affectsNetProfit":true,"isRefunded":false,"createdAt":"2026-07-26T06:28:56.790Z","updatedAt":"2026-07-26T06:30:08.655Z"}],"loanPayments":[{"_id":"6a65a9701d8693af3ce66fb0","loanId":"6a65a9281d8693af3ce66eb0","paymentDate":"2026-07-26T06:30:08.656Z","amount":1000,"paymentMethod":"Cash","reference":"Payment on invoice invoice-2026-3","createdAt":"2026-07-26T06:30:08.657Z","updatedAt":"2026-07-26T06:30:08.657Z"}],"payableRecords":[{"_id":"6a60a249bd930a09dfc5cb92","recordNumber":"LN26070001","accountId":"6a60a21ebd930a09dfc5cb5f","direction":"outgoing","principalAmount":1000,"date":"2026-07-22T00:00:00.000Z","note":"","status":"active","createdAt":"2026-07-22T10:58:17.625Z","updatedAt":"2026-07-22T10:58:17.625Z"},{"_id":"6a6990c3e0e895392ce154f0","recordNumber":"LN2607777","accountId":"6a60a21ebd930a09dfc5cb5f","direction":"outgoing","principalAmount":2200,"date":"2026-07-29T00:00:00.000Z","note":"","status":"active","createdAt":"2026-07-29T05:33:55.054Z","updatedAt":"2026-07-29T05:33:55.054Z"}],"payablePayments":[],"cashIns":[{"_id":"6a65afc61d8693af3ce671e2","amount":5000,"category":"Opening Balance","description":"","accountId":"10405","currency":"AFN","timestamp":"2026-07-26T06:57:10.824Z","__v":0},{"_id":"6a69888be0e895392ce14f91","amount":1.04,"category":"Petty Cash","description":"Drawer session DRW-2026-1","accountId":"DRAWER-MAIN","currency":"AF","timestamp":"2026-07-29T04:58:51.635Z","__v":0},{"_id":"6a6991b4e0e895392ce155b7","amount":1998.31,"category":"Drawer Variance","description":"Overage on close DRW-2026-1","accountId":"DRAWER-MAIN","currency":"AF","timestamp":"2026-07-29T05:37:56.117Z","__v":0},{"_id":"6a6992a6e0e895392ce15650","amount":3000,"category":"Petty Cash","description":"Drawer session DRW-2026-2","accountId":"DRAWER-MAIN","currency":"AF","timestamp":"2026-07-29T05:41:58.064Z","__v":0}],"cashOuts":[{"_id":"6a698843e0e895392ce14f53","amount":0.69,"category":"Petty Cash","description":"Drawer session DRW-2026-1","image":"drawer-manual-out.jpg","accountId":"DRAWER-MAIN","currency":"AF","isRefund":false,"timestamp":"2026-07-29T04:57:39.204Z","__v":0},{"_id":"6a69924ee0e895392ce15608","amount":100,"category":"Petty Cash","description":"Drawer session DRW-2026-2","image":"drawer-manual-out.jpg","accountId":"DRAWER-MAIN","currency":"AF","isRefund":false,"timestamp":"2026-07-29T05:40:30.436Z","__v":0},{"_id":"6a699318e0e895392ce156a9","amount":900,"category":"Drawer Variance","description":"Shortage on close DRW-2026-2","image":"drawer-variance-placeholder.jpg","accountId":"DRAWER-MAIN","currency":"AF","isRefund":false,"timestamp":"2026-07-29T05:43:52.064Z","__v":0}],"auditLogs":[],"invoices":[{"_id":"6a65a9281d8693af3ce66eb2","invoiceNumber":"invoice-2026-3","invoiceDate":"2026-07-26T00:00:00.000Z","dueDate":"2026-07-31T00:00:00.000Z","invoiceType":"sale","paymentStatus":"partial","accountId":"6a65a9111d8693af3ce66e97","items":[{"itemType":"product","item":"6a5f38d9afde014e12bb2125","quantity":1,"unitprice":11000,"sellingPrice":11000,"costPrice":10000,"grossProfit":1000,"partSwapped":false,"amount":11000,"batchAllocations":[{"batchId":"6a5f38d9afde014e12bb212a","batchNumber":"INIT-bb2125","quantity":1,"costPrice":10000,"_id":"6a65a9281d8693af3ce66eb4"}],"customizedParts":[],"swappedParts":[],"replacements":[],"additionalPart":false,"_id":"6a65a9281d8693af3ce66eb3"}],"subtotal":11000,"discount":0,"tax":0,"totalAmount":11000,"totalRevenue":11000,"totalGrossProfit":1000,"currency":"AF","decimalPlaces":0,"amountPaid":1000,"overpaymentAmount":0,"referenceNumber":"105020","paymentMethod":"cash","cashier":"Unknown","purchaseOrderNumber":"1520","salesPerson":"zaki","loanId":"6a65a9281d8693af3ce66eb0","loanNumber":"INV-LOAN-invoice-2026-3","terms":"30","notes":"","source":"pos-loan-invoice","createdAt":"2026-07-26T06:28:56.795Z","updatedAt":"2026-07-26T06:30:08.654Z"}],"productBatches":[{"_id":"6a5f38d9afde014e12bb212a","productId":"6a5f38d9afde014e12bb2125","batchNumber":"INIT-bb2125","expiryDate":null,"receivedDate":"2026-07-21T09:16:09.870Z","qtyReceived":100,"qtyAvailable":88,"costPrice":10000,"currency":"USD","decimalPlaces":2,"sellingPrice":11000,"note":"Auto-created on product creation","createdAt":"2026-07-21T09:16:09.871Z","updatedAt":"2026-07-27T09:37:22.180Z"},{"_id":"6a60a4d2bd930a09dfc5cd21","productId":"6a60a4d2bd930a09dfc5cd1c","batchNumber":"INIT-c5cd1c","expiryDate":null,"receivedDate":"2026-07-22T11:09:06.467Z","qtyReceived":10,"qtyAvailable":10,"costPrice":1000,"currency":"USD","decimalPlaces":2,"sellingPrice":1100,"note":"Auto-created on product creation","createdAt":"2026-07-22T11:09:06.468Z","updatedAt":"2026-07-22T11:09:06.468Z"},{"_id":"6a60a75cbd930a09dfc5cef3","productId":"6a60a75cbd930a09dfc5ceee","batchNumber":"INIT-c5ceee","expiryDate":null,"receivedDate":"2026-07-22T11:19:56.080Z","qtyReceived":10,"qtyAvailable":2,"costPrice":1000,"currency":"USD","decimalPlaces":2,"sellingPrice":1100,"note":"Auto-created on product creation","createdAt":"2026-07-22T11:19:56.081Z","updatedAt":"2026-07-28T07:06:17.982Z"},{"_id":"6a6854fd39982593938b731e","productId":"6a60a75cbd930a09dfc5ceee","batchNumber":"B-c5ceee-1785222397652","expiryDate":null,"receivedDate":"2026-07-28T00:00:00.000Z","qtyReceived":2,"qtyAvailable":2,"costPrice":1100,"currency":"USD","decimalPlaces":2,"sellingPrice":1200,"createdAt":"2026-07-28T07:06:37.655Z","updatedAt":"2026-07-28T07:06:37.655Z"}],"computerParts":[{"_id":"6a5f396dafde014e12bb214b","name":"4090","model":"4090","partType":"gpu","capacity":"16GB","stock":198,"costPrice":1000,"sellingPrice":1100,"averageCostPrice":1000,"averageSellingPrice":1100,"currency":"USD","status":true,"image":"20260721-baotqn.avif","batches":[{"batchNumber":"1","expiryDate":"2026-07-21T00:00:00.000Z","receivedDate":"2026-07-21T00:00:00.000Z","qtyReceived":100,"qtyAvailable":98,"costPrice":1000,"sellingPrice":1100,"currency":"USD","decimalPlaces":2,"_id":"6a5f39ccafde014e12bb215a","expenseEntries":[],"createdAt":"2026-07-21T09:20:12.373Z","updatedAt":"2026-07-26T06:21:54.123Z"},{"batchNumber":"1","expiryDate":"2026-07-21T00:00:00.000Z","receivedDate":"2026-07-21T00:00:00.000Z","qtyReceived":100,"qtyAvailable":100,"costPrice":1000,"sellingPrice":1100,"currency":"USD","decimalPlaces":2,"_id":"6a5f39ccafde014e12bb2164","expenseEntries":[],"createdAt":"2026-07-21T09:20:12.684Z","updatedAt":"2026-07-21T09:20:12.684Z"}],"createdAt":"2026-07-21T09:18:37.462Z","updatedAt":"2026-07-28T07:24:19.192Z"}],"drawerSessions":[{"_id":"6a69881ce0e895392ce14f2e","sessionNumber":"DRW-2026-1","accountId":"DRAWER-MAIN","cashier":"zaki","currency":"AF","openingFloat":1.34,"openedAt":"2026-07-29T04:57:00.068Z","closedAt":"2026-07-29T05:37:56.117Z","status":"closed","expectedCash":1.69,"countedCash":2000,"variance":1998.31,"openedBy":"zaki","breakdown":{"openingFloat":1.34,"cashPosSales":0,"cashInvoiceCollectedAtSale":0,"cashReceivablePayments":0,"manualCashIn":1.04,"cashRefunds":0,"cashExpenses":0,"cashVendorPayments":0,"manualCashOut":0.69,"totalInflows":2.38,"totalOutflows":0.69,"expectedDrawer":1.69},"varianceRecorded":true,"createdAt":"2026-07-29T04:57:00.087Z","updatedAt":"2026-07-29T05:37:56.120Z","closeNotes":"","closedBy":"zaki"},{"_id":"6a69921ee0e895392ce155e1","sessionNumber":"DRW-2026-2","accountId":"DRAWER-MAIN","cashier":"zaki","currency":"AF","openingFloat":1000,"openedAt":"2026-07-29T05:39:42.793Z","closedAt":"2026-07-29T05:43:52.064Z","status":"closed","expectedCash":3900,"countedCash":3000,"variance":-900,"openedBy":"zaki","breakdown":{"openingFloat":1000,"cashPosSales":0,"cashInvoiceCollectedAtSale":0,"cashReceivablePayments":0,"manualCashIn":3000,"cashRefunds":0,"cashExpenses":0,"cashVendorPayments":0,"manualCashOut":100,"totalInflows":4000,"totalOutflows":100,"expectedDrawer":3900},"varianceRecorded":true,"createdAt":"2026-07-29T05:39:42.797Z","updatedAt":"2026-07-29T05:43:52.084Z","closeNotes":"","closedBy":"zaki"},{"_id":"6a699331e0e895392ce156c4","sessionNumber":"DRW-2026-3","accountId":"DRAWER-MAIN","cashier":"zaki","currency":"AF","openingFloat":3500,"openedAt":"2026-07-29T05:44:17.430Z","closedAt":null,"status":"open","expectedCash":3500,"countedCash":null,"variance":null,"openedBy":"zaki","breakdown":{"openingFloat":3500,"cashPosSales":0,"cashInvoiceCollectedAtSale":0,"cashReceivablePayments":0,"manualCashIn":0,"cashRefunds":0,"cashExpenses":0,"cashVendorPayments":0,"manualCashOut":0,"totalInflows":3500,"totalOutflows":0,"expectedDrawer":3500},"varianceRecorded":false,"createdAt":"2026-07-29T05:44:17.437Z","updatedAt":"2026-07-29T09:51:13.570Z"}],"netProfitEntries":[],"services":[{"_id":"6a5f3b7cafde014e12bb22cf","name":"WINDOWS INSTALITION","specifications":"Window 11","price":100,"currency":"USD","decimalPlaces":2,"photo":"photo-1784626043891-974093024.avif","status":true,"createdBy":"6a5f3465afde014e12bb202f","createdAt":"2026-07-21T09:27:24.277Z","updatedAt":"2026-07-21T09:27:24.277Z"}],"cashAccounts":[{"_id":"6a65aaab1d8693af3ce6705c","accountId":"10405","name":"ahmad","phone":"07841215","description":"","createdAt":"2026-07-26T06:35:23.918Z","updatedAt":"2026-07-26T06:35:23.918Z"},{"_id":"6a69881be0e895392ce14f21","accountId":"DRAWER-MAIN","name":"Main Register Drawer","description":"Front desk POS till","createdAt":"2026-07-29T04:56:59.520Z","updatedAt":"2026-07-29T04:56:59.520Z"}],"advancePayments":[],"productSerials":[],"userDetailsPayroll":[]}}