INSERT INTO `invoice` (`invoice_id`, `invoice_code`, `date`, `kind`, `amount`, `discount`, `net_amount`, `tax_amount`, `cc_id`, `opening_balance`, `transaction_type`, `method`, `reference_num`, `description`, `procedures`, `customer_ref`, `created_by`, `created_date`, `related_invoice`, `confirmed`, `confirmed_date`, `is_deleted`, `deleted_by`, `deleted_date`, `is_refunded`) VALUES
(18930, 1483, '2018-08-31', 'Debit', -4125.25, 0.00, -4125.25, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of charge #00382/ wrong entry', NULL, 520, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18931, 1593, '2018-08-31', 'Credit', -4125.25, 0.00, -4125.25, 0.00, 3, 0, 'payment', 'transfer', '', 'Refund to customer/ Payment #00757 ', NULL, 520, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18932, 15663, '2018-09-18', 'Debit', 495.00, 0.00, 519.75, 24.75, 3, 0, 'invoice', NULL, NULL, 'Inv#01-1143; Inv Date: 20-08-2018 c/o Tadawi', '21038', 534, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18933, 1594, '2018-08-31', 'Credit', 4125.25, 0.00, 4125.25, 0.00, 3, 0, 'payment', 'transfer', '', 'To reverse payment #1593/18931 (wrong date entered)', NULL, 520, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18934, 1595, '2018-05-06', 'Credit', -4121.25, 0.00, -4121.25, 0.00, 3, 0, 'payment', 'transfer', '', 'Refund to customer/ Reference: Payment #00757', NULL, 520, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18935, 15664, '2018-09-18', 'Debit', 2169.20, 0.00, 2277.66, 108.46, 3, 0, 'invoice', NULL, NULL, 'Inv#01-1110; Inv Date: 02-08-2018; c/o Tadawi', '21039', 533, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18936, 1484, '2018-08-31', 'Debit', 4125.25, 0.00, 4125.25, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of wrong entry (wrong amount entered)/ Reference: Charge #01483', NULL, 520, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18937, 15665, '2018-09-18', 'Debit', 1804.00, 0.00, 1894.20, 90.20, 3, 0, 'invoice', NULL, NULL, 'Inv#01-1112; Inv Date: 04-08-2018, c/o Tadawi', '21040', 407, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18938, 1485, '2018-08-31', 'Debit', -4121.25, 0.00, -4121.25, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of charge #00382/ wrong entry ', NULL, 520, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18939, 15666, '2018-09-18', 'Debit', 6523.00, 0.00, 6849.15, 326.15, 3, 0, 'invoice', NULL, NULL, 'Inv#01-1118; Inv Date:16-08-2018; Moka Colt; c/o Tadawi', '21041', 560, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18940, 15667, '2018-09-18', 'Debit', 1078.00, 0.00, 1131.90, 53.90, 3, 0, 'invoice', NULL, NULL, 'Inv#01-1128, Inv Date: 28-08-2018, c/o Tadawi', '21042', 164, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18941, 15668, '2018-09-18', 'Debit', 4884.00, 0.00, 5128.20, 244.20, 3, 0, 'invoice', NULL, NULL, 'Inv#01-1131; Inv Date: 24-08-2018; Hala NM Colt; c/o Tadawi', '21043', 559, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18942, 15669, '2018-09-18', 'Debit', 1822.70, 0.00, 1913.84, 91.14, 3, 0, 'invoice', NULL, NULL, 'Inv#01-1132; Inv Date: 28-08-2018; c/o Tadawi', '21044', 259, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18943, 15670, '2018-09-18', 'Debit', 1897.50, 0.00, 1992.38, 94.88, 3, 0, 'invoice', NULL, NULL, 'Inv#01-1151; Inv Date: 01-09-2018; c/o Tadawi', '21045', 164, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18944, 15671, '2018-09-18', 'Debit', 1287.00, 0.00, 1351.35, 64.35, 3, 0, 'invoice', NULL, NULL, 'Inv# 01-1152; Inv Date: 05-09-2018; c/o Tadawi', '21046', 81, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18945, 15672, '2018-09-18', 'Debit', 1442.10, 0.00, 1514.21, 72.11, 3, 0, 'invoice', NULL, NULL, 'Inv#01-1153; inv Date: 05-09-2018; c/o Tadawi', '21047', 147, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18946, 1486, '2018-08-31', 'Debit', -2589.00, 0.00, -2589.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of Charge #00263 (wrong entry)', NULL, 89, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18947, 1596, '2018-03-21', 'Credit', -2589.00, 0.00, -2589.00, 0.00, 3, 0, 'payment', 'cash', '', 'Refund to customer for overpayment (negative balance)', NULL, 89, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18948, 1487, '2018-08-31', 'Debit', -2346.75, 0.00, -2346.75, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of charge #00126/ wrong entry', NULL, 109, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18949, 1597, '2018-03-14', 'Credit', -2346.75, 0.00, -2346.75, 0.00, 3, 0, 'payment', 'cash', '', 'Refund to customer/ overpayment', NULL, 109, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18950, 1488, '2018-08-31', 'Debit', -1575.00, 0.00, -1575.00, 0.00, 2, 0, 'charge', NULL, NULL, 'To reverse charge #00125 (wrong entry)', NULL, 268, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18951, 1598, '2018-03-14', 'Credit', -1575.00, 0.00, -1575.00, 0.00, 3, 0, 'payment', 'cash', '', 'Refund to customer/ Ref. payment #00140', NULL, 268, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18952, 1489, '2018-08-31', 'Debit', -792.75, 0.00, -792.75, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of charge #00187/ wrong entry', NULL, 185, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18953, 1599, '2018-04-03', 'Credit', -792.75, 0.00, -792.75, 0.00, 3, 0, 'payment', 'cash', '', 'Refund to customer/ Overpayment', NULL, 185, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18954, 1600, '2018-09-18', 'Credit', 1505.06, 0.00, 1505.06, 0.00, 2, 0, 'payment', 'span', '', 'Full Payment: Check Out', NULL, 511, 7, '2018-09-18', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(18955, 1490, '2018-08-31', 'Debit', -1496.25, 0.00, -1496.25, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of charge #00124 (wrong entry)', NULL, 276, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18956, 1601, '2018-03-14', 'Credit', -1496.25, 0.00, -1496.25, 0.00, 3, 0, 'payment', 'cash', '', 'Refund to customer/ overpayment (negative balance)', NULL, 276, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18957, 15673, '2018-09-18', 'Debit', 100.00, 0.00, 105.00, 5.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Faisal Al Ammaj (2 Way Trip)', '21048', 160, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18958, 1602, '2018-09-18', 'Credit', 105.00, 0.00, 105.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15673', NULL, 160, 7, '2018-09-18', 18957, 1, '2018-10-04', 0, NULL, NULL, 0),
(18959, 1491, '2018-08-31', 'Debit', -1000.00, 0.00, -1000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of charge #00080/ Wrong entry', NULL, 103, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18960, 1603, '2018-02-25', 'Credit', -1000.00, 0.00, -1000.00, 0.00, 3, 0, 'payment', 'cash', '', 'Refund to customer/ Overpayment (negative balance)', NULL, 103, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18961, 15674, '2018-09-19', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name:', '21049', 160, 7, '2018-09-19', NULL, 0, '0000-00-00', 1, 7, '2018-09-19', 0),
(18962, 1604, '2018-09-19', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15674', NULL, 160, 7, '2018-09-19', 18961, 0, '0000-00-00', 1, 7, '2018-09-19', 0),
(18963, 15675, '2018-09-19', 'Debit', 50.00, 0.00, 52.50, 2.50, 3, 0, 'invoice', NULL, NULL, 'Cust Name:', '21050', 160, 7, '2018-09-19', NULL, 0, '0000-00-00', 1, 7, '2018-09-19', 0),
(18964, 15676, '2018-09-19', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, '', '20704', 160, 7, '2018-09-19', NULL, 0, '0000-00-00', 1, 7, '2018-09-19', 0),
(18965, 15677, '2018-09-19', 'Debit', 0.00, 0.00, 0.00, 0.00, 3, 0, 'invoice', NULL, NULL, '', '20686', 160, 7, '2018-09-19', NULL, 0, '0000-00-00', 1, 7, '2018-09-19', 0),
(18966, 1492, '2018-09-01', 'Debit', -10000.00, 0.00, -10000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Deduct  Sr. 10,000  against Recipient  Mare Used by Mansour al said', NULL, 95, 11, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18967, 15678, '2018-09-19', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, '', '21051', 138, 7, '2018-09-19', NULL, 0, '0000-00-00', 1, 7, '2018-09-19', 0),
(18968, 15679, '2018-09-04', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, '', '21052', 439, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18969, 15680, '2018-09-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Colt of Kubaira', '21053', 138, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18970, 15681, '2018-09-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, '', '21054', 138, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18971, 15682, '2018-09-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, '', '21055', 138, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18972, 15683, '2018-09-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, '', '21056', 138, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18973, 15684, '2018-09-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '21057', 138, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18974, 15685, '2018-09-05', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21058', 147, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18975, 15686, '2018-09-05', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21059', 479, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18976, 15687, '2018-09-19', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21060', 164, 7, '2018-09-19', NULL, 0, '0000-00-00', 1, 7, '2018-09-19', 0),
(18977, 15688, '2018-09-05', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21061', 164, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18978, 15689, '2018-09-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21062', 139, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18979, 15690, '2018-09-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21063', 183, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18980, 15691, '2018-09-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21064', 183, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18981, 15692, '2018-09-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21065', 534, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18982, 15693, '2018-09-12', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, '', '21066', 559, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18983, 15694, '2018-09-12', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, '', '21067', 559, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18984, 15695, '2018-09-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '21068', 138, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18985, 15696, '2018-09-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '21069', 138, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18986, 1493, '2018-08-31', 'Debit', -1575.00, 0.00, -1575.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of charge #00381/ wrong entry', NULL, 307, 13, '2018-09-19', NULL, 1, '2018-09-19', 0, NULL, NULL, 0),
(18987, 1605, '2018-05-06', 'Credit', -1575.00, 0.00, -1575.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Customer refund/ Advance payment not used', NULL, 307, 13, '2018-09-19', NULL, 1, '2018-09-19', 0, NULL, NULL, 0),
(18988, 15697, '2018-09-19', 'Debit', 120.00, 0.00, 126.00, 6.00, 1, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '21070', 153, 7, '2018-09-19', NULL, 0, '0000-00-00', 1, 7, '2018-09-19', 0),
(18989, 15698, '2018-09-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 1, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '21071', 153, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18990, 15699, '2018-09-01', 'Debit', 1333.00, 0.00, 1399.65, 66.65, 1, 0, 'invoice', NULL, NULL, 'Training 1-8 September, 2018', '21072', 138, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18991, 15700, '2018-09-01', 'Debit', 1333.00, 0.00, 1399.65, 66.65, 1, 0, 'invoice', NULL, NULL, 'Training 1-8 September, 2018', '21073', 138, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18992, 15701, '2018-09-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 1, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '21074', 153, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18993, 1606, '2018-09-19', 'Credit', 525.00, 0.00, 525.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 166, 7, '2018-09-19', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(18994, 15702, '2018-09-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 1, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '21075', 215, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18995, 15703, '2018-09-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21076', 533, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18996, 15704, '2018-09-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21077', 360, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18997, 15705, '2018-09-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21078', 183, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18998, 15706, '2018-09-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21079', 139, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18999, 15707, '2018-09-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21080', 139, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19000, 15708, '2018-09-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21081', 139, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19001, 15709, '2018-09-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21082', 164, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19002, 15710, '2018-09-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21083', 164, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19003, 15711, '2018-09-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21084', 164, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19004, 1494, '2018-08-31', 'Debit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'charge', NULL, NULL, 'To reverse charge #01062/ wrong entry', NULL, 251, 13, '2018-09-19', NULL, 0, '0000-00-00', 1, 13, '2018-09-19', 0),
(19005, 1495, '2018-08-31', 'Debit', -1260.00, 0.00, -1260.00, 0.00, 2, 0, 'charge', NULL, NULL, 'To reverse charge #01063/ wrong entry', NULL, 251, 13, '2018-09-19', NULL, 1, '2018-09-19', 0, NULL, NULL, 0),
(19006, 1607, '2018-07-05', 'Credit', -1260.00, 0.00, -1260.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Refund to customer/ invoice no. 356 (deleted)/ advance payment not used', NULL, 251, 13, '2018-09-19', NULL, 1, '2018-09-19', 0, NULL, NULL, 0),
(19007, 1496, '2018-08-31', 'Debit', -488.00, 0.00, -488.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of charge #00302/ wrong entry', NULL, 515, 13, '2018-09-19', NULL, 1, '2018-09-19', 0, NULL, NULL, 0),
(19008, 1608, '2018-05-16', 'Credit', -488.00, 0.00, -488.00, 0.00, 3, 0, 'payment', 'cash', '', 'Refund to customer/ Overpayment (negative balance)', NULL, 515, 13, '2018-09-19', NULL, 1, '2018-09-19', 0, NULL, NULL, 0),
(19009, 1609, '2018-09-19', 'Credit', 882.00, 0.00, 882.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 406, 7, '2018-09-19', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19010, 15712, '2018-09-19', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Adj: Charge of 2 P4 Doze', '21085', 90, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19011, 1610, '2018-09-19', 'Credit', 1042.00, 0.00, 1042.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 90, 7, '2018-09-19', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19012, 1611, '2018-09-19', 'Credit', 6383.32, 0.00, 6383.32, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 598, 7, '2018-09-19', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19013, 1497, '2018-09-20', 'Debit', -1500.00, 0.00, -1500.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Re found Invoice Done in Nov 2017', NULL, 91, 11, '2018-09-20', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19014, 15713, '2017-12-28', 'Debit', 750.00, 0.00, 750.00, 0.00, 2, 0, 'invoice', NULL, NULL, '', '21086', 91, 11, '2018-09-20', NULL, 1, '2018-09-20', 0, NULL, NULL, 0),
(19015, 15714, '2017-12-28', 'Debit', 50.00, 0.00, 50.00, 0.00, 2, 0, 'invoice', NULL, NULL, '', '21087', 91, 11, '2018-09-20', NULL, 1, '2018-09-20', 0, NULL, NULL, 0),
(19016, 15715, '2018-01-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, '', '21088', 91, 11, '2018-09-20', NULL, 1, '2018-09-20', 0, NULL, NULL, 0),
(19017, 1498, '2018-08-31', 'Debit', 10000.00, 0.00, 10000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of charge #00844/ wrong entry', NULL, 259, 13, '2018-09-20', NULL, 1, '2018-09-20', 0, NULL, NULL, 0),
(19018, 1612, '2018-08-31', 'Credit', 10000.00, 0.00, 10000.00, 0.00, 3, 0, 'payment', 'cash', '', 'Payment by client for SAR10,000 through Mr. Mansour (charge as petty cash Mansour)', NULL, 259, 13, '2018-09-20', NULL, 1, '2018-09-20', 0, NULL, NULL, 0),
(19019, 1499, '2018-09-22', 'Debit', -10000.00, 0.00, -10000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Refundable Amount for Advance Deposit for Recipient # 34', NULL, 95, 7, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19020, 15716, '2018-09-22', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'Milad Recipient takeout (Embryo Transfer Excalibur - Stephana)', '21091', 95, 6, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19021, 15717, '2018-09-22', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'Milad Recipient takeout (Embryo Transfer Fahd Al Tinhat - El Sanadika)	\r\n', '21092', 95, 6, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19022, 15718, '2018-09-22', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd try done 31--5-2018 (Fahd Al Tinhat)	', '21093', 109, 6, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19023, 1613, '2018-09-22', 'Credit', 10000.00, 0.00, 10000.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 156, 7, '2018-09-22', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19024, 1614, '2018-09-22', 'Credit', 10000.00, 0.00, 10000.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 156, 7, '2018-09-22', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19025, 1615, '2018-09-22', 'Credit', 3358.78, 0.00, 3358.78, 0.00, 2, 0, 'payment', 'cash', '', 'Paid Balances', NULL, 156, 7, '2018-09-22', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19026, 15719, '2018-09-22', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21094,21095', 954, 7, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19027, 1616, '2018-09-22', 'Credit', 5000.00, 0.00, 5000.00, 0.00, 2, 0, 'payment', 'cash', '', 'Advance Payment', NULL, 954, 7, '2018-09-22', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19028, 1500, '2018-09-22', 'Debit', -20516.58, 0.00, -20516.58, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of invoice #24122 dated December 10, 2017/ Khalediah hospital invoice already paid by the client directly to Khalediah', NULL, 495, 13, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19029, 15720, '2018-09-21', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check In Date', '21096', 954, 7, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19030, 1501, '2018-09-22', 'Debit', -45675.00, 0.00, -45675.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Reduced charges (16 collections semen collections, semen test, semen storage)  approved by Mr. Nasir', NULL, 408, 13, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19031, 1502, '2018-09-23', 'Debit', 2500.00, 0.00, 2625.00, 125.00, 2, 0, 'charge', NULL, NULL, 'Nesj El Machiatto semen test charges for freeze (SERVICES IN MILAD)', NULL, 408, 6, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19032, 1503, '2018-09-23', 'Debit', 2850.00, 0.00, 2992.50, 142.50, 2, 0, 'charge', NULL, NULL, 'Nesj El Machiatto - Blood test charges CVRl Lab UAE (for export frozen semen) Serology, VNT for EVA, CEM (2 Times)  (AED 630+750+1350) = Approximately SAR. 2850 (Including bank commission) ', NULL, 408, 6, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19033, 1504, '2018-09-23', 'Debit', 2250.00, 0.00, 2362.50, 112.50, 2, 0, 'charge', NULL, NULL, 'Nesj El Machiatto - Shipment charges (Blood samples to UAE) Thru Fedex and by Road ', NULL, 408, 6, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19034, 15721, '2018-09-23', 'Debit', 1920.00, 0.00, 2016.00, 96.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes (Weekly once) for the month of May, June, July & August Total 16 dozes', '21097', 328, 6, '2018-09-23', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19035, 15722, '2018-09-22', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Transportation charges  round trip - Milad - Khalediah Hospital for collect blood samples (Total 4 horses in 2 truck)', '21098', 183, 6, '2018-09-23', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19036, 1505, '2018-09-10', 'Debit', -6000.00, 0.00, -6000.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Reversal of charge #01440/ wrong entry', NULL, 298, 13, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19037, 1617, '2018-03-30', 'Credit', 4676.40, 0.00, 4676.40, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received ', NULL, 168, 13, '2018-09-24', NULL, 1, '2018-09-24', 0, NULL, NULL, 0),
(19038, 1506, '2018-09-24', 'Debit', -5580.00, 0.00, -5859.00, -279.00, 1, 0, 'charge', NULL, NULL, 'Registration 5 Horses in AL TAIF Show', NULL, 94, 11, '2018-09-24', NULL, 1, '2018-09-24', 0, NULL, NULL, 0),
(19039, 1507, '2018-09-24', 'Debit', -4141.00, 0.00, -4141.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Registration 5 horses (  SAR 2,000 ) in AL TAIF Show\r\n', NULL, 94, 11, '2018-09-24', NULL, 1, '2018-09-24', 0, NULL, NULL, 0),
(19040, 1508, '2018-08-31', 'Debit', 3354.75, 0.00, 3354.75, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal entry for charge #01059/ wrong entry', NULL, 187, 13, '2018-09-24', NULL, 1, '2018-09-24', 0, NULL, NULL, 0),
(19041, 1618, '2018-07-05', 'Credit', -3354.75, 0.00, -3354.75, 0.00, 3, 0, 'payment', 'transfer', '', 'Refund invoice number 6624/ payment #830 dated 29042018', NULL, 187, 13, '2018-09-24', NULL, 1, '2018-09-24', 0, NULL, NULL, 0),
(19042, 15723, '2018-09-13', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18403 System Generated Invoice', '', 138, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19043, 15724, '2018-09-14', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18404 System Generated Invoice', '', 138, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19044, 15725, '2018-09-15', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18405 System Generated Invoice', '', 138, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19045, 15726, '2018-09-16', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18406 System Generated Invoice', '', 138, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19046, 15727, '2018-09-17', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18407 System Generated Invoice', '', 138, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19047, 15728, '2018-09-24', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18408 System Generated Invoice', '', 138, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19048, 15729, '2018-09-01', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18410 System Generated Invoice', '', 139, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19049, 15730, '2018-09-02', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18411 System Generated Invoice', '', 139, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19050, 15731, '2018-09-03', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18412 System Generated Invoice', '', 139, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19051, 15732, '2018-09-04', 'Debit', 320.00, 0.00, 336.00, 16.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18413 System Generated Invoice', '', 139, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19052, 15733, '2018-09-05', 'Debit', 340.00, 0.00, 357.00, 17.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18414 System Generated Invoice', '', 139, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19053, 1619, '2017-10-31', 'Credit', 1000.00, 0.00, 1000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Forwarded payment from Wise Option', NULL, 336, 13, '2018-09-25', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19054, 1509, '2017-12-31', 'Debit', 3841.00, 0.00, 3841.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded charges from wise option', NULL, 336, 13, '2018-09-25', NULL, 1, '2018-09-25', 0, NULL, NULL, 0),
(19055, 1620, '2018-02-22', 'Credit', 2841.00, 0.00, 2841.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (ref. JV #1379)', NULL, 336, 13, '2018-09-25', NULL, 1, '2018-09-25', 0, NULL, NULL, 0),
(19056, 1510, '2018-09-25', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'charge', NULL, NULL, 'Charges for Pen Strep 3 bottles given for  Ceterina, Reef, Sara, Imperial Mist, Alegra, Zanobia, Maria Mazna', NULL, 183, 6, '2018-09-25', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19057, 1621, '2017-11-04', 'Credit', 9500.00, 0.00, 9500.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received from wise option ', NULL, 141, 13, '2018-09-25', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19058, 1511, '2017-12-31', 'Debit', 15546.32, 0.00, 15546.32, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance (wise option)', NULL, 141, 13, '2018-09-25', NULL, 1, '2018-09-25', 0, NULL, NULL, 0),
(19059, 1622, '2018-02-04', 'Credit', 6046.32, 0.00, 6046.32, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 141, 13, '2018-09-25', NULL, 1, '2018-09-25', 0, NULL, NULL, 0),
(19060, 1512, '2017-12-31', 'Debit', 3010.94, 0.00, 3010.94, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 319, 13, '2018-09-25', NULL, 1, '2018-09-25', 0, NULL, NULL, 0),
(19061, 1623, '2017-12-31', 'Credit', -27075.94, 0.00, -27075.94, 0.00, 3, 0, 'payment', 'transfer', '', 'Reversal of payment #01209/ wrong date entered', NULL, 319, 13, '2018-09-25', NULL, 1, '2018-09-25', 0, NULL, NULL, 0),
(19062, 1624, '2018-03-14', 'Credit', 27075.94, 0.00, 27075.94, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received', NULL, 319, 13, '2018-09-25', NULL, 1, '2018-09-25', 0, NULL, NULL, 0),
(19063, 15734, '2018-09-25', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Abdul Ellah Al Mansour', '21120', 160, 7, '2018-09-25', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19064, 1625, '2018-09-25', 'Credit', 1260.00, 0.00, 1260.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15734', NULL, 160, 7, '2018-09-25', 19063, 1, '2018-10-06', 0, NULL, NULL, 0),
(19065, 1626, '2018-09-25', 'Credit', 730.00, 0.00, 730.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 79, 7, '2018-09-25', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19066, 1627, '2018-09-24', 'Credit', 30000.00, 0.00, 30000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 431, 7, '2018-09-26', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19067, 1628, '2018-09-26', 'Credit', 20000.00, 0.00, 20000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 344, 7, '2018-09-26', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19068, 15735, '2018-09-26', 'Debit', 15000.00, 0.00, 15000.00, 0.00, 3, 0, 'invoice', NULL, NULL, 'Sold Recipient/Pony c/o Mansoor Al Saeed', '21121', 160, 7, '2018-09-26', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19069, 15736, '2018-09-26', 'Debit', 500.00, 0.00, 525.00, 25.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Abdulrahmanm Al Farhan', '21122', 160, 7, '2018-09-26', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19070, 1629, '2018-09-26', 'Credit', 525.00, 0.00, 525.00, 0.00, 3, 0, 'payment', 'cash', '', 'Reference Invoice #15736', NULL, 160, 7, '2018-09-26', 19069, 1, '2018-11-05', 0, NULL, NULL, 0),
(19071, 1630, '2018-09-26', 'Credit', 15000.00, 0.00, 15000.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15735', NULL, 160, 7, '2018-09-26', 19068, 1, '2018-10-06', 0, NULL, NULL, 0),
(19072, 15737, '2018-09-27', 'Debit', 1149.50, 0.00, 1206.98, 57.48, 2, 0, 'invoice', NULL, NULL, 'Foal of Kalahari (Treatment done in Al Fala Stud) Ref. 01-1253 Dt: 26-09-2018', '21123', 150, 6, '2018-09-27', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19073, 15738, '2018-09-27', 'Debit', 660.00, 0.00, 693.00, 33.00, 2, 0, 'invoice', NULL, NULL, 'Foal of Zumarruda (Treatment done in Al Fala Stud) Ref. 01-1254 Dt: 26-9-2018', '21124', 150, 6, '2018-09-27', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19074, 15739, '2018-09-01', 'Debit', 2996.00, 0.00, 3145.80, 149.80, 2, 0, 'invoice', NULL, NULL, 'Natalia (Al Fala Stud) Ref: 01 -1076 Dt: 20-08-2018', '21125', 150, 6, '2018-09-27', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19075, 15740, '2018-09-01', 'Debit', 1221.00, 0.00, 1282.05, 61.05, 2, 0, 'invoice', NULL, NULL, 'Natalia (Al Fala Stud) Ref: 01 -1076 Dt: 20-08-2018', '21126', 150, 6, '2018-09-27', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19076, 1513, '2018-09-01', 'Debit', 2250.00, 0.00, 2362.50, 112.50, 2, 0, 'charge', NULL, NULL, 'Alexxanderr - Shipment charges (Blood samples to UAE) Thru Fedex and by Road', NULL, 138, 6, '2018-09-27', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19077, 1631, '2018-09-27', 'Credit', 19223.00, 0.00, 19223.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 559, 7, '2018-09-27', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19078, 15741, '2018-09-27', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'Contract#5000-002; Stallion: Magid Moniscione', '21129,21130', 348, 7, '2018-09-27', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19079, 1514, '2018-09-27', 'Debit', -10000.00, 0.00, -10500.00, -500.00, 2, 0, 'charge', NULL, NULL, 'Reversal of Invoice #11050 (Embryo transfer of Alexxanderr Seta III Recp. 98)/ Embryo succeed but lost thereafter/ Mr. Nasir confirmed to reduce recipient lease charges of SAR10,000./ Per instruction of Mr. Rafi.', NULL, 146, 13, '2018-09-27', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19080, 15742, '2018-09-27', 'Debit', 800.00, 0.00, 840.00, 40.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Turki Al Enazi', '21131', 160, 7, '2018-09-27', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19081, 1632, '2018-09-27', 'Credit', 840.00, 0.00, 840.00, 0.00, 3, 0, 'payment', 'cash', '', 'Reference Invoice #15742', NULL, 160, 7, '2018-09-27', 19080, 1, '2018-11-05', 0, NULL, NULL, 0),
(19082, 15743, '2018-06-27', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18417 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19083, 15744, '2018-08-26', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18418 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19084, 15745, '2018-07-20', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18419 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19085, 15746, '2018-07-24', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18420 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19086, 15747, '2018-08-15', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18421 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19087, 15748, '2018-08-16', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18422 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19088, 15749, '2018-08-20', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18423 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19089, 15750, '2018-08-31', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18424 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19090, 15751, '2018-09-03', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18425 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19091, 15752, '2018-09-04', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18426 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19092, 15753, '2018-09-05', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18427 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19093, 15754, '2018-07-14', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18428 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19094, 15755, '2018-09-14', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18429 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19095, 15756, '2018-07-14', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18430 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19096, 15757, '2018-09-14', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18431 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19097, 15758, '2018-07-14', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18432 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19098, 15759, '2018-09-14', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18433 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19099, 15760, '2018-07-14', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18434 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19100, 15761, '2018-09-14', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18435 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19101, 15762, '2018-07-31', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18436 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19102, 15763, '2018-09-29', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18437 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19103, 15764, '2018-08-29', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18438 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19104, 15765, '2018-09-04', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18439 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19105, 15766, '2018-09-12', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18440 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19106, 15767, '2018-09-12', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18441 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19107, 15768, '2018-09-29', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18442 System Generated Invoice', '', 327, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19108, 1633, '2018-09-30', 'Credit', 572.00, 0.00, 572.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 301, 7, '2018-09-30', NULL, 0, '0000-00-00', 1, 7, '2018-09-30', 0),
(19109, 15769, '2018-09-20', 'Debit', 1333.40, 0.00, 1400.07, 66.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 20 days ) Checkout Date in 20 SEP 2018', '21158', 71, 11, '2018-09-30', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19110, 15770, '2018-09-20', 'Debit', 1920.00, 0.00, 2016.00, 96.00, 2, 0, 'invoice', NULL, NULL, 'P4 Medicines for 4 months', '21159', 71, 11, '2018-09-30', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19111, 15771, '2018-09-30', 'Debit', 600.00, 0.00, 600.00, 0.00, 3, 0, 'invoice', NULL, NULL, 'c/o Mansoor, Cust Name: Mohammad Bin Saeed, Trip to Amariya (Back & Forth)', '21160', 160, 7, '2018-09-30', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19112, 1634, '2018-09-30', 'Credit', 600.00, 0.00, 600.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15771', NULL, 160, 7, '2018-09-30', 19111, 1, '2018-11-05', 0, NULL, NULL, 0),
(19113, 1515, '2018-10-01', 'Debit', -1840.08, 0.00, -1932.08, -92.00, 2, 0, 'charge', NULL, NULL, 'Discount approved by Mr. Nasir (Ref. Invoice #15390 boarding July 1 to 24 2018)/ Mare: Sophia with Colt', NULL, 280, 13, '2018-10-01', NULL, 1, '2018-10-30', 0, NULL, NULL, 0),
(19114, 1635, '2018-09-30', 'Credit', 9400.00, 0.00, 9400.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 595, 7, '2018-10-01', NULL, 1, '2018-10-07', 0, NULL, NULL, 0),
(19115, 1636, '2018-09-30', 'Credit', 572.00, 0.00, 572.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 301, 7, '2018-10-01', NULL, 1, '2018-10-07', 0, NULL, NULL, 0),
(19116, 15772, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Sep, 2018', '21161', 489, 6, '2018-10-01', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19117, 1637, '2018-09-30', 'Credit', 50000.00, 0.00, 50000.00, 0.00, 3, 0, 'payment', 'cash', '', 'Deduct SAR50000 and charge to Mr. Nasir account/ This amount is for sponsorship to Jeddah Show', NULL, 501, 13, '2018-10-02', NULL, 1, '2018-10-02', 0, NULL, NULL, 0),
(19118, 1516, '2018-10-02', 'Debit', 16625.00, 0.00, 16625.00, 831.25, 2, 0, 'charge', NULL, NULL, 'Breeding: ZT FAA\'IQ', NULL, 955, 7, '2018-10-02', NULL, 0, '0000-00-00', 1, 7, '2018-10-02', 0),
(19119, 1517, '2018-10-02', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'charge', NULL, NULL, 'Handling Fee: ZT FAA\'IQ', NULL, 955, 7, '2018-10-02', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19120, 1518, '2018-10-02', 'Debit', 16625.00, 0.00, 17456.25, 831.25, 2, 0, 'charge', NULL, NULL, 'Breeding: ZT FAA\'IQ', NULL, 955, 7, '2018-10-02', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19121, 1638, '2018-10-02', 'Credit', 19556.25, 0.00, 19556.25, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances: ZT FAA\'IQ', NULL, 955, 7, '2018-10-02', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19122, 15773, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding 30 Days in Moth of  SEP 2018', '21162', 360, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19123, 15774, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of SEP 2018', '21163', 375, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19124, 15775, '2018-09-30', 'Debit', 997.00, 0.00, 1046.85, 49.85, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21164', 183, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19125, 15776, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21165', 183, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19126, 15777, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21166', 183, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19127, 15778, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21167', 183, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19128, 15779, '2018-09-30', 'Debit', 1133.39, 0.00, 1190.06, 56.67, 2, 0, 'invoice', NULL, NULL, 'After Separated Colt Boarding 17 Days ( 14 - 30 SEP 2018 )', '21170', 183, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19129, 15780, '2018-09-30', 'Debit', 1133.39, 0.00, 1190.06, 56.67, 2, 0, 'invoice', NULL, NULL, 'Separated from ALEGRA ( Boarding 14 - 30 SEP 2018 )', '21169', 183, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19130, 15781, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21168', 183, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19131, 15782, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in Month of SEP 2018', '21171', 509, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19132, 15783, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21172', 81, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19133, 1639, '2018-09-05', 'Credit', -525.00, 0.00, -525.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Customer Refund for Invoice #14221 & payment #01302(The horse died and transportation charges refunded)', NULL, 160, 13, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19134, 15784, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in month of SEP 2018', '21173', 439, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19135, 15785, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in Month of SEP 2018', '21174', 164, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19136, 15786, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in Month of SEP 2018', '21175', 164, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19137, 15787, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in Month of SEP 2018', '21176', 164, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19138, 15788, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in Month of SEP 2018', '21177', 164, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19139, 15789, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in Month of SEP 2018', '21178', 164, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19140, 15790, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in Month of SEP 2018', '21179', 164, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19141, 15791, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in Month of SEP 2018', '21180', 164, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19142, 15792, '2018-09-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in Month of SEP 2018', '21181', 164, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19143, 15793, '2018-09-30', 'Debit', 667.00, 0.00, 700.35, 33.35, 2, 0, 'invoice', NULL, NULL, '( 10 Days Boarding at 30 SEP 2018 ) Check in Date 21 SEP 2018', '21182', 954, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19144, 15794, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21183', 328, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19145, 15795, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding  30 Days in SEP 2018 ', '21184', 533, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19146, 15796, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding  30 Days in SEP 2018 ', '21185', 534, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19147, 15797, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding  30 Days in SEP 2018 ', '21186', 534, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19148, 15798, '2018-09-30', 'Debit', 1133.39, 0.00, 1190.06, 56.67, 2, 0, 'invoice', NULL, NULL, '	Boarding 17 Days in Month of SEP 2018', '21187', 354, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19149, 15799, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21188', 418, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19150, 15800, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21189', 348, 11, '2018-10-03', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19151, 15801, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21190', 479, 11, '2018-10-03', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19152, 15802, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21191', 479, 11, '2018-10-03', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19153, 1519, '2018-09-30', 'Debit', -6352.50, 0.00, -6352.50, 0.00, 2, 0, 'charge', NULL, NULL, ' ( SS DANA ) Horse Related to Customer Name Abdulaziz Al Mudemegh ( Transfer the Balance of SS DANA ) ', NULL, 71, 11, '2018-10-03', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(19154, 1520, '2018-09-30', 'Debit', -4000.00, 0.00, -4000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Re class O.B', NULL, 71, 11, '2018-10-03', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19155, 15803, '2018-10-03', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Al Bugami', '21192', 160, 7, '2018-10-03', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19156, 1640, '2018-10-03', 'Credit', 157.50, 0.00, 157.50, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15803', NULL, 160, 7, '2018-10-03', 19155, 1, '2018-11-05', 0, NULL, NULL, 0),
(19157, 1641, '2018-10-03', 'Credit', 430.50, 0.00, 430.50, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 496, 7, '2018-10-03', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19158, 1521, '2018-09-30', 'Debit', 6050.00, 0.00, 6352.50, 302.50, 2, 0, 'charge', NULL, NULL, '( SS DANA ) Horse Related to Customer Name Abdulaziz Al Mudemegh ( Transfer the Balance of SS DANA )', NULL, 301, 11, '2018-10-04', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(19159, 1522, '2018-09-30', 'Debit', -4000.00, 0.00, -4200.00, -200.00, 2, 0, 'charge', NULL, NULL, 'Reference Invoice #01521 - Change his Contract from Frozen to Fresh Semen for SS DANA', NULL, 301, 11, '2018-10-04', 19158, 1, '2018-10-04', 0, NULL, NULL, 0),
(19160, 15804, '2018-09-30', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, ' Change his Contract from Frozen to Fresh Semen for SS DANA', '21193,21194', 301, 11, '2018-10-04', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19161, 15805, '2018-09-30', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, ' Change his Contract from Frozen to Fresh Semen for SS DANA - Semen Collection 2 Time \r\n( Excalipar )', '21195', 301, 11, '2018-10-04', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19162, 1523, '2018-09-30', 'Debit', -1575.00, 0.00, -1575.00, -75.00, 2, 0, 'charge', NULL, NULL, 'Refund to Customers (Services not used)', NULL, 506, 13, '2018-10-04', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(19163, 1642, '2018-09-30', 'Credit', -1575.00, 0.00, -1575.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Refund of payment to customer (Reference: Payment #724)', NULL, 506, 13, '2018-10-04', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(19164, 15806, '2018-10-04', 'Debit', 400.00, 0.00, 420.00, 20.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Yousef AlAoni', '21196', 160, 7, '2018-10-04', NULL, 1, '2018-11-01', 0, NULL, NULL, 0);
INSERT INTO `invoice` (`invoice_id`, `invoice_code`, `date`, `kind`, `amount`, `discount`, `net_amount`, `tax_amount`, `cc_id`, `opening_balance`, `transaction_type`, `method`, `reference_num`, `description`, `procedures`, `customer_ref`, `created_by`, `created_date`, `related_invoice`, `confirmed`, `confirmed_date`, `is_deleted`, `deleted_by`, `deleted_date`, `is_refunded`) VALUES
(19165, 1643, '2018-10-04', 'Credit', 420.00, 0.00, 420.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15806', NULL, 160, 7, '2018-10-04', 19164, 1, '2018-11-05', 0, NULL, NULL, 0),
(19166, 1524, '2018-09-30', 'Debit', 25000.00, 0.00, 26250.00, 1250.00, 2, 0, 'charge', NULL, NULL, 'Released 25 Dozes Alexxanderr  ( 1 Doze = 1000 SAR) 200 Straws Approved by Abdul Aziz Al Bargash', NULL, 183, 6, '2018-10-04', NULL, 1, '2018-10-07', 0, NULL, NULL, 0),
(19167, 1525, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 2, 0, 'charge', NULL, NULL, 'Released 5 Dozes Validore  ( 1 Doze = 1000 SAR) 40 Straws Approved by Abdul Aziz Al Bargash', NULL, 183, 6, '2018-10-04', NULL, 1, '2018-10-07', 0, NULL, NULL, 0),
(19168, 15807, '2018-10-06', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, '', '21198', 160, 7, '2018-10-06', NULL, 0, '0000-00-00', 1, 7, '2018-10-06', 0),
(19169, 1644, '2018-10-06', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15807', NULL, 160, 7, '2018-10-06', 19168, 0, '0000-00-00', 1, 7, '2018-10-06', 0),
(19170, 15808, '2018-10-06', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, 'Cust NAme: Hamza', '21199', 160, 7, '2018-10-06', NULL, 0, '0000-00-00', 1, 7, '2018-10-06', 0),
(19171, 1645, '2018-10-06', 'Credit', 157.50, 0.00, 157.50, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15808', NULL, 160, 7, '2018-10-06', 19170, 0, '0000-00-00', 1, 7, '2018-10-06', 0),
(19172, 15809, '2018-10-06', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'Abha Qatar', '21200,21201', 956, 7, '2018-10-06', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19173, 1646, '2018-10-06', 'Credit', 6200.00, 0.00, 6200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15809', NULL, 956, 7, '2018-10-06', 19172, 1, '2018-11-05', 0, NULL, NULL, 0),
(19174, 1647, '2018-09-30', 'Credit', -647.50, 0.00, -647.50, 0.00, 3, 0, 'payment', 'transfer', '', 'Refund to customer (Payment #1)', NULL, 91, 13, '2018-10-06', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19175, 15810, '2018-10-06', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Abdulrahman', '21203', 160, 7, '2018-10-06', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19176, 1648, '2018-10-06', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15810', NULL, 160, 7, '2018-10-06', 19175, 1, '2018-11-05', 0, NULL, NULL, 0),
(19177, 15811, '2018-10-06', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Abdulrahman', '21204', 160, 7, '2018-10-06', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19178, 1649, '2018-10-06', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15811', NULL, 160, 7, '2018-10-06', 19177, 1, '2018-11-05', 0, NULL, NULL, 0),
(19179, 15812, '2018-10-06', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Munzi', '21205', 160, 7, '2018-10-06', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19180, 1650, '2018-10-06', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15812', NULL, 160, 7, '2018-10-06', 19179, 1, '2018-11-05', 0, NULL, NULL, 0),
(19181, 15813, '2018-09-30', 'Debit', 1600.08, 0.00, 1680.08, 80.00, 2, 0, 'invoice', NULL, NULL, 'Arrived from Haqbani Stud 6-Sep-2018 ( Boarding 7-Sep to 30-Sep-2018)', '21206', 525, 6, '2018-10-06', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19182, 15814, '2018-09-30', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes for the month of September, 2018', '21207', 525, 6, '2018-10-06', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19183, 1651, '2018-10-06', 'Credit', 2085.46, 0.00, 2085.46, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 525, 7, '2018-10-06', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19184, 1652, '2018-10-06', 'Credit', 346.50, 0.00, 346.50, 0.00, 2, 0, 'payment', 'cash', '', 'Paid Balances', NULL, 219, 7, '2018-10-06', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19185, 1526, '2018-09-30', 'Debit', -500.00, 0.00, -525.00, -25.00, 2, 0, 'charge', NULL, NULL, 'Refund for Reference invoice #14221', NULL, 160, 13, '2018-10-07', NULL, 1, '2018-10-07', 0, NULL, NULL, 0),
(19186, 1653, '2018-10-07', 'Credit', 50000.00, 0.00, 50000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Advances Payment from his Balance ( Received By Mansour al said )', NULL, 95, 11, '2018-10-07', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19187, 15815, '2018-10-07', 'Debit', 1600.00, 0.00, 1680.00, 80.00, 2, 0, 'invoice', NULL, NULL, 'Thafer Al Hajri ( Received By Mansour Al said ) 8 pics', '21208', 160, 11, '2018-10-07', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19188, 1654, '2018-10-07', 'Credit', 1680.00, 0.00, 1680.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Thafer Al Hajri ( Received By Mansour Al said )', NULL, 160, 11, '2018-10-07', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19189, 15816, '2018-10-07', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Zahid', '21209', 160, 7, '2018-10-07', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19190, 1655, '2018-10-07', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15816', NULL, 160, 7, '2018-10-07', 19189, 1, '2018-11-05', 0, NULL, NULL, 0),
(19191, 15817, '2018-10-07', 'Debit', 100.00, 0.00, 100.00, 0.00, 3, 0, 'invoice', NULL, NULL, 'Trip to Fahad Obaili to Abu Majed Stable c/o Mansoor', '21210', 160, 7, '2018-10-07', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19192, 1656, '2018-10-07', 'Credit', 100.00, 0.00, 100.00, 0.00, 3, 0, 'payment', 'cash', '', 'Reference Invoice #15817', NULL, 160, 7, '2018-10-07', 19191, 1, '2018-11-05', 0, NULL, NULL, 0),
(19193, 15818, '2018-10-07', 'Debit', 400.00, 0.00, 420.00, 20.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Salman AlBahoth', '21211', 160, 7, '2018-10-07', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19194, 1657, '2018-10-07', 'Credit', 420.00, 0.00, 420.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15818', NULL, 160, 7, '2018-10-07', 19193, 1, '2018-11-05', 0, NULL, NULL, 0),
(19195, 15819, '2018-09-30', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Free - Breed stallion - No Boarding charges for the month of Sep, 2018', '21212', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19196, 15820, '2018-09-30', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Free - Breed stallion - No Boarding charges for the month of Sep, 2018', '21215', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19197, 15821, '2018-09-30', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Free - Breed stallion - No Boarding charges for the month of Sep, 2018', '21214', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19198, 15822, '2018-09-30', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Free - Breed stallion - No Boarding charges for the month of Sep, 2018', '21213', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19199, 15823, '2018-09-01', 'Debit', 2500.00, 0.00, 2625.00, 125.00, 2, 0, 'invoice', NULL, NULL, 'Alexxanderr - semen test charges for freeze (SERVICES IN MILAD)', '21127', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19200, 15824, '2018-09-01', 'Debit', 2850.00, 0.00, 2992.50, 142.50, 2, 0, 'invoice', NULL, NULL, 'Alexxanderr- Blood test charges CVRl Lab UAE (for export frozen semen) Serology, VNT for EVA, CEM (2 Times) (AED 630+750+1350) = Approximately SAR. 2850 (Including bank commission)', '21128', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19201, 15825, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 1, 0, 'invoice', NULL, NULL, 'Entry fee paid for Taif Show - 2018', '21007', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19202, 15826, '2018-09-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 1, 0, 'invoice', NULL, NULL, 'Entry fee paid for Taif Show - 2018', '21008', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19203, 15827, '2018-09-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Sep, 2018', '21216', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19204, 15828, '2018-09-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Sep, 2018', '21217', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19205, 1527, '2018-09-30', 'Debit', -5911.58, 0.00, -5911.58, 0.00, 3, 0, 'charge', NULL, NULL, 'Discount approved by Mr. Nasir', NULL, 604, 13, '2018-10-08', NULL, 1, '2018-10-08', 0, NULL, NULL, 0),
(19206, 15829, '2018-10-08', 'Debit', 500.00, 0.00, 525.00, 25.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Mohammed AlGaad, Trip to Khalediah Hosp', '21218', 160, 7, '2018-10-08', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19207, 1658, '2018-10-08', 'Credit', 525.00, 0.00, 525.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15829', NULL, 160, 7, '2018-10-08', 19206, 1, '2018-11-05', 0, NULL, NULL, 0),
(19208, 15830, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21219', 138, 6, '2018-10-08', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19209, 15831, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21220', 138, 6, '2018-10-08', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19210, 15832, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21224', 138, 6, '2018-10-08', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19211, 15833, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21221', 138, 6, '2018-10-08', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19212, 15834, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21226', 138, 6, '2018-10-08', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19213, 15835, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21222', 138, 6, '2018-10-08', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19214, 15836, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21223', 138, 6, '2018-10-08', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19215, 15837, '2018-09-30', 'Debit', 2270.10, 0.00, 2383.60, 113.50, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018 (Colt of Justina Alsayed dead on 27-Sep-2018)', '21231,21232', 138, 6, '2018-10-08', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19216, 15838, '2018-10-09', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18443 System Generated Invoice', '', 138, 10, '2018-10-09', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19217, 15839, '2018-10-09', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18444 System Generated Invoice', '', 138, 10, '2018-10-09', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19218, 15840, '2018-10-09', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18445 System Generated Invoice', '', 183, 10, '2018-10-09', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19219, 15841, '2018-10-09', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18446 System Generated Invoice', '', 164, 10, '2018-10-09', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19220, 15842, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21225', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19221, 15843, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21227', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19222, 15844, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21228', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19223, 15845, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21229', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19224, 15846, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21230', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19225, 15847, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21233', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19226, 15848, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21240', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19227, 15849, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21238', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19228, 15850, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21239', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19229, 15851, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21241', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19230, 15852, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21242', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19231, 15853, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21243', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19232, 15854, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21244', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19233, 15855, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21245', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19234, 15856, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21246', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19235, 15857, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21247', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19236, 15858, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21248', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19237, 15859, '2018-09-30', 'Debit', 1133.39, 0.00, 1190.06, 56.67, 2, 0, 'invoice', NULL, NULL, 'Boarding 13-30 Sep-2018 (Arrived from Tadawi Hospital ', '21249', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19238, 15860, '2018-10-09', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21253,21254', 522, 7, '2018-10-09', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19239, 1659, '2018-10-09', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15860', NULL, 522, 7, '2018-10-09', 19238, 1, '2018-11-05', 0, NULL, NULL, 0),
(19240, 15861, '2018-10-09', 'Debit', 400.00, 0.00, 420.00, 20.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Ali Al Hashim', '21255', 160, 7, '2018-10-09', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19241, 1660, '2018-10-09', 'Credit', 420.00, 0.00, 420.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15861', NULL, 160, 7, '2018-10-09', 19240, 1, '2018-11-05', 0, NULL, NULL, 0),
(19242, 15862, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of Sep, 2018', '21258', 138, 6, '2018-10-09', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19243, 15863, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Sep, 2018', '21259', 138, 6, '2018-10-09', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19244, 15864, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Sep, 2018', '21257', 138, 6, '2018-10-09', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19245, 15865, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 2, 0, 'invoice', NULL, NULL, 'Training for the month of Sep, 2018', '21256', 138, 6, '2018-10-09', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19246, 15866, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of Sep, 2018', '21250', 138, 6, '2018-10-09', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19247, 15867, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of Sep, 2018', '21251', 138, 6, '2018-10-09', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19248, 15868, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of Sep, 2018', '21252', 138, 6, '2018-10-09', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19249, 15869, '2018-10-10', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21260,21261', 957, 7, '2018-10-10', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19250, 1661, '2018-10-10', 'Credit', 4000.00, 0.00, 4000.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15869', NULL, 957, 7, '2018-10-10', 19249, 1, '2018-11-05', 0, NULL, NULL, 0),
(19251, 1662, '2018-10-10', 'Credit', 200.00, 0.00, 200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15869', NULL, 957, 7, '2018-10-10', 19249, 1, '2018-11-05', 0, NULL, NULL, 0),
(19252, 15870, '2018-10-10', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Sahoud AlBugami', '21262', 160, 7, '2018-10-10', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19253, 1663, '2018-10-10', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15870', NULL, 160, 7, '2018-10-10', 19252, 1, '2018-11-05', 0, NULL, NULL, 0),
(19254, 1664, '2018-10-10', 'Credit', 8000.00, 0.00, 8000.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances c/o Mansoor Al Saeed', NULL, 348, 7, '2018-10-10', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19255, 15871, '2018-09-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Charges for Filling Nitrogen in Container (Sep- 2018) For month SAR. 1000/-', '21277', 138, 6, '2018-10-10', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19256, 1528, '2018-10-01', 'Debit', -1280.00, 0.00, -1280.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Be-gaining Balance Related to Abdullah Bin Saleh Bin Abdullah Al Okial', NULL, 425, 11, '2018-10-11', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19257, 1529, '2018-10-01', 'Debit', 1280.00, 0.00, 1280.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Beginning  Balance for Abdullah Bin Saleh Bin Abdullah Al Okail', NULL, 958, 11, '2018-10-11', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19258, 1530, '2018-10-11', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'charge', NULL, NULL, 'Charges for extra dose CAVALLI ', NULL, 455, 6, '2018-10-11', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19259, 15872, '2018-09-08', 'Debit', 6000.00, 0.00, 6300.00, 300.00, 1, 0, 'invoice', NULL, NULL, 'Taif Show - 2018', '21278', 138, 6, '2018-10-11', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19260, 1665, '2018-10-11', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #01530', NULL, 455, 7, '2018-10-11', 19258, 1, '2018-11-05', 0, NULL, NULL, 0),
(19261, 15873, '2018-09-08', 'Debit', 6000.00, 0.00, 6300.00, 300.00, 1, 0, 'invoice', NULL, NULL, 'Taif Show - 2018', '21279', 138, 6, '2018-10-11', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19262, 1531, '2018-08-31', 'Debit', -2163.00, 0.00, -2163.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Reference invoice numbers 15626, 15624, 15625, 15627, 15628, 15629, 15630, 15631 (late charges by doctors)', NULL, 138, 13, '2018-10-11', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19263, 15874, '2018-09-30', 'Debit', 2099.40, 0.00, 2204.37, 104.97, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Sep, 2018', '21265,21276', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19264, 15875, '2018-09-30', 'Debit', 3333.00, 0.00, 3499.65, 166.65, 1, 0, 'invoice', NULL, NULL, 'Training  for the month of Sep, 2018', '21266', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19265, 15876, '2018-09-30', 'Debit', 1333.40, 0.00, 1400.07, 66.67, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 20-30 Sep, 2018', '21275', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19266, 15877, '2018-09-30', 'Debit', 1000.05, 0.00, 1050.05, 50.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 16-30 Sep, 2018', '21273', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19267, 15878, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Sep, 2018', '21274', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19268, 15879, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training  for the month of Sep, 2018', '21267', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19269, 15880, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training  for the month of Sep, 2018', '21269', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19270, 15881, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training  for the month of Sep, 2018', '21272', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19271, 15882, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training  for the month of Sep, 2018', '21271', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19272, 15883, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 2, 0, 'invoice', NULL, NULL, 'Training  for the month of Sep, 2018', '21264', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19273, 15884, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 2, 0, 'invoice', NULL, NULL, 'Training  for the month of Sep, 2018', '21263', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19274, 15885, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 2, 0, 'invoice', NULL, NULL, 'Training  for the month of Sep, 2018', '21268', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19275, 15886, '2018-09-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed - Training horses for the month of Sep, 2018', '21284', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19276, 15887, '2018-09-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed - Training horses for the month of Sep, 2018', '21283', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19277, 15888, '2018-09-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed - Training horses for the month of Sep, 2018', '21282', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19278, 1532, '2018-09-30', 'Debit', -6599.00, 0.00, -6928.95, -329.95, 1, 0, 'charge', NULL, NULL, '10% discount for the month of September (Training Center Invoices)/ Total amount SAR69,298', NULL, 138, 13, '2018-10-13', NULL, 1, '2018-10-13', 0, NULL, NULL, 0),
(19279, 1533, '2018-09-30', 'Debit', -13287.20, 0.00, -13951.56, -664.36, 2, 0, 'charge', NULL, NULL, '20% discount for the month of September 2018 (Reproduction invoices)/ Total amount SAR66,436.', NULL, 138, 13, '2018-10-13', NULL, 1, '2018-10-13', 0, NULL, NULL, 0),
(19280, 1534, '2018-09-15', 'Debit', -2280.00, 0.00, -2394.00, -114.00, 1, 0, 'charge', NULL, NULL, 'Reference Invoice #01532/ Reversal of double Farrier charges/ Reference invoices: Invoice 15566, 15569, 15571, 15572, 15585, 15588, 15596, 15597, 15573, 15581, 15583, 15593', NULL, 138, 13, '2018-10-13', 19278, 1, '2018-10-13', 0, NULL, NULL, 0),
(19281, 15889, '2018-09-30', 'Debit', 2520.00, 0.00, 2646.00, 126.00, 1, 0, 'invoice', NULL, NULL, 'Trim Horses (Sep, 2018) Services in Milad: Miss Bella Rose, Filly Dasha Arabco, Mirsal Alsayed, Adeeb Alsayed, Colt of Delight\'s Divah, Filly of Villanova, Colt of Espa, Colt of Nuzyrma Dinn, Filly of Prestic, Filly of Kaheela, Colt of Anilla, Colt of Mera Al Sayed, Colt of Zana, Colt of Miss Bella Rose, Saden Al Sayed, Filly of RD Lorella, Filly of Psytadelic Mist, Colt of RD Capella (Farrier Shoukath: Zana, Espa, Colt of Shanina)', '21280', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19282, 15890, '2018-09-30', 'Debit', 1800.00, 0.00, 1890.00, 90.00, 1, 0, 'invoice', NULL, NULL, 'Shoeing (Sep, 2018) Services in Milad: Validoro, Alexxanderr, Delight\'s Divah, Jahwarat Al Sahra, LR Era, Prestic', '21281', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19283, 1535, '2018-09-30', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'charge', NULL, NULL, 'Visiting Stable charges (Milad Vet 2 times in Aug & Sep, 2018) for pregnancy mares vaccinations (Each visit SAR. 250/-)', NULL, 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19284, 15891, '2018-09-30', 'Debit', 400.00, 0.00, 420.00, 20.00, 2, 0, 'invoice', NULL, NULL, '5th & 7th month pregnancy vaccinations (Services done in Al Sayed Stud)', '21285', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19285, 15892, '2018-09-30', 'Debit', 400.00, 0.00, 420.00, 20.00, 2, 0, 'invoice', NULL, NULL, '5th & 7th month pregnancy vaccinations (Services done in Al Sayed Stud)', '21286', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19286, 15893, '2018-09-30', 'Debit', 400.00, 0.00, 420.00, 20.00, 2, 0, 'invoice', NULL, NULL, '5th month pregnancy vaccinations (Services done in Al Sayed Stud)', '21287', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19287, 15894, '2018-09-30', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, '5th  month pregnancy vaccinations (Services done in Al Sayed Stud)', '21289', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19288, 15895, '2018-09-30', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, '5th  month pregnancy vaccinations (Services done in Al Sayed Stud)', '21291', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19289, 15896, '2018-09-30', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, '5th month pregnancy vaccinations (Services done in Al Sayed Stud)', '21290', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19290, 15897, '2018-09-30', 'Debit', 400.00, 0.00, 420.00, 20.00, 2, 0, 'invoice', NULL, NULL, '5th & 7th month pregnancy vaccinations (Services done in Al Sayed Stud)', '21288', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19291, 1666, '2018-10-03', 'Credit', 3210.00, 0.00, 3210.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances: Partial Payment', NULL, 618, 7, '2018-10-14', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19292, 15898, '2018-10-14', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21292,21293', 959, 7, '2018-10-14', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19293, 1667, '2018-10-14', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15898', NULL, 959, 7, '2018-10-14', 19292, 1, '2018-11-05', 0, NULL, NULL, 0),
(19294, 15899, '2018-09-30', 'Debit', 533.36, 0.00, 560.03, 26.67, 2, 0, 'invoice', NULL, NULL, 'Daily Boarding for Mare ( 10 - 17 SEP 2018 )', '21294', 411, 11, '2018-10-14', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19295, 15900, '2018-10-14', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21295,21296', 307, 7, '2018-10-14', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19296, 1668, '2018-10-14', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15900', NULL, 307, 7, '2018-10-14', 19295, 1, '2018-11-05', 0, NULL, NULL, 0),
(19297, 1669, '2018-10-14', 'Credit', 2058.00, 0.00, 2058.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances: MIA IZZABELLA', NULL, 531, 7, '2018-10-14', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19298, 15901, '2018-10-14', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18454 System Generated Invoice', '', 348, 10, '2018-10-14', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19299, 15902, '2018-10-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18456 System Generated Invoice', '', 957, 10, '2018-10-15', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19300, 15903, '2018-10-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18458 System Generated Invoice', '', 522, 10, '2018-10-15', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19301, 1670, '2018-10-15', 'Credit', 100000.00, 0.00, 100000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 408, 7, '2018-10-15', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19302, 15904, '2018-10-15', 'Debit', 500.00, 0.00, 525.00, 25.00, 3, 0, 'invoice', NULL, NULL, 'c/o Mansoor Al Saeed', '21300', 160, 7, '2018-10-15', NULL, 0, '0000-00-00', 1, 7, '2018-10-15', 0),
(19303, 15905, '2018-10-06', 'Debit', 500.00, 175.00, 350.00, 25.00, 3, 0, 'invoice', NULL, NULL, 'c/o Mansoor Al Saeed', '21301', 160, 7, '2018-10-15', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19304, 1671, '2018-10-06', 'Credit', 350.00, 0.00, 350.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Reference Invoice #15905', NULL, 160, 7, '2018-10-15', 19303, 1, '2018-11-05', 0, NULL, NULL, 0),
(19305, 15906, '2018-10-15', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Abdulrahman AlHarbi', '21302', 160, 7, '2018-10-15', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19306, 1672, '2018-10-15', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15906', NULL, 160, 7, '2018-10-15', 19305, 1, '2018-11-05', 0, NULL, NULL, 0),
(19307, 1673, '2018-10-15', 'Credit', 126.00, 0.00, 126.00, 0.00, 2, 0, 'payment', 'cash', '', 'Paid Balances', NULL, 152, 7, '2018-10-15', NULL, 1, '2018-12-12', 0, NULL, NULL, 0),
(19308, 15907, '2018-10-15', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'Contract#6000-005; Frozen-Alexxanderr', '21303', 152, 7, '2018-10-15', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19309, 1674, '2018-10-15', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15907', NULL, 152, 7, '2018-10-15', 19308, 1, '2018-12-12', 0, NULL, NULL, 0),
(19310, 15908, '2018-10-16', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Abdul Aziz Aba Alkail', '21304', 160, 7, '2018-10-16', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19311, 1675, '2018-10-16', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15908', NULL, 160, 7, '2018-10-16', 19310, 1, '2018-11-05', 0, NULL, NULL, 0),
(19312, 15909, '2018-10-16', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'Contract#6000-006; Frozen-Alexxanderr', '21305', 176, 7, '2018-10-16', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19313, 1536, '2018-10-18', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'charge', NULL, NULL, 'test charge', NULL, 193, 1, '2018-10-16', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19314, 15910, '2018-10-17', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Taha Abdulkareem', '21306', 160, 7, '2018-10-17', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19315, 1676, '2018-10-17', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15910', NULL, 160, 7, '2018-10-17', 19314, 1, '2018-11-06', 0, NULL, NULL, 0),
(19316, 1677, '2018-10-17', 'Credit', 40000.00, 0.00, 40000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 183, 7, '2018-10-17', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19317, 15911, '2018-10-17', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, '', '21307', 160, 11, '2018-10-17', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19318, 1678, '2018-10-17', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', '	INVOICE # 15911', NULL, 160, 11, '2018-10-17', NULL, 1, '2018-11-06', 0, NULL, NULL, 0),
(19319, 15912, '2018-10-18', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18461 System Generated Invoice', '', 959, 10, '2018-10-18', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19320, 15913, '2018-10-18', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21309,21310', 961, 7, '2018-10-18', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19321, 1679, '2018-10-18', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15913', NULL, 961, 7, '2018-10-18', 19320, 1, '2018-11-06', 0, NULL, NULL, 0),
(19322, 1680, '2018-10-18', 'Credit', 1189.91, 0.00, 1189.91, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 354, 7, '2018-10-18', NULL, 1, '2018-11-06', 0, NULL, NULL, 0),
(19323, 15914, '2018-10-18', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '21311,21312,21313', 962, 7, '2018-10-18', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19324, 1681, '2018-10-18', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15914', NULL, 962, 7, '2018-10-18', 19323, 1, '2018-11-06', 0, NULL, NULL, 0),
(19325, 15915, '2018-10-18', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Free - Gift from Wimmining Taif Show \"OKAZ\"', '21314,21315,21316', 178, 7, '2018-10-18', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19326, 15916, '2018-10-19', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18464 System Generated Invoice', '', 959, 9, '2018-10-19', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19327, 15917, '2018-10-20', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cash Payment c/o Radwan', '21318', 160, 7, '2018-10-20', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19328, 1682, '2018-10-20', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15917', NULL, 160, 7, '2018-10-20', 19327, 1, '2018-11-06', 0, NULL, NULL, 0),
(19329, 15918, '2018-10-20', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'Contract#6000-010; Frozen-Alexxanderr', '21319', 231, 7, '2018-10-20', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19330, 1683, '2018-10-20', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15918', NULL, 231, 7, '2018-10-20', 19329, 1, '2018-11-06', 0, NULL, NULL, 0),
(19331, 1684, '2018-10-20', 'Credit', 1113.00, 0.00, 1113.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 231, 7, '2018-10-20', NULL, 1, '2018-11-06', 0, NULL, NULL, 0),
(19332, 1685, '2018-10-20', 'Credit', 56.50, 0.00, 56.50, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 224, 7, '2018-10-20', NULL, 1, '2018-11-06', 0, NULL, NULL, 0),
(19333, 15919, '2018-10-20', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '21320,21321,21322', 963, 7, '2018-10-20', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19334, 1686, '2018-10-20', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15919', NULL, 963, 7, '2018-10-20', 19333, 1, '2018-11-06', 0, NULL, NULL, 0),
(19335, 15920, '2018-10-20', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18469 System Generated Invoice', '', 963, 10, '2018-10-20', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19336, 15921, '2018-10-20', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, '', '21324', 160, 7, '2018-10-20', NULL, 0, '0000-00-00', 1, 7, '2018-10-20', 0),
(19337, 15922, '2018-10-20', 'Debit', 1333.40, 0.00, 1400.07, 66.67, 2, 0, 'invoice', NULL, NULL, 'Boarding 1-Oct to 20-Oct-2018 / Checkout ', '21326', 138, 6, '2018-10-20', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19338, 15923, '2018-10-20', 'Debit', 1333.40, 0.00, 1400.07, 66.67, 2, 0, 'invoice', NULL, NULL, 'Boarding 1-Oct to 20-Oct-2018 / Checkout ', '21325', 138, 6, '2018-10-20', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19339, 15924, '2018-10-21', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18470 System Generated Invoice', '', 959, 9, '2018-10-21', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19340, 15925, '2018-10-21', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18472 System Generated Invoice', '', 178, 9, '2018-10-21', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19341, 1537, '2018-10-21', 'Debit', -40035.90, 0.00, -40035.90, 0.00, 2, 0, 'charge', NULL, NULL, 'Transfer This Amount to Faisal Bin Sad  Al Otibi', NULL, 495, 11, '2018-10-21', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19342, 1538, '2018-10-21', 'Debit', 40035.90, 0.00, 40035.90, 0.00, 2, 0, 'charge', NULL, NULL, 'Balance Transferred from Faisal Bin Mutlaq Al Otibi', NULL, 849, 11, '2018-10-21', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19343, 15926, '2018-10-21', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18473 System Generated Invoice', '', 963, 9, '2018-10-21', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19344, 15927, '2018-10-21', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '21331,21332,21333', 963, 7, '2018-10-21', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19345, 1687, '2018-10-21', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15927', NULL, 963, 7, '2018-10-21', 19344, 1, '2018-11-06', 0, NULL, NULL, 0),
(19346, 15928, '2018-10-21', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18476 System Generated Invoice', '', 963, 9, '2018-10-21', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19347, 15929, '2018-10-21', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Rudel', '21335', 160, 7, '2018-10-21', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19348, 1688, '2018-10-21', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15929', NULL, 160, 7, '2018-10-21', 19347, 1, '2018-11-06', 0, NULL, NULL, 0),
(19349, 15930, '2018-10-21', 'Debit', 25000.00, 0.00, 26250.00, 1250.00, 2, 0, 'invoice', NULL, NULL, '25 Dozes Alexxanderr (Each dose 8 Straws) total 200 Straws', '21336', 964, 6, '2018-10-21', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19350, 15931, '2018-10-22', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18477 System Generated Invoice', '', 959, 9, '2018-10-22', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19351, 15932, '2018-10-22', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18480 System Generated Invoice', '', 178, 9, '2018-10-22', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19352, 1689, '2018-10-21', 'Credit', 10000.00, 0.00, 10000.00, 0.00, 2, 0, 'payment', 'cash', '', 'Paid Balances', NULL, 370, 7, '2018-10-22', NULL, 1, '2018-11-06', 0, NULL, NULL, 0),
(19353, 15933, '2018-10-21', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Transportation Horse from TADAWI to AL KHALYDIHA  ( Jauharat Al Wasil )', '21340', 298, 11, '2018-10-22', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19354, 15934, '2018-10-22', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Monir Hussain', '21341', 160, 7, '2018-10-22', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19355, 1690, '2018-10-22', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15934', NULL, 160, 7, '2018-10-22', 19354, 1, '2018-11-06', 0, NULL, NULL, 0),
(19356, 1691, '2018-10-22', 'Credit', 2684.92, 0.00, 2684.92, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 469, 7, '2018-10-22', NULL, 1, '2018-11-06', 0, NULL, NULL, 0),
(19357, 15935, '2018-10-22', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'Semen Provided by Client (Bought Already in Milad)', '21342,21343', 965, 7, '2018-10-22', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19358, 1692, '2018-10-22', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15935', NULL, 965, 7, '2018-10-22', 19357, 1, '2018-11-06', 0, NULL, NULL, 0),
(19359, 15936, '2018-10-22', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Bassam', '21344', 160, 7, '2018-10-22', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19360, 1693, '2018-10-22', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15936', NULL, 160, 7, '2018-10-22', 19359, 1, '2018-11-06', 0, NULL, NULL, 0),
(19361, 15937, '2018-10-22', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18483 System Generated Invoice', '', 152, 10, '2018-10-22', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19362, 15938, '2018-10-23', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18484 System Generated Invoice', '', 963, 10, '2018-10-23', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19363, 15939, '2018-10-23', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18485 System Generated Invoice', '', 963, 10, '2018-10-23', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19364, 15940, '2018-10-23', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18486 System Generated Invoice', '', 178, 10, '2018-10-23', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19365, 1694, '2018-10-23', 'Credit', 40000.00, 0.00, 40000.00, 0.00, 2, 0, 'payment', 'span', '', 'Down payment from Abdullah Al Abdulwahab ( 40000 in SAMBA ) ', NULL, 462, 11, '2018-10-23', NULL, 1, '2018-11-06', 0, NULL, NULL, 0),
(19366, 1695, '2018-10-23', 'Credit', 10000.00, 0.00, 10000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Wire Transfer to Al Rajhi Bank ( 10,000 )', NULL, 462, 11, '2018-10-23', NULL, 1, '2018-11-06', 0, NULL, NULL, 0),
(19367, 15941, '2018-10-23', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18489 System Generated Invoice', '', 183, 10, '2018-10-23', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19368, 15942, '2018-10-23', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18490 System Generated Invoice', '', 139, 10, '2018-10-23', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19369, 15943, '2018-10-23', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Stallion Semen Collection only', '21354', 966, 7, '2018-10-23', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19370, 1696, '2018-10-23', 'Credit', 525.00, 0.00, 525.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15943', NULL, 966, 7, '2018-10-23', 19369, 1, '2018-11-06', 0, NULL, NULL, 0),
(19371, 15944, '2018-10-23', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21355,21356', 387, 7, '2018-10-23', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19372, 1697, '2018-10-23', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15944', NULL, 387, 7, '2018-10-23', 19371, 1, '2018-11-06', 0, NULL, NULL, 0),
(19373, 15945, '2018-10-24', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18493 System Generated Invoice', '', 963, 10, '2018-10-24', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19374, 15946, '2018-10-24', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18494 System Generated Invoice', '', 963, 10, '2018-10-24', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19375, 15947, '2018-10-24', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18496 System Generated Invoice', '', 178, 10, '2018-10-24', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19376, 15948, '2018-10-24', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Mohammad Neda', '21362', 160, 7, '2018-10-24', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19377, 1698, '2018-10-24', 'Credit', 1260.00, 0.00, 1260.00, 0.00, 3, 0, 'payment', 'cash', '', 'Reference Invoice #15948', NULL, 160, 7, '2018-10-24', 19376, 1, '2018-11-06', 0, NULL, NULL, 0),
(19378, 1539, '2018-10-24', 'Debit', -3439.28, 0.00, -3439.28, 0.00, 2, 0, 'charge', NULL, NULL, 'Difference in His Balance ( Victoria Principal ) Wrong Charge', NULL, 164, 11, '2018-10-24', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19379, 15949, '2018-10-24', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18499 System Generated Invoice', '', 961, 10, '2018-10-24', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19380, 15950, '2018-10-25', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18500 System Generated Invoice', '', 963, 10, '2018-10-25', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19381, 15951, '2018-10-25', 'Debit', 450.00, 0.00, 472.50, 22.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18501 System Generated Invoice', '', 963, 10, '2018-10-25', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19382, 15952, '2018-10-25', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18502 System Generated Invoice', '', 178, 10, '2018-10-25', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19383, 15953, '2018-10-25', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18504 System Generated Invoice', '', 965, 10, '2018-10-25', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19384, 1699, '2018-10-25', 'Credit', 69520.93, 0.00, 69520.93, 0.00, 2, 0, 'payment', 'cash', '', 'Check No 01  ( AL RAJHI BANK )', NULL, 621, 11, '2018-10-25', NULL, 1, '2018-11-06', 0, NULL, NULL, 0),
(19385, 1700, '2018-10-25', 'Credit', 35770.41, 0.00, 35770.41, 0.00, 2, 0, 'payment', 'cash', '', 'Chck No. ( 2 ) to AL RAJHI BANK ', NULL, 375, 11, '2018-10-25', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19386, 15954, '2018-10-25', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '21372,21373,21374', 967, 7, '2018-10-25', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19387, 1701, '2018-10-25', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15954', NULL, 967, 7, '2018-10-25', 19386, 1, '2018-11-06', 0, NULL, NULL, 0),
(19388, 15955, '2018-10-25', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18507 System Generated Invoice', '', 967, 10, '2018-10-25', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19389, 15956, '2018-10-26', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18508 System Generated Invoice', '', 961, 10, '2018-10-26', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19390, 15957, '2018-10-26', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18509 System Generated Invoice', '', 231, 10, '2018-10-26', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19391, 15958, '2018-10-27', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18512 System Generated Invoice', '', 967, 10, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19392, 15959, '2018-10-27', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18513 System Generated Invoice', '', 231, 10, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19393, 15960, '2018-10-27', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18514 System Generated Invoice', '', 963, 10, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19394, 15961, '2018-10-27', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-017', '21386,21387,21388', 99, 7, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19395, 1702, '2018-10-27', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15961', NULL, 99, 7, '2018-10-27', 19394, 1, '2018-12-12', 0, NULL, NULL, 0),
(19396, 15962, '2018-10-26', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'During in Auction in 26 OCT 2018', '21389', 160, 7, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19397, 1703, '2018-10-26', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '15962', 'During in Auction in 26 OCT 2018 (HORSE: PALPATION MARES )', NULL, 160, 7, '2018-10-27', NULL, 1, '2018-12-12', 0, NULL, NULL, 0),
(19398, 15963, '2018-10-27', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, '', '21390', 160, 7, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0);
INSERT INTO `invoice` (`invoice_id`, `invoice_code`, `date`, `kind`, `amount`, `discount`, `net_amount`, `tax_amount`, `cc_id`, `opening_balance`, `transaction_type`, `method`, `reference_num`, `description`, `procedures`, `customer_ref`, `created_by`, `created_date`, `related_invoice`, `confirmed`, `confirmed_date`, `is_deleted`, `deleted_by`, `deleted_date`, `is_refunded`) VALUES
(19399, 1704, '2018-10-27', 'Credit', 78.75, 0.00, 78.75, 0.00, 3, 0, 'payment', 'cash', '15963', '', NULL, 160, 7, '2018-10-27', NULL, 1, '2018-12-12', 0, NULL, NULL, 0),
(19400, 1705, '2018-10-27', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15963', NULL, 160, 7, '2018-10-27', 19398, 0, '0000-00-00', 1, 7, '2018-10-27', 0),
(19401, 15964, '2018-10-27', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21391,21392', 968, 7, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19402, 1706, '2018-10-27', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15964', NULL, 968, 7, '2018-10-27', 19401, 1, '2018-11-07', 0, NULL, NULL, 0),
(19403, 1707, '2018-10-27', 'Credit', -3034.52, 0.00, -3034.52, 0.00, 3, 0, 'payment', 'transfer', '', 'Customer refund (negative balance/ overpayment)', NULL, 280, 13, '2018-10-27', NULL, 1, '2018-10-27', 0, NULL, NULL, 0),
(19404, 15965, '2018-10-27', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, '1 Doze to Kuwait', '21393,21394', 970, 7, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19405, 1708, '2018-10-27', 'Credit', 1050.00, 0.00, 1050.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15965', NULL, 970, 7, '2018-10-27', 19404, 1, '2018-11-07', 0, NULL, NULL, 0),
(19406, 15966, '2018-10-27', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, '1 Doze to Kuwait', '21395', 969, 7, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19407, 1709, '2018-10-27', 'Credit', 1050.00, 0.00, 1050.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15966', NULL, 969, 7, '2018-10-27', 19406, 1, '2018-11-07', 0, NULL, NULL, 0),
(19408, 15967, '2018-10-27', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Fahad AlDahoom', '21396', 160, 7, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19409, 1710, '2018-10-27', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15967', NULL, 160, 7, '2018-10-27', 19408, 1, '2018-11-07', 0, NULL, NULL, 0),
(19410, 1540, '2018-10-27', 'Debit', -640.50, 0.00, -640.50, 0.00, 2, 0, 'charge', NULL, NULL, 'To Close Sultanah Account, Transferred to Knooz III', NULL, 574, 7, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19411, 15968, '2018-10-27', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21397,21398', 574, 7, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19412, 1541, '2018-10-27', 'Debit', -3090.00, 0.00, -3244.50, -154.50, 2, 0, 'charge', NULL, NULL, 'Reference Invoice #15968', NULL, 574, 7, '2018-10-27', 19411, 1, '2018-11-01', 0, NULL, NULL, 0),
(19413, 1711, '2018-10-27', 'Credit', 955.50, 0.00, 955.50, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15968', NULL, 574, 7, '2018-10-27', 19411, 1, '2018-11-07', 0, NULL, NULL, 0),
(19414, 1712, '2018-10-27', 'Credit', 2378.25, 0.00, 2378.25, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 237, 7, '2018-10-27', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19415, 1713, '2018-10-27', 'Credit', 808.50, 0.00, 808.50, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 238, 7, '2018-10-27', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19416, 15969, '2018-10-27', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '21399,21400,21401', 971, 7, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19417, 1714, '2018-10-27', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15969', NULL, 971, 7, '2018-10-27', 19416, 0, '0000-00-00', 1, 7, '2018-10-27', 0),
(19418, 15970, '2018-10-27', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18518 System Generated Invoice', '', 139, 10, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19419, 15971, '2018-10-27', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18519 System Generated Invoice', '', 323, 10, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19420, 15972, '2018-10-27', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18522 System Generated Invoice', '', 139, 10, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19421, 1715, '2018-10-27', 'Credit', 5250.00, 0.00, 5250.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15969; 1 Contract Pending for Opening; Boarding Fee', NULL, 971, 7, '2018-10-27', 19416, 1, '2018-11-07', 0, NULL, NULL, 0),
(19422, 15973, '2018-10-28', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18525 System Generated Invoice', '', 963, 10, '2018-10-28', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19423, 15974, '2018-10-28', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18526 System Generated Invoice', '', 967, 10, '2018-10-28', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19424, 15975, '2018-10-28', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '21406,21407,21408', 971, 7, '2018-10-28', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19425, 15976, '2018-10-28', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18528 System Generated Invoice', '', 152, 10, '2018-10-28', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19426, 15977, '2018-10-28', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18529 System Generated Invoice', '', 152, 10, '2018-10-28', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19427, 15978, '2018-10-28', 'Debit', 750.00, 0.00, 750.00, 0.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Badri Al Shammary (Destination: Bamban to Khalediah) c/o Mansoor Al Saeed', '21413', 160, 7, '2018-10-28', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19428, 1716, '2018-10-28', 'Credit', 5250.00, 0.00, 5250.00, 0.00, 1, 0, 'payment', 'span', '', 'Stallion: Raad Al Sayed (Advance Payment)', NULL, 224, 7, '2018-10-28', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19429, 1717, '2018-10-28', 'Credit', 750.00, 0.00, 750.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15978', NULL, 160, 7, '2018-10-28', 19427, 1, '2018-11-07', 0, NULL, NULL, 0),
(19430, 15979, '2018-10-28', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21414,21415', 415, 7, '2018-10-28', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19431, 1718, '2018-10-28', 'Credit', 5000.00, 0.00, 5000.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15979', NULL, 415, 7, '2018-10-28', 19430, 1, '2018-11-07', 0, NULL, NULL, 0),
(19432, 15980, '2018-10-28', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-022', '21416,21417,21418', 415, 7, '2018-10-28', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19433, 1719, '2018-10-28', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15980', NULL, 415, 7, '2018-10-28', 19432, 1, '2018-11-07', 0, NULL, NULL, 0),
(19434, 15981, '2018-10-28', 'Debit', 100.00, 0.00, 105.00, 5.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Hassan', '21419', 160, 7, '2018-10-28', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19435, 1720, '2018-10-28', 'Credit', 105.00, 0.00, 105.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15981', NULL, 160, 7, '2018-10-28', 19434, 1, '2018-11-07', 0, NULL, NULL, 0),
(19436, 15982, '2018-10-29', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18531 System Generated Invoice', '', 415, 10, '2018-10-29', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19437, 15983, '2018-10-29', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18532 System Generated Invoice', '', 415, 10, '2018-10-29', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19438, 15984, '2018-10-29', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18535 System Generated Invoice', '', 971, 10, '2018-10-29', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19439, 15985, '2018-10-29', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18536 System Generated Invoice', '', 971, 10, '2018-10-29', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19440, 15986, '2018-10-29', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18537 System Generated Invoice', '', 971, 10, '2018-10-29', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19441, 15987, '2018-10-29', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18538 System Generated Invoice', '', 971, 10, '2018-10-29', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19442, 15988, '2018-10-29', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18539 System Generated Invoice', '', 139, 10, '2018-10-29', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19443, 15989, '2018-10-29', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18540 System Generated Invoice', '', 139, 10, '2018-10-29', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19444, 15990, '2018-10-29', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18541 System Generated Invoice', '', 954, 10, '2018-10-29', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19445, 15991, '2018-10-29', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18542 System Generated Invoice', '', 183, 10, '2018-10-29', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19446, 15992, '2018-10-29', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18544 System Generated Invoice', '', 139, 10, '2018-10-29', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19447, 15993, '2018-10-29', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18545 System Generated Invoice', '', 479, 10, '2018-10-29', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19448, 15994, '2018-10-29', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18546 System Generated Invoice', '', 138, 10, '2018-10-29', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19449, 15995, '2018-10-29', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18547 System Generated Invoice', '', 476, 10, '2018-10-29', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19450, 15996, '2018-10-29', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18548 System Generated Invoice', '', 95, 10, '2018-10-29', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19451, 1721, '2018-10-29', 'Credit', 1000.00, 0.00, 1000.00, 0.00, 2, 0, 'payment', 'span', '', 'Payment c/o Mansoor Al Saeed Debit Card: Paid Balances', NULL, 644, 7, '2018-10-29', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19452, 15997, '2018-10-30', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18550 System Generated Invoice', '', 387, 10, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19453, 15998, '2018-10-30', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18551 System Generated Invoice', '', 99, 10, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19454, 15999, '2018-10-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18554 System Generated Invoice', '', 176, 10, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19455, 16000, '2018-10-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18555 System Generated Invoice', '', 957, 10, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19456, 16001, '2018-10-30', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18556 System Generated Invoice', '', 971, 10, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19457, 16002, '2018-10-30', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18558 System Generated Invoice', '', 323, 10, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19458, 16003, '2018-10-30', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18559 System Generated Invoice', '', 971, 10, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19459, 16004, '2018-10-30', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18562 System Generated Invoice', '', 138, 10, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19460, 1542, '2018-10-30', 'Debit', -200.00, 0.00, -210.00, -10.00, 2, 0, 'charge', NULL, NULL, 'Invoice #15993 (reversal of charges)/ Per Dr. Diego instruction.', NULL, 479, 13, '2018-10-30', NULL, 1, '2018-10-30', 0, NULL, NULL, 0),
(19461, 16005, '2018-10-30', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-024', '21451,21452,21453', 301, 7, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19462, 16006, '2018-10-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, '6000-024', '21454', 301, 7, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19463, 1543, '2018-08-31', 'Debit', -405544.44, 0.00, -425821.66, -20277.22, 2, 0, 'charge', NULL, NULL, 'Approved discount for related parties', NULL, 153, 13, '2018-10-30', NULL, 1, '2018-10-30', 0, NULL, NULL, 0),
(19464, 1544, '2018-08-31', 'Debit', -56836.69, 0.00, -59678.52, -2841.83, 2, 0, 'charge', NULL, NULL, 'Approved discount given to related parties', NULL, 468, 13, '2018-10-30', NULL, 1, '2018-10-30', 0, NULL, NULL, 0),
(19465, 1545, '2018-08-31', 'Debit', -534295.75, 0.00, -561010.54, -26714.79, 2, 0, 'charge', NULL, NULL, 'Approved discount given to related parties', NULL, 139, 13, '2018-10-30', NULL, 1, '2018-10-30', 0, NULL, NULL, 0),
(19466, 16007, '2018-10-30', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '6000-025', '21455,21456', 406, 7, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19467, 1722, '2018-10-30', 'Credit', 525.00, 0.00, 525.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16007', NULL, 406, 7, '2018-10-30', 19466, 1, '2018-11-07', 0, NULL, NULL, 0),
(19468, 16008, '2018-10-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 1, 0, 'invoice', NULL, NULL, 'Farrier: Ladu; 19-09-2018', '21457', 183, 7, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19469, 16009, '2018-10-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat; 23-09-2018', '21458', 413, 7, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19470, 16010, '2018-10-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat; 23-09-2018', '21459', 479, 7, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19471, 16011, '2018-10-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat; 23-09-2018', '21460', 164, 7, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19472, 16012, '2018-10-30', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu; 24-09-2018', '21461', 319, 7, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19473, 16013, '2018-10-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat; 26-09-2018', '21462', 418, 7, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19474, 16014, '2018-10-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 1, 0, 'invoice', NULL, NULL, 'Farrier: Ladu; 27-09-2018', '21463', 153, 7, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19475, 16015, '2018-10-11', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '21464', 367, 7, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19476, 16016, '2018-10-11', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '21465', 164, 7, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19477, 16017, '2018-10-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21466', 183, 7, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19478, 16018, '2018-10-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21467', 183, 7, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19479, 16019, '2018-10-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21468', 183, 7, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19480, 16020, '2018-10-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21469', 534, 7, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19481, 16021, '2018-10-17', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '21470', 534, 7, '2018-10-30', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19482, 16022, '2018-10-31', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18565 System Generated Invoice', '', 95, 10, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19483, 16023, '2018-10-31', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18566 System Generated Invoice', '', 574, 10, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19484, 16024, '2018-10-31', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18568 System Generated Invoice', '', 99, 10, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19485, 16025, '2018-10-31', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18570 System Generated Invoice', '', 176, 10, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19486, 16026, '2018-10-31', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18571 System Generated Invoice', '', 176, 10, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19487, 16027, '2018-10-31', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Turki', '21478', 160, 7, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19488, 1723, '2018-10-31', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16027', NULL, 160, 7, '2018-10-31', 19487, 1, '2018-12-12', 0, NULL, NULL, 0),
(19489, 16028, '2018-10-31', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '21479,21480,21481', 972, 7, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19490, 1724, '2018-10-31', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16028', NULL, 972, 7, '2018-10-31', 19489, 1, '2018-11-26', 0, NULL, NULL, 0),
(19491, 16029, '2018-10-31', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18573 System Generated Invoice', '', 534, 10, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19492, 16030, '2018-10-31', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18574 System Generated Invoice', '', 183, 10, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19493, 16031, '2018-10-31', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18575 System Generated Invoice', '', 439, 10, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19494, 16032, '2018-10-31', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21485,21486', 973, 7, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19495, 1725, '2018-10-31', 'Credit', 5000.00, 0.00, 5000.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16032 / plus Boarding Partial Payment', NULL, 973, 7, '2018-10-31', 19494, 1, '2018-11-26', 0, NULL, NULL, 0),
(19496, 16033, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21490', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19497, 16034, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21489', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19498, 16035, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21487', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19499, 16036, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21488', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19500, 16037, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21491', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19501, 16038, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21493', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19502, 16039, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21499', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19503, 16040, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21496', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19504, 16041, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21497', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19505, 16042, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21498', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19506, 16043, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21494', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19507, 16044, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21495', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19508, 16045, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21492', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19509, 16046, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21500', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19510, 16047, '2018-10-31', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Breed Stallion - No Boarding charges ', '21504', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19511, 16048, '2018-10-31', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Breed Stallion - No Boarding charges ', '21502', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19512, 16049, '2018-10-31', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Breed Stallion - No Boarding charges ', '21501', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19513, 16050, '2018-10-31', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Breed Stallion - No Boarding charges ', '21503', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19514, 16051, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21522', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19515, 16052, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21521', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19516, 16053, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21520', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19517, 16054, '2018-10-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21519', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19518, 16055, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21517', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19519, 16056, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21518', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19520, 16057, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21515', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19521, 16058, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21516', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19522, 16059, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21514', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19523, 16060, '2018-10-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21513', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19524, 16061, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21512', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19525, 16062, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21510', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19526, 16063, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21509', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19527, 16064, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21508', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19528, 16065, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21505', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19529, 16066, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21507', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19530, 16067, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21506', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19531, 16068, '2018-10-31', 'Debit', 4333.42, 0.00, 4550.09, 216.67, 1, 0, 'invoice', NULL, NULL, 'Training charges 1-26 October, 2018 (Until Al Sayed Stud Auction 2018)', '21539', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19532, 16069, '2018-10-31', 'Debit', 4333.42, 0.00, 4550.09, 216.67, 1, 0, 'invoice', NULL, NULL, 'Training charges 1-26 October, 2018 (Until Al Sayed Stud Auction 2018)', '21538', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19533, 16070, '2018-10-31', 'Debit', 4333.42, 0.00, 4550.09, 216.67, 1, 0, 'invoice', NULL, NULL, 'Training charges 1-26 October, 2018 (Until Al Sayed Stud Auction 2018)', '21535', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19534, 16071, '2018-10-31', 'Debit', 4333.42, 0.00, 4550.09, 216.67, 1, 0, 'invoice', NULL, NULL, 'Training charges 1-26 October, 2018 (Until Al Sayed Stud Auction 2018)', '21534', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19535, 16072, '2018-10-31', 'Debit', 4333.42, 0.00, 4550.09, 216.67, 1, 0, 'invoice', NULL, NULL, 'Training charges 1-26 October, 2018 (Until Al Sayed Stud Auction 2018)', '21533', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19536, 16073, '2018-10-31', 'Debit', 4333.42, 0.00, 4550.09, 216.67, 1, 0, 'invoice', NULL, NULL, 'Training charges 1-26 October, 2018 (Until Al Sayed Stud Auction 2018)', '21529', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19537, 16074, '2018-10-31', 'Debit', 4333.42, 0.00, 4550.09, 216.67, 1, 0, 'invoice', NULL, NULL, 'Training charges 1-26 October, 2018 (Until Al Sayed Stud Auction 2018)', '21536', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19538, 16075, '2018-10-31', 'Debit', 4333.42, 0.00, 4550.09, 216.67, 2, 0, 'invoice', NULL, NULL, 'Training charges 1-26 October, 2018 (Until Al Sayed Stud Auction 2018)', '21532', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19539, 16076, '2018-10-31', 'Debit', 4333.42, 0.00, 4550.09, 216.67, 1, 0, 'invoice', NULL, NULL, 'Training charges 1-26 October, 2018 (Until Al Sayed Stud Auction 2018)', '21530', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19540, 16077, '2018-10-31', 'Debit', 4333.42, 0.00, 4550.09, 216.67, 1, 0, 'invoice', NULL, NULL, 'Training charges 1-26 October, 2018 (Until Al Sayed Stud Auction 2018)', '21531', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19541, 16078, '2018-10-31', 'Debit', 4333.42, 0.00, 4550.09, 216.67, 1, 0, 'invoice', NULL, NULL, 'Training charges 1-26 October, 2018 (Until Al Sayed Stud Auction 2018)', '21528', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19542, 16079, '2018-10-31', 'Debit', 4333.42, 0.00, 4550.09, 216.67, 1, 0, 'invoice', NULL, NULL, 'Training charges 1-26 October, 2018 (Until Al Sayed Stud Auction 2018)', '21527', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19543, 16080, '2018-10-31', 'Debit', 4333.42, 0.00, 4550.09, 216.67, 1, 0, 'invoice', NULL, NULL, 'Training charges 1-26 October, 2018 (Until Al Sayed Stud Auction 2018)', '21524', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19544, 16081, '2018-10-31', 'Debit', 4333.42, 0.00, 4550.09, 216.67, 1, 0, 'invoice', NULL, NULL, 'Training charges 1-26 October, 2018 (Until Al Sayed Stud Auction 2018)', '21523', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19545, 16082, '2018-10-31', 'Debit', 4333.42, 0.00, 4550.09, 216.67, 1, 0, 'invoice', NULL, NULL, 'Training charges 1-26 October, 2018 (Until Al Sayed Stud Auction 2018)', '21525', 138, 6, '2018-10-31', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19546, 16083, '2018-11-01', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18578 System Generated Invoice', '', 972, 10, '2018-11-01', NULL, 0, '0000-00-00', 1, 7, '2018-11-01', 0),
(19547, 16084, '2018-11-01', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Abdulaziz', '21542', 160, 7, '2018-11-01', NULL, 0, '0000-00-00', 1, 7, '2018-11-01', 0),
(19548, 1726, '2018-11-01', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16084', NULL, 160, 7, '2018-11-01', 19547, 0, '0000-00-00', 1, 7, '2018-11-01', 0),
(19549, 16085, '2018-11-01', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21543,21544', 974, 7, '2018-11-01', NULL, 0, '0000-00-00', 1, 7, '2018-11-01', 0),
(19550, 1727, '2018-11-01', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16085', NULL, 974, 7, '2018-11-01', 19549, 0, '0000-00-00', 1, 7, '2018-11-01', 0),
(19551, 16086, '2018-11-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18581 System Generated Invoice', '', 965, 10, '2018-11-01', NULL, 0, '0000-00-00', 1, 7, '2018-11-01', 0),
(19552, 1728, '2018-11-01', 'Credit', 2415.00, 0.00, 2415.00, 0.00, 2, 0, 'payment', 'span', '', 'Advance Payment: Boarding Mare with Colt', NULL, 974, 7, '2018-11-01', NULL, 0, '0000-00-00', 1, 7, '2018-11-01', 0),
(19553, 1546, '2018-10-31', 'Debit', -13053.33, 0.00, -13706.00, -652.67, 2, 0, 'charge', NULL, NULL, 'Discount for Reproduction Invoices (October 2018)/ Total amount SAR68,530/ Medicines, Khalediah transportation charges not included in the discount', NULL, 138, 13, '2018-11-01', NULL, 1, '2018-11-12', 0, NULL, NULL, 0),
(19554, 1547, '2018-10-31', 'Debit', -8983.52, 0.00, -9432.70, -449.18, 1, 0, 'charge', NULL, NULL, 'Discount for Training Invoices (October 2018)/ Total amount SAR94,327/ Horse show charges not included in discount', NULL, 138, 13, '2018-11-01', NULL, 1, '2018-11-12', 0, NULL, NULL, 0),
(19555, 16087, '2018-10-31', 'Debit', 1333.36, 0.00, 1400.03, 66.67, 1, 0, 'invoice', NULL, NULL, 'Training 19 Oct to 26-Oct-2018 (Until Al Sayed Stud Auction 2018)', '21558', 138, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19556, 16088, '2018-10-31', 'Debit', 1333.73, 0.00, 1400.42, 66.69, 1, 0, 'invoice', NULL, NULL, 'Training 19 Oct to 26-Oct-2018 (Until Al Sayed Stud Auction 2018)', '21557', 138, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19557, 16089, '2018-10-31', 'Debit', 1333.36, 0.00, 1400.03, 66.67, 1, 0, 'invoice', NULL, NULL, 'Training 19 Oct to 26-Oct-2018 (Until Al Sayed Stud Auction 2018)', '21556', 138, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19558, 16090, '2018-10-31', 'Debit', 1333.36, 0.00, 1400.03, 66.67, 1, 0, 'invoice', NULL, NULL, 'Training 19 Oct to 26-Oct-2018 (Until Al Sayed Stud Auction 2018)', '21546', 138, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19559, 16091, '2018-10-31', 'Debit', 1333.36, 0.00, 1400.03, 66.67, 1, 0, 'invoice', NULL, NULL, 'Training 19 Oct to 26-Oct-2018 (Until Al Sayed Stud Auction 2018)', '21547', 138, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19560, 16092, '2018-10-31', 'Debit', 1333.36, 0.00, 1400.03, 66.67, 1, 0, 'invoice', NULL, NULL, 'Training 19 Oct to 26-Oct-2018 (Until Al Sayed Stud Auction 2018)', '21549', 138, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19561, 16093, '2018-10-31', 'Debit', 1333.36, 0.00, 1400.03, 66.67, 1, 0, 'invoice', NULL, NULL, 'Training 19 Oct to 26-Oct-2018 (Until Al Sayed Stud Auction 2018)', '21551', 138, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19562, 16094, '2018-10-31', 'Debit', 1833.37, 0.00, 1925.04, 91.67, 1, 0, 'invoice', NULL, NULL, 'Training 15 Oct to 26-Oct-2018 (Until Al Sayed Stud Auction 2018)', '21552', 138, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19563, 16095, '2018-10-31', 'Debit', 4333.42, 0.00, 4550.09, 216.67, 1, 0, 'invoice', NULL, NULL, 'Training 1 Oct to 26-Oct-2018 (Until Al Sayed Stud Auction 2018)', '21553', 138, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19564, 16096, '2018-10-31', 'Debit', 4333.42, 0.00, 4550.09, 216.67, 1, 0, 'invoice', NULL, NULL, 'Training 1 Oct to 26-Oct-2018 (Until Al Sayed Stud Auction 2018)', '21554', 138, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19565, 16097, '2018-10-31', 'Debit', 1833.37, 0.00, 1925.04, 91.67, 1, 0, 'invoice', NULL, NULL, 'Training 15 Oct to 26-Oct-2018 (Until Al Sayed Stud Auction 2018)', '21555', 138, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19566, 16098, '2018-10-31', 'Debit', 3166.73, 0.00, 3325.07, 158.34, 1, 0, 'invoice', NULL, NULL, 'Training 8 Oct to 26-Oct-2018 (Until Al Sayed Stud Auction 2018)', '21548', 138, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19567, 16099, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21559', 150, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19568, 16100, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21561', 150, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19569, 16101, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21563', 150, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19570, 16102, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21560', 150, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19571, 16103, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21564', 150, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19572, 16104, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of October, 2018', '21562', 150, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19573, 16105, '2018-10-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Semen storage charges (for 45 Liters container) (Ansata Nile, Alihandro, Naseem, Al Adeed (Period 1- September-2018 to 31-October-2018 - Monthly 500 SAR', '21565', 150, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19574, 16106, '2018-10-31', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 1, 0, 'invoice', NULL, NULL, 'Special Training feed for the month of July, Aug, Sep & Oct 2018) 4 months (Each month SAR. 1000/-', '21566', 150, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19575, 16107, '2018-10-31', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 1, 0, 'invoice', NULL, NULL, 'Special Training feed for the month of July, Aug, Sep & Oct 2018) 4 months (Each month SAR. 1000/-', '21567', 150, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19576, 16108, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 1, 0, 'invoice', NULL, NULL, 'Special Training feed for the month Sep & Oct, 2018', '21568', 138, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19577, 16109, '2018-10-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special Training feed for the month Oct, 2018', '21569', 138, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19578, 16110, '2018-10-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special Training feed for the month Oct, 2018', '21570', 138, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19579, 16111, '2018-10-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special Training feed for the month Oct, 2018', '21571', 138, 6, '2018-11-01', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19580, 16112, '2018-10-31', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'Bahhi Ezzain 23 straws, Farees Al Rayyan 16 Straws, Farres 8 Straws, semen storage period ( 13-Jul-2017 to 31-Oct-2018 ) monthly 250.00 sar. for 47 straws.', '21572', 927, 5, '2018-11-03', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19581, 16113, '2018-11-03', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '21573,21574,21575', 975, 7, '2018-11-03', NULL, 0, '0000-00-00', 1, 7, '2018-11-03', 0),
(19582, 16114, '2018-11-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, '', '21576', 975, 7, '2018-11-03', NULL, 0, '0000-00-00', 1, 7, '2018-11-03', 0),
(19583, 16115, '2018-11-03', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, '', '21577,21578', 975, 7, '2018-11-03', NULL, 0, '0000-00-00', 1, 7, '2018-11-03', 0),
(19584, 16116, '2018-11-03', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, '', '21579', 975, 7, '2018-11-03', NULL, 0, '0000-00-00', 1, 7, '2018-11-03', 0),
(19585, 16117, '2018-11-03', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '21580,21581,21582', 975, 7, '2018-11-03', NULL, 0, '0000-00-00', 1, 7, '2018-11-03', 0),
(19586, 16118, '2018-11-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '21583,21584,21585', 975, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19587, 16119, '2018-11-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, '', '21587', 975, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19588, 16120, '2018-11-02', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, '', '21589,21590', 975, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19589, 16121, '2018-11-03', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, '', '21591', 975, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19590, 16122, '2018-11-03', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-031', '21586,21588', 572, 5, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19591, 16123, '2018-11-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '21592,21593,21594', 975, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19592, 1729, '2018-11-03', 'Credit', 5712.00, 0.00, 5712.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16122', NULL, 572, 5, '2018-11-03', 19590, 1, '2018-11-27', 0, NULL, NULL, 0),
(19593, 16124, '2018-11-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, '', '21595', 975, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19594, 1730, '2018-11-01', 'Credit', 3150.00, 0.00, 3150.00, 0.00, 2, 0, 'payment', 'span', '', 'Payment for 6000-028 & 6000-029', NULL, 975, 7, '2018-11-03', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19595, 16125, '2018-11-03', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare: FAKHRIYAH ( Khaled Al Qassim )', '21596', 160, 5, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19596, 1731, '2018-11-03', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16125', NULL, 160, 5, '2018-11-03', 19595, 0, '0000-00-00', 1, 7, '2018-11-03', 0),
(19597, 16126, '2018-11-01', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Abdulaziz', '21597', 160, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19598, 1732, '2018-11-03', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16126', NULL, 160, 7, '2018-11-03', 19597, 1, '2018-11-27', 0, NULL, NULL, 0),
(19599, 1733, '2018-11-01', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16126', NULL, 160, 7, '2018-11-03', 19597, 1, '2018-11-27', 0, NULL, NULL, 0),
(19600, 16127, '2018-11-03', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, '', '21598', 160, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19601, 1734, '2018-11-03', 'Credit', 262.50, 0.00, 262.50, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16127', NULL, 160, 7, '2018-11-03', 19600, 1, '2018-11-27', 0, NULL, NULL, 0),
(19602, 1735, '2018-11-03', 'Credit', 325.50, 0.00, 325.50, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 961, 5, '2018-11-03', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19603, 16128, '2018-11-01', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21599,21600', 974, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19604, 1736, '2018-11-03', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16128', NULL, 974, 7, '2018-11-03', 19603, 0, '0000-00-00', 1, 7, '2018-11-03', 0),
(19605, 1737, '2018-11-01', 'Credit', 2415.00, 0.00, 2415.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16128/Advance Payt: Boarding Mare with Colt', NULL, 974, 7, '2018-11-03', 19603, 1, '2018-11-27', 0, NULL, NULL, 0),
(19606, 1738, '2018-11-03', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16128', NULL, 974, 7, '2018-11-03', 19603, 0, '0000-00-00', 1, 7, '2018-11-03', 0),
(19607, 1739, '2018-11-01', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16128', NULL, 974, 7, '2018-11-03', 19603, 1, '2018-11-27', 0, NULL, NULL, 0),
(19608, 16129, '2018-11-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, '', '21601', 965, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19609, 16130, '2018-11-01', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, '', '21602,21603', 972, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19610, 16131, '2018-11-01', 'Debit', 1500.00, 1500.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Taif Winning Prize (Free 1 Breeding)', '21604,21605,21606', 976, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19611, 16132, '2018-11-03', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, '', '21607', 138, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19612, 16133, '2018-11-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, '', '21608', 138, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19613, 1740, '2018-11-03', 'Credit', 2128.00, 0.00, 2128.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 266, 5, '2018-11-03', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19614, 16134, '2018-11-03', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, '', '21609,21610', 138, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19615, 16135, '2018-11-03', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-032', '21611,21612,21613', 266, 5, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19616, 16136, '2018-11-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, '', '21614', 138, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19617, 16137, '2018-11-03', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Sexyng Semen', '21615', 266, 5, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19618, 16138, '2018-11-03', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, '', '21616,21617', 138, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19619, 16139, '2018-11-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, '', '21618', 138, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19620, 16140, '2018-11-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, '', '21619', 183, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19621, 16141, '2018-11-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, '', '21620', 348, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19622, 16142, '2018-11-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, '', '21621', 323, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19623, 16143, '2018-11-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, '', '21622', 139, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19624, 16144, '2018-11-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, '', '21623', 954, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19625, 16145, '2018-11-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, '', '21624', 231, 7, '2018-11-03', NULL, 0, '0000-00-00', 1, 7, '2018-11-03', 0),
(19626, 16146, '2018-11-02', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, '', '21625', 231, 7, '2018-11-03', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19627, 1741, '2018-11-03', 'Credit', 3675.00, 0.00, 3675.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16135', NULL, 266, 5, '2018-11-03', 19615, 1, '2018-11-27', 0, NULL, NULL, 0),
(19628, 16147, '2018-11-04', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18585 System Generated Invoice', '', 572, 10, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19629, 16148, '2018-11-04', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18586 System Generated Invoice', '', 266, 10, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19630, 16149, '2018-11-04', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18589 System Generated Invoice', '', 975, 10, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19631, 16150, '2018-11-04', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18591 System Generated Invoice', '', 387, 10, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19632, 16151, '2018-11-04', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18592 System Generated Invoice', '', 152, 10, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19633, 16152, '2018-11-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18593 System Generated Invoice', '', 965, 10, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19634, 16153, '2018-11-04', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18594 System Generated Invoice', '', 301, 10, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19635, 16154, '2018-11-04', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18597 System Generated Invoice', '', 971, 10, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19636, 16155, '2018-11-04', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18598 System Generated Invoice', '', 973, 10, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0);
INSERT INTO `invoice` (`invoice_id`, `invoice_code`, `date`, `kind`, `amount`, `discount`, `net_amount`, `tax_amount`, `cc_id`, `opening_balance`, `transaction_type`, `method`, `reference_num`, `description`, `procedures`, `customer_ref`, `created_by`, `created_date`, `related_invoice`, `confirmed`, `confirmed_date`, `is_deleted`, `deleted_by`, `deleted_date`, `is_refunded`) VALUES
(19637, 16156, '2018-11-04', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18599 System Generated Invoice', '', 138, 10, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19638, 16157, '2018-11-04', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18603 System Generated Invoice', '', 971, 10, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19639, 16158, '2018-11-04', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18607 System Generated Invoice', '', 138, 10, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19640, 1742, '2018-11-01', 'Credit', 38688.00, 0.00, 38688.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 158, 7, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19641, 1548, '2018-11-01', 'Debit', 0.53, 0.00, 0.56, 0.03, 2, 0, 'charge', NULL, NULL, 'To Offset Variance', NULL, 158, 7, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19642, 16159, '2018-10-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Milad -> Khalediah Hospital round trip (Gone 1-Oct-2018 back to Milad 15-Oct-2018) 2 Horses SARA BHM,  Cateriana FM', '21641', 183, 6, '2018-11-04', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19643, 16160, '2018-10-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Milad -> Khalediah Hospital round trip (Gone 1-Oct-2018 back to Milad 15-Oct-2018) 2 Horses MARIA AL YAH & MIZNA AL YAH', '21642', 534, 6, '2018-11-04', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19644, 16161, '2018-10-31', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'Milad -> Khalediah Hospital round trip (Gone 17-Oct-2018 back to Milad 24-Oct-2018) 2 Horses MVA IMPERIAL MIST, ALEGRA, REEF BHM', '21643', 183, 6, '2018-11-04', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19645, 16162, '2018-11-04', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare: SALWA ( Sultan Al Otaiby ) ', '21644', 160, 5, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19646, 1743, '2018-11-04', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16162', NULL, 160, 5, '2018-11-04', 19645, 1, '2018-11-27', 0, NULL, NULL, 0),
(19647, 16163, '2018-11-04', 'Debit', 230.01, 0.00, 241.51, 11.50, 2, 0, 'invoice', NULL, NULL, 'For Check Out', '21645', 974, 7, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19648, 16164, '2018-10-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, '', '21646', 348, 7, '2018-11-04', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19649, 16165, '2018-10-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21647', 164, 7, '2018-11-04', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19650, 16166, '2018-10-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21648', 533, 7, '2018-11-04', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19651, 16167, '2018-10-31', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21649', 418, 7, '2018-11-04', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19652, 16168, '2018-11-04', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare; MADRI ( Mohammed Al Ajami )', '21650', 160, 5, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19653, 1744, '2018-11-04', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16168', NULL, 160, 5, '2018-11-04', 19652, 1, '2018-11-27', 0, NULL, NULL, 0),
(19654, 16169, '2018-11-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21651', 81, 7, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19655, 16170, '2018-11-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21652', 183, 7, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19656, 16171, '2018-11-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21653', 183, 7, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19657, 16172, '2018-11-04', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-033', '21654,21655', 977, 5, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19658, 1745, '2018-11-04', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16172', NULL, 977, 5, '2018-11-04', 19657, 1, '2018-11-27', 0, NULL, NULL, 0),
(19659, 1746, '2018-11-04', 'Credit', 2913.75, 0.00, 2913.75, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 384, 5, '2018-11-04', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19660, 16173, '2018-11-04', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-034', '21656,21657', 384, 5, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19661, 1747, '2018-11-04', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16173', NULL, 384, 5, '2018-11-04', 19660, 1, '2018-11-27', 0, NULL, NULL, 0),
(19662, 16174, '2018-11-04', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-035', '21658,21659', 978, 5, '2018-11-04', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19663, 1748, '2018-11-04', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16174', NULL, 978, 5, '2018-11-04', 19662, 1, '2018-11-27', 0, NULL, NULL, 0),
(19664, 16175, '2018-11-05', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18611 System Generated Invoice', '', 476, 10, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19665, 16176, '2018-11-05', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18612 System Generated Invoice', '', 977, 10, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19666, 16177, '2018-11-05', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18615 System Generated Invoice', '', 976, 10, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19667, 16178, '2018-11-05', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18616 System Generated Invoice', '', 574, 10, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19668, 16179, '2018-11-05', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18617 System Generated Invoice', '', 384, 10, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19669, 16180, '2018-11-05', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18618 System Generated Invoice', '', 975, 10, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19670, 16181, '2018-11-05', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18619 System Generated Invoice', '', 975, 10, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19671, 16182, '2018-11-05', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Care of Ali	', '21670', 160, 5, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19672, 1749, '2018-11-05', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16182', NULL, 160, 5, '2018-11-05', 19671, 1, '2018-11-27', 0, NULL, NULL, 0),
(19673, 16183, '2018-11-05', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18621 System Generated Invoice', '', 415, 10, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19674, 16184, '2018-11-05', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18622 System Generated Invoice', '', 522, 10, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19675, 16185, '2018-11-05', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare: AL JADAL ( Al Humaidy )', '21675', 160, 5, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19676, 1750, '2018-11-05', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16185', NULL, 160, 5, '2018-11-05', 19675, 1, '2018-11-27', 0, NULL, NULL, 0),
(19677, 1751, '2018-11-05', 'Credit', 1058.00, 0.00, 1058.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 366, 5, '2018-11-05', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19678, 16186, '2018-11-05', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, '6000-036', '21676', 979, 5, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19679, 16187, '2018-11-05', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, '6000-037', '21677', 979, 5, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19680, 1752, '2018-11-05', 'Credit', 2100.00, 0.00, 2100.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 979, 5, '2018-11-05', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19681, 16188, '2018-11-05', 'Debit', 330.00, 0.00, 346.50, 16.50, 2, 0, 'invoice', NULL, NULL, '11 Litters Nitrogen.', '21678', 979, 5, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19682, 1753, '2018-11-05', 'Credit', 346.50, 0.00, 346.50, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16188', NULL, 979, 5, '2018-11-05', 19681, 1, '2018-11-27', 0, NULL, NULL, 0),
(19683, 16189, '2018-11-05', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-38', '21679,21680', 371, 5, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19684, 1754, '2018-11-05', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16189', NULL, 371, 5, '2018-11-05', 19683, 1, '2018-11-27', 0, NULL, NULL, 0),
(19685, 16190, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, '', '21684', 150, 7, '2018-11-05', NULL, 0, '0000-00-00', 1, 7, '2018-11-05', 0),
(19686, 16191, '2018-11-05', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18624 System Generated Invoice', '', 153, 10, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19687, 16192, '2018-11-05', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18625 System Generated Invoice', '', 323, 10, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19688, 16193, '2018-11-05', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18626 System Generated Invoice', '', 138, 10, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19689, 16194, '2018-11-05', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18627 System Generated Invoice', '', 183, 10, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19690, 16195, '2018-11-05', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Abdul Rahman Al Bawardi ( transport horse from King/ ABDULLAH Stables to JANADRIYAH )', '21692', 203, 5, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19691, 1755, '2018-11-05', 'Credit', 105.00, 0.00, 105.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16195', NULL, 203, 5, '2018-11-05', 19690, 1, '2018-11-27', 0, NULL, NULL, 0),
(19692, 16196, '2018-11-05', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-039', '21693,21694', 980, 5, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19693, 1756, '2018-11-05', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16196', NULL, 980, 5, '2018-11-05', 19692, 1, '2018-11-27', 0, NULL, NULL, 0),
(19694, 16197, '2018-11-05', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Care of Ali', '21695', 160, 5, '2018-11-05', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19695, 1757, '2018-11-05', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16197', NULL, 160, 5, '2018-11-05', 19694, 1, '2018-11-27', 0, NULL, NULL, 0),
(19696, 16198, '2018-11-06', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18628 System Generated Invoice', '', 978, 10, '2018-11-06', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19697, 16199, '2018-11-06', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18631 System Generated Invoice', '', 371, 10, '2018-11-06', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19698, 16200, '2018-11-06', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18632 System Generated Invoice', '', 975, 10, '2018-11-06', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19699, 16201, '2018-11-06', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18633 System Generated Invoice', '', 975, 10, '2018-11-06', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19700, 16202, '2018-11-06', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18635 System Generated Invoice', '', 574, 10, '2018-11-06', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19701, 16203, '2018-11-06', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '5000-019', '21707,21708', 981, 5, '2018-11-06', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19702, 16204, '2018-11-06', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Transport ( AKHIRAT AL SHAKLAN ) from Faisal Al Dughaibi stable to MILAD.', '21735', 156, 5, '2018-11-06', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19703, 16205, '2018-11-07', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18645 System Generated Invoice', '', 387, 10, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19704, 16206, '2018-11-07', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18646 System Generated Invoice', '', 415, 10, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19705, 16207, '2018-11-07', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18647 System Generated Invoice', '', 957, 10, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19706, 16208, '2018-11-07', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18649 System Generated Invoice', '', 975, 10, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19707, 16209, '2018-11-07', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18650 System Generated Invoice', '', 371, 10, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19708, 16210, '2018-11-07', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-041', '21744,21745,21746', 95, 5, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19709, 16211, '2018-11-07', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18651 System Generated Invoice', '', 95, 10, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19710, 16212, '2018-11-07', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare: SHABIYAH ( Omar Al Otaiby )', '21749', 160, 5, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19711, 16213, '2018-11-07', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18652 System Generated Invoice', '', 95, 10, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19712, 16214, '2018-11-07', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18653 System Generated Invoice', '', 975, 10, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19713, 16215, '2018-11-07', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18654 System Generated Invoice', '', 301, 10, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19714, 1758, '2018-11-07', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16212', NULL, 160, 5, '2018-11-07', 19710, 1, '2018-11-27', 0, NULL, NULL, 0),
(19715, 16216, '2018-11-07', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-042', '21756,21757,21758', 982, 5, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19716, 1759, '2018-11-07', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16216', NULL, 982, 5, '2018-11-07', 19715, 1, '2018-11-27', 0, NULL, NULL, 0),
(19717, 16217, '2018-11-07', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Care : Moubarek', '21759', 160, 5, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19718, 1760, '2018-11-07', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16217', NULL, 160, 5, '2018-11-07', 19717, 1, '2018-11-27', 0, NULL, NULL, 0),
(19719, 1549, '2017-09-01', 'Debit', -4000.00, 0.00, -4000.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Reversal of wrong entry', NULL, 504, 13, '2018-11-07', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19720, 1550, '2017-09-01', 'Debit', 4000.00, 0.00, 4000.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Beginning balance', NULL, 983, 13, '2018-11-07', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19721, 1761, '2018-10-27', 'Credit', 2300.00, 0.00, 2300.00, 0.00, 3, 0, 'payment', 'span', '', 'Boarding fee (w/ colt)', NULL, 968, 13, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19722, 16218, '2018-10-31', 'Debit', 466.69, 0.00, 490.02, 23.33, 2, 0, 'invoice', NULL, NULL, 'Boarding  7 Days in Month of OCT 2018', '21681', 411, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19723, 16219, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding   30  Days in Month of OCT 2018', '21682', 413, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19724, 16220, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21683', 360, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19725, 16221, '2018-11-07', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18660 System Generated Invoice', '', 138, 10, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19726, 16222, '2018-11-07', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18661 System Generated Invoice', '', 153, 10, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19727, 16223, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21685', 375, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19728, 16224, '2018-10-31', 'Debit', 1600.00, 0.00, 1680.00, 80.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  24 Days in Month of OCT 2018', '21704', 183, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19729, 16225, '2018-11-07', 'Debit', 530.00, 0.00, 556.50, 26.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18662 System Generated Invoice', '', 138, 10, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19730, 16226, '2018-10-31', 'Debit', 1600.08, 0.00, 1680.08, 80.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  24 Days in Month of OCT 2018', '21705', 183, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19731, 16227, '2018-10-31', 'Debit', 1600.08, 0.00, 1680.08, 80.00, 2, 0, 'invoice', NULL, NULL, 'Boarding   24 Days in Month of OCT 2018', '21706', 183, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19732, 16228, '2018-10-31', 'Debit', 1066.72, 0.00, 1120.06, 53.34, 2, 0, 'invoice', NULL, NULL, 'Boarding  16  Days in Month of OCT 2018', '21709', 183, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19733, 16229, '2018-10-31', 'Debit', 1066.72, 0.00, 1120.06, 53.34, 2, 0, 'invoice', NULL, NULL, 'Boarding   16  Days in Month of OCT 2018', '21710', 183, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19734, 16230, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21711', 183, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19735, 16231, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21712', 509, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19736, 16232, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21713', 81, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19737, 16233, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21714', 439, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19738, 16234, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21715', 164, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19739, 16235, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21716', 164, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19740, 16236, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21717', 164, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19741, 16237, '2018-10-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21718', 164, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19742, 16238, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21719', 164, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19743, 16239, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21720', 164, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19744, 16240, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21721', 164, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19745, 16241, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21722', 164, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19746, 16242, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21723', 954, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19747, 16243, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21724', 328, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19748, 16244, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21725', 533, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19749, 16245, '2018-10-31', 'Debit', 1066.72, 0.00, 1120.06, 53.34, 2, 0, 'invoice', NULL, NULL, 'Boarding  16 Days in Month of OCT 2018', '21726', 534, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19750, 16246, '2018-10-31', 'Debit', 1066.72, 0.00, 1120.06, 53.34, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21727', 534, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19751, 16247, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21728', 525, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19752, 16248, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21729', 354, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19753, 16249, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21730', 418, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19754, 16250, '2018-10-31', 'Debit', 383.35, 0.00, 402.52, 19.17, 2, 0, 'invoice', NULL, NULL, 'Boarding  5  Days in Month of OCT 2018', '21731', 971, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19755, 16251, '2018-11-07', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18663 System Generated Invoice', '', 323, 10, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19756, 16252, '2018-10-31', 'Debit', 333.35, 0.00, 350.02, 16.67, 2, 0, 'invoice', NULL, NULL, 'Boarding   5 Days in Month of OCT 2018', '21732', 971, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19757, 16253, '2018-10-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of OCT 2018', '21733', 348, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19758, 16254, '2018-10-31', 'Debit', 200.01, 0.00, 210.01, 10.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  3 Days in Month of OCT 2018', '21734', 973, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19759, 16255, '2018-10-31', 'Debit', 133.00, 0.00, 139.65, 6.65, 2, 0, 'invoice', NULL, NULL, 'Boarding   2  Days in Month of OCT 2018', '21202', 956, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19760, 1551, '2018-10-31', 'Debit', -4000.00, 0.00, -4200.00, -200.00, 2, 0, 'charge', NULL, NULL, 'Cancel Card in 9 OCT 2018', NULL, 956, 11, '2018-11-07', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19761, 16256, '2018-11-07', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18664 System Generated Invoice', '', 183, 10, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19762, 16257, '2018-11-07', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18665 System Generated Invoice', '', 139, 10, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19763, 16258, '2018-11-07', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18668 System Generated Invoice', '', 138, 10, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19764, 16259, '2018-11-07', 'Debit', 530.00, 0.00, 556.50, 26.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18669 System Generated Invoice', '', 156, 10, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19765, 16260, '2018-11-07', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18670 System Generated Invoice', '', 968, 10, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19766, 16261, '2018-11-07', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18671 System Generated Invoice', '', 95, 10, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19767, 1762, '2018-11-07', 'Credit', 3000.00, 0.00, 3000.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 272, 5, '2018-11-07', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19768, 1763, '2018-11-07', 'Credit', 588.00, 0.00, 588.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 522, 5, '2018-11-07', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19769, 1764, '2018-11-07', 'Credit', 6300.00, 0.00, 6300.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 981, 5, '2018-11-07', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19770, 1765, '2018-11-07', 'Credit', 871.50, 0.00, 871.50, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 528, 5, '2018-11-07', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19771, 16262, '2018-11-07', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-043', '21782,21783', 528, 5, '2018-11-07', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19772, 1766, '2018-11-07', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16262', NULL, 528, 5, '2018-11-07', 19771, 1, '2018-11-27', 0, NULL, NULL, 0),
(19773, 1767, '2018-11-07', 'Credit', 2581.50, 0.00, 2581.50, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 236, 5, '2018-11-07', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19774, 16263, '2018-11-08', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18673 System Generated Invoice', '', 95, 10, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19775, 16264, '2018-11-08', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18674 System Generated Invoice', '', 522, 10, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19776, 16265, '2018-11-08', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18675 System Generated Invoice', '', 476, 10, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19777, 16266, '2018-11-08', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18676 System Generated Invoice', '', 231, 10, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19778, 16267, '2018-11-08', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18677 System Generated Invoice', '', 387, 10, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19779, 16268, '2018-11-08', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18678 System Generated Invoice', '', 972, 10, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19780, 16269, '2018-11-08', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-044', '21791,21792', 176, 5, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19781, 1768, '2018-11-07', 'Credit', 80000.00, 0.00, 80000.00, 0.00, 2, 0, 'payment', 'transfer', '', '', NULL, 479, 5, '2018-11-08', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19782, 1552, '2018-11-08', 'Debit', -2500.00, 0.00, -2500.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Change Contract from Frozen to Fresh for Services in 2017 ( sHAHMAT AL KHALEDAH )', NULL, 95, 11, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19783, 1553, '2018-11-08', 'Debit', -4000.00, 0.00, -4000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Discount sr . 4000/- ( BK EKSTERNAL ) for Services in 2017', NULL, 95, 11, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19784, 1554, '2018-11-08', 'Debit', -1500.00, 0.00, -1575.00, -75.00, 2, 0, 'charge', NULL, NULL, 'Cancel invoice ( 1,500 ) + VAT ( 75 ) for AMIRA AL ZOBAIR', NULL, 95, 11, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19785, 1555, '2018-11-08', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'charge', NULL, NULL, '', NULL, 95, 11, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19786, 1556, '2018-11-08', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'charge', NULL, NULL, '', NULL, 95, 11, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19787, 16270, '2018-11-08', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18682 System Generated Invoice', '', 371, 10, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19788, 16271, '2018-11-08', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18683 System Generated Invoice', '', 973, 10, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19789, 16272, '2018-11-08', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18684 System Generated Invoice', '', 153, 10, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19790, 16273, '2018-11-08', 'Debit', 380.00, 0.00, 399.00, 19.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18685 System Generated Invoice', '', 138, 10, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19791, 16274, '2018-11-08', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18686 System Generated Invoice', '', 323, 10, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19792, 16275, '2018-11-08', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18688 System Generated Invoice', '', 348, 10, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19793, 16276, '2018-11-08', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18689 System Generated Invoice', '', 183, 10, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19794, 16277, '2018-11-08', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18690 System Generated Invoice', '', 138, 10, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19795, 16278, '2018-11-08', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18691 System Generated Invoice', '', 954, 10, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19796, 16279, '2018-11-08', 'Debit', 330.00, 0.00, 346.50, 16.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18692 System Generated Invoice', '', 156, 10, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19797, 16280, '2018-11-08', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-045', '21816,21817', 429, 5, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19798, 16281, '2018-11-08', 'Debit', 440.00, 0.00, 462.00, 22.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18694 System Generated Invoice', '', 975, 10, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19799, 1769, '2018-11-08', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16280', NULL, 429, 5, '2018-11-08', 19797, 1, '2018-11-27', 0, NULL, NULL, 0),
(19800, 16282, '2018-11-08', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare: MALHA ( Nmr Al Otaiby ) ', '21822', 160, 5, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19801, 1770, '2018-11-08', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16282', NULL, 160, 5, '2018-11-08', 19800, 1, '2018-11-27', 0, NULL, NULL, 0),
(19802, 16283, '2018-11-01', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, '', '21823', 974, 11, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19803, 16284, '2018-11-06', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, '', '21824', 974, 11, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19804, 16285, '2018-11-06', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, '', '21825', 974, 11, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19805, 1771, '2018-11-08', 'Credit', 16911.25, 0.00, 16911.25, 0.00, 2, 0, 'payment', 'cash', '', 'Transferred to Mr. Nasir account ( 12056.5 SAR + 4854.75 SAR ) 6-Nov-2018.', NULL, 95, 5, '2018-11-08', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19806, 16286, '2018-11-08', 'Debit', -4000.00, 0.00, -4200.00, -200.00, 2, 0, 'invoice', NULL, NULL, 'Cancel Card No 5000 - 018 ( Inv No. 16128 )', '21826', 974, 11, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19807, 16287, '2018-11-08', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-046', '21827,21828', 984, 5, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19808, 1772, '2018-11-08', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16287', NULL, 984, 5, '2018-11-08', 19807, 1, '2018-11-27', 0, NULL, NULL, 0),
(19809, 16288, '2018-11-08', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18695 System Generated Invoice', '', 984, 10, '2018-11-08', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19810, 1773, '2018-11-08', 'Credit', 1050.00, 0.00, 1050.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Received  payment in Bank Alexxanderr 1 dose charges  Breeder: ABDUL AZIZ AL ATTAWI - Kuwait (Confirmed by Mr. Jassim) Bank Ref: 29-10-2018', NULL, 964, 6, '2018-11-08', NULL, 1, '2018-12-09', 0, NULL, NULL, 0),
(19811, 16289, '2018-11-09', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18697 System Generated Invoice', '', 977, 10, '2018-11-09', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19812, 16290, '2018-11-09', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18698 System Generated Invoice', '', 371, 10, '2018-11-09', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19813, 16291, '2018-11-09', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18699 System Generated Invoice', '', 95, 10, '2018-11-09', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19814, 16292, '2018-11-09', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18700 System Generated Invoice', '', 95, 10, '2018-11-09', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19815, 16293, '2018-11-09', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18702 System Generated Invoice', '', 961, 10, '2018-11-09', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19816, 16294, '2018-11-09', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18703 System Generated Invoice', '', 476, 10, '2018-11-09', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19817, 16295, '2018-11-09', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18704 System Generated Invoice', '', 231, 10, '2018-11-09', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19818, 16296, '2018-11-09', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18705 System Generated Invoice', '', 266, 10, '2018-11-09', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19819, 16297, '2018-11-09', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18706 System Generated Invoice', '', 152, 10, '2018-11-09', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19820, 16298, '2018-11-09', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18708 System Generated Invoice', '', 301, 10, '2018-11-09', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19821, 16299, '2018-11-09', 'Debit', 530.00, 0.00, 556.50, 26.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18712 System Generated Invoice', '', 138, 10, '2018-11-09', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19822, 16300, '2018-11-09', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18713 System Generated Invoice', '', 138, 10, '2018-11-09', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19823, 16301, '2018-11-09', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18714 System Generated Invoice', '', 323, 10, '2018-11-09', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19824, 16302, '2018-11-09', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18715 System Generated Invoice', '', 138, 10, '2018-11-09', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19825, 16303, '2018-11-09', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18716 System Generated Invoice', '', 183, 10, '2018-11-09', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19826, 16304, '2018-11-09', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18717 System Generated Invoice', '', 139, 10, '2018-11-09', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19827, 16305, '2018-11-09', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18719 System Generated Invoice', '', 138, 10, '2018-11-09', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19828, 16306, '2018-11-09', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18720 System Generated Invoice', '', 156, 10, '2018-11-09', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19829, 1774, '2018-11-10', 'Credit', 1176.00, 0.00, 1176.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 268, 5, '2018-11-10', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19830, 16307, '2018-11-10', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-047', '21869,21870', 268, 5, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19831, 16308, '2018-11-10', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18722 System Generated Invoice', '', 95, 10, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19832, 1775, '2018-11-10', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16307', NULL, 268, 5, '2018-11-10', 19830, 1, '2018-11-27', 0, NULL, NULL, 0),
(19833, 16309, '2018-11-10', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18723 System Generated Invoice', '', 266, 10, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19834, 16310, '2018-11-10', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-048', '21873,21874', 276, 5, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19835, 1776, '2018-11-10', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16310', NULL, 276, 5, '2018-11-10', 19834, 1, '2018-11-27', 0, NULL, NULL, 0),
(19836, 16311, '2018-11-10', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18724 System Generated Invoice', '', 961, 10, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19837, 16312, '2018-11-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18725 System Generated Invoice', '', 572, 10, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19838, 16313, '2018-11-10', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18726 System Generated Invoice', '', 476, 10, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19839, 16314, '2018-11-10', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18727 System Generated Invoice', '', 371, 10, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19840, 16315, '2018-11-10', 'Debit', 130.00, 0.00, 136.50, 6.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18728 System Generated Invoice', '', 975, 10, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19841, 16316, '2018-11-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18732 System Generated Invoice', '', 276, 10, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19842, 16317, '2018-11-09', 'Debit', -230.00, 0.00, -241.50, -11.50, 2, 0, 'invoice', NULL, NULL, 'Cancel invoice No. 16298', '21882,21883', 301, 11, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19843, 16318, '2018-11-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18733 System Generated Invoice', '', 957, 10, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19844, 1777, '2018-11-10', 'Credit', 350.00, 0.00, 350.00, 0.00, 2, 0, 'payment', 'cash', '', '', NULL, 959, 5, '2018-11-10', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19845, 16319, '2018-11-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18736 System Generated Invoice', '', 959, 10, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19846, 1778, '2018-11-10', 'Credit', 610.00, 0.00, 610.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 152, 5, '2018-11-10', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19847, 16320, '2018-11-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Transport 2 Horses inside JANADRIYAH ( Bandar Al Otaiby )', '21887', 160, 5, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19848, 1779, '2018-11-10', 'Credit', 52.50, 0.00, 52.50, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16320', NULL, 160, 5, '2018-11-10', 19847, 1, '2018-11-27', 0, NULL, NULL, 0),
(19849, 16321, '2018-11-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18738 System Generated Invoice', '', 984, 10, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19850, 16322, '2018-11-10', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '5000-021', '21889,21890', 985, 5, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19851, 16323, '2018-11-10', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-049', '21891,21892', 621, 5, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19852, 1780, '2018-11-10', 'Credit', 10000.00, 0.00, 10000.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16323', NULL, 621, 5, '2018-11-10', 19851, 1, '2018-11-27', 0, NULL, NULL, 0),
(19853, 16324, '2018-11-10', 'Debit', -4000.00, 0.00, -4200.00, -200.00, 2, 0, 'invoice', NULL, NULL, 'Refund to Customer', '21793', 95, 13, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19854, 16325, '2018-11-10', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare: Grey', '21893', 160, 5, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19855, 1781, '2018-11-10', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16325', NULL, 160, 5, '2018-11-10', 19854, 1, '2018-11-27', 0, NULL, NULL, 0),
(19856, 16326, '2018-11-10', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18740 System Generated Invoice', '', 621, 10, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19857, 16327, '2018-11-10', 'Debit', 666.37, 0.00, 699.69, 33.32, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 10 ) Nov-2018', '21897', 986, 5, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19858, 16328, '2018-11-10', 'Debit', 270.00, 0.00, 283.50, 13.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18741 System Generated Invoice', '', 973, 10, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19859, 16329, '2018-11-10', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18742 System Generated Invoice', '', 156, 10, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19860, 16330, '2018-11-10', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18744 System Generated Invoice', '', 138, 10, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19861, 16331, '2018-11-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Transport ( AKHIRAT AL SHAKLAN ) from MILAD to Faisal Al Dughaibi stable.', '21903', 156, 5, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19862, 16332, '2018-11-10', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18745 System Generated Invoice', '', 138, 10, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19863, 16333, '2018-11-10', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18747 System Generated Invoice', '', 139, 10, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19864, 1782, '2018-11-10', 'Credit', 700.00, 0.00, 700.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 986, 5, '2018-11-10', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19865, 16334, '2018-11-10', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18748 System Generated Invoice', '', 323, 10, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19866, 16335, '2018-11-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18750 System Generated Invoice', '', 985, 10, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19867, 16336, '2018-11-10', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-050', '21914,21915', 494, 5, '2018-11-10', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19868, 1783, '2018-11-10', 'Credit', 4767.00, 0.00, 4767.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 494, 5, '2018-11-10', 19867, 1, '2018-11-27', 0, NULL, NULL, 0),
(19869, 1784, '2018-11-10', 'Credit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 238, 5, '2018-11-10', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19870, 16337, '2018-11-11', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18751 System Generated Invoice', '', 152, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19871, 16338, '2018-11-11', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-051', '21917,21918', 987, 5, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19872, 1785, '2018-11-11', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16338', NULL, 987, 5, '2018-11-11', 19871, 1, '2018-11-28', 0, NULL, NULL, 0),
(19873, 16339, '2018-11-11', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18753 System Generated Invoice', '', 371, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19874, 16340, '2018-11-11', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18754 System Generated Invoice', '', 95, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19875, 16341, '2018-11-11', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18755 System Generated Invoice', '', 95, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19876, 16342, '2018-11-11', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18757 System Generated Invoice', '', 621, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19877, 16343, '2018-11-11', 'Debit', 605.00, 0.00, 635.25, 30.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18761 System Generated Invoice', '', 415, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19878, 16344, '2018-11-11', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18764 System Generated Invoice', '', 965, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0);
INSERT INTO `invoice` (`invoice_id`, `invoice_code`, `date`, `kind`, `amount`, `discount`, `net_amount`, `tax_amount`, `cc_id`, `opening_balance`, `transaction_type`, `method`, `reference_num`, `description`, `procedures`, `customer_ref`, `created_by`, `created_date`, `related_invoice`, `confirmed`, `confirmed_date`, `is_deleted`, `deleted_by`, `deleted_date`, `is_refunded`) VALUES
(19879, 16345, '2018-11-11', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18765 System Generated Invoice', '', 961, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19880, 16346, '2018-11-11', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18766 System Generated Invoice', '', 266, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19881, 1786, '2018-11-11', 'Credit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'payment', 'span', '', 'Purchased 1 Breeding Kanz Al Bidayer ', NULL, 177, 5, '2018-11-11', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19882, 1787, '2018-11-11', 'Credit', 324.00, 0.00, 324.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 177, 5, '2018-11-11', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19883, 16347, '2018-11-11', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18767 System Generated Invoice', '', 973, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19884, 16348, '2018-11-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18768 System Generated Invoice', '', 981, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19885, 16349, '2018-11-11', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18770 System Generated Invoice', '', 138, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19886, 16350, '2018-11-11', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18771 System Generated Invoice', '', 138, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19887, 16351, '2018-11-11', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18772 System Generated Invoice', '', 138, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19888, 16352, '2018-11-11', 'Debit', 255.00, 0.00, 267.75, 12.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18773 System Generated Invoice', '', 348, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19889, 16353, '2018-11-11', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18774 System Generated Invoice', '', 139, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19890, 16354, '2018-11-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18776 System Generated Invoice', '', 139, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19891, 16355, '2018-11-11', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18777 System Generated Invoice', '', 138, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19892, 16356, '2018-11-11', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18779 System Generated Invoice', '', 954, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19893, 16357, '2018-11-11', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18780 System Generated Invoice', '', 231, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19894, 16358, '2018-11-11', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-052', '21951,21952', 974, 5, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19895, 1557, '2018-11-11', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'charge', NULL, NULL, '', NULL, 138, 13, '2018-11-11', NULL, 1, '2018-11-11', 0, NULL, NULL, 0),
(19896, 1558, '2018-11-11', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'charge', NULL, NULL, '', NULL, 138, 13, '2018-11-11', NULL, 1, '2018-11-11', 0, NULL, NULL, 0),
(19897, 16359, '2018-11-11', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-053', '21953,21954', 988, 5, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19898, 1788, '2018-11-11', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16359', NULL, 988, 5, '2018-11-11', 19897, 1, '2018-11-28', 0, NULL, NULL, 0),
(19899, 16360, '2018-11-11', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18781 System Generated Invoice', '', 975, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19900, 16361, '2018-11-11', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18782 System Generated Invoice', '', 984, 10, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19901, 16362, '2018-11-11', 'Debit', 400.02, 0.00, 420.02, 20.00, 2, 0, 'invoice', NULL, NULL, '6 Days Boarding in NOV 2018 ( 4 - 10 Nov 2018 )', '21957', 981, 11, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19902, 1789, '2018-11-11', 'Credit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'payment', 'span', '', '1 Breeding ( KANZ AL BEDAYER )', NULL, 486, 5, '2018-11-11', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(19903, 16363, '2018-11-11', 'Debit', -4000.00, 0.00, -4200.00, -200.00, 2, 0, 'invoice', NULL, NULL, 'Cancel invoice ( Change Insemination form Frozen to Fresh )', '21958', 176, 11, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19904, 1790, '2018-11-11', 'Credit', 6300.00, 0.00, 6300.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Trans. to MILAd Al Rajhi Bank ( 10-Nov-2018 )', NULL, 985, 5, '2018-11-11', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(19905, 1791, '2018-11-11', 'Credit', 2463.00, 0.00, 2463.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Trans. to MILAD Al Rajhi Bank ( 8-Nov-2018 )', NULL, 415, 5, '2018-11-11', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(19906, 16364, '2018-11-11', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'Change Contract from  Frozen to Fresh   ( Alexender )', '21959,21960', 176, 11, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19907, 16365, '2018-11-11', 'Debit', -1500.00, 0.00, -1575.00, -75.00, 2, 0, 'invoice', NULL, NULL, 'Cancel Card', '21961,21962', 176, 11, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19908, 16366, '2018-11-11', 'Debit', -10000.00, 0.00, -10500.00, -500.00, 2, 0, 'invoice', NULL, NULL, 'Refund Lease to Customer', '21963', 327, 11, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19909, 1559, '2018-11-01', 'Debit', 100.00, 0.00, 100.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Paid cash to Hukum Singh for food expenses during Auction 26-Oct-2018', NULL, 138, 6, '2018-11-11', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19910, 16367, '2018-11-12', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18784 System Generated Invoice', '', 978, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19911, 16368, '2018-11-12', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18785 System Generated Invoice', '', 95, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19912, 16369, '2018-11-12', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18786 System Generated Invoice', '', 95, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19913, 16370, '2018-11-12', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18788 System Generated Invoice', '', 988, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19914, 16371, '2018-11-12', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18789 System Generated Invoice', '', 415, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19915, 16372, '2018-11-12', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18792 System Generated Invoice', '', 974, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19916, 16373, '2018-11-12', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-001', '21971,21972', 71, 5, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19917, 16374, '2018-11-12', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18793 System Generated Invoice', '', 961, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19918, 16375, '2018-11-12', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-002', '21974,21975', 71, 5, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19919, 16376, '2018-11-12', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18794 System Generated Invoice', '', 984, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19920, 16377, '2018-11-12', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18795 System Generated Invoice', '', 975, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19921, 16378, '2018-11-12', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'W-003', '21978', 71, 5, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19922, 16379, '2018-11-12', 'Debit', 130.00, 0.00, 136.50, 6.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18796 System Generated Invoice', '', 152, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19923, 16380, '2018-11-12', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18797 System Generated Invoice', '', 266, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19924, 16381, '2018-11-12', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18798 System Generated Invoice', '', 152, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19925, 16382, '2018-11-12', 'Debit', 450.00, 0.00, 472.50, 22.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18799 System Generated Invoice', '', 231, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19926, 16383, '2018-11-12', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18800 System Generated Invoice', '', 621, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19927, 16384, '2018-11-12', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-054', '21993,21994', 429, 5, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19928, 16385, '2018-11-12', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18801 System Generated Invoice', '', 973, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19929, 16386, '2018-11-12', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18802 System Generated Invoice', '', 138, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19930, 16387, '2018-11-12', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18803 System Generated Invoice', '', 138, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19931, 16388, '2018-11-12', 'Debit', 45.00, 0.00, 47.25, 2.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18804 System Generated Invoice', '', 348, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19932, 16389, '2018-11-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18807 System Generated Invoice', '', 138, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19933, 16390, '2018-11-12', 'Debit', -4000.00, 0.00, -4200.00, -200.00, 2, 0, 'invoice', NULL, NULL, 'Cancel Invoice No, 16384', '22006', 429, 11, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19934, 16391, '2018-11-12', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Elkehela', '22007', 160, 5, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19935, 1792, '2018-11-12', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16391', NULL, 160, 5, '2018-11-12', 19934, 1, '2018-11-28', 0, NULL, NULL, 0),
(19936, 16392, '2018-11-12', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18809 System Generated Invoice', '', 413, 10, '2018-11-12', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19937, 16393, '2018-11-13', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18810 System Generated Invoice', '', 266, 10, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19938, 16394, '2018-11-13', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18811 System Generated Invoice', '', 978, 10, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19939, 16395, '2018-11-13', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18813 System Generated Invoice', '', 621, 10, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19940, 16396, '2018-11-13', 'Debit', 270.00, 0.00, 283.50, 13.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18814 System Generated Invoice', '', 95, 10, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19941, 16397, '2018-11-13', 'Debit', 320.00, 0.00, 336.00, 16.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18816 System Generated Invoice', '', 152, 10, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19942, 16398, '2018-11-13', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18817 System Generated Invoice', '', 961, 10, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19943, 16399, '2018-11-13', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18819 System Generated Invoice', '', 384, 10, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19944, 16400, '2018-11-13', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18821 System Generated Invoice', '', 977, 10, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19945, 16401, '2018-11-13', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18822 System Generated Invoice', '', 974, 10, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19946, 16402, '2018-11-13', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18823 System Generated Invoice', '', 974, 10, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19947, 16403, '2018-11-13', 'Debit', -4000.00, 0.00, -4200.00, -200.00, 2, 0, 'invoice', NULL, NULL, '	Cancel Contract No. 4000 - 362', '22023', 350, 11, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19948, 16404, '2018-11-13', 'Debit', 450.00, 0.00, 472.50, 22.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18824 System Generated Invoice', '', 231, 10, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19949, 16405, '2018-11-13', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18825 System Generated Invoice', '', 415, 10, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19950, 16406, '2018-11-13', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18826 System Generated Invoice', '', 268, 10, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19951, 16407, '2018-11-13', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18829 System Generated Invoice', '', 138, 10, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19952, 16408, '2018-11-13', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18831 System Generated Invoice', '', 348, 10, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19953, 16409, '2018-11-13', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18832 System Generated Invoice', '', 139, 10, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19954, 16410, '2018-11-13', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18833 System Generated Invoice', '', 323, 10, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19955, 16411, '2018-11-13', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18834 System Generated Invoice', '', 965, 10, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19956, 1793, '2018-11-13', 'Credit', 22821.25, 0.00, 22821.25, 0.00, 2, 0, 'payment', 'transfer', '', '', NULL, 509, 5, '2018-11-13', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(19957, 1794, '2018-11-13', 'Credit', 745.00, 0.00, 745.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 340, 5, '2018-11-13', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(19958, 16412, '2018-11-13', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-054', '22040', 595, 5, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19959, 1795, '2018-11-13', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16412', NULL, 595, 5, '2018-11-13', 19958, 1, '2018-11-28', 0, NULL, NULL, 0),
(19960, 16413, '2018-11-13', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-055', '22041,22042', 989, 5, '2018-11-13', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19961, 1796, '2018-11-13', 'Credit', 4000.00, 0.00, 4000.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16413', NULL, 989, 5, '2018-11-13', 19960, 1, '2018-11-28', 0, NULL, NULL, 0),
(19962, 1797, '2018-11-13', 'Credit', 200.00, 0.00, 200.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16413', NULL, 989, 5, '2018-11-13', 19960, 1, '2018-11-28', 0, NULL, NULL, 0),
(19963, 1798, '2018-11-13', 'Credit', 5000.00, 0.00, 5000.00, 0.00, 2, 0, 'payment', 'span', '', 'for freezing 30 dozes ( FAHAD AL KHALEDIAH )', NULL, 340, 5, '2018-11-13', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(19964, 16414, '2018-11-14', 'Debit', 290.00, 0.00, 304.50, 14.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18836 System Generated Invoice', '', 95, 10, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19965, 16415, '2018-11-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18837 System Generated Invoice', '', 978, 10, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19966, 16416, '2018-11-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18838 System Generated Invoice', '', 528, 10, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19967, 16417, '2018-11-14', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18839 System Generated Invoice', '', 989, 10, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19968, 16418, '2018-11-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18840 System Generated Invoice', '', 621, 10, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19969, 16419, '2018-11-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18841 System Generated Invoice', '', 957, 10, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19970, 16420, '2018-11-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18842 System Generated Invoice', '', 152, 10, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19971, 16421, '2018-11-14', 'Debit', 130.00, 0.00, 136.50, 6.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18844 System Generated Invoice', '', 231, 10, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19972, 16422, '2018-11-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18845 System Generated Invoice', '', 95, 10, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19973, 16423, '2018-11-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18846 System Generated Invoice', '', 974, 10, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19974, 16424, '2018-11-14', 'Debit', 190.00, 0.00, 199.50, 9.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18847 System Generated Invoice', '', 268, 10, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19975, 16425, '2018-11-14', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, '0', '22063,22064,22065', 328, 5, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19976, 1799, '2018-11-14', 'Credit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'payment', 'span', '', '0', NULL, 328, 5, '2018-11-14', 19975, 1, '2018-12-09', 0, NULL, NULL, 0),
(19977, 16426, '2018-11-14', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, '0', '22066', 328, 5, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19978, 1800, '2018-11-14', 'Credit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'payment', 'span', '', '0', NULL, 328, 5, '2018-11-14', 19977, 1, '2018-12-09', 0, NULL, NULL, 0),
(19979, 16427, '2018-11-14', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18851 System Generated Invoice', '', 406, 10, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19980, 1560, '2018-11-14', 'Debit', -15450.00, 0.00, -15450.00, 0.00, 2, 0, 'charge', NULL, NULL, 'adjusting charge in R.C', NULL, 427, 11, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19981, 1561, '2018-11-14', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Rev from Old system in 2017 ', NULL, 427, 11, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19982, 1562, '2017-12-31', 'Debit', 35050.00, 0.00, 35050.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Rev from Old system in 2017', NULL, 427, 11, '2018-11-14', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19983, 16428, '2018-11-14', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'neama', '22072', 160, 5, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19984, 1801, '2018-11-14', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16428', NULL, 160, 5, '2018-11-14', 19983, 1, '2018-11-28', 0, NULL, NULL, 0),
(19985, 1802, '2018-11-14', 'Credit', 380.00, 0.00, 380.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 507, 5, '2018-11-14', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(19986, 16429, '2018-11-14', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-056', '22073,22074', 507, 5, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19987, 16430, '2018-11-14', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-057', '22075,22076', 507, 5, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19988, 16431, '2018-11-14', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-058', '22077,22078', 507, 5, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19989, 16432, '2018-11-14', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-059', '22079,22080', 507, 5, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19990, 1803, '2018-11-14', 'Credit', 16800.00, 0.00, 16800.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 507, 5, '2018-11-14', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(19991, 16433, '2018-11-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18853 System Generated Invoice', '', 138, 10, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19992, 16434, '2018-11-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18854 System Generated Invoice', '', 138, 10, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19993, 16435, '2018-11-14', 'Debit', 270.00, 0.00, 283.50, 13.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18855 System Generated Invoice', '', 138, 10, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19994, 16436, '2018-11-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18857 System Generated Invoice', '', 348, 10, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19995, 16437, '2018-11-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18858 System Generated Invoice', '', 968, 10, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19996, 16438, '2018-11-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18859 System Generated Invoice', '', 323, 10, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19997, 16439, '2018-11-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18860 System Generated Invoice', '', 954, 10, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19998, 16440, '2018-11-14', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-060', '22090,22091,22092', 990, 5, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(19999, 1804, '2018-11-14', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16440', NULL, 990, 5, '2018-11-14', 19998, 1, '2018-11-28', 0, NULL, NULL, 0),
(20000, 1805, '2018-11-14', 'Credit', 546.00, 0.00, 546.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 215, 5, '2018-11-14', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20001, 16441, '2018-11-14', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-061', '22093,22094', 215, 5, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20002, 16442, '2018-11-14', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Doctor Check in the Owner\'s Stable', '22095', 215, 5, '2018-11-14', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20003, 1806, '2018-11-14', 'Credit', 4725.00, 0.00, 4725.00, 0.00, 2, 0, 'payment', 'span', '', '6000-061', NULL, 215, 5, '2018-11-14', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20004, 16443, '2018-11-15', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18866 System Generated Invoice', '', 528, 10, '2018-11-15', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20005, 16444, '2018-11-15', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18867 System Generated Invoice', '', 572, 10, '2018-11-15', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20006, 16445, '2018-11-15', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18868 System Generated Invoice', '', 231, 10, '2018-11-15', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20007, 16446, '2018-11-15', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18869 System Generated Invoice', '', 276, 10, '2018-11-15', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20008, 16447, '2018-11-15', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18870 System Generated Invoice', '', 268, 10, '2018-11-15', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20009, 16448, '2018-11-15', 'Debit', 370.00, 0.00, 388.50, 18.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18871 System Generated Invoice', '', 95, 10, '2018-11-15', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20010, 16449, '2018-11-15', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18873 System Generated Invoice', '', 178, 10, '2018-11-15', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20011, 16450, '2018-11-15', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18874 System Generated Invoice', '', 972, 10, '2018-11-15', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20012, 16451, '2018-11-15', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 )', '22071', 427, 13, '2018-11-15', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20013, 16452, '2018-11-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18876 System Generated Invoice', '', 974, 10, '2018-11-15', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20014, 16453, '2018-11-15', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18877 System Generated Invoice', '', 138, 10, '2018-11-15', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20015, 16454, '2018-11-15', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18878 System Generated Invoice', '', 153, 10, '2018-11-15', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20016, 16455, '2018-11-15', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18879 System Generated Invoice', '', 138, 10, '2018-11-15', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20017, 16456, '2018-11-15', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18881 System Generated Invoice', '', 413, 10, '2018-11-15', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20018, 16457, '2018-11-15', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18882 System Generated Invoice', '', 531, 10, '2018-11-15', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20019, 1807, '2018-11-15', 'Credit', 5250.00, 0.00, 5250.00, 0.00, 1, 0, 'payment', 'span', '', '', NULL, 992, 5, '2018-11-15', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20020, 1563, '2018-11-15', 'Debit', 10143.00, 0.00, 10143.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Arthur expenses during Auction 2018 (Ticket fare Buenos-Ryd SAR. 6675.00, Ryd -> Sao Paulo SAR. 4605.00, Hotel charges SAR. 1506.00, Arthur fee for the trip USD. 2000.00) total SAR. 20,286.00 Sharing by 50% with Al Sayed Stud and Milad Training Center Each SAR. 10143', NULL, 138, 6, '2018-11-15', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20021, 16458, '2018-11-16', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18884 System Generated Invoice', '', 978, 10, '2018-11-16', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20022, 16459, '2018-11-16', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18886 System Generated Invoice', '', 972, 10, '2018-11-16', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20023, 16460, '2018-11-16', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18887 System Generated Invoice', '', 507, 10, '2018-11-16', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20024, 16461, '2018-11-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18888 System Generated Invoice', '', 507, 10, '2018-11-16', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20025, 16462, '2018-11-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18889 System Generated Invoice', '', 507, 10, '2018-11-16', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20026, 16463, '2018-11-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18890 System Generated Invoice', '', 507, 10, '2018-11-16', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20027, 16464, '2018-11-16', 'Debit', 330.00, 0.00, 346.50, 16.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18891 System Generated Invoice', '', 95, 10, '2018-11-16', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20028, 16465, '2018-11-16', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18892 System Generated Invoice', '', 95, 10, '2018-11-16', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20029, 16466, '2018-11-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18894 System Generated Invoice', '', 959, 10, '2018-11-16', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20030, 16467, '2018-11-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18895 System Generated Invoice', '', 974, 9, '2018-11-16', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20031, 16468, '2018-11-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18897 System Generated Invoice', '', 987, 9, '2018-11-16', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20032, 16469, '2018-11-16', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18898 System Generated Invoice', '', 476, 9, '2018-11-16', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20033, 16470, '2018-11-16', 'Debit', 210.00, 0.00, 220.50, 10.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18899 System Generated Invoice', '', 268, 10, '2018-11-16', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20034, 16471, '2018-11-16', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18901 System Generated Invoice', '', 138, 10, '2018-11-16', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20035, 16472, '2018-11-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18902 System Generated Invoice', '', 413, 10, '2018-11-16', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20036, 16473, '2018-11-16', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18903 System Generated Invoice', '', 138, 10, '2018-11-16', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20037, 16474, '2018-11-16', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18905 System Generated Invoice', '', 531, 10, '2018-11-16', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20038, 16475, '2018-11-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18906 System Generated Invoice', '', 215, 9, '2018-11-16', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20039, 16476, '2018-11-17', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18910 System Generated Invoice', '', 974, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20040, 16477, '2018-11-17', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18911 System Generated Invoice', '', 268, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20041, 16478, '2018-11-17', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18912 System Generated Invoice', '', 95, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20042, 16479, '2018-11-17', 'Debit', 270.00, 0.00, 283.50, 13.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18913 System Generated Invoice', '', 95, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20043, 16480, '2018-11-17', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-062', '22156', 414, 5, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20044, 16481, '2018-11-17', 'Debit', 190.00, 0.00, 199.50, 9.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18915 System Generated Invoice', '', 972, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20045, 16482, '2018-11-17', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18916 System Generated Invoice', '', 414, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20046, 16483, '2018-11-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18917 System Generated Invoice', '', 988, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20047, 16484, '2018-11-17', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '5000-024', '22166,22167', 109, 5, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20048, 16485, '2018-11-17', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '5000-025', '22168', 109, 5, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20049, 16486, '2018-11-17', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18918 System Generated Invoice', '', 528, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20050, 16487, '2018-11-17', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '5000-026', '22171,22172', 927, 5, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20051, 16488, '2018-11-17', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18919 System Generated Invoice', '', 406, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20052, 16489, '2018-11-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, '1 Piece Rubber Sheet ( Khaled Al Baraaq )', '22174', 160, 5, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20053, 1808, '2018-11-17', 'Credit', 210.00, 0.00, 210.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16489', NULL, 160, 5, '2018-11-17', 20052, 1, '2018-11-28', 0, NULL, NULL, 0),
(20054, 16490, '2018-11-17', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '6000-063 ( Collect Semen )', '22175,22176', 506, 5, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20055, 1809, '2018-11-17', 'Credit', 525.00, 0.00, 525.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16490', NULL, 506, 5, '2018-11-17', 20054, 1, '2018-11-28', 0, NULL, NULL, 0),
(20056, 16491, '2018-11-17', 'Debit', 700.00, 0.00, 735.00, 35.00, 2, 0, 'invoice', NULL, NULL, 'Dammam Road 200km ( Abdullah Al Baraaq )', '22177', 160, 5, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20057, 1810, '2018-11-17', 'Credit', 735.00, 0.00, 735.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16491', NULL, 160, 5, '2018-11-17', 20056, 1, '2018-11-28', 0, NULL, NULL, 0),
(20058, 16492, '2018-11-17', 'Debit', 590.00, 0.00, 619.50, 29.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18920 System Generated Invoice', '', 138, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20059, 16493, '2018-11-17', 'Debit', 720.00, 0.00, 756.00, 36.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18921 System Generated Invoice', '', 138, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20060, 16494, '2018-11-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18922 System Generated Invoice', '', 138, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20061, 16495, '2018-11-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18923 System Generated Invoice', '', 413, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20062, 16496, '2018-11-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18924 System Generated Invoice', '', 138, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20063, 16497, '2018-11-17', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18926 System Generated Invoice', '', 138, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20064, 16498, '2018-11-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18928 System Generated Invoice', '', 968, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20065, 16499, '2018-11-17', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18929 System Generated Invoice', '', 954, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20066, 16500, '2018-11-17', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18930 System Generated Invoice', '', 531, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20067, 16501, '2018-11-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18932 System Generated Invoice', '', 109, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20068, 16502, '2018-11-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18933 System Generated Invoice', '', 109, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20069, 1811, '2018-11-17', 'Credit', 682.50, 0.00, 682.50, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 302, 5, '2018-11-17', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20070, 16503, '2018-11-17', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-064', '22198', 302, 5, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20071, 1812, '2018-11-17', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16503', NULL, 302, 5, '2018-11-17', 20070, 1, '2018-11-28', 0, NULL, NULL, 0),
(20072, 16504, '2018-11-17', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Transport From his Stable to TADAWI.', '22199', 470, 5, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20073, 1813, '2018-11-17', 'Credit', 52.50, 0.00, 52.50, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16504', NULL, 470, 5, '2018-11-17', 20072, 1, '2018-11-28', 0, NULL, NULL, 0),
(20074, 16505, '2018-11-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18934 System Generated Invoice', '', 138, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20075, 16506, '2018-11-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18935 System Generated Invoice', '', 534, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20076, 16507, '2018-11-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18936 System Generated Invoice', '', 138, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20077, 16508, '2018-11-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18937 System Generated Invoice', '', 139, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20078, 16509, '2018-11-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18938 System Generated Invoice', '', 164, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20079, 16510, '2018-11-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18939 System Generated Invoice', '', 509, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20080, 16511, '2018-11-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18940 System Generated Invoice', '', 533, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20081, 16512, '2018-11-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18941 System Generated Invoice', '', 164, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20082, 16513, '2018-11-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18942 System Generated Invoice', '', 164, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20083, 16514, '2018-11-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18943 System Generated Invoice', '', 375, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20084, 16515, '2018-11-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18944 System Generated Invoice', '', 139, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20085, 16516, '2018-11-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18945 System Generated Invoice', '', 138, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20086, 16517, '2018-11-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18946 System Generated Invoice', '', 375, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20087, 16518, '2018-11-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18947 System Generated Invoice', '', 328, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20088, 16519, '2018-11-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18948 System Generated Invoice', '', 139, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20089, 16520, '2018-11-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18949 System Generated Invoice', '', 139, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20090, 16521, '2018-11-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18950 System Generated Invoice', '', 153, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20091, 16522, '2018-11-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18951 System Generated Invoice', '', 138, 10, '2018-11-17', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20092, 16523, '2018-11-18', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18953 System Generated Invoice', '', 95, 10, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20093, 16524, '2018-11-18', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18954 System Generated Invoice', '', 528, 10, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20094, 16525, '2018-11-18', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18955 System Generated Invoice', '', 595, 10, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20095, 16526, '2018-11-18', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18956 System Generated Invoice', '', 974, 10, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20096, 16527, '2018-11-18', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18957 System Generated Invoice', '', 572, 10, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20097, 16528, '2018-11-18', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18959 System Generated Invoice', '', 268, 10, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20098, 16529, '2018-11-18', 'Debit', 190.00, 0.00, 199.50, 9.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18960 System Generated Invoice', '', 276, 10, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20099, 16530, '2018-11-18', 'Debit', 35.00, 0.00, 36.75, 1.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18961 System Generated Invoice', '', 972, 10, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20100, 16531, '2018-11-18', 'Debit', 190.00, 0.00, 199.50, 9.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18962 System Generated Invoice', '', 178, 10, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20101, 16532, '2018-11-18', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18963 System Generated Invoice', '', 507, 10, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20102, 16533, '2018-11-18', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18964 System Generated Invoice', '', 981, 10, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20103, 16534, '2018-11-18', 'Debit', 590.00, 0.00, 619.50, 29.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18965 System Generated Invoice', '', 138, 10, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20104, 16535, '2018-11-18', 'Debit', 320.00, 0.00, 336.00, 16.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18966 System Generated Invoice', '', 138, 10, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20105, 16536, '2018-11-18', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18967 System Generated Invoice', '', 153, 10, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20106, 16537, '2018-11-18', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18973 System Generated Invoice', '', 927, 10, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20107, 16538, '2018-11-18', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 )', '22254', 427, 5, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20108, 16539, '2018-11-18', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 )', '22255', 427, 5, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20109, 16540, '2018-11-18', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 )', '22256', 427, 5, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20110, 16541, '2018-11-18', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 )', '22257', 427, 5, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20111, 16542, '2018-11-18', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 )', '22258', 427, 5, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20112, 16543, '2018-11-18', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18975 System Generated Invoice', '', 531, 10, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20113, 16544, '2018-11-18', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare: REMAS', '22261', 160, 5, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20114, 1814, '2018-11-18', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16544', NULL, 160, 5, '2018-11-18', 20113, 1, '2018-12-04', 0, NULL, NULL, 0),
(20115, 16545, '2018-11-18', 'Debit', 800.00, 0.00, 840.00, 40.00, 2, 0, 'invoice', NULL, NULL, '4 Pieces Rubber Sheet ( Abdullah Al Jabren )', '22262', 160, 5, '2018-11-18', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20116, 1815, '2018-11-18', 'Credit', 840.00, 0.00, 840.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16545', NULL, 160, 5, '2018-11-18', 20115, 1, '2018-11-28', 0, NULL, NULL, 0),
(20117, 16546, '2018-11-19', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18977 System Generated Invoice', '', 959, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0);
INSERT INTO `invoice` (`invoice_id`, `invoice_code`, `date`, `kind`, `amount`, `discount`, `net_amount`, `tax_amount`, `cc_id`, `opening_balance`, `transaction_type`, `method`, `reference_num`, `description`, `procedures`, `customer_ref`, `created_by`, `created_date`, `related_invoice`, `confirmed`, `confirmed_date`, `is_deleted`, `deleted_by`, `deleted_date`, `is_refunded`) VALUES
(20118, 16547, '2018-11-19', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18978 System Generated Invoice', '', 528, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20119, 16548, '2018-11-19', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18979 System Generated Invoice', '', 507, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20120, 16549, '2018-11-19', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18982 System Generated Invoice', '', 507, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20121, 16550, '2018-11-19', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18983 System Generated Invoice', '', 990, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20122, 16551, '2018-11-19', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18988 System Generated Invoice', '', 384, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20123, 16552, '2018-11-19', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18989 System Generated Invoice', '', 572, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20124, 16553, '2018-11-19', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18990 System Generated Invoice', '', 972, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20125, 16554, '2018-11-19', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18991 System Generated Invoice', '', 268, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20126, 16555, '2018-11-19', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18993 System Generated Invoice', '', 178, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20127, 1816, '2018-11-19', 'Credit', 9971.00, 0.00, 9971.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Trans. to Rajhi Bank ( 13-11-2018 )', NULL, 521, 5, '2018-11-19', NULL, 1, '2018-12-04', 0, NULL, NULL, 0),
(20128, 16556, '2018-11-19', 'Debit', -6523.00, 0.00, -6849.15, -326.15, 2, 0, 'invoice', NULL, NULL, 'Cancel TADAWI Invoice', '22277', 560, 11, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20129, 1564, '2018-11-19', 'Debit', -21409.50, 0.00, -21409.50, 0.00, 2, 0, 'charge', NULL, NULL, 'Remove Horse Services for AYESHA from AL KHALES Stud to Transfer it to MAJED AL MAHIAWI Account ', NULL, 155, 11, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20130, 1565, '2018-11-19', 'Debit', 21409.50, 0.00, 21409.50, 0.00, 2, 0, 'charge', NULL, NULL, 'Remove Horse Services for AYESHA from AL KHALES Stud to Transfer it to MAJED AL MAHIAWI Account  ( from JAN to 31 july 2018 )', NULL, 542, 11, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20131, 1566, '2018-11-19', 'Debit', -14839.96, 0.00, -14839.96, 0.00, 2, 0, 'charge', NULL, NULL, 'Remove Horse Services for AYESHA from AL KHALES Stud to Transfer it to MAJED AL MAHIAWI Account  ( from 1 SEP 2016 - 31 DEC 2017 )', NULL, 155, 11, '2018-11-19', 20129, 1, '2018-11-26', 0, NULL, NULL, 0),
(20132, 1567, '2018-11-19', 'Debit', 14839.96, 0.00, 14839.96, 0.00, 2, 0, 'charge', NULL, NULL, 'Remove Horse Services for AYESHA from AL KHALES Stud to Transfer it to MAJED AL MAHIAWI Account  ( from 1 SEP 2016 - 31 DEC 2017 )', NULL, 542, 11, '2018-11-19', 20130, 1, '2018-11-26', 0, NULL, NULL, 0),
(20133, 1568, '2018-11-19', 'Debit', -4000.00, 0.00, -4000.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Deduct Truck Rental in MECCA SHOW in 2018 ( 2400 milad + 1600 Al Monie )', NULL, 542, 11, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20134, 1569, '2018-11-19', 'Debit', 1523.80, 0.00, 1600.00, 76.20, 1, 0, 'charge', NULL, NULL, 'Transportation in MECCA Show in 2018', NULL, 104, 11, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20135, 16557, '2018-11-19', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18994 System Generated Invoice', '', 971, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20136, 16558, '2018-11-19', 'Debit', 195.00, 0.00, 204.75, 9.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18995 System Generated Invoice', '', 981, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20137, 16559, '2018-11-19', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18996 System Generated Invoice', '', 985, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20138, 16560, '2018-11-19', 'Debit', 510.00, 0.00, 535.50, 25.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18998 System Generated Invoice', '', 138, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20139, 16561, '2018-11-19', 'Debit', 330.00, 0.00, 346.50, 16.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18999 System Generated Invoice', '', 138, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20140, 16562, '2018-11-19', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19000 System Generated Invoice', '', 138, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20141, 16563, '2018-11-19', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19002 System Generated Invoice', '', 971, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20142, 16564, '2018-11-19', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19005 System Generated Invoice', '', 139, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20143, 16565, '2018-11-19', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19006 System Generated Invoice', '', 138, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20144, 16566, '2018-11-19', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19007 System Generated Invoice', '', 531, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20145, 16567, '2018-11-19', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '5000-027', '22300,22301,22302', 109, 5, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20146, 16568, '2018-11-19', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Transport From  TADAWI TO his Stable.', '22303', 470, 5, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20147, 1817, '2018-11-19', 'Credit', 52.50, 0.00, 52.50, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16568', NULL, 470, 5, '2018-11-19', 20146, 1, '2018-12-04', 0, NULL, NULL, 0),
(20148, 1570, '2018-11-19', 'Debit', 9523.80, 0.00, 10000.00, 476.20, 1, 0, 'charge', NULL, NULL, 'Handling ( 5 ) horses in Makka Show.', NULL, 994, 5, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20149, 1818, '2018-11-19', 'Credit', 10000.00, 0.00, 10000.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #01570', NULL, 994, 5, '2018-11-19', 20148, 1, '2018-12-04', 0, NULL, NULL, 0),
(20150, 16569, '2018-11-19', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19011 System Generated Invoice', '', 104, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20151, 16570, '2018-11-19', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19012 System Generated Invoice', '', 164, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20152, 16571, '2018-11-19', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19013 System Generated Invoice', '', 109, 10, '2018-11-19', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20153, 16572, '2018-11-20', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19016 System Generated Invoice', '', 178, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20154, 16573, '2018-11-20', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19017 System Generated Invoice', '', 977, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20155, 16574, '2018-11-20', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19019 System Generated Invoice', '', 980, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20156, 16575, '2018-11-20', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19021 System Generated Invoice', '', 507, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20157, 16576, '2018-11-20', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19022 System Generated Invoice', '', 384, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20158, 16577, '2018-11-20', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19024 System Generated Invoice', '', 988, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20159, 16578, '2018-11-20', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19025 System Generated Invoice', '', 962, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20160, 16579, '2018-11-20', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19026 System Generated Invoice', '', 972, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20161, 16580, '2018-11-20', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19027 System Generated Invoice', '', 494, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20162, 16581, '2018-11-20', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19028 System Generated Invoice', '', 965, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20163, 16582, '2018-11-20', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19029 System Generated Invoice', '', 971, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20164, 16583, '2018-11-20', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19030 System Generated Invoice', '', 981, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20165, 16584, '2018-11-20', 'Debit', 195.00, 0.00, 204.75, 9.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19031 System Generated Invoice', '', 153, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20166, 16585, '2018-11-20', 'Debit', 320.00, 0.00, 336.00, 16.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19032 System Generated Invoice', '', 138, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20167, 16586, '2018-11-20', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19033 System Generated Invoice', '', 138, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20168, 16587, '2018-11-20', 'Debit', 195.00, 0.00, 204.75, 9.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19034 System Generated Invoice', '', 138, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20169, 16588, '2018-11-20', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19035 System Generated Invoice', '', 153, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20170, 16589, '2018-11-20', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19039 System Generated Invoice', '', 531, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20171, 16590, '2018-11-20', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19042 System Generated Invoice', '', 109, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20172, 16591, '2018-11-20', 'Debit', 245.00, 0.00, 257.25, 12.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19043 System Generated Invoice', '', 164, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20173, 16592, '2018-11-20', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19045 System Generated Invoice', '', 572, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20174, 16593, '2018-11-20', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19046 System Generated Invoice', '', 276, 10, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20175, 16594, '2018-11-20', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 1, 0, 'invoice', NULL, NULL, 'Handling the Horse EL SANADIKA IA in Jeddah Show', '22357', 95, 5, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20176, 16595, '2018-11-20', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 1, 0, 'invoice', NULL, NULL, 'Handling the Horse EOS APOLO ( 2 ) times in Jeddah Show', '22358', 95, 5, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20177, 16596, '2018-11-20', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 1, 0, 'invoice', NULL, NULL, 'Handling the Horse MAYAR AL MUAWD No. 46 & other horse No. 91 in Jeddah Show', '22359', 531, 5, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20178, 16597, '2018-11-20', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Milad -> Khalediah Hospital round trip (Gone 15-Nov-2018 back to Milad 20-Nov-2018) Horse MIZNA AL YAH', '22354', 534, 11, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20179, 1819, '2018-11-20', 'Credit', 3876.50, 0.00, 3876.50, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 414, 5, '2018-11-20', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20180, 16598, '2018-11-20', 'Debit', 1333.40, 0.00, 1400.07, 66.67, 2, 0, 'invoice', NULL, NULL, '	Boarding 1-Nov to 20-Nov-2018', '22356', 534, 11, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20181, 1820, '2018-11-20', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 414, 5, '2018-11-20', 20043, 1, '2018-11-28', 0, NULL, NULL, 0),
(20182, 16599, '2018-11-20', 'Debit', 933.38, 0.00, 980.05, 46.67, 2, 0, 'invoice', NULL, NULL, 'Boarding 1 Nov to 14-Nov-2018', '22355', 534, 11, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20183, 16600, '2018-11-20', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-068', '22360,22361', 995, 5, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20184, 1821, '2018-11-20', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16600', NULL, 995, 5, '2018-11-20', 20183, 1, '2018-11-28', 0, NULL, NULL, 0),
(20185, 16601, '2018-11-20', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, '', '22362', 160, 5, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20186, 1822, '2018-11-20', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16601', NULL, 160, 5, '2018-11-20', 20185, 1, '2018-12-04', 0, NULL, NULL, 0),
(20187, 1823, '2018-11-20', 'Credit', 33527.00, 0.00, 33527.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Trans. to Al Rajhi Bank ( 19-Nov-2018 )', NULL, 104, 5, '2018-11-20', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20188, 1824, '2018-11-20', 'Credit', 1271.50, 0.00, 1271.50, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 240, 5, '2018-11-20', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20189, 16602, '2018-11-20', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-066', '22363,22364', 240, 5, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20190, 1825, '2018-11-20', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16602', NULL, 240, 5, '2018-11-20', 20189, 1, '2018-11-28', 0, NULL, NULL, 0),
(20191, 16603, '2018-11-20', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'AG', '22365', 160, 5, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20192, 1826, '2018-11-20', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16603', NULL, 160, 5, '2018-11-20', 20191, 1, '2018-11-28', 0, NULL, NULL, 0),
(20193, 16604, '2018-11-20', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-067', '22366,22367,22368', 996, 5, '2018-11-20', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20194, 1827, '2018-11-20', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16604', NULL, 996, 5, '2018-11-20', 20193, 1, '2018-11-28', 0, NULL, NULL, 0),
(20195, 16605, '2018-11-21', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19048 System Generated Invoice', '', 989, 10, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20196, 16606, '2018-11-21', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19050 System Generated Invoice', '', 507, 10, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20197, 16607, '2018-11-21', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19053 System Generated Invoice', '', 572, 10, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20198, 16608, '2018-11-21', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19058 System Generated Invoice', '', 178, 10, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20199, 16609, '2018-11-21', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19059 System Generated Invoice', '', 176, 10, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20200, 16610, '2018-11-21', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19060 System Generated Invoice', '', 176, 10, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20201, 16611, '2018-11-21', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19061 System Generated Invoice', '', 276, 10, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20202, 16612, '2018-11-21', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19063 System Generated Invoice', '', 996, 10, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20203, 16613, '2018-11-21', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19064 System Generated Invoice', '', 971, 10, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20204, 16614, '2018-11-21', 'Debit', 180.00, 0.00, 189.00, 9.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19067 System Generated Invoice', '', 138, 10, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20205, 16615, '2018-11-21', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19068 System Generated Invoice', '', 138, 10, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20206, 16616, '2018-11-21', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19069 System Generated Invoice', '', 138, 10, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20207, 16617, '2018-11-21', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19071 System Generated Invoice', '', 138, 10, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20208, 16618, '2018-11-21', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19073 System Generated Invoice', '', 323, 10, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20209, 16619, '2018-11-21', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19076 System Generated Invoice', '', 531, 10, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20210, 16620, '2018-11-21', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19077 System Generated Invoice', '', 109, 10, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20211, 16621, '2018-11-21', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19078 System Generated Invoice', '', 109, 10, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20212, 16622, '2018-11-21', 'Debit', 625.00, 0.00, 656.25, 31.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19079 System Generated Invoice', '', 164, 10, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20213, 16623, '2018-11-21', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19080 System Generated Invoice', '', 400, 10, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20214, 1828, '2018-11-21', 'Credit', 17140.25, 0.00, 17140.25, 0.00, 2, 0, 'payment', 'transfer', '', '', NULL, 534, 5, '2018-11-21', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20215, 1571, '2018-11-21', 'Debit', -13000.00, 0.00, -13650.00, -650.00, 2, 0, 'charge', NULL, NULL, 'Wrong Entree for Invoice No. 9088', NULL, 462, 11, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20216, 1572, '2018-11-21', 'Debit', -19604.76, 0.00, -20585.01, -980.24, 2, 0, 'charge', NULL, NULL, 'Discount for Medicine Charges Only .', NULL, 462, 11, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20217, 1573, '2018-11-21', 'Debit', -19210.00, 0.00, -20170.50, -960.50, 2, 0, 'charge', NULL, NULL, 'Discount for Medicine Charges Only .', NULL, 591, 11, '2018-11-21', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20218, 1829, '2018-11-21', 'Credit', 3901.00, 0.00, 3901.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 129, 5, '2018-11-21', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20219, 16624, '2018-11-22', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19081 System Generated Invoice', '', 507, 10, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20220, 16625, '2018-11-22', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19083 System Generated Invoice', '', 507, 10, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20221, 16626, '2018-11-22', 'Debit', 370.00, 0.00, 388.50, 18.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19085 System Generated Invoice', '', 572, 10, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20222, 16627, '2018-11-22', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 19-Nov-2018 )', '22411', 178, 5, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20223, 16628, '2018-11-22', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19086 System Generated Invoice', '', 178, 10, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20224, 16629, '2018-11-22', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19090 System Generated Invoice', '', 384, 10, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20225, 16630, '2018-11-22', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19091 System Generated Invoice', '', 987, 10, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20226, 16631, '2018-11-22', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19092 System Generated Invoice', '', 276, 10, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20227, 16632, '2018-11-22', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19093 System Generated Invoice', '', 996, 10, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20228, 16633, '2018-11-22', 'Debit', 490.00, 0.00, 514.50, 24.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19094 System Generated Invoice', '', 971, 10, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20229, 16634, '2018-11-22', 'Debit', 330.00, 0.00, 346.50, 16.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19096 System Generated Invoice', '', 153, 10, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20230, 16635, '2018-11-22', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19098 System Generated Invoice', '', 138, 10, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20231, 16636, '2018-11-22', 'Debit', 35.00, 0.00, 36.75, 1.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19099 System Generated Invoice', '', 138, 10, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20232, 16637, '2018-11-22', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19100 System Generated Invoice', '', 153, 10, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20233, 16638, '2018-11-22', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19101 System Generated Invoice', '', 138, 10, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20234, 16639, '2018-11-22', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19102 System Generated Invoice', '', 968, 10, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20235, 16640, '2018-11-22', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19104 System Generated Invoice', '', 139, 10, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20236, 16641, '2018-11-22', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19107 System Generated Invoice', '', 109, 10, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20237, 16642, '2018-11-22', 'Debit', 335.00, 0.00, 351.75, 16.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19108 System Generated Invoice', '', 164, 10, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20238, 16643, '2018-11-22', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19109 System Generated Invoice', '', 109, 10, '2018-11-22', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20239, 1830, '2018-11-22', 'Credit', 455.00, 0.00, 455.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 121, 5, '2018-11-22', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20240, 16644, '2018-11-23', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19112 System Generated Invoice', '', 476, 10, '2018-11-23', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20241, 16645, '2018-11-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19114 System Generated Invoice', '', 572, 10, '2018-11-23', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20242, 16646, '2018-11-23', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19117 System Generated Invoice', '', 384, 9, '2018-11-23', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20243, 16647, '2018-11-23', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19118 System Generated Invoice', '', 415, 9, '2018-11-23', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20244, 16648, '2018-11-23', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19122 System Generated Invoice', '', 276, 10, '2018-11-23', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20245, 16649, '2018-11-23', 'Debit', 470.00, 0.00, 493.50, 23.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19123 System Generated Invoice', '', 971, 10, '2018-11-23', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20246, 16650, '2018-11-23', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19124 System Generated Invoice', '', 153, 10, '2018-11-23', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20247, 16651, '2018-11-23', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19125 System Generated Invoice', '', 138, 10, '2018-11-23', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20248, 16652, '2018-11-23', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19126 System Generated Invoice', '', 138, 10, '2018-11-23', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20249, 16653, '2018-11-23', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19127 System Generated Invoice', '', 153, 10, '2018-11-23', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20250, 16654, '2018-11-23', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19128 System Generated Invoice', '', 138, 10, '2018-11-23', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20251, 16655, '2018-11-23', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19130 System Generated Invoice', '', 109, 10, '2018-11-23', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20252, 16656, '2018-11-23', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19131 System Generated Invoice', '', 164, 10, '2018-11-23', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20253, 1574, '2018-10-31', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 1, 0, 'charge', NULL, NULL, 'Dubai Show (DIAHC)- 2018 Charges Haifa ED (Show Date: Mar 15-17 Year 2018)', NULL, 153, 6, '2018-11-23', NULL, 1, '2018-11-26', 0, NULL, NULL, 0),
(20254, 16657, '2018-11-24', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19138 System Generated Invoice', '', 996, 10, '2018-11-24', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20255, 16658, '2018-11-24', 'Debit', 140.00, 0.00, 147.00, 7.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19140 System Generated Invoice', '', 572, 10, '2018-11-24', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20256, 16659, '2018-11-24', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19142 System Generated Invoice', '', 302, 10, '2018-11-24', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20257, 16660, '2018-11-24', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19144 System Generated Invoice', '', 384, 10, '2018-11-24', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20258, 16661, '2018-11-24', 'Debit', 1666.75, 0.00, 1750.09, 83.34, 2, 0, 'invoice', NULL, NULL, 'Boarding from November 1 to 25, 2018', '22487', 973, 13, '2018-11-24', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20259, 16662, '2018-11-24', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '5000-029\r\n', '22488,22489', 973, 5, '2018-11-24', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20260, 1831, '2018-11-24', 'Credit', 1060.00, 0.00, 1060.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 276, 5, '2018-11-24', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20261, 1832, '2018-11-24', 'Credit', 8913.00, 0.00, 8913.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 146, 5, '2018-11-24', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20262, 1833, '2018-11-24', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 525, 5, '2018-11-24', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20263, 16663, '2018-11-24', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-069', '22490,22491,22492', 997, 5, '2018-11-24', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20264, 1834, '2018-11-24', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16663', NULL, 997, 5, '2018-11-24', 20263, 1, '2018-12-04', 0, NULL, NULL, 0),
(20265, 1835, '2018-11-24', 'Credit', 5250.00, 0.00, 5250.00, 0.00, 1, 0, 'payment', 'span', '', '', NULL, 224, 5, '2018-11-24', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20266, 1836, '2018-11-24', 'Credit', 1999.00, 0.00, 1999.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 973, 5, '2018-11-24', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20267, 16664, '2018-11-24', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19151 System Generated Invoice', '', 971, 10, '2018-11-24', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20268, 16665, '2018-11-24', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19153 System Generated Invoice', '', 153, 10, '2018-11-24', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20269, 16666, '2018-11-24', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19154 System Generated Invoice', '', 138, 10, '2018-11-24', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20270, 16667, '2018-11-24', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19155 System Generated Invoice', '', 138, 10, '2018-11-24', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20271, 16668, '2018-11-24', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19156 System Generated Invoice', '', 153, 10, '2018-11-24', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20272, 16669, '2018-11-24', 'Debit', 270.00, 0.00, 283.50, 13.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19157 System Generated Invoice', '', 138, 10, '2018-11-24', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20273, 16670, '2018-11-24', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19159 System Generated Invoice', '', 954, 10, '2018-11-24', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20274, 16671, '2018-11-24', 'Debit', 610.00, 0.00, 640.50, 30.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19161 System Generated Invoice', '', 164, 10, '2018-11-24', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20275, 16672, '2018-11-24', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Abdullah Walbi', '22512', 160, 5, '2018-11-24', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20276, 1837, '2018-11-24', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16672', NULL, 160, 5, '2018-11-24', 20275, 1, '2018-12-04', 0, NULL, NULL, 0),
(20277, 16673, '2018-11-25', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19164 System Generated Invoice', '', 978, 9, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20278, 16674, '2018-11-25', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19165 System Generated Invoice', '', 980, 9, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20279, 16675, '2018-11-25', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19166 System Generated Invoice', '', 507, 9, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20280, 16676, '2018-11-25', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19167 System Generated Invoice', '', 996, 9, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20281, 16677, '2018-11-25', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19171 System Generated Invoice', '', 572, 10, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20282, 16678, '2018-11-25', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19172 System Generated Invoice', '', 522, 9, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20283, 16679, '2018-11-25', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19173 System Generated Invoice', '', 476, 10, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20284, 16680, '2018-11-25', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19175 System Generated Invoice', '', 415, 10, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20285, 16681, '2018-11-25', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'W-004', '22524,22525', 71, 5, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20286, 16682, '2018-11-25', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-005', '22526,22527,22528', 71, 5, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20287, 16683, '2018-11-25', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-006', '22529,22530,22531', 71, 5, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20288, 16684, '2018-11-25', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-007', '22532,22533,22534', 71, 5, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20289, 16685, '2018-11-25', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-008', '22535,22536,22537', 71, 5, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20290, 16686, '2018-11-25', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-009', '22538,22539,22540', 71, 5, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20291, 16687, '2018-11-25', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-010', '22541,22542,22543', 71, 5, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20292, 16688, '2018-11-25', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-011', '22544,22545,22546', 71, 5, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20293, 16689, '2018-11-25', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-012', '22547,22548,22549', 71, 5, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20294, 16690, '2018-11-25', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-013', '22550,22551,22552', 71, 5, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20295, 16691, '2018-11-25', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-014', '22553,22554,22555', 71, 5, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20296, 16692, '2018-11-25', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-015', '22556,22557,22558', 71, 5, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20297, 16693, '2018-11-25', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'W-016', '22559,22560', 71, 5, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20298, 16694, '2018-11-25', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-017', '22561,22562,22563', 71, 5, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20299, 16695, '2018-11-25', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-018', '22570,22571,22572', 71, 5, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20300, 16696, '2018-11-25', 'Debit', 270.00, 0.00, 283.50, 13.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19176 System Generated Invoice', '', 971, 10, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20301, 16697, '2018-11-25', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19177 System Generated Invoice', '', 985, 10, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20302, 16698, '2018-11-25', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19178 System Generated Invoice', '', 153, 10, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20303, 16699, '2018-11-25', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19179 System Generated Invoice', '', 138, 10, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20304, 16700, '2018-11-25', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19180 System Generated Invoice', '', 138, 10, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20305, 16701, '2018-11-25', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19181 System Generated Invoice', '', 153, 10, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20306, 16702, '2018-11-25', 'Debit', 530.00, 0.00, 556.50, 26.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19182 System Generated Invoice', '', 138, 10, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20307, 16703, '2018-11-25', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19183 System Generated Invoice', '', 183, 10, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20308, 16704, '2018-11-25', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19185 System Generated Invoice', '', 109, 10, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20309, 16705, '2018-11-25', 'Debit', 560.00, 0.00, 588.00, 28.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19186 System Generated Invoice', '', 164, 10, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20310, 16706, '2018-11-25', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19187 System Generated Invoice', '', 109, 10, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20311, 16707, '2018-11-25', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19188 System Generated Invoice', '', 156, 10, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20312, 16708, '2018-11-25', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19189 System Generated Invoice', '', 973, 10, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20313, 16709, '2018-11-25', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19190 System Generated Invoice', '', 927, 10, '2018-11-25', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20314, 16710, '2018-11-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19191 System Generated Invoice', '', 595, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20315, 16711, '2018-11-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19192 System Generated Invoice', '', 104, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20316, 16712, '2018-11-26', 'Debit', 195.00, 0.00, 204.75, 9.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19193 System Generated Invoice', '', 980, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20317, 1838, '2018-11-26', 'Credit', 200.00, 0.00, 200.00, 0.00, 2, 0, 'payment', 'cash', '', '', NULL, 959, 5, '2018-11-26', NULL, 1, '2018-12-04', 0, NULL, NULL, 0),
(20318, 16713, '2018-11-26', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19194 System Generated Invoice', '', 507, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20319, 16714, '2018-11-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19195 System Generated Invoice', '', 959, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20320, 1839, '2018-11-26', 'Credit', 150.00, 0.00, 150.00, 0.00, 2, 0, 'payment', 'cash', '', '', NULL, 959, 5, '2018-11-26', NULL, 1, '2018-12-04', 0, NULL, NULL, 0),
(20321, 16715, '2018-11-26', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19196 System Generated Invoice', '', 476, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20322, 16716, '2018-11-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19198 System Generated Invoice', '', 414, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20323, 16717, '2018-11-26', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19202 System Generated Invoice', '', 371, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20324, 16718, '2018-11-26', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19206 System Generated Invoice', '', 415, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20325, 16719, '2018-11-26', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19207 System Generated Invoice', '', 996, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20326, 16720, '2018-11-26', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-019', '22622,22623,22624', 71, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20327, 16721, '2018-11-26', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-020', '22627,22628,22629', 71, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20328, 16722, '2018-11-26', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'W-021', '22631,22632', 71, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20329, 16723, '2018-11-26', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'W-023', '22633,22634', 71, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20330, 16724, '2018-11-26', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-024', '22635,22636,22637', 71, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20331, 16725, '2018-11-26', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-025', '22640,22641,22642', 71, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20332, 16726, '2018-11-26', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-026', '22643,22644,22645', 71, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20333, 16727, '2018-11-26', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'W-027', '22646,22647', 71, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20334, 16728, '2018-11-26', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'W-028', '22648,22649', 71, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20335, 16729, '2018-11-26', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-029', '22650,22651,22652', 71, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20336, 16730, '2018-11-26', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-030', '22653,22654,22655', 71, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20337, 16731, '2018-11-26', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'W-031', '22656,22657', 71, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20338, 16732, '2018-11-26', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'W-032', '22658,22659', 71, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20339, 16733, '2018-11-26', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'W-033', '22660,22661', 71, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20340, 16734, '2018-11-26', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'W-034', '22662,22663', 71, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20341, 16735, '2018-11-26', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'W-035', '22664,22665', 71, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20342, 16736, '2018-11-26', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'W-036', '22666,22667', 71, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20343, 16737, '2018-11-26', 'Debit', 130.00, 0.00, 136.50, 6.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19209 System Generated Invoice', '', 971, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20344, 16738, '2018-11-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19210 System Generated Invoice', '', 981, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20345, 16739, '2018-11-26', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19211 System Generated Invoice', '', 985, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20346, 16740, '2018-11-26', 'Debit', 680.00, 0.00, 714.00, 34.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19212 System Generated Invoice', '', 138, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20347, 16741, '2018-11-26', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19214 System Generated Invoice', '', 323, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20348, 16742, '2018-11-26', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19215 System Generated Invoice', '', 138, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20349, 16743, '2018-11-26', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19217 System Generated Invoice', '', 323, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20350, 16744, '2018-11-26', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19220 System Generated Invoice', '', 109, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20351, 16745, '2018-11-26', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19221 System Generated Invoice', '', 164, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20352, 16746, '2018-11-26', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19223 System Generated Invoice', '', 156, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20353, 16747, '2018-11-26', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19224 System Generated Invoice', '', 973, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20354, 1840, '2018-11-26', 'Credit', 410.00, 0.00, 410.00, 0.00, 2, 0, 'payment', 'cash', '', '', NULL, 965, 5, '2018-11-26', NULL, 1, '2018-12-04', 0, NULL, NULL, 0),
(20355, 16748, '2018-11-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19225 System Generated Invoice', '', 400, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20356, 16749, '2018-11-26', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-070', '22706', 965, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0);
INSERT INTO `invoice` (`invoice_id`, `invoice_code`, `date`, `kind`, `amount`, `discount`, `net_amount`, `tax_amount`, `cc_id`, `opening_balance`, `transaction_type`, `method`, `reference_num`, `description`, `procedures`, `customer_ref`, `created_by`, `created_date`, `related_invoice`, `confirmed`, `confirmed_date`, `is_deleted`, `deleted_by`, `deleted_date`, `is_refunded`) VALUES
(20357, 1841, '2018-11-26', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16749', NULL, 965, 5, '2018-11-26', 20356, 1, '2018-12-04', 0, NULL, NULL, 0),
(20358, 16750, '2018-11-26', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-071', '22707,22708', 965, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20359, 1842, '2018-11-26', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16750', NULL, 965, 5, '2018-11-26', 20358, 1, '2018-12-04', 0, NULL, NULL, 0),
(20360, 16751, '2018-11-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19226 System Generated Invoice', '', 965, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20361, 16752, '2018-11-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19227 System Generated Invoice', '', 965, 10, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20362, 1843, '2018-11-26', 'Credit', 367.50, 0.00, 367.50, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 961, 5, '2018-11-26', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20363, 16753, '2018-11-26', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-037', '22711,22712', 71, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20364, 16754, '2018-11-26', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-038', '22713,22714,22715', 71, 5, '2018-11-26', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20365, 16755, '2018-11-27', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19233 System Generated Invoice', '', 476, 10, '2018-11-27', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20366, 16756, '2018-11-27', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19234 System Generated Invoice', '', 988, 10, '2018-11-27', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20367, 16757, '2018-11-27', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19235 System Generated Invoice', '', 415, 10, '2018-11-27', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20368, 16758, '2018-11-27', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19236 System Generated Invoice', '', 176, 10, '2018-11-27', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20369, 16759, '2018-11-27', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19237 System Generated Invoice', '', 176, 10, '2018-11-27', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20370, 16760, '2018-11-27', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'mare : bint lama', '22721', 160, 5, '2018-11-27', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20371, 16761, '2018-11-27', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19240 System Generated Invoice', '', 990, 10, '2018-11-27', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20372, 1844, '2018-11-27', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16760', NULL, 160, 5, '2018-11-27', 20370, 1, '2018-11-28', 0, NULL, NULL, 0),
(20373, 16762, '2018-11-27', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19241 System Generated Invoice', '', 965, 10, '2018-11-27', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20374, 16763, '2018-11-27', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-072', '22724,22725', 998, 5, '2018-11-27', NULL, 1, '2018-11-27', 0, NULL, NULL, 0),
(20375, 1845, '2018-11-27', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Reference Invoice #16763', NULL, 998, 5, '2018-11-27', 20374, 1, '2018-11-28', 0, NULL, NULL, 0),
(20376, 1846, '2018-11-27', 'Credit', 1000.00, 0.00, 1000.00, 0.00, 2, 0, 'payment', 'cash', '', '', NULL, 371, 5, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20377, 16764, '2018-11-27', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19244 System Generated Invoice', '', 371, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20378, 16765, '2018-11-27', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-073', '22728,22729', 999, 5, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20379, 1847, '2018-11-27', 'Credit', 252.00, 0.00, 252.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 388, 5, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20380, 1848, '2018-11-27', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16765', NULL, 999, 5, '2018-11-27', 20378, 1, '2018-11-28', 0, NULL, NULL, 0),
(20381, 16766, '2018-11-27', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, '6000-074 ( Stallion Owner )', '22730', 110, 5, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20382, 16767, '2018-11-27', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-076', '22731,22732', 388, 5, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20383, 1849, '2018-11-27', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16767', NULL, 388, 5, '2018-11-27', 20382, 1, '2018-11-28', 0, NULL, NULL, 0),
(20384, 16768, '2018-11-27', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19245 System Generated Invoice', '', 999, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20385, 16769, '2018-11-27', 'Debit', 2166.71, 0.00, 2275.05, 108.34, 1, 0, 'invoice', NULL, NULL, '13 Days in T.C ( Check in 15 NOV - Check out 27 NOV 2018 ) Time 4:50 pm', '22735', 992, 11, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20386, 1850, '2018-11-27', 'Credit', 6500.00, 0.00, 6500.00, 0.00, 2, 0, 'payment', 'cash', '', '', NULL, 110, 5, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20387, 1851, '2018-11-27', 'Credit', 358.75, 0.00, 358.75, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 110, 5, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20388, 16770, '2018-11-27', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, '', '22737', 160, 5, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20389, 1852, '2018-11-27', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16770', NULL, 160, 5, '2018-11-27', 20388, 1, '2018-11-28', 0, NULL, NULL, 0),
(20390, 16771, '2018-11-27', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19247 System Generated Invoice', '', 976, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20391, 1853, '2018-11-27', 'Credit', 5000.00, 0.00, 5000.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 973, 5, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20392, 1854, '2018-11-27', 'Credit', 1000.00, 0.00, 1000.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 644, 5, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20393, 1855, '2018-11-27', 'Credit', -5000.00, 0.00, -5000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Transfer payment to Fahad Al Abdullah Al Oraini account', NULL, 340, 13, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20394, 16772, '2018-11-27', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, '6000-078', '22744', 430, 5, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20395, 16773, '2018-11-27', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19248 System Generated Invoice', '', 71, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20396, 16774, '2018-11-27', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-077', '22741,22742,22743', 1000, 5, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20397, 1856, '2018-11-27', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16774', NULL, 1000, 5, '2018-11-27', 20396, 1, '2018-11-28', 0, NULL, NULL, 0),
(20398, 16775, '2018-11-27', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19255 System Generated Invoice', '', 71, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20399, 16776, '2018-11-27', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19259 System Generated Invoice', '', 71, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20400, 16777, '2018-11-27', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19262 System Generated Invoice', '', 71, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20401, 16778, '2018-11-27', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19264 System Generated Invoice', '', 71, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20402, 16779, '2018-11-27', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19266 System Generated Invoice', '', 71, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20403, 16780, '2018-11-27', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19267 System Generated Invoice', '', 71, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20404, 16781, '2018-11-27', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19270 System Generated Invoice', '', 71, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20405, 16782, '2018-11-27', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19276 System Generated Invoice', '', 71, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20406, 16783, '2018-11-27', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19279 System Generated Invoice', '', 71, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20407, 16784, '2018-11-27', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19281 System Generated Invoice', '', 71, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20408, 16785, '2018-11-27', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19283 System Generated Invoice', '', 71, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20409, 16786, '2018-11-27', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19284 System Generated Invoice', '', 71, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20410, 16787, '2018-11-27', 'Debit', 210.00, 0.00, 220.50, 10.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19285 System Generated Invoice', '', 71, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20411, 16788, '2018-11-27', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19286 System Generated Invoice', '', 71, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20412, 16789, '2018-11-27', 'Debit', 210.00, 0.00, 220.50, 10.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19287 System Generated Invoice', '', 71, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20413, 16790, '2018-11-27', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19288 System Generated Invoice', '', 985, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20414, 16791, '2018-11-27', 'Debit', 320.00, 0.00, 336.00, 16.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19290 System Generated Invoice', '', 138, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20415, 16792, '2018-11-27', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19291 System Generated Invoice', '', 138, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20416, 16793, '2018-11-27', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19293 System Generated Invoice', '', 109, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20417, 16794, '2018-11-27', 'Debit', 130.00, 0.00, 136.50, 6.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19294 System Generated Invoice', '', 164, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20418, 16795, '2018-11-27', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19295 System Generated Invoice', '', 109, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20419, 16796, '2018-11-27', 'Debit', 190.00, 0.00, 199.50, 9.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19296 System Generated Invoice', '', 156, 10, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20420, 16797, '2018-11-27', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-079', '22789,22790', 1001, 5, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20421, 16798, '2018-11-27', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-080', '22791,22792', 1001, 5, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20422, 1857, '2018-11-27', 'Credit', 5000.00, 0.00, 5000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Transfered from Motlaq Bin Jazaa Al Otaibi', NULL, 430, 5, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20423, 1858, '2018-11-27', 'Credit', 375000.00, 0.00, 375000.00, 0.00, 2, 0, 'payment', 'transfer', '', '', NULL, 138, 5, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20424, 1575, '2018-11-27', 'Debit', 3750.00, 0.00, 3750.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Abu Bakr iqama renewal charges 31-Dec-2017 (Last year)', NULL, 150, 6, '2018-11-27', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20425, 16799, '2018-11-28', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19299 System Generated Invoice', '', 522, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20426, 16800, '2018-11-28', 'Debit', -170.00, 0.00, -178.50, -8.50, 2, 0, 'invoice', NULL, NULL, 'Cancel inv', '22795,22796', 371, 11, '2018-11-28', NULL, 1, '2018-11-28', 0, NULL, NULL, 0),
(20427, 16801, '2018-11-28', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19300 System Generated Invoice', '', 965, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20428, 1859, '2018-11-28', 'Credit', 367.50, 0.00, 367.50, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 977, 5, '2018-11-28', NULL, 1, '2018-12-05', 0, NULL, NULL, 0),
(20429, 16802, '2018-11-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 1, 0, 'invoice', NULL, NULL, 'Trim in T.C ( LADOO )', '22799', 183, 11, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20430, 16803, '2018-11-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim in R.C ( Shoukat )', '22800', 509, 11, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20431, 16804, '2018-11-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ( R.C ) LADOO', '22801', 439, 11, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20432, 16805, '2018-11-28', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Shoes in R.C ( LADOO )', '22802', 439, 11, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20433, 16806, '2018-11-28', 'Debit', -120.00, 0.00, -126.00, -6.00, 2, 0, 'invoice', NULL, NULL, 'Cancel inv', '22803', 439, 11, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20434, 16807, '2018-11-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'trim R.C ( SHOUKAT )', '22804', 164, 11, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20435, 16808, '2018-11-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim R.C ( SHOUKAT ) IN NOV 2018', '22805', 360, 11, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20436, 16809, '2018-11-28', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Shoes in R.C ( LADOO) IN NOV 2018', '22806', 542, 11, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20437, 16810, '2018-11-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim in R.C ( SHOUKAT) IN NOV 2018', '22807', 954, 11, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20438, 16811, '2018-11-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim in R.C ( SHOUKAT) IN NOV 2018', '22808', 164, 11, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20439, 16812, '2018-11-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim R.C ( SHOUKAT ) NOV 2018', '22809', 968, 11, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20440, 16813, '2018-11-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim R.C ( SHOUKAT ) NOV 2018', '22810', 164, 11, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20441, 16814, '2018-11-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim R.C ( SHOUKAT ) NOV 2018', '22811', 164, 11, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20442, 16815, '2018-11-28', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Trim R.C ( LADOO ) NOV 2018', '22812', 164, 11, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20443, 16816, '2018-11-28', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Shoeing  R.C ( LADOO ) NOV 2018', '22813', 531, 11, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20444, 16817, '2018-11-28', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Shoeing  R.C ( LADOO ) NOV 2018', '22814', 367, 11, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20445, 16818, '2018-11-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19303 System Generated Invoice', '', 973, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20446, 16819, '2018-11-28', 'Debit', 320.00, 0.00, 336.00, 16.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19304 System Generated Invoice', '', 985, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20447, 16820, '2018-11-28', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19305 System Generated Invoice', '', 138, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20448, 16821, '2018-11-28', 'Debit', 210.00, 0.00, 220.50, 10.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19307 System Generated Invoice', '', 138, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20449, 16822, '2018-11-28', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19308 System Generated Invoice', '', 138, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20450, 16823, '2018-11-28', 'Debit', 210.00, 0.00, 220.50, 10.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19311 System Generated Invoice', '', 164, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20451, 16824, '2018-11-28', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19312 System Generated Invoice', '', 109, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20452, 16825, '2018-11-28', 'Debit', 310.00, 0.00, 325.50, 15.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19314 System Generated Invoice', '', 156, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20453, 16826, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19315 System Generated Invoice', '', 957, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20454, 16827, '2018-11-28', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'ONWR : nawaf elrashed', '22843', 160, 5, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20455, 16828, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19316 System Generated Invoice', '', 414, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20456, 1860, '2018-11-28', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16827', NULL, 160, 5, '2018-11-28', 20454, 1, '2018-12-05', 0, NULL, NULL, 0),
(20457, 16829, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19317 System Generated Invoice', '', 152, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20458, 16830, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19318 System Generated Invoice', '', 962, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20459, 16831, '2018-11-28', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19319 System Generated Invoice', '', 980, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20460, 16832, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19320 System Generated Invoice', '', 95, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20461, 16833, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19321 System Generated Invoice', '', 494, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20462, 16834, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19322 System Generated Invoice', '', 507, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20463, 16835, '2018-11-28', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19323 System Generated Invoice', '', 371, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20464, 16836, '2018-11-28', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19324 System Generated Invoice', '', 1000, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20465, 16837, '2018-11-28', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19325 System Generated Invoice', '', 110, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20466, 16838, '2018-11-28', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19327 System Generated Invoice', '', 976, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20467, 16839, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19328 System Generated Invoice', '', 215, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20468, 16840, '2018-11-28', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'mare : Mahpopa', '22863', 160, 5, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20469, 1861, '2018-11-28', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #16840', NULL, 160, 5, '2018-11-28', 20468, 1, '2018-12-05', 0, NULL, NULL, 0),
(20470, 16841, '2018-11-28', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19332 System Generated Invoice', '', 215, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20471, 16842, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19336 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20472, 16843, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19337 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20473, 16844, '2018-11-28', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19338 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20474, 16845, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19341 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20475, 16846, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19342 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20476, 16847, '2018-11-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19343 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20477, 16848, '2018-11-28', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19345 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20478, 16849, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19348 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20479, 16850, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19349 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20480, 16851, '2018-11-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19350 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20481, 1862, '2018-11-28', 'Credit', 100000.00, 0.00, 100000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'To Mr. Nasir Bank acc.', NULL, 113, 5, '2018-11-28', NULL, 1, '2018-12-04', 0, NULL, NULL, 0),
(20482, 16852, '2018-11-28', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19352 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20483, 16853, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19357 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20484, 16854, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19359 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20485, 16855, '2018-11-28', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19362 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20486, 16856, '2018-11-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19370 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20487, 16857, '2018-11-28', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19373 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20488, 16858, '2018-11-28', 'Debit', -75.00, 0.00, -78.75, -3.75, 2, 0, 'invoice', NULL, NULL, 'Cancel Inv ( 16840 )', '22884', 160, 11, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20489, 1863, '2018-11-28', 'Credit', -78.75, 0.00, -78.75, 0.00, 2, 0, 'payment', 'cash', '16840', 'Cancel Inv ( 16840 )', NULL, 160, 11, '2018-11-28', NULL, 1, '2018-12-05', 0, NULL, NULL, 0),
(20490, 16859, '2018-11-28', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19376 System Generated Invoice', '', 990, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20491, 16860, '2018-11-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19377 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20492, 16861, '2018-11-28', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19379 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20493, 16862, '2018-11-28', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19380 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20494, 16863, '2018-11-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19389 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20495, 16864, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19391 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20496, 16865, '2018-11-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19395 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20497, 16866, '2018-11-28', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19396 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20498, 16867, '2018-11-28', 'Debit', 210.00, 0.00, 220.50, 10.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19397 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20499, 16868, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19398 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20500, 16869, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19402 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20501, 16870, '2018-11-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19403 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20502, 16871, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19406 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20503, 16872, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19407 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20504, 16873, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19410 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20505, 16874, '2018-11-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19412 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20506, 16875, '2018-11-28', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19414 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20507, 16876, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19419 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20508, 16877, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19420 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20509, 16878, '2018-11-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19422 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20510, 16879, '2018-11-28', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19425 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20511, 16880, '2018-11-28', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19426 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20512, 16881, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19429 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20513, 16882, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19430 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20514, 16883, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19432 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20515, 16884, '2018-11-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19433 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20516, 16885, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19437 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20517, 16886, '2018-11-28', 'Debit', 210.00, 0.00, 220.50, 10.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19439 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20518, 16887, '2018-11-28', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19440 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20519, 16888, '2018-11-28', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19441 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20520, 16889, '2018-11-28', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19443 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20521, 16890, '2018-11-28', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19444 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20522, 16891, '2018-11-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19447 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20523, 16892, '2018-11-28', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19448 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20524, 16893, '2018-11-28', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19449 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20525, 16894, '2018-11-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19450 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20526, 16895, '2018-11-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19457 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20527, 16896, '2018-11-28', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19458 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20528, 16897, '2018-11-28', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19459 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20529, 16898, '2018-11-28', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19461 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20530, 16899, '2018-11-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19462 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20531, 16900, '2018-11-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19466 System Generated Invoice', '', 71, 10, '2018-11-28', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20532, 16901, '2018-11-29', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19470 System Generated Invoice', '', 980, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20533, 16902, '2018-11-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19471 System Generated Invoice', '', 507, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20534, 16903, '2018-11-29', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19472 System Generated Invoice', '', 595, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20535, 16904, '2018-11-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19473 System Generated Invoice', '', 997, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20536, 16905, '2018-11-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19475 System Generated Invoice', '', 995, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20537, 16906, '2018-11-29', 'Debit', 195.00, 0.00, 204.75, 9.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19476 System Generated Invoice', '', 962, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20538, 16907, '2018-11-29', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19478 System Generated Invoice', '', 1000, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20539, 16908, '2018-11-29', 'Debit', 45.00, 0.00, 47.25, 2.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19480 System Generated Invoice', '', 231, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20540, 16909, '2018-11-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19481 System Generated Invoice', '', 240, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20541, 16910, '2018-11-29', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19482 System Generated Invoice', '', 152, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20542, 16911, '2018-11-29', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19483 System Generated Invoice', '', 977, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20543, 16912, '2018-11-29', 'Debit', 90.00, 0.00, 94.50, 4.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19486 System Generated Invoice', '', 110, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20544, 16913, '2018-11-29', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19488 System Generated Invoice', '', 976, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20545, 16914, '2018-11-29', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19489 System Generated Invoice', '', 990, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20546, 1864, '2018-11-28', 'Credit', 500.00, 0.00, 500.00, 0.00, 2, 0, 'payment', 'cash', '', '', NULL, 965, 5, '2018-11-29', NULL, 1, '2018-12-05', 0, NULL, NULL, 0),
(20547, 16915, '2018-11-29', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19493 System Generated Invoice', '', 999, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20548, 16916, '2018-11-29', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding month of NOV 2018', '22961', 360, 11, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20549, 1865, '2018-11-29', 'Credit', 373.00, 0.00, 373.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16901', NULL, 980, 5, '2018-11-29', 20532, 1, '2018-12-05', 0, NULL, NULL, 0),
(20550, 16917, '2018-11-29', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-079', '22962,22963', 1002, 5, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20551, 16918, '2018-11-29', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-080', '22964,22965', 1002, 5, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20552, 1866, '2018-11-29', 'Credit', 9000.00, 0.00, 9000.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 1002, 5, '2018-11-29', NULL, 1, '2018-12-05', 0, NULL, NULL, 0),
(20553, 16919, '2018-11-29', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, '', '22966', 160, 11, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20554, 1867, '2018-11-29', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'mare : Hesa Elasey', NULL, 160, 5, '2018-11-29', NULL, 1, '2018-12-05', 0, NULL, NULL, 0),
(20555, 1868, '2018-11-29', 'Credit', 881.75, 0.00, 881.75, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 415, 5, '2018-11-29', NULL, 1, '2018-12-05', 0, NULL, NULL, 0),
(20556, 1869, '2018-11-29', 'Credit', 500.00, 0.00, 500.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 1000, 5, '2018-11-29', NULL, 1, '2018-12-05', 0, NULL, NULL, 0),
(20557, 1870, '2018-11-29', 'Credit', 19000.00, 0.00, 19000.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 348, 5, '2018-11-29', NULL, 1, '2018-12-05', 0, NULL, NULL, 0),
(20558, 16920, '2018-11-29', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Breed Stallion - No Boarding charges for the month of Nov, 2018', '22967', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20559, 16921, '2018-11-29', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Breed Stallion - No Boarding charges for the month of Nov, 2018', '22969', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20560, 16922, '2018-11-29', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Breed Stallion - No Boarding charges for the month of Nov, 2018', '22968', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20561, 16923, '2018-11-29', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19497 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20562, 16924, '2018-11-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19499 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20563, 16925, '2018-11-29', 'Debit', 370.00, 0.00, 388.50, 18.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19500 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20564, 16926, '2018-11-29', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19503 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20565, 16927, '2018-11-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19506 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20566, 16928, '2018-11-29', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19510 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20567, 16929, '2018-11-29', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19513 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20568, 16930, '2018-11-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19515 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20569, 16931, '2018-11-29', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19516 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20570, 16932, '2018-11-29', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19518 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20571, 16933, '2018-11-29', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19519 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20572, 16934, '2018-11-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19520 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20573, 16935, '2018-11-29', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19521 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20574, 16936, '2018-11-29', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19523 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20575, 16937, '2018-11-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19524 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20576, 16938, '2018-11-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19527 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20577, 16939, '2018-11-29', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-081', '22992,22993', 965, 5, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20578, 16940, '2018-11-29', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19529 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20579, 16941, '2018-11-15', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 1, 0, 'invoice', NULL, NULL, 'Show entry fee for Mecca Show - 2018', '22218', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20580, 16942, '2018-11-15', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 1, 0, 'invoice', NULL, NULL, 'Show entry fee for Mecca Show - 2018', '22220', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20581, 16943, '2018-11-26', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Transport from the client Stable to TADAWI.', '22997', 535, 5, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20582, 16944, '2018-11-17', 'Debit', 6000.00, 0.00, 6300.00, 300.00, 1, 0, 'invoice', NULL, NULL, 'Participated in Mecca Show - 2018', '22223', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20583, 16945, '2018-11-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19530 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20584, 1871, '2018-11-29', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16939', NULL, 965, 5, '2018-11-29', 20577, 1, '2018-12-05', 0, NULL, NULL, 0),
(20585, 16946, '2018-11-17', 'Debit', 6000.00, 0.00, 6300.00, 300.00, 1, 0, 'invoice', NULL, NULL, 'Participated in Mecca Show - 2018', '22222', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20586, 16947, '2018-11-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19531 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20587, 16948, '2018-11-15', 'Debit', 200.00, 0.00, 210.00, 10.00, 1, 0, 'invoice', NULL, NULL, 'Vaccination for Passport (Mecca Show) ', '22219', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20588, 16949, '2018-11-15', 'Debit', 200.00, 0.00, 210.00, 10.00, 1, 0, 'invoice', NULL, NULL, 'Vaccination for Passport (Mecca Show) ', '22221', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20589, 16950, '2018-11-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19532 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20590, 16951, '2018-11-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19534 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20591, 16952, '2018-11-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19536 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20592, 16953, '2018-11-29', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Lost Embryo (Recp. 104 Alexxanderr - Bint Shamal) Confirmed by Pedro 31-Oct-2018', '23003', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20593, 1576, '2018-11-29', 'Debit', 1000.00, 0.00, 1000.00, 50.00, 2, 0, 'charge', NULL, NULL, 'test', NULL, 585, 11, '2018-11-29', NULL, 0, '0000-00-00', 1, 11, '2018-11-29', 0),
(20594, 1577, '2018-11-29', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'charge', NULL, NULL, 'test 2', NULL, 585, 11, '2018-11-29', NULL, 0, '0000-00-00', 1, 11, '2018-11-29', 0),
(20595, 16954, '2018-11-29', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19544 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20596, 1872, '2018-11-29', 'Credit', 8000.00, 0.00, 8000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'TRANS. 12-NOV-2018', NULL, 1001, 5, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20597, 1873, '2018-11-29', 'Credit', 400.00, 0.00, 400.00, 0.00, 2, 0, 'payment', 'transfer', '', 'TRANS. 15-NOV-2018', NULL, 1001, 5, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0);
INSERT INTO `invoice` (`invoice_id`, `invoice_code`, `date`, `kind`, `amount`, `discount`, `net_amount`, `tax_amount`, `cc_id`, `opening_balance`, `transaction_type`, `method`, `reference_num`, `description`, `procedures`, `customer_ref`, `created_by`, `created_date`, `related_invoice`, `confirmed`, `confirmed_date`, `is_deleted`, `deleted_by`, `deleted_date`, `is_refunded`) VALUES
(20598, 16955, '2018-11-29', 'Debit', 370.00, 0.00, 388.50, 18.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19553 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20599, 16956, '2018-11-29', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19554 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20600, 1578, '2018-11-29', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'charge', NULL, NULL, 'tesrt 3', NULL, 585, 11, '2018-11-29', NULL, 0, '0000-00-00', 0, 11, '2018-11-29', 1),
(20601, 1579, '2018-11-29', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'charge', NULL, NULL, 'test 4', NULL, 585, 11, '2018-11-29', NULL, 1, '2018-11-29', 0, NULL, NULL, 0),
(20602, 16957, '2018-11-29', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19555 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20603, 1580, '2018-11-29', 'Debit', -2000.00, 0.00, -2100.00, -100.00, 2, 0, 'charge', NULL, NULL, 'test 4', NULL, 585, 11, '2018-11-29', NULL, 1, '2018-11-29', 0, NULL, NULL, 0),
(20604, 1581, '2018-11-29', 'Debit', -10971.23, 0.00, -11519.79, -548.56, 2, 0, 'charge', NULL, NULL, '20% discount for Reproduction Invoices/ Total invoices amount SAR57,599.00', NULL, 138, 13, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20605, 16958, '2018-11-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19561 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20606, 16959, '2018-11-29', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19562 System Generated Invoice', '', 71, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20607, 1582, '2018-11-29', 'Debit', -2500.00, 0.00, -2625.00, -125.00, 1, 0, 'charge', NULL, NULL, '10% discount for Training invoices/ Total invoice amount SAR26,250.00', NULL, 138, 13, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20608, 16960, '2018-11-29', 'Debit', 340.00, 0.00, 357.00, 17.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19563 System Generated Invoice', '', 215, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20609, 16961, '2018-11-29', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19564 System Generated Invoice', '', 973, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20610, 16962, '2018-11-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19565 System Generated Invoice', '', 981, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20611, 16963, '2018-11-29', 'Debit', 310.00, 0.00, 325.50, 15.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19566 System Generated Invoice', '', 985, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20612, 16964, '2018-11-29', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19567 System Generated Invoice', '', 138, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20613, 16965, '2018-11-29', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19568 System Generated Invoice', '', 138, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20614, 1874, '2018-11-29', 'Credit', -6060.35, 0.00, -6060.35, 0.00, 3, 0, 'payment', 'transfer', '', 'Refund to customer', NULL, 956, 13, '2018-11-29', NULL, 1, '2018-11-29', 0, NULL, NULL, 0),
(20615, 16966, '2018-11-29', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19569 System Generated Invoice', '', 138, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20616, 16967, '2018-11-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19570 System Generated Invoice', '', 968, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20617, 16968, '2018-11-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19572 System Generated Invoice', '', 139, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20618, 16969, '2018-11-29', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19574 System Generated Invoice', '', 164, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20619, 16970, '2018-11-29', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19575 System Generated Invoice', '', 109, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20620, 16971, '2018-11-29', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19576 System Generated Invoice', '', 156, 10, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20621, 16972, '2018-11-20', 'Debit', 1333.40, 0.00, 1400.07, 66.67, 2, 0, 'invoice', NULL, NULL, 'Boarding for 1-20  November, 2018 / Checkout ', '23048', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20622, 16973, '2018-11-20', 'Debit', 1333.40, 0.00, 1400.07, 66.67, 2, 0, 'invoice', NULL, NULL, 'Boarding for 1-20  November, 2018 / Checkout ', '23049', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20623, 16974, '2018-11-29', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Breed Stallion - No Boarding charges for Nov, 2018', '23012', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20624, 16975, '2018-11-19', 'Debit', 1266.73, 0.00, 1330.07, 63.34, 2, 0, 'invoice', NULL, NULL, 'Boarding for 1-19 November, 2018 / Checkout ', '23054', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20625, 16976, '2018-11-19', 'Debit', 1266.73, 0.00, 1330.07, 63.34, 2, 0, 'invoice', NULL, NULL, 'Boarding for 1-19 November, 2018 / Checkout ', '23055', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20626, 16977, '2018-11-29', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '21511', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20627, 16978, '2018-11-29', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23022', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20628, 16979, '2018-11-29', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23020', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20629, 16980, '2018-11-29', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23019', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20630, 16981, '2018-11-29', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23018', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20631, 16982, '2018-11-29', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018 / Checkout ', '23017', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20632, 16983, '2018-11-29', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23009', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20633, 16984, '2018-11-29', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23008', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20634, 16985, '2018-11-29', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23007', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20635, 16986, '2018-11-29', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23006', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20636, 16987, '2018-11-29', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018 / Checkout', '23005', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20637, 16988, '2018-11-29', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23004', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20638, 16989, '2018-11-29', 'Debit', 733.37, 0.00, 770.04, 36.67, 2, 0, 'invoice', NULL, NULL, 'Re-enter in Milad 19-Nov-2018 Boarding 20-30 November, 2018', '23056', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20639, 1583, '2018-11-29', 'Debit', 9000.00, 0.00, 9000.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Al Bargash approved, charge to Al Sayed invoice  Tom Shouken ticket fare PSAIAHF Show-2018 (EUR. 2000) 2000 X 4.50 = 9000 SAR', NULL, 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20640, 16990, '2018-11-29', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-084', '23057,23058,23059', 1003, 5, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20641, 1875, '2018-11-29', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16990', NULL, 1003, 5, '2018-11-29', 20640, 1, '2018-12-05', 0, NULL, NULL, 0),
(20642, 16991, '2018-11-29', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-085', '23062,23063,23064', 1004, 5, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20643, 1876, '2018-11-29', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #16991', NULL, 1004, 5, '2018-11-29', 20642, 1, '2018-12-05', 0, NULL, NULL, 0),
(20644, 16992, '2018-11-06', 'Debit', 1800.00, 0.00, 1890.00, 90.00, 2, 0, 'invoice', NULL, NULL, 'Farrier Charges (Ladoo) for Oct, 2018 (Shoeing): Justina Al Sayed, Amal Al Khalediah, Bint Al Shamal, Bint Seduction, Mera Al Sayed, Al Aseel, \r\n', '23065', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20645, 16993, '2018-11-06', 'Debit', 3480.00, 0.00, 3654.00, 174.00, 1, 0, 'invoice', NULL, NULL, 'Farrier Charges (Ladoo) for Oct, 2018 (Trim): Villanova, RD Capella, Czetaria, Filly Dasha Arabco, Colt Delight Divah, Arhaf Al Sayed, Samyah Al Sayed, Mouyad Alsayed, Zajer Alsayed, Colt of RD Capella, Filly of Amal Al Khalediah, Filly of Prestic, Maram AM, Anilla, Badriyah Al Sayed AL SAYED STUD AUCTION HORSES: Espa, Remeh Al Sayed, Colt of Nuzyrma, Colt of Espa, Filly of Villanova, Colt of RD Capella, Filly of Kahila, Zajer Al Sayed, Mouyad Al Sayed, Arhaf Al Sayed, Samya Alsayed, RD Capella, NW Mattelyn, Nuzyrma Dinn, ', '23066', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20646, 16994, '2018-11-29', 'Debit', 1320.00, 0.00, 1386.00, 66.00, 1, 0, 'invoice', NULL, NULL, 'Farrier Charges (Ladoo) for Nov, 2018 (Trim): Filly of RD Lorella, Colt of Delight Divah, Filly of Dasha Arabco, Kayed Alsayed, Miss Bella Rose, Filly of Prestic, Shehab Alsayed, Filly of Shanina, Usaila, Kubaira, Villanova ', '23067', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20647, 16995, '2018-11-29', 'Debit', 3300.00, 0.00, 3465.00, 165.00, 1, 0, 'invoice', NULL, NULL, 'Farrier Charges (Ladoo) for Nov, 2018 (Shoeing): Delight Divah, Jahwarat Al Sahra, LR Era, Nuwayar Al Sayed, Mirsal Al Sayed, Alexxanderr, Validoro, Paschal, Prestic, RD Lorella, Bint Al Shamal', '23068', 138, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20648, 16996, '2018-11-06', 'Debit', 2400.00, 0.00, 2520.00, 120.00, 2, 0, 'invoice', NULL, NULL, 'Shoeing (Ladoo) for September, 2018 (Services done in Al Fala Stud) 5 Horses Requested by Mr. Ricky ....... in Milad: Al Fabia, Hilal Al fala & Maha', '23069', 150, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20649, 16997, '2018-11-06', 'Debit', 2880.00, 0.00, 3024.00, 144.00, 2, 0, 'invoice', NULL, NULL, 'Shoeing (Ladoo) for September, 2018 (Services done in Al Fala Stud) 24 Horses Requested by Mr. Ricky ....... in Milad: No Horses', '23070', 150, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20650, 16998, '2018-11-29', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23073', 150, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20651, 16999, '2018-11-29', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23072', 150, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20652, 17000, '2018-11-29', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23071', 150, 6, '2018-11-29', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20653, 17001, '2018-11-30', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19578 System Generated Invoice', '', 1001, 10, '2018-11-30', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20654, 17002, '2018-11-30', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19580 System Generated Invoice', '', 1000, 10, '2018-11-30', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20655, 17003, '2018-11-30', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19584 System Generated Invoice', '', 414, 10, '2018-11-30', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20656, 17004, '2018-11-30', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19588 System Generated Invoice', '', 990, 10, '2018-11-30', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20657, 17005, '2018-11-30', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19592 System Generated Invoice', '', 961, 10, '2018-11-30', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20658, 17006, '2018-11-30', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19594 System Generated Invoice', '', 976, 10, '2018-11-30', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20659, 17007, '2018-11-30', 'Debit', 320.00, 0.00, 336.00, 16.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19596 System Generated Invoice', '', 110, 10, '2018-11-30', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20660, 17008, '2018-11-30', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19597 System Generated Invoice', '', 965, 10, '2018-11-30', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20661, 17009, '2018-11-30', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19599 System Generated Invoice', '', 522, 10, '2018-11-30', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20662, 17010, '2018-11-30', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19600 System Generated Invoice', '', 973, 10, '2018-11-30', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20663, 17011, '2018-11-30', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19602 System Generated Invoice', '', 985, 10, '2018-11-30', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20664, 17012, '2018-11-30', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19603 System Generated Invoice', '', 138, 10, '2018-11-30', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20665, 17013, '2018-11-30', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19605 System Generated Invoice', '', 138, 10, '2018-11-30', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20666, 17014, '2018-11-30', 'Debit', 55.00, 0.00, 57.75, 2.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19606 System Generated Invoice', '', 138, 10, '2018-11-30', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20667, 17015, '2018-11-30', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19607 System Generated Invoice', '', 183, 10, '2018-11-30', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20668, 17016, '2018-11-30', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19608 System Generated Invoice', '', 927, 10, '2018-11-30', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20669, 17017, '2018-11-30', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19609 System Generated Invoice', '', 400, 10, '2018-11-30', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20670, 17018, '2018-11-30', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19610 System Generated Invoice', '', 156, 10, '2018-11-30', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20671, 17019, '2018-12-01', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19612 System Generated Invoice', '', 152, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20672, 17020, '2018-12-01', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19613 System Generated Invoice', '', 999, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20673, 17021, '2018-12-01', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19615 System Generated Invoice', '', 104, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20674, 17022, '2018-12-01', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19618 System Generated Invoice', '', 980, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20675, 17023, '2018-12-01', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19619 System Generated Invoice', '', 1001, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20676, 1877, '2018-12-01', 'Credit', 944.00, 0.00, 944.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 247, 5, '2018-12-01', NULL, 1, '2018-12-05', 0, NULL, NULL, 0),
(20677, 17024, '2018-12-01', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-086', '23118,23119', 247, 5, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20678, 1878, '2018-12-01', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17024', NULL, 247, 5, '2018-12-01', 20677, 1, '2018-12-05', 0, NULL, NULL, 0),
(20679, 17025, '2018-12-01', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19620 System Generated Invoice', '', 621, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20680, 17026, '2018-11-30', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'owmr : khaled elshiesh	', '23122', 160, 5, '2018-12-01', NULL, 1, '2018-12-03', 0, NULL, NULL, 0),
(20681, 1879, '2018-11-30', 'Credit', 78.74, 0.00, 78.74, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17026', NULL, 160, 5, '2018-12-01', 20680, 1, '2018-12-05', 0, NULL, NULL, 0),
(20682, 17027, '2018-12-01', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-087', '23123,23124', 483, 5, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20683, 17028, '2018-12-01', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-088', '23125,23126', 483, 5, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20684, 17029, '2018-12-01', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19621 System Generated Invoice', '', 231, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20685, 1880, '2018-12-01', 'Credit', 8400.00, 0.00, 8400.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 483, 5, '2018-12-01', NULL, 1, '2018-12-05', 0, NULL, NULL, 0),
(20686, 17030, '2018-12-01', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19623 System Generated Invoice', '', 989, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20687, 17031, '2018-12-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19625 System Generated Invoice', '', 962, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20688, 17032, '2018-12-01', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19626 System Generated Invoice', '', 247, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20689, 17033, '2018-12-01', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19627 System Generated Invoice', '', 1000, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20690, 17034, '2018-12-01', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19631 System Generated Invoice', '', 302, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20691, 17035, '2018-12-01', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19632 System Generated Invoice', '', 988, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20692, 17036, '2018-12-01', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19633 System Generated Invoice', '', 987, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20693, 17037, '2018-12-01', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19634 System Generated Invoice', '', 110, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20694, 17038, '2018-12-01', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19636 System Generated Invoice', '', 977, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20695, 17039, '2018-12-01', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19637 System Generated Invoice', '', 522, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20696, 17040, '2018-12-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-089', '23144,23145,23146', 142, 5, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20697, 1881, '2018-12-01', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17040', NULL, 142, 5, '2018-12-01', 20696, 1, '2018-12-05', 0, NULL, NULL, 0),
(20698, 17041, '2018-12-01', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19638 System Generated Invoice', '', 973, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20699, 17042, '2018-12-01', 'Debit', 210.00, 0.00, 220.50, 10.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19640 System Generated Invoice', '', 156, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20700, 17043, '2018-12-01', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19641 System Generated Invoice', '', 927, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20701, 17044, '2018-12-01', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19642 System Generated Invoice', '', 138, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20702, 17045, '2018-12-01', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19643 System Generated Invoice', '', 138, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20703, 17046, '2018-12-01', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19644 System Generated Invoice', '', 413, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20704, 17047, '2018-12-01', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19645 System Generated Invoice', '', 153, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20705, 17048, '2018-12-01', 'Debit', 195.00, 0.00, 204.75, 9.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19647 System Generated Invoice', '', 138, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20706, 17049, '2018-12-01', 'Debit', 195.00, 0.00, 204.75, 9.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19649 System Generated Invoice', '', 348, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20707, 17050, '2018-12-01', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19653 System Generated Invoice', '', 965, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20708, 17051, '2018-12-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '6000-090 ( Collect Semen )', '23170,23171', 111, 5, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20709, 17052, '2018-12-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '6000-091 ( Collect Semen )', '23172,23173', 111, 5, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20710, 1882, '2018-12-01', 'Credit', 1050.00, 0.00, 1050.00, 0.00, 2, 0, 'payment', 'cash', '', '', NULL, 111, 5, '2018-12-01', NULL, 1, '2018-12-05', 0, NULL, NULL, 0),
(20711, 17053, '2018-12-01', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare: SHEMAG', '23174', 160, 5, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20712, 1883, '2018-12-01', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17053', NULL, 160, 5, '2018-12-01', 20711, 1, '2018-12-05', 0, NULL, NULL, 0),
(20713, 17054, '2018-12-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19656 System Generated Invoice', '', 965, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20714, 17055, '2018-12-01', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19658 System Generated Invoice', '', 71, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20715, 17056, '2018-12-01', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19659 System Generated Invoice', '', 71, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20716, 17057, '2018-12-01', 'Debit', 600.00, 0.00, 630.00, 30.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19660 System Generated Invoice', '', 215, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20717, 17058, '2018-12-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '5000-030', '23181,23182,23183', 1005, 5, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20718, 1884, '2018-12-01', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17058', NULL, 1005, 5, '2018-12-01', 20717, 1, '2018-12-05', 0, NULL, NULL, 0),
(20719, 1885, '2018-12-01', 'Credit', 2100.00, 0.00, 2100.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #01884', NULL, 1005, 5, '2018-12-01', 20718, 1, '2018-12-05', 0, NULL, NULL, 0),
(20720, 1886, '2018-12-01', 'Credit', 1100.00, 0.00, 1100.00, 0.00, 2, 0, 'payment', 'cash', '', '', NULL, 446, 5, '2018-12-01', NULL, 1, '2018-12-05', 0, NULL, NULL, 0),
(20721, 17059, '2018-12-01', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-092', '23184,23185', 446, 5, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20722, 17060, '2018-12-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19661 System Generated Invoice', '', 990, 10, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20723, 17061, '2018-12-01', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-093', '23187', 863, 5, '2018-12-01', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20724, 1887, '2018-12-01', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17061', NULL, 863, 5, '2018-12-01', 20723, 1, '2018-12-05', 0, NULL, NULL, 0),
(20725, 17062, '2018-12-02', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19667 System Generated Invoice', '', 266, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20726, 17063, '2018-12-02', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19668 System Generated Invoice', '', 104, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20727, 17064, '2018-12-02', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19669 System Generated Invoice', '', 152, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20728, 17065, '2018-12-02', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19670 System Generated Invoice', '', 483, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20729, 17066, '2018-12-02', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19672 System Generated Invoice', '', 962, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20730, 17067, '2018-12-02', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19676 System Generated Invoice', '', 429, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20731, 17068, '2018-12-02', 'Debit', 245.00, 0.00, 257.25, 12.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19679 System Generated Invoice', '', 95, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20732, 17069, '2018-12-02', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19680 System Generated Invoice', '', 977, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20733, 17070, '2018-12-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19681 System Generated Invoice', '', 268, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20734, 17071, '2018-12-02', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19682 System Generated Invoice', '', 110, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20735, 17072, '2018-12-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19683 System Generated Invoice', '', 1002, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20736, 17073, '2018-12-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19684 System Generated Invoice', '', 1004, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20737, 17074, '2018-12-02', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19685 System Generated Invoice', '', 176, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20738, 17075, '2018-12-02', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19686 System Generated Invoice', '', 522, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20739, 17076, '2018-12-02', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19687 System Generated Invoice', '', 999, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20740, 17077, '2018-12-02', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19688 System Generated Invoice', '', 142, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20741, 17078, '2018-12-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19689 System Generated Invoice', '', 863, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20742, 17079, '2018-12-02', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19690 System Generated Invoice', '', 965, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20743, 17080, '2018-12-02', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19691 System Generated Invoice', '', 965, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20744, 17081, '2018-12-02', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19693 System Generated Invoice', '', 965, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20745, 17082, '2018-12-02', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19694 System Generated Invoice', '', 973, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20746, 17083, '2018-12-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19695 System Generated Invoice', '', 981, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20747, 17084, '2018-12-02', 'Debit', 210.00, 0.00, 220.50, 10.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19696 System Generated Invoice', '', 156, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20748, 17085, '2018-12-02', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19698 System Generated Invoice', '', 138, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20749, 17086, '2018-12-02', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19699 System Generated Invoice', '', 413, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20750, 17087, '2018-12-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19700 System Generated Invoice', '', 164, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20751, 17088, '2018-12-02', 'Debit', 85.00, 0.00, 89.25, 4.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19701 System Generated Invoice', '', 138, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20752, 17089, '2018-12-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19702 System Generated Invoice', '', 973, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20753, 17090, '2018-12-02', 'Debit', 35.00, 0.00, 36.75, 1.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19703 System Generated Invoice', '', 348, 10, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20754, 17091, '2018-12-02', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'from 2 NOV - 2 DEC 2018 ( One Month in NOV 2018 )', '23241', 968, 11, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20755, 17092, '2018-12-02', 'Debit', 525.00, 0.00, 551.25, 26.25, 2, 0, 'invoice', NULL, NULL, '7 Time Palpation Charges ( Cuse of Refund )', '23242', 968, 11, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20756, 17093, '2018-12-02', 'Debit', -4000.00, 0.00, -4200.00, -200.00, 2, 0, 'invoice', NULL, NULL, 'Cancel Card', '23243', 968, 11, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20757, 17094, '2018-12-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19711 System Generated Invoice', '', 71, 9, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20758, 17095, '2018-12-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19713 System Generated Invoice', '', 71, 9, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20759, 17096, '2018-12-02', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19715 System Generated Invoice', '', 71, 9, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20760, 17097, '2018-12-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19716 System Generated Invoice', '', 71, 9, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20761, 17098, '2018-12-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19717 System Generated Invoice', '', 71, 9, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20762, 17099, '2018-12-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19721 System Generated Invoice', '', 71, 9, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20763, 17100, '2018-12-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19725 System Generated Invoice', '', 71, 9, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20764, 17101, '2018-12-02', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19726 System Generated Invoice', '', 71, 9, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20765, 17102, '2018-12-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19728 System Generated Invoice', '', 71, 9, '2018-12-02', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(20766, 17103, '2018-12-02', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-094', '23254,23255', 1006, 5, '2018-12-02', NULL, 0, '0000-00-00', 0, 13, '2018-12-02', 1),
(20767, 1888, '2018-12-02', 'Credit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17103', NULL, 1006, 5, '2018-12-02', 20766, 0, '0000-00-00', 1, 13, '2018-12-02', 0),
(20768, 1889, '2018-12-02', 'Credit', 1000.00, 0.00, 1000.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17103', NULL, 1006, 5, '2018-12-02', 20766, 0, '0000-00-00', 1, 13, '2018-12-02', 0),
(20769, 1890, '2018-12-02', 'Credit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'payment', 'span', '', 'Reversal of Payment #01888 (Wrong entry)', NULL, 1006, 13, '2018-12-02', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(20770, 1891, '2018-12-02', 'Credit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reversal of Payment #01889 (wrong entry)', NULL, 1006, 13, '2018-12-02', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(20771, 17104, '2018-12-02', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-094', '23256,23257', 1006, 5, '2018-12-02', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20772, 1892, '2018-12-02', 'Credit', 3200.00, 0.00, 3200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17104', NULL, 1006, 5, '2018-12-02', 20771, 1, '2018-12-09', 0, NULL, NULL, 0),
(20773, 1893, '2018-12-02', 'Credit', 1000.00, 0.00, 1000.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17104', NULL, 1006, 5, '2018-12-02', 20771, 1, '2018-12-05', 0, NULL, NULL, 0),
(20774, 17105, '2018-12-02', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-095', '23258,23259,23260', 95, 5, '2018-12-02', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20775, 17106, '2018-12-02', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-096', '23261,23262,23263', 95, 5, '2018-12-02', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20776, 17107, '2018-12-02', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-097', '23264,23265,23266', 95, 5, '2018-12-02', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20777, 1894, '2018-12-02', 'Credit', 6700.00, 0.00, 6700.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 1007, 5, '2018-12-02', NULL, 1, '2018-12-05', 0, NULL, NULL, 0),
(20778, 17108, '2018-12-02', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19731 System Generated Invoice', '', 183, 10, '2018-12-02', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20779, 17109, '2018-12-02', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19732 System Generated Invoice', '', 138, 10, '2018-12-02', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20780, 17110, '2018-12-02', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19733 System Generated Invoice', '', 183, 10, '2018-12-02', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20781, 17111, '2018-12-02', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19734 System Generated Invoice', '', 138, 10, '2018-12-02', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20782, 17112, '2018-12-02', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19735 System Generated Invoice', '', 164, 10, '2018-12-02', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20783, 17113, '2018-12-02', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19736 System Generated Invoice', '', 138, 10, '2018-12-02', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20784, 17114, '2018-12-02', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19737 System Generated Invoice', '', 138, 10, '2018-12-02', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20785, 1895, '2018-12-02', 'Credit', 4725.00, 0.00, 4725.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 95, 5, '2018-12-02', NULL, 1, '2018-12-09', 0, NULL, NULL, 0),
(20786, 1896, '2018-12-02', 'Credit', 10000.00, 0.00, 10000.00, 0.00, 2, 0, 'payment', 'transfer', '', '', NULL, 400, 5, '2018-12-02', NULL, 1, '2018-12-05', 0, NULL, NULL, 0),
(20787, 1584, '2018-12-02', 'Debit', 16250.00, 0.00, 17062.50, 812.50, 2, 0, 'charge', NULL, NULL, '1 Breeding ( KAHIL AL SHAQAB )', NULL, 570, 5, '2018-12-02', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20788, 1897, '2018-12-02', 'Credit', 16250.00, 0.00, 16250.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Reference Invoice #01584', NULL, 570, 5, '2018-12-02', 20787, 1, '2018-12-05', 0, NULL, NULL, 0),
(20789, 1898, '2018-12-02', 'Credit', 812.00, 0.00, 812.00, 0.00, 2, 0, 'payment', 'transfer', '', '', NULL, 570, 5, '2018-12-02', NULL, 1, '2018-12-05', 0, NULL, NULL, 0),
(20790, 17115, '2018-12-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19741 System Generated Invoice', '', 266, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20791, 17116, '2018-12-03', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19742 System Generated Invoice', '', 95, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20792, 17117, '2018-12-03', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19743 System Generated Invoice', '', 95, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20793, 17118, '2018-12-03', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19744 System Generated Invoice', '', 152, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20794, 17119, '2018-12-03', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19745 System Generated Invoice', '', 1003, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20795, 17120, '2018-12-03', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19746 System Generated Invoice', '', 414, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20796, 17121, '2018-12-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19747 System Generated Invoice', '', 977, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20797, 17122, '2018-12-03', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19749 System Generated Invoice', '', 110, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20798, 17123, '2018-12-03', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19750 System Generated Invoice', '', 984, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20799, 17124, '2018-12-03', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19752 System Generated Invoice', '', 999, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20800, 17125, '2018-12-03', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19755 System Generated Invoice', '', 95, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20801, 17126, '2018-12-03', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19756 System Generated Invoice', '', 95, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20802, 17127, '2018-12-03', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19758 System Generated Invoice', '', 1001, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20803, 17128, '2018-12-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19760 System Generated Invoice', '', 71, 9, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20804, 17129, '2018-12-03', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19764 System Generated Invoice', '', 1006, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20805, 1585, '2018-12-03', 'Debit', 6000.00, 0.00, 6300.00, 300.00, 2, 0, 'charge', NULL, NULL, 'Services done in Al Fala Stud: Requested by Ricky - Vet Pedro: Deworming Medicine 25 Pcs (Each Piece SAR. 40 for 25 Pcs SAR. 1000 + Vaccination for Pregnant mares 25 Pcs. Each Piece SAR. 200/- for 25 Vacc. SAR. 5000/-', NULL, 150, 6, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20806, 17130, '2018-12-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim for Shahd Al Khaled - month of NOV 2018', '23294', 400, 11, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20807, 17131, '2018-12-03', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19766 System Generated Invoice', '', 965, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20808, 17132, '2018-12-03', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19768 System Generated Invoice', '', 973, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20809, 17133, '2018-12-03', 'Debit', 210.00, 0.00, 220.50, 10.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19770 System Generated Invoice', '', 156, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20810, 17134, '2018-12-03', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19771 System Generated Invoice', '', 927, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20811, 17135, '2018-12-03', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19772 System Generated Invoice', '', 138, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20812, 17136, '2018-12-03', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19773 System Generated Invoice', '', 413, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20813, 17137, '2018-12-03', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19774 System Generated Invoice', '', 323, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20814, 17138, '2018-12-03', 'Debit', 370.00, 0.00, 388.50, 18.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19776 System Generated Invoice', '', 348, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20815, 17139, '2018-12-03', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19778 System Generated Invoice', '', 323, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20816, 17140, '2018-12-03', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19779 System Generated Invoice', '', 138, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20817, 17141, '2018-12-03', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19780 System Generated Invoice', '', 231, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20818, 17142, '2018-12-03', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19781 System Generated Invoice', '', 104, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20819, 17143, '2018-12-03', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19782 System Generated Invoice', '', 483, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20820, 17144, '2018-12-03', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare: ASMAR', '23329', 160, 5, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20821, 1899, '2018-12-03', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17144', NULL, 160, 5, '2018-12-03', 20820, 1, '2018-12-12', 0, NULL, NULL, 0),
(20822, 1900, '2018-12-03', 'Credit', 1160.00, 0.00, 1160.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 99, 5, '2018-12-03', NULL, 1, '2018-12-06', 0, NULL, NULL, 0),
(20823, 1901, '2018-12-03', 'Credit', 525.00, 0.00, 525.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 99, 5, '2018-12-03', NULL, 1, '2018-12-06', 0, NULL, NULL, 0),
(20824, 1902, '2018-12-03', 'Credit', 766.50, 0.00, 766.50, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 268, 5, '2018-12-03', NULL, 1, '2018-12-06', 0, NULL, NULL, 0),
(20825, 1903, '2018-12-03', 'Credit', 6336.00, 0.00, 6336.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balance ', NULL, 535, 11, '2018-12-03', NULL, 1, '2018-12-05', 0, NULL, NULL, 0),
(20826, 17145, '2018-12-03', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19784 System Generated Invoice', '', 1000, 10, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20827, 17146, '2018-12-03', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '5000-031', '23334,23335', 1008, 5, '2018-12-03', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20828, 17147, '2018-12-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19785 System Generated Invoice', '', 104, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0);
