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);
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
(20829, 17148, '2018-12-04', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19786 System Generated Invoice', '', 483, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20830, 17149, '2018-12-04', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19787 System Generated Invoice', '', 1001, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20831, 17150, '2018-12-04', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19788 System Generated Invoice', '', 528, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20832, 17151, '2018-12-04', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19789 System Generated Invoice', '', 176, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20833, 17152, '2018-12-04', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'owner mare : shekh kahled', '23350', 160, 5, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20834, 1904, '2018-12-04', 'Credit', 78.76, 0.00, 78.76, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17152', NULL, 160, 5, '2018-12-04', 20833, 1, '2018-12-12', 0, NULL, NULL, 0),
(20835, 17153, '2018-12-04', 'Debit', 270.00, 0.00, 283.50, 13.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19790 System Generated Invoice', '', 1000, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20836, 17154, '2018-12-04', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19791 System Generated Invoice', '', 997, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20837, 17155, '2018-12-04', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19793 System Generated Invoice', '', 414, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20838, 17156, '2018-12-04', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19794 System Generated Invoice', '', 95, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20839, 17157, '2018-12-04', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19798 System Generated Invoice', '', 987, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20840, 17158, '2018-12-04', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19799 System Generated Invoice', '', 494, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20841, 17159, '2018-12-04', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19801 System Generated Invoice', '', 999, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20842, 17160, '2018-12-04', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19802 System Generated Invoice', '', 110, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20843, 17161, '2018-12-04', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19805 System Generated Invoice', '', 266, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20844, 17162, '2018-12-04', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19806 System Generated Invoice', '', 973, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20845, 17163, '2018-12-04', 'Debit', 210.00, 0.00, 220.50, 10.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19808 System Generated Invoice', '', 156, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20846, 17164, '2018-12-04', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19809 System Generated Invoice', '', 927, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20847, 17165, '2018-12-04', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19811 System Generated Invoice', '', 138, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20848, 17166, '2018-12-04', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19812 System Generated Invoice', '', 138, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20849, 17167, '2018-12-04', 'Debit', 270.00, 0.00, 283.50, 13.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19814 System Generated Invoice', '', 413, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20850, 17168, '2018-12-04', 'Debit', 160.00, 0.00, 168.00, 8.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19817 System Generated Invoice', '', 348, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20851, 17169, '2018-12-04', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19819 System Generated Invoice', '', 150, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20852, 17170, '2018-12-04', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19820 System Generated Invoice', '', 150, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20853, 17171, '2018-12-04', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19823 System Generated Invoice', '', 1009, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20854, 17172, '2018-12-04', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19824 System Generated Invoice', '', 1008, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20855, 17173, '2018-12-04', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19825 System Generated Invoice', '', 965, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20856, 17174, '2018-12-04', 'Debit', 265.00, 0.00, 278.25, 13.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19826 System Generated Invoice', '', 95, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20857, 17175, '2018-12-04', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19827 System Generated Invoice', '', 965, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20858, 17176, '2018-12-04', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19828 System Generated Invoice', '', 176, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20859, 1905, '2018-12-04', 'Credit', 8400.00, 0.00, 8400.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Trans. to SAMBA Bank. ( 2-Dec-2018 )', NULL, 1010, 5, '2018-12-04', NULL, 1, '2018-12-05', 0, NULL, NULL, 0),
(20860, 17177, '2018-12-04', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare: MALEHA', '23399', 160, 5, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20861, 1906, '2018-12-04', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17177', NULL, 160, 5, '2018-12-04', 20860, 1, '2018-12-06', 0, NULL, NULL, 0),
(20862, 1907, '2018-12-04', 'Credit', 23360.00, 0.00, 23360.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Trans. To SAMBA Bank. ( 3-Dec-2018 )', NULL, 542, 5, '2018-12-04', NULL, 1, '2018-12-05', 0, NULL, NULL, 0),
(20863, 17178, '2018-12-04', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19830 System Generated Invoice', '', 388, 10, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20864, 1908, '2018-12-04', 'Credit', 20000.00, 0.00, 20000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Trans. to SAMBA Bank ( 3-Dec-2018 )', NULL, 81, 5, '2018-12-04', NULL, 1, '2018-12-05', 0, NULL, NULL, 0),
(20865, 17179, '2018-12-04', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-098', '23402,23403', 980, 5, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20866, 1909, '2018-12-04', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17179', NULL, 980, 5, '2018-12-04', 20865, 1, '2018-12-06', 0, NULL, NULL, 0),
(20867, 1910, '2018-12-04', 'Credit', 5250.00, 0.00, 5250.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 1011, 5, '2018-12-04', NULL, 1, '2018-12-06', 0, NULL, NULL, 0),
(20868, 17180, '2018-12-04', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '5000-038', '23404,23405', 113, 5, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20869, 17181, '2018-12-04', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '5000-039', '23406,23407', 113, 5, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20870, 1911, '2018-12-04', 'Credit', 4000.00, 0.00, 4000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Trans. to SAMBA Bank ( 18-Nov-2018 )', NULL, 712, 5, '2018-12-04', NULL, 1, '2018-12-04', 0, NULL, NULL, 0),
(20871, 1912, '2018-12-04', 'Credit', 6750.00, 0.00, 6750.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 180, 5, '2018-12-04', NULL, 1, '2018-12-06', 0, NULL, NULL, 0),
(20872, 17182, '2018-12-04', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, '1 Doze ( ALEXXANDERR )', '23408', 180, 5, '2018-12-04', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20873, 1913, '2018-12-04', 'Credit', 1050.00, 0.00, 1050.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17182 ', NULL, 180, 5, '2018-12-04', 20872, 1, '2018-12-06', 0, NULL, NULL, 0),
(20874, 17183, '2018-12-05', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19833 System Generated Invoice', '', 104, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20875, 17184, '2018-12-05', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19834 System Generated Invoice', '', 1000, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20876, 17185, '2018-12-05', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19838 System Generated Invoice', '', 371, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20877, 17186, '2018-12-05', 'Debit', 540.00, 0.00, 567.00, 27.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19840 System Generated Invoice', '', 266, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20878, 17187, '2018-12-05', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19843 System Generated Invoice', '', 176, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20879, 17188, '2018-12-05', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19844 System Generated Invoice', '', 95, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20880, 17189, '2018-12-05', 'Debit', 590.00, 0.00, 619.50, 29.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19845 System Generated Invoice', '', 95, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20881, 17190, '2018-12-05', 'Debit', 195.00, 0.00, 204.75, 9.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19846 System Generated Invoice', '', 95, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20882, 17191, '2018-12-05', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19847 System Generated Invoice', '', 414, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20883, 17192, '2018-12-05', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19850 System Generated Invoice', '', 142, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20884, 17193, '2018-12-05', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19852 System Generated Invoice', '', 989, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20885, 17194, '2018-12-05', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19853 System Generated Invoice', '', 989, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20886, 17195, '2018-12-05', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-099', '23444,23445', 1012, 5, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20887, 1914, '2018-12-05', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17195', NULL, 1012, 5, '2018-12-05', 20886, 1, '2018-12-11', 0, NULL, NULL, 0),
(20888, 17196, '2018-12-05', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19854 System Generated Invoice', '', 1012, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20889, 17197, '2018-12-05', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19855 System Generated Invoice', '', 973, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20890, 17198, '2018-12-05', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19857 System Generated Invoice', '', 927, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20891, 17199, '2018-12-05', 'Debit', 255.00, 0.00, 267.75, 12.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19858 System Generated Invoice', '', 138, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20892, 17200, '2018-12-05', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19859 System Generated Invoice', '', 138, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20893, 17201, '2018-12-05', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19860 System Generated Invoice', '', 413, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20894, 17202, '2018-12-05', 'Debit', 160.00, 0.00, 168.00, 8.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19863 System Generated Invoice', '', 348, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20895, 17203, '2018-12-05', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19868 System Generated Invoice', '', 113, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20896, 17204, '2018-12-05', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19869 System Generated Invoice', '', 113, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20897, 17205, '2018-12-05', 'Debit', -1500.00, 0.00, -1575.00, -75.00, 2, 0, 'invoice', NULL, NULL, 'Cancel Card No 4000- 722', '23463,23464', 579, 11, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20898, 17206, '2018-12-05', 'Debit', -1500.00, 0.00, -1575.00, -75.00, 2, 0, 'invoice', NULL, NULL, 'Cancel Card No 4000- 723', '23465,23466', 579, 11, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20899, 17207, '2018-12-05', 'Debit', 750.00, 0.00, 787.50, 37.50, 2, 0, 'invoice', NULL, NULL, '10 Times Palpation', '23467', 978, 11, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20900, 17208, '2018-12-05', 'Debit', -4000.00, 0.00, -4200.00, -200.00, 2, 0, 'invoice', NULL, NULL, 'Cancel Contract No. 6000 - 035', '23471', 978, 11, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20901, 17209, '2018-12-05', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-100', '23468,23469,23470', 197, 5, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20902, 17210, '2018-12-05', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'mare : lila', '23472', 160, 5, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20903, 1915, '2018-12-05', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17210', NULL, 160, 5, '2018-12-05', 20902, 1, '2018-12-09', 0, NULL, NULL, 0),
(20904, 17211, '2018-12-05', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 2, 0, 'invoice', NULL, NULL, '6 Pieces Rubber Sheet ( Al Faraag Work Shop )', '23473', 160, 5, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20905, 1916, '2018-12-05', 'Credit', 1260.00, 0.00, 1260.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17211', NULL, 160, 5, '2018-12-05', 20904, 1, '2018-12-09', 0, NULL, NULL, 0),
(20906, 17212, '2018-12-05', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19870 System Generated Invoice', '', 965, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20907, 17213, '2018-12-05', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19871 System Generated Invoice', '', 965, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20908, 17214, '2018-12-05', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19872 System Generated Invoice', '', 965, 10, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20909, 1917, '2018-12-05', 'Credit', 10000.00, 0.00, 10000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Remaining Balance', NULL, 502, 5, '2018-12-05', NULL, 1, '2018-12-06', 0, NULL, NULL, 0),
(20910, 17215, '2018-12-05', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-102', '23479,23480', 129, 5, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20911, 1918, '2018-12-05', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17215 ( 6000-102 )', NULL, 129, 5, '2018-12-05', 20910, 1, '2018-12-09', 0, NULL, NULL, 0),
(20912, 1586, '2018-12-05', 'Debit', 7220.00, 0.00, 7220.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Abu Bakr iqama renewal charges 31-Dec-2018 (This year valid until 31-Dec-2019) ', NULL, 150, 6, '2018-12-05', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20913, 17216, '2018-12-06', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19875 System Generated Invoice', '', 104, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20914, 17217, '2018-12-06', 'Debit', 530.00, 0.00, 556.50, 26.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19876 System Generated Invoice', '', 266, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20915, 17218, '2018-12-06', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19877 System Generated Invoice', '', 997, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20916, 17219, '2018-12-06', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19878 System Generated Invoice', '', 595, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20917, 17220, '2018-12-06', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19879 System Generated Invoice', '', 974, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20918, 17221, '2018-12-06', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19880 System Generated Invoice', '', 197, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20919, 17222, '2018-12-06', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19881 System Generated Invoice', '', 1001, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20920, 17223, '2018-12-06', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19882 System Generated Invoice', '', 995, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20921, 17224, '2018-12-06', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19883 System Generated Invoice', '', 989, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20922, 17225, '2018-12-06', 'Debit', 430.00, 0.00, 451.50, 21.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19885 System Generated Invoice', '', 95, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20923, 17226, '2018-12-06', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-103', '23503', 536, 5, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20924, 1919, '2018-12-06', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17226', NULL, 536, 5, '2018-12-06', 20923, 1, '2018-12-12', 0, NULL, NULL, 0),
(20925, 17227, '2018-12-06', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19886 System Generated Invoice', '', 536, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20926, 17228, '2018-12-06', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19888 System Generated Invoice', '', 176, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20927, 17229, '2018-12-06', 'Debit', 195.00, 0.00, 204.75, 9.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19890 System Generated Invoice', '', 176, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20928, 17230, '2018-12-06', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19891 System Generated Invoice', '', 110, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20929, 17231, '2018-12-06', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19892 System Generated Invoice', '', 240, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20930, 17232, '2018-12-06', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19894 System Generated Invoice', '', 965, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20931, 17233, '2018-12-06', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19895 System Generated Invoice', '', 965, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20932, 17234, '2018-12-06', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19899 System Generated Invoice', '', 927, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20933, 17235, '2018-12-06', 'Debit', 135.00, 0.00, 141.75, 6.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19900 System Generated Invoice', '', 138, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20934, 17236, '2018-12-06', 'Debit', 270.00, 0.00, 283.50, 13.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19901 System Generated Invoice', '', 138, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20935, 17237, '2018-12-06', 'Debit', 195.00, 0.00, 204.75, 9.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19902 System Generated Invoice', '', 138, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20936, 17238, '2018-12-06', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19903 System Generated Invoice', '', 413, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20937, 17239, '2018-12-06', 'Debit', 160.00, 0.00, 168.00, 8.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19907 System Generated Invoice', '', 348, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20938, 17240, '2018-12-06', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19909 System Generated Invoice', '', 139, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20939, 17241, '2018-12-06', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19912 System Generated Invoice', '', 1005, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20940, 17242, '2018-12-06', 'Debit', 245.00, 0.00, 257.25, 12.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19913 System Generated Invoice', '', 150, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20941, 17243, '2018-12-06', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19914 System Generated Invoice', '', 1008, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20942, 17244, '2018-12-06', 'Debit', 35.00, 0.00, 36.75, 1.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19915 System Generated Invoice', '', 95, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20943, 17245, '2018-12-06', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19916 System Generated Invoice', '', 95, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20944, 17246, '2018-12-06', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19917 System Generated Invoice', '', 142, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20945, 17247, '2018-12-06', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19927 System Generated Invoice', '', 71, 9, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20946, 1920, '2018-12-06', 'Credit', 6300.00, 0.00, 6300.00, 0.00, 2, 0, 'payment', 'span', '', 'in advance ( 2-Dec-2018 )', NULL, 1009, 5, '2018-12-06', NULL, 1, '2018-12-09', 0, NULL, NULL, 0),
(20947, 1921, '2018-12-06', 'Credit', -2974.95, 0.00, -2974.95, 0.00, 3, 0, 'payment', 'transfer', '', 'Refund for payment #01807/ Overpayment against invoice', NULL, 992, 13, '2018-12-06', NULL, 1, '2018-12-06', 0, NULL, NULL, 0),
(20948, 17248, '2018-12-06', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19928 System Generated Invoice', '', 1000, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20949, 17249, '2018-12-06', 'Debit', 180.00, 0.00, 189.00, 9.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19929 System Generated Invoice', '', 1000, 10, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20950, 17250, '2018-12-06', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '5000-040', '23546,23547', 238, 5, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20951, 17251, '2018-12-06', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '5000-41', '23548,23549', 1014, 5, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20952, 1922, '2018-12-06', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17251', NULL, 1014, 5, '2018-12-06', 20951, 1, '2018-12-09', 0, NULL, NULL, 0),
(20953, 1923, '2018-12-06', 'Credit', 2100.00, 0.00, 2100.00, 0.00, 2, 0, 'payment', 'span', '', 'in advance', NULL, 1014, 5, '2018-12-06', NULL, 1, '2018-12-09', 0, NULL, NULL, 0),
(20954, 1924, '2018-12-06', 'Credit', 1460.00, 0.00, 1460.00, 0.00, 2, 0, 'payment', 'span', '', 'REMAINING BALANCE', NULL, 572, 5, '2018-12-06', NULL, 1, '2018-12-11', 0, NULL, NULL, 0),
(20955, 17252, '2018-12-06', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-104', '23550,23551', 1015, 5, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20956, 1925, '2018-12-06', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17252', NULL, 1015, 5, '2018-12-06', 20955, 1, '2018-12-09', 0, NULL, NULL, 0),
(20957, 1587, '2018-12-06', 'Debit', -415.00, 0.00, -415.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Transferred balance to Abdullah Al Shaiea account\r\n', NULL, 494, 13, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20958, 1588, '2018-08-31', 'Debit', 415.00, 0.00, 415.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 1016, 13, '2018-12-06', NULL, 1, '2018-12-06', 0, NULL, NULL, 0),
(20959, 1926, '2018-12-06', 'Credit', 500.00, 0.00, 500.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 494, 5, '2018-12-06', NULL, 1, '2018-12-09', 0, NULL, NULL, 0),
(20960, 1589, '2018-08-31', 'Debit', -415.00, 0.00, -415.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Reverse charge #01588 (Wrong date)', NULL, 1016, 13, '2018-12-06', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(20961, 1590, '2018-12-06', 'Debit', 415.00, 0.00, 415.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Beginning balance (From Abdullah Bin Mohammed Al Shaei account)', NULL, 1016, 13, '2018-12-06', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20962, 17253, '2018-12-07', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19930 System Generated Invoice', '', 961, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20963, 17254, '2018-12-07', 'Debit', 180.00, 0.00, 189.00, 9.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19933 System Generated Invoice', '', 1000, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20964, 17255, '2018-12-07', 'Debit', 330.00, 0.00, 346.50, 16.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19935 System Generated Invoice', '', 266, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20965, 17256, '2018-12-07', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19937 System Generated Invoice', '', 268, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20966, 17257, '2018-12-07', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19938 System Generated Invoice', '', 863, 9, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20967, 17258, '2018-12-07', 'Debit', 225.00, 0.00, 236.25, 11.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19939 System Generated Invoice', '', 95, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20968, 17259, '2018-12-07', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19940 System Generated Invoice', '', 142, 9, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20969, 17260, '2018-12-07', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19941 System Generated Invoice', '', 95, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20970, 17261, '2018-12-07', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19942 System Generated Invoice', '', 95, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20971, 17262, '2018-12-07', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19943 System Generated Invoice', '', 995, 9, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20972, 17263, '2018-12-07', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19947 System Generated Invoice', '', 138, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20973, 17264, '2018-12-07', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19948 System Generated Invoice', '', 138, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20974, 17265, '2018-12-07', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19949 System Generated Invoice', '', 413, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20975, 17266, '2018-12-07', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19950 System Generated Invoice', '', 153, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20976, 17267, '2018-12-07', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19952 System Generated Invoice', '', 973, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20977, 17268, '2018-12-07', 'Debit', 130.00, 0.00, 136.50, 6.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19953 System Generated Invoice', '', 348, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20978, 17269, '2018-12-07', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19954 System Generated Invoice', '', 183, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20979, 17270, '2018-12-07', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19955 System Generated Invoice', '', 139, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20980, 17271, '2018-12-07', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19957 System Generated Invoice', '', 150, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20981, 17272, '2018-12-07', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19958 System Generated Invoice', '', 150, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20982, 17273, '2018-12-07', 'Debit', 290.00, 0.00, 304.50, 14.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19960 System Generated Invoice', '', 1008, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20983, 17274, '2018-12-07', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19962 System Generated Invoice', '', 238, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20984, 17275, '2018-12-07', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19963 System Generated Invoice', '', 1014, 10, '2018-12-07', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20985, 17276, '2018-12-08', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19965 System Generated Invoice', '', 1001, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20986, 17277, '2018-12-08', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19967 System Generated Invoice', '', 997, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20987, 17278, '2018-12-08', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19969 System Generated Invoice', '', 989, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20988, 17279, '2018-12-08', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19970 System Generated Invoice', '', 197, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20989, 17280, '2018-12-08', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19971 System Generated Invoice', '', 974, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20990, 17281, '2018-12-08', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, '', '23607', 160, 5, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20991, 1927, '2018-12-08', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17281', NULL, 160, 5, '2018-12-08', 20990, 1, '2018-12-12', 0, NULL, NULL, 0),
(20992, 17282, '2018-12-08', 'Debit', 330.00, 0.00, 346.50, 16.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19974 System Generated Invoice', '', 266, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20993, 17283, '2018-12-08', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19976 System Generated Invoice', '', 984, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20994, 17284, '2018-12-08', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19977 System Generated Invoice', '', 572, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20995, 17285, '2018-12-08', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19979 System Generated Invoice', '', 95, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20996, 17286, '2018-12-08', 'Debit', 35.00, 0.00, 36.75, 1.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19980 System Generated Invoice', '', 95, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20997, 17287, '2018-12-08', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19981 System Generated Invoice', '', 95, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20998, 17288, '2018-12-08', 'Debit', 180.00, 0.00, 189.00, 9.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19982 System Generated Invoice', '', 1000, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(20999, 17289, '2018-12-08', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19984 System Generated Invoice', '', 142, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21000, 17290, '2018-12-08', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19985 System Generated Invoice', '', 302, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21001, 17291, '2018-12-08', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19986 System Generated Invoice', '', 247, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21002, 17292, '2018-12-08', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19988 System Generated Invoice', '', 276, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21003, 17293, '2018-12-08', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19989 System Generated Invoice', '', 1012, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21004, 17294, '2018-12-08', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19992 System Generated Invoice', '', 138, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21005, 17295, '2018-12-08', 'Debit', 35.00, 0.00, 36.75, 1.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19993 System Generated Invoice', '', 138, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21006, 17296, '2018-12-08', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19996 System Generated Invoice', '', 138, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21007, 17297, '2018-12-08', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19998 System Generated Invoice', '', 139, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21008, 17298, '2018-12-08', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #19999 System Generated Invoice', '', 150, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21009, 17299, '2018-12-08', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-105', '23637,23638', 1017, 5, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21010, 1928, '2018-12-08', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17299', NULL, 1017, 5, '2018-12-08', 21009, 1, '2018-12-11', 0, NULL, NULL, 0),
(21011, 17300, '2018-12-08', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20001 System Generated Invoice', '', 1008, 10, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21012, 17301, '2018-12-08', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20006 System Generated Invoice', '', 71, 9, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21013, 17302, '2018-12-08', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '5000-032', '23336,23337', 1009, 5, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21014, 1929, '2018-12-08', 'Credit', 240.00, 0.00, 240.00, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 987, 5, '2018-12-08', NULL, 1, '2018-12-11', 0, NULL, NULL, 0),
(21015, 1930, '2018-12-08', 'Credit', 250.00, 0.00, 250.00, 0.00, 2, 0, 'payment', 'cash', '', 'in advance', NULL, 987, 5, '2018-12-08', NULL, 1, '2018-12-12', 0, NULL, NULL, 0),
(21016, 17303, '2018-12-08', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'mare : Mabroka', '23644', 160, 5, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21017, 1931, '2018-12-08', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17303', NULL, 160, 5, '2018-12-08', 21016, 1, '2018-12-12', 0, NULL, NULL, 0),
(21018, 17304, '2018-12-08', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23645', 971, 6, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21019, 17305, '2018-12-08', 'Debit', 613.36, 0.00, 644.03, 30.67, 2, 0, 'invoice', NULL, NULL, 'Boarding 1-Dec to 8-Dec-2018', '23646', 971, 6, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21020, 1932, '2018-12-08', 'Credit', 756.00, 0.00, 756.00, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 516, 5, '2018-12-08', NULL, 1, '2018-12-11', 0, NULL, NULL, 0),
(21021, 1933, '2018-12-08', 'Credit', 252.00, 0.00, 252.00, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 271, 5, '2018-12-08', NULL, 1, '2018-12-11', 0, NULL, NULL, 0),
(21022, 1591, '2018-12-08', 'Debit', -350.05, 0.00, -367.55, -17.50, 2, 0, 'charge', NULL, NULL, 'Adjustment to Invoice #01042 and Invoice #01041. Approved by Mr. Nasir', NULL, 356, 13, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21023, 17306, '2018-12-08', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-106', '23647,23648', 516, 5, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21024, 1934, '2018-12-08', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17306', NULL, 516, 5, '2018-12-08', 21023, 1, '2018-12-11', 0, NULL, NULL, 0),
(21025, 17307, '2018-12-08', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20008 System Generated Invoice', '', 516, 9, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21026, 17308, '2018-12-08', 'Debit', 1600.08, 0.00, 1680.08, 80.00, 2, 0, 'invoice', NULL, NULL, 'Boarding 1-Nov to 24-Nov-2018 / Checkout ', '23650', 971, 6, '2018-12-08', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21027, 17309, '2018-12-09', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20010 System Generated Invoice', '', 863, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21028, 17310, '2018-12-09', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20011 System Generated Invoice', '', 268, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21029, 17311, '2018-12-09', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20012 System Generated Invoice', '', 1003, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21030, 17312, '2018-12-09', 'Debit', 130.00, 0.00, 136.50, 6.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20014 System Generated Invoice', '', 266, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21031, 17313, '2018-12-09', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20017 System Generated Invoice', '', 276, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21032, 17314, '2018-12-09', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20018 System Generated Invoice', '', 1006, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21033, 17315, '2018-12-09', 'Debit', 130.00, 0.00, 136.50, 6.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20020 System Generated Invoice', '', 483, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21034, 17316, '2018-12-09', 'Debit', 45.00, 0.00, 47.25, 2.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20022 System Generated Invoice', '', 987, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21035, 17317, '2018-12-09', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20023 System Generated Invoice', '', 1015, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21036, 17318, '2018-12-09', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20025 System Generated Invoice', '', 984, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21037, 17319, '2018-12-09', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20027 System Generated Invoice', '', 110, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21038, 17320, '2018-12-09', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20028 System Generated Invoice', '', 95, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21039, 17321, '2018-12-09', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20029 System Generated Invoice', '', 197, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21040, 17322, '2018-12-09', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20030 System Generated Invoice', '', 95, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21041, 17323, '2018-12-09', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20031 System Generated Invoice', '', 430, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21042, 17324, '2018-12-09', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20032 System Generated Invoice', '', 572, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21043, 17325, '2018-12-09', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20033 System Generated Invoice', '', 1002, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21044, 1935, '2018-12-09', 'Credit', 200.00, 0.00, 200.00, 0.00, 2, 0, 'payment', 'cash', '', 'Remaining Balance', NULL, 863, 5, '2018-12-09', NULL, 1, '2018-12-12', 0, NULL, NULL, 0),
(21045, 17326, '2018-12-09', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20035 System Generated Invoice', '', 595, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21046, 17327, '2018-12-09', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20036 System Generated Invoice', '', 129, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21047, 17328, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding Month of NOV 2018', '23679', 413, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21048, 17329, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding Month of NOV 2018', '23680', 1005, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21049, 17330, '2018-12-09', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Boarding Month of NOV 2018', '23681', 375, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21050, 17331, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  MONTHLY  of NOV 2018 ', '23683', 183, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21051, 17332, '2018-12-09', 'Debit', 1800.09, 0.00, 1890.09, 90.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 27 DAYS ) of NOV 2018', '23682', 981, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21052, 17333, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding Month of NOV 2018', '23684', 183, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21053, 17334, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding Month of NOV 2018', '23685', 183, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21054, 17335, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding Month of NOV 2018', '23686', 183, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21055, 17336, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding Month of NOV 2018', '23687', 183, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21056, 17337, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding Month of NOV 2018', '23688', 183, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21057, 17338, '2018-12-09', 'Debit', 1066.72, 0.00, 1120.06, 53.34, 2, 0, 'invoice', NULL, NULL, 'Boarding Month of NOV 2018 ( 16 days )', '23689', 531, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21058, 17339, '2018-12-09', 'Debit', 1500.03, 0.00, 1575.03, 75.00, 1, 0, 'invoice', NULL, NULL, 'T.C of NOV 2018 (9 days )', '23690', 531, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21059, 17340, '2018-12-09', 'Debit', 1000.05, 0.00, 1050.05, 50.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018 ( 15 days )', '23691', 109, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21060, 17341, '2018-12-09', 'Debit', 1000.05, 0.00, 1050.05, 50.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018 ( 15 days )', '23692', 109, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21061, 17342, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018 ', '23693', 509, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21062, 17343, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018 ', '23694', 81, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21063, 17344, '2018-12-09', 'Debit', 533.36, 0.00, 560.03, 26.67, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018 ( 8 Days )', '23695', 1008, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21064, 17345, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018', '23696', 439, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21065, 17346, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018', '23697', 164, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21066, 17347, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018', '23698', 164, 11, '2018-12-09', NULL, 1, '2019-01-10', 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
(21067, 17348, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018', '23699', 164, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21068, 17349, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018', '23700', 164, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21069, 17350, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018', '23701', 164, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21070, 17351, '2018-12-09', 'Debit', 613.36, 0.00, 644.03, 30.67, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018 ( 8 DAYS)', '23702', 164, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21071, 17352, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018 ', '23703', 164, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21072, 17353, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018 ', '23704', 164, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21073, 17354, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018 ', '23706', 954, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21074, 17355, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018 ', '23707', 328, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21075, 17356, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018 ', '23708', 533, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21076, 17357, '2018-12-09', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, ' Training  MONTH of NOV 2018 ', '23709', 354, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21077, 17358, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018 ', '23710', 400, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21078, 17359, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018 ', '23711', 418, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21079, 17360, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018 ', '23712', 348, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21080, 17361, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018 ', '23713', 927, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21081, 17362, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018 ', '23714', 973, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21082, 17363, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018 ', '23715', 973, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21083, 17364, '2018-12-09', 'Debit', 1000.05, 0.00, 1050.05, 50.00, 2, 0, 'invoice', NULL, NULL, ' BOARDING MONTH of NOV 2018 ( 15 Days )', '23716', 109, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21084, 17365, '2018-12-09', 'Debit', 4333.42, 0.00, 4550.09, 216.67, 1, 0, 'invoice', NULL, NULL, 'Charging Start from 5 NOV 2018 ( T.C ) ', '23717', 531, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21085, 17366, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding in month of NOV 2018 ', '23719', 375, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21086, 17367, '2018-12-09', 'Debit', 1533.41, 0.00, 1610.08, 76.67, 2, 0, 'invoice', NULL, NULL, '	BOARDING MONTH of NOV 2018 ( 23 Days )', '23705', 164, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21087, 1592, '2018-12-09', 'Debit', 35000.00, 0.00, 36750.00, 1750.00, 2, 0, 'charge', NULL, NULL, 'Charge  Services Fees As Contract ( Sar 500 X 70 Horses ) ', NULL, 71, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21088, 1593, '2018-12-09', 'Debit', 0.00, 0.00, 0.00, 0.00, 3, 0, 'charge', NULL, NULL, '', NULL, 138, 11, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21089, 17368, '2018-12-09', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20038 System Generated Invoice', '', 138, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21090, 17369, '2018-12-09', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20041 System Generated Invoice', '', 973, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21091, 17370, '2018-12-09', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20043 System Generated Invoice', '', 531, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21092, 17371, '2018-12-09', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20044 System Generated Invoice', '', 150, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21093, 17372, '2018-12-09', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20045 System Generated Invoice', '', 150, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21094, 17373, '2018-12-09', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20046 System Generated Invoice', '', 1008, 10, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21095, 1936, '2018-12-09', 'Credit', -375000.00, 0.00, -375000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment #01858/ Reversed as this payment is related to Mr. Nasir.', NULL, 138, 13, '2018-12-09', NULL, 1, '2018-12-09', 0, NULL, NULL, 0),
(21096, 1937, '2018-12-09', 'Credit', 20000.00, 0.00, 20000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Transferred to Mr. Nasser Account ( Need to Charge Mr. Nasser Account )', NULL, 113, 11, '2018-12-09', NULL, 1, '2018-12-11', 0, NULL, NULL, 0),
(21097, 17374, '2018-12-09', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-107', '23731,23732', 1010, 5, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21098, 17375, '2018-12-09', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-108', '23733,23734', 1010, 5, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21099, 17376, '2018-12-09', 'Debit', 733.37, 0.00, 770.04, 36.67, 2, 0, 'invoice', NULL, NULL, 'Boarding charges 1-Nov to 11-Nov-2018', '23737', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21100, 17377, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Foaled Filly 11-Nov-2018', '23738', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21101, 17378, '2018-12-09', 'Debit', 1456.73, 0.00, 1529.57, 72.84, 2, 0, 'invoice', NULL, NULL, 'Boarding 12-Nov to 30-Nov-2018 (Mare & Filly)', '23739', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21102, 17379, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23749', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21103, 17380, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23747', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21104, 17381, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23748', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21105, 17382, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23746', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21106, 17383, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23745', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21107, 17384, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23744', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21108, 17385, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23741', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21109, 17386, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '23743', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21110, 17387, '2018-12-09', 'Debit', 733.37, 0.00, 770.04, 36.67, 2, 0, 'invoice', NULL, NULL, 'Boarding 11-Nov to 30-Nov-2018', '23742', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21111, 17388, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of November, 2018', '21537', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21112, 17389, '2018-12-09', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training  for the month of November, 2018', '23060', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21113, 17390, '2018-12-09', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training  for the month of November, 2018', '23740', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21114, 17391, '2018-12-09', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training  for the month of November, 2018', '23736', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21115, 17392, '2018-12-09', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training  for the month of November, 2018', '23735', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21116, 17393, '2018-12-09', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training  for the month of November, 2018', '23061', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21117, 17394, '2018-12-09', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges (Training) for Nov, 2018', '23757', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21118, 17395, '2018-12-09', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges (Training) for Nov, 2018', '23756', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21119, 17396, '2018-12-09', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Special feed charges (Training) for Nov, 2018', '23755', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21120, 17397, '2018-12-09', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Special feed charges (Training) for Nov, 2018', '23754', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21121, 17398, '2018-12-09', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges (Training) for Nov, 2018', '23753', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21122, 17399, '2018-12-09', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges (Training) for Nov, 2018', '23752', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21123, 17400, '2018-12-09', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges (Training) for Nov, 2018', '23751', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21124, 17401, '2018-12-09', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges (Training) for Nov, 2018', '23750', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21125, 17402, '2018-12-09', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 1, 0, 'invoice', NULL, NULL, 'Al Arab Show - 2018 Entry fee', '23758', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21126, 17403, '2018-12-09', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'Al Arab Show - 2018 Entry fee', '23759', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21127, 17404, '2018-12-09', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 1, 0, 'invoice', NULL, NULL, 'Al Arab Show - 2018 Entry fee', '23760', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21128, 17405, '2018-12-09', 'Debit', 6000.00, 0.00, 6300.00, 300.00, 1, 0, 'invoice', NULL, NULL, 'Participate in Al Arab Show-2018 (6-8 Dec-2018)', '23761', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21129, 17406, '2018-12-09', 'Debit', 6000.00, 0.00, 6300.00, 300.00, 1, 0, 'invoice', NULL, NULL, 'Participate in Al Arab Show-2018 (6-8 Dec-2018)', '23762', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21130, 17407, '2018-12-09', 'Debit', 6000.00, 0.00, 6300.00, 300.00, 1, 0, 'invoice', NULL, NULL, 'Participate in Al Arab Show-2018 (6-8 Dec-2018)', '23763', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21131, 17408, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 1, 0, 'invoice', NULL, NULL, '2nd round handling charges', '23764', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21132, 17409, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 1, 0, 'invoice', NULL, NULL, '2nd round handling charges', '23766', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21133, 17410, '2018-12-09', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 1, 0, 'invoice', NULL, NULL, '2nd round handling charges', '23765', 138, 6, '2018-12-09', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21134, 17411, '2018-12-10', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20049 System Generated Invoice', '', 483, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21135, 17412, '2018-12-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20051 System Generated Invoice', '', 1003, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21136, 17413, '2018-12-10', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20054 System Generated Invoice', '', 110, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21137, 17414, '2018-12-10', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20055 System Generated Invoice', '', 863, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21138, 17415, '2018-12-10', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20056 System Generated Invoice', '', 987, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21139, 17416, '2018-12-10', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20057 System Generated Invoice', '', 988, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21140, 17417, '2018-12-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20058 System Generated Invoice', '', 95, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21141, 17418, '2018-12-10', 'Debit', 310.00, 0.00, 325.50, 15.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20059 System Generated Invoice', '', 572, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21142, 17419, '2018-12-10', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20060 System Generated Invoice', '', 494, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21143, 17420, '2018-12-10', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20061 System Generated Invoice', '', 1002, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21144, 1938, '2018-12-10', 'Credit', 1480.50, 0.00, 1480.50, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 403, 5, '2018-12-10', NULL, 1, '2018-12-12', 0, NULL, NULL, 0),
(21145, 17421, '2018-12-10', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20063 System Generated Invoice', '', 276, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21146, 17422, '2018-12-10', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-109', '23782,23783,23784', 403, 5, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21147, 1939, '2018-12-10', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17422', NULL, 403, 5, '2018-12-10', 21146, 1, '2018-12-12', 0, NULL, NULL, 0),
(21148, 17423, '2018-12-10', 'Debit', 270.00, 0.00, 283.50, 13.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20064 System Generated Invoice', '', 268, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21149, 17424, '2018-12-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20065 System Generated Invoice', '', 403, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21150, 17425, '2018-12-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20066 System Generated Invoice', '', 1017, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21151, 17426, '2018-12-10', 'Debit', 400.00, 0.00, 420.00, 20.00, 2, 0, 'invoice', NULL, NULL, '2 Pieces Rubber Sheet ( Mazin Saleh )', '23791', 160, 5, '2018-12-10', NULL, 1, '2018-12-11', 0, NULL, NULL, 0),
(21152, 1940, '2018-12-10', 'Credit', 417.00, 0.00, 417.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17426', NULL, 160, 5, '2018-12-10', 21151, 1, '2018-12-12', 0, NULL, NULL, 0),
(21153, 1941, '2018-12-10', 'Credit', 3.00, 0.00, 3.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17426', NULL, 160, 5, '2018-12-10', 21151, 1, '2018-12-12', 0, NULL, NULL, 0),
(21154, 17427, '2018-12-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20067 System Generated Invoice', '', 984, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21155, 17428, '2018-12-10', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-110', '23793,23794', 1018, 5, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21156, 17429, '2018-12-10', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-111', '23795,23796', 1018, 5, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21157, 17430, '2018-12-10', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-112', '23797,23798', 1018, 5, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21158, 1942, '2018-12-10', 'Credit', 12600.00, 0.00, 12600.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Open 3 Frozen Cards', NULL, 1018, 5, '2018-12-10', NULL, 1, '2018-12-11', 0, NULL, NULL, 0),
(21159, 1943, '2018-12-10', 'Credit', 11228.62, 0.00, 11228.62, 0.00, 3, 0, 'payment', 'transfer', '', 'This Amount Transferred to Mr. Nasser Account ', NULL, 655, 11, '2018-12-10', NULL, 1, '2018-12-11', 0, NULL, NULL, 0),
(21160, 17431, '2018-12-10', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20068 System Generated Invoice', '', 1015, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21161, 17432, '2018-12-10', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20070 System Generated Invoice', '', 971, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21162, 17433, '2018-12-10', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20071 System Generated Invoice', '', 153, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21163, 17434, '2018-12-10', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20072 System Generated Invoice', '', 109, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21164, 17435, '2018-12-10', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20074 System Generated Invoice', '', 323, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21165, 17436, '2018-12-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20077 System Generated Invoice', '', 109, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21166, 17437, '2018-12-10', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20078 System Generated Invoice', '', 531, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21167, 17438, '2018-12-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20079 System Generated Invoice', '', 150, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21168, 17439, '2018-12-10', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20080 System Generated Invoice', '', 150, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21169, 17440, '2018-12-10', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20083 System Generated Invoice', '', 1009, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21170, 17441, '2018-12-10', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20085 System Generated Invoice', '', 965, 10, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21171, 17442, '2018-12-10', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare: SHOUDY', '23814', 160, 5, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21172, 1944, '2018-12-10', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17442', NULL, 160, 5, '2018-12-10', 21171, 1, '2018-12-12', 0, NULL, NULL, 0),
(21173, 17443, '2018-12-10', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-113', '23815,23816,23817', 354, 5, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21174, 1945, '2018-12-10', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17443', NULL, 354, 5, '2018-12-10', 21173, 1, '2018-12-12', 0, NULL, NULL, 0),
(21175, 1946, '2018-12-10', 'Credit', 6363.00, 0.00, 6363.00, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 971, 5, '2018-12-10', NULL, 1, '2018-12-12', 0, NULL, NULL, 0),
(21176, 17444, '2018-12-10', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-114', '23818,23819', 197, 5, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21177, 17445, '2018-12-10', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Returned back to Milad from Al Sayed Stud Auction (Boarding for Nov, 2018)', '23820', 138, 6, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21178, 17446, '2018-12-10', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Charges for the month of Nov, 2018', '23821', 138, 6, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21179, 17447, '2018-12-10', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Charges for Filling Nitrogen in Container (Oct & Nov, 2018) For month SAR. 1000/-', '23822', 138, 6, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21180, 1947, '2018-12-10', 'Credit', 6300.00, 0.00, 6300.00, 0.00, 2, 0, 'payment', 'transfer', '', 'in advance ( 9-Dec-2018 )', NULL, 238, 5, '2018-12-10', NULL, 1, '2018-12-11', 0, NULL, NULL, 0),
(21181, 17448, '2018-12-10', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, '', '23823', 153, 6, '2018-12-10', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21182, 17449, '2018-12-11', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20086 System Generated Invoice', '', 354, 10, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21183, 17450, '2018-12-11', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20087 System Generated Invoice', '', 354, 10, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21184, 17451, '2018-12-11', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20089 System Generated Invoice', '', 507, 10, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21185, 17452, '2018-12-11', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20090 System Generated Invoice', '', 1015, 10, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21186, 17453, '2018-12-11', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20093 System Generated Invoice', '', 528, 10, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21187, 1948, '2018-12-11', 'Credit', 1600.00, 0.00, 1600.00, 0.00, 2, 0, 'payment', 'cash', '', '6000-100', NULL, 197, 5, '2018-12-11', NULL, 1, '2018-12-23', 0, NULL, NULL, 0),
(21188, 17454, '2018-12-11', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20096 System Generated Invoice', '', 268, 10, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21189, 17455, '2018-12-11', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20098 System Generated Invoice', '', 197, 10, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21190, 17456, '2018-12-11', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20099 System Generated Invoice', '', 984, 10, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21191, 17457, '2018-12-11', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20100 System Generated Invoice', '', 863, 10, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21192, 17458, '2018-12-11', 'Debit', 195.00, 0.00, 204.75, 9.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20102 System Generated Invoice', '', 987, 10, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21193, 17459, '2018-12-11', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20103 System Generated Invoice', '', 988, 10, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21194, 17460, '2018-12-11', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-115', '23840,23841,23842', 79, 5, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21195, 1949, '2018-12-11', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17460', NULL, 79, 5, '2018-12-11', 21194, 1, '2018-12-23', 0, NULL, NULL, 0),
(21196, 17461, '2018-12-11', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, '2 Frozen Dozes ( ALEXXANDERR )', '23843', 1021, 5, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21197, 1950, '2018-12-11', 'Credit', 2100.00, 0.00, 2100.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17461', NULL, 1021, 5, '2018-12-11', 21196, 1, '2018-12-23', 0, NULL, NULL, 0),
(21198, 17462, '2018-12-11', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training Fee for Month of NOV 2018', '23844', 224, 11, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21199, 17463, '2018-12-11', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding Fee for Month of NOV 2018', '23846', 525, 11, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21200, 17464, '2018-12-11', 'Debit', 1466.74, 0.00, 1540.08, 73.34, 2, 0, 'invoice', NULL, NULL, 'Boarding Fee for Month of NOV 2018 ( 22 Days )', '23845', 985, 11, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21201, 17465, '2018-12-11', 'Debit', 1333.40, 0.00, 1400.07, 66.67, 2, 0, 'invoice', NULL, NULL, 'Boarding Fee for Month of NOV 2018 ( 20 Days )', '23847', 542, 11, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21202, 17466, '2018-12-11', 'Debit', 3333.40, 0.00, 3500.07, 166.67, 1, 0, 'invoice', NULL, NULL, 'Training  Fee for Month of NOV 2018 ( 20 Days )', '23848', 542, 11, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21203, 17467, '2018-12-11', 'Debit', 466.69, 0.00, 490.02, 23.33, 2, 0, 'invoice', NULL, NULL, 'Boarding Fee for Month of NOV 2018 ( 7 Days )', '23849', 156, 11, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21204, 17468, '2018-12-11', 'Debit', 45.00, 0.00, 47.25, 2.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20108 System Generated Invoice', '', 1002, 10, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21205, 17469, '2018-12-11', 'Debit', 290.00, 0.00, 304.50, 14.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20109 System Generated Invoice', '', 483, 10, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21206, 17470, '2018-12-11', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20110 System Generated Invoice', '', 110, 10, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21207, 17471, '2018-12-11', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20111 System Generated Invoice', '', 1003, 10, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21208, 17472, '2018-12-11', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20112 System Generated Invoice', '', 354, 10, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21209, 17473, '2018-12-11', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20113 System Generated Invoice', '', 403, 10, '2018-12-11', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21210, 1594, '2018-12-11', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'charge', NULL, NULL, 'Monthly service charges (Milad Vet) for December, 2018 (HORSE: Al Fala Stud - Monthly service charges ) ', NULL, 150, 6, '2018-12-11', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21211, 17474, '2018-12-11', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20115 System Generated Invoice', '', 981, 10, '2018-12-11', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21212, 17475, '2018-12-11', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Semen storage charges (for 45 Liters container) (Ansata Nile, Alihandro, Naseem, Al Adeed (Period November, 2018)- Monthly 500 SAR (HORSE: Al Fala Stud - Semen Storage charges ) ', '23862', 150, 6, '2018-12-11', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21213, 17476, '2018-12-11', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20117 System Generated Invoice', '', 109, 10, '2018-12-11', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21214, 17477, '2018-12-11', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20118 System Generated Invoice', '', 164, 10, '2018-12-11', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21215, 17478, '2018-12-11', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20119 System Generated Invoice', '', 138, 10, '2018-12-11', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21216, 17479, '2018-12-11', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20120 System Generated Invoice', '', 109, 10, '2018-12-11', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21217, 17480, '2018-12-11', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20122 System Generated Invoice', '', 531, 10, '2018-12-11', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21218, 17481, '2018-12-11', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20124 System Generated Invoice', '', 113, 10, '2018-12-11', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21219, 17482, '2018-12-11', 'Debit', 1320.00, 0.00, 1386.00, 66.00, 2, 0, 'invoice', NULL, NULL, 'Taken Medicines from Tadawi Hospital (Excenal 4 G 80 ml + Equipalazone - 1 G) Inv. No: 01-1401 Dt: 15-Oct-2018', '23871', 150, 6, '2018-12-11', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21220, 17483, '2018-12-11', 'Debit', 2100.00, 0.00, 2205.00, 105.00, 2, 0, 'invoice', NULL, NULL, 'Shoeing - Services done in Al Fala Stud-October, 2018 (As per Ricky information) Jaleela, Najeera, Farasha, Gulnar, Natalia, Sarayen, Aliya', '23872', 150, 6, '2018-12-11', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21221, 17484, '2018-12-11', 'Debit', 2760.00, 0.00, 2898.00, 138.00, 2, 0, 'invoice', NULL, NULL, 'Trim - Services done in Al Fala Stud (As per Ricky information) October, 2018 Total 23 Horses ', '23873', 150, 6, '2018-12-11', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21222, 17485, '2018-12-11', 'Debit', 687.50, 0.00, 721.88, 34.38, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice Ref. No: 01-1398 Dated: 15-Oct-2018 Horse Name: FILLY OF KALAHARI', '23874', 150, 6, '2018-12-11', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21223, 17486, '2018-12-11', 'Debit', 1782.00, 0.00, 1871.10, 89.10, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice Ref. No: 01-1402 Dated: 20-Oct-2018 Horse Name: FILLY OF JAMILA', '23875', 150, 6, '2018-12-11', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21224, 17487, '2018-12-11', 'Debit', 522.50, 0.00, 548.63, 26.13, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice Ref. No: 01-1399 Dated: 15-Oct-2018 Horse Name: KALAHARI', '23876', 150, 6, '2018-12-11', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21225, 17488, '2018-12-11', 'Debit', 742.50, 0.00, 779.63, 37.13, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice Ref. No: 01-1400 Dated: 15-Oct-2018 Horse Name: AREEB', '23877', 150, 6, '2018-12-11', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21226, 17489, '2018-12-11', 'Debit', 1694.00, 0.00, 1778.70, 84.70, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice Ref. No: 01-1274 Dated: 03-Oct-2018 Horse Name: ALYAH', '23878', 150, 6, '2018-12-11', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21227, 17490, '2018-11-25', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20126 System Generated Invoice', '', 572, 10, '2018-12-11', NULL, 1, '2019-01-09', 0, NULL, NULL, 0),
(21228, 17491, '2018-12-11', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-117', '23882,23883', 1022, 5, '2018-12-11', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21229, 1951, '2018-12-11', 'Credit', 2000.00, 0.00, 2000.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17491', NULL, 1022, 5, '2018-12-11', 21228, 1, '2018-12-23', 0, NULL, NULL, 0),
(21230, 1952, '2018-12-11', 'Credit', 2200.00, 0.00, 2200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17491', NULL, 1022, 5, '2018-12-11', 21228, 1, '2018-12-23', 0, NULL, NULL, 0),
(21231, 1595, '2018-12-11', 'Debit', -14333.33, 0.00, -15050.00, -716.67, 2, 0, 'charge', NULL, NULL, 'Taken 1 breeding Nasim Alreshediah from Al Fala for Mr. Nasir Al Fozan (As per Mr. Nasir instruction)/ Discount', NULL, 150, 13, '2018-12-11', NULL, 1, '2018-12-11', 0, NULL, NULL, 0),
(21232, 17492, '2018-12-12', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20128 System Generated Invoice', '', 1015, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21233, 17493, '2018-12-12', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20132 System Generated Invoice', '', 507, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21234, 17494, '2018-12-12', 'Debit', 410.00, 0.00, 430.50, 20.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20133 System Generated Invoice', '', 483, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21235, 17495, '2018-12-12', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20134 System Generated Invoice', '', 388, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21236, 17496, '2018-12-12', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20136 System Generated Invoice', '', 957, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21237, 17497, '2018-12-12', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20138 System Generated Invoice', '', 1003, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21238, 17498, '2018-12-12', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20140 System Generated Invoice', '', 1004, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21239, 17499, '2018-12-12', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20141 System Generated Invoice', '', 984, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21240, 17500, '2018-12-12', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20142 System Generated Invoice', '', 403, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21241, 17501, '2018-12-12', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20144 System Generated Invoice', '', 79, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21242, 17502, '2018-12-12', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20145 System Generated Invoice', '', 354, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21243, 17503, '2018-12-12', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-118', '23903,23904', 1023, 5, '2018-12-12', NULL, 1, '2018-12-16', 0, NULL, NULL, 0),
(21244, 17504, '2018-12-12', 'Debit', 520.00, 0.00, 546.00, 26.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20149 System Generated Invoice', '', 572, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21245, 1953, '2018-12-12', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Reference Invoice #17503', NULL, 1023, 5, '2018-12-12', 21243, 1, '2018-12-16', 0, NULL, NULL, 0),
(21246, 17505, '2018-12-12', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20150 System Generated Invoice', '', 998, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21247, 17506, '2018-12-12', 'Debit', 270.00, 0.00, 283.50, 13.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20152 System Generated Invoice', '', 110, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21248, 17507, '2018-12-12', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20153 System Generated Invoice', '', 268, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21249, 17508, '2018-12-12', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20154 System Generated Invoice', '', 302, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21250, 17509, '2018-12-12', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20155 System Generated Invoice', '', 1002, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21251, 17510, '2018-12-12', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'W-039', '23918,23919', 489, 5, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21252, 17511, '2018-12-12', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-040', '23925,23926,23927', 489, 5, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21253, 17512, '2018-12-12', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'W-041 -- Embryo ( HELA AL TINHAT * SHAFE PSUEDE ) ', '23928,23929', 489, 5, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21254, 17513, '2018-12-12', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-042', '23930,23931,23932', 489, 5, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21255, 17514, '2018-12-12', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'W-043', '23933,23934', 489, 5, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21256, 17515, '2018-12-12', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'W-044', '23935,23936', 489, 5, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21257, 17516, '2018-12-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim in Month of DEC 2018', '23938', 328, 11, '2018-12-12', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21258, 17517, '2018-12-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim in Month of DEC 2018', '23937', 164, 11, '2018-12-12', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21259, 17518, '2018-12-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim in Month of DEC 2018', '23939', 183, 11, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21260, 17519, '2018-12-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim in Month of DEC 2018', '23940', 183, 11, '2018-12-12', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21261, 17520, '2018-12-12', 'Debit', 800.04, 0.00, 840.04, 40.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  Month of DEC 2018( 12 Days )', '23941', 418, 11, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21262, 17521, '2018-12-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'trim in Month of DEC 2018', '23942', 348, 11, '2018-12-12', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21263, 17522, '2018-12-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'trim in Month of DEC 2018', '23943', 138, 11, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21264, 17523, '0000-00-00', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'trim in Month of DEC 2018', '23944', 109, 11, '2018-12-12', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(21265, 17524, '2018-12-05', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'trim in Month of DEC 2018', '23946', 109, 11, '2018-12-12', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21266, 17525, '2018-12-05', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'trim in Month of DEC 2018', '23947', 413, 11, '2018-12-12', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21267, 17526, '2018-12-05', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'trim in Month of DEC 2018', '23948', 139, 11, '2018-12-12', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21268, 17527, '2018-12-06', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'trim in Month of DEC 2018', '23949', 183, 11, '2018-12-12', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21269, 17528, '2018-12-08', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'trim in Month of DEC 2018', '23950', 354, 11, '2018-12-12', NULL, 1, '2019-01-10', 0, NULL, NULL, 0),
(21270, 17529, '2018-12-12', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Suture the Vagina ( 6-Dec-2018 )\r\n', '23951', 1000, 5, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21271, 17530, '2018-12-12', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20157 System Generated Invoice', '', 153, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21272, 17531, '2018-12-12', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20159 System Generated Invoice', '', 138, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21273, 1954, '2018-12-12', 'Credit', 1505.50, 0.00, 1505.50, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17529', NULL, 1000, 5, '2018-12-12', 21270, 1, '2018-12-23', 0, NULL, NULL, 0),
(21274, 17532, '2018-12-12', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-119', '23955,23956,23957', 79, 5, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21275, 1955, '2018-12-12', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17532', NULL, 79, 5, '2018-12-12', 21274, 1, '2018-12-23', 0, NULL, NULL, 0),
(21276, 17533, '2018-12-12', 'Debit', 225.00, 0.00, 236.25, 11.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20161 System Generated Invoice', '', 109, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21277, 17534, '2018-12-12', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20163 System Generated Invoice', '', 531, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21278, 17535, '2018-12-12', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20164 System Generated Invoice', '', 150, 10, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21279, 17536, '2018-12-12', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-120', '23964,23965', 1024, 5, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21280, 1956, '2018-12-12', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17536', NULL, 1024, 5, '2018-12-12', 21279, 1, '2018-12-23', 0, NULL, NULL, 0),
(21281, 17537, '2018-12-12', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-121', '23966,23967', 1025, 5, '2018-12-12', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21282, 1957, '2018-12-12', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17537', NULL, 1025, 5, '2018-12-12', 21281, 1, '2018-12-23', 0, NULL, NULL, 0),
(21283, 1958, '2018-12-12', 'Credit', 900.00, 0.00, 900.00, 0.00, 2, 0, 'payment', 'cash', '', 'Remaining Balance', NULL, 507, 5, '2018-12-12', NULL, 1, '2018-12-23', 0, NULL, NULL, 0),
(21284, 17538, '2018-12-13', 'Debit', 210.00, 0.00, 220.50, 10.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20165 System Generated Invoice', '', 483, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21285, 17539, '2018-12-13', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20166 System Generated Invoice', '', 483, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21286, 17540, '2018-12-13', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'By Ali', '23973', 160, 5, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21287, 1959, '2018-12-13', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17540', NULL, 160, 5, '2018-12-13', 21286, 1, '2018-12-23', 0, NULL, NULL, 0),
(21288, 17541, '2018-12-13', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20169 System Generated Invoice', '', 980, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21289, 17542, '2018-12-13', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20170 System Generated Invoice', '', 507, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21290, 17543, '2018-12-13', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20171 System Generated Invoice', '', 476, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21291, 17544, '2018-12-13', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20172 System Generated Invoice', '', 240, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21292, 17545, '2018-12-13', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20173 System Generated Invoice', '', 959, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21293, 17546, '2018-12-13', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20174 System Generated Invoice', '', 1003, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21294, 17547, '2018-12-13', 'Debit', 540.00, 0.00, 567.00, 27.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20177 System Generated Invoice', '', 572, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21295, 17548, '2018-12-13', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20178 System Generated Invoice', '', 1002, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21296, 17549, '2018-12-13', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20180 System Generated Invoice', '', 354, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21297, 17550, '2018-12-13', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20184 System Generated Invoice', '', 403, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21298, 17551, '2018-12-13', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20185 System Generated Invoice', '', 988, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21299, 17552, '2018-12-13', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20187 System Generated Invoice', '', 110, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21300, 17553, '2018-12-13', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20189 System Generated Invoice', '', 1010, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21301, 17554, '2018-12-13', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20190 System Generated Invoice', '', 595, 10, '2018-12-13', NULL, 1, '2019-01-12', 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
(21302, 17555, '2018-12-13', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'P4 Doze', '23996', 976, 5, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21303, 1960, '2018-12-13', 'Credit', 73.50, 0.00, 73.50, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17555', NULL, 976, 5, '2018-12-13', 21302, 1, '2018-12-23', 0, NULL, NULL, 0),
(21304, 17556, '2018-12-13', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20191 System Generated Invoice', '', 79, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21305, 17557, '2018-12-13', 'Debit', 1066.72, 0.00, 1120.06, 53.34, 2, 0, 'invoice', NULL, NULL, 'Boarding Month of DEC 2018 ( 16 Days )', '24001', 408, 11, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21306, 17558, '2018-12-13', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training in MONTH of NOV 2018', '24002', 1027, 11, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21307, 17559, '2018-12-13', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  in MONTH of NOV 2018', '24003', 1026, 11, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21308, 17560, '2018-12-13', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-122', '24004,24005,24006', 1029, 5, '2018-12-13', NULL, 1, '2018-12-16', 0, NULL, NULL, 0),
(21309, 1961, '2018-12-13', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17560', NULL, 1029, 5, '2018-12-13', 21308, 1, '2018-12-23', 0, NULL, NULL, 0),
(21310, 1962, '2018-12-13', 'Credit', 2410.00, 0.00, 2410.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Remaining Balance ( Trans to Rajhi Bank 8-Dec-2018 )', NULL, 231, 5, '2018-12-13', NULL, 1, '2018-12-16', 0, NULL, NULL, 0),
(21311, 17561, '2018-12-13', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20192 System Generated Invoice', '', 1029, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21312, 17562, '2018-12-13', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare : CRIN BDAYA', '24008', 160, 5, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21313, 1963, '2018-12-13', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17562', NULL, 160, 5, '2018-12-13', 21312, 1, '2018-12-23', 0, NULL, NULL, 0),
(21314, 17563, '2018-12-13', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20193 System Generated Invoice', '', 153, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21315, 17564, '2018-12-13', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20195 System Generated Invoice', '', 109, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21316, 17565, '2018-12-13', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20196 System Generated Invoice', '', 164, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21317, 17566, '2018-12-13', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20200 System Generated Invoice', '', 183, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21318, 17567, '2018-12-13', 'Debit', 35.00, 0.00, 36.75, 1.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20203 System Generated Invoice', '', 109, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21319, 17568, '2018-12-13', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20204 System Generated Invoice', '', 109, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21320, 17569, '2018-12-13', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20206 System Generated Invoice', '', 1005, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21321, 17570, '2018-12-13', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20207 System Generated Invoice', '', 113, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21322, 17571, '2018-12-13', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20210 System Generated Invoice', '', 1014, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21323, 17572, '2018-12-13', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20215 System Generated Invoice', '', 71, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21324, 17573, '2018-12-13', 'Debit', 95.23, 0.00, 99.99, 4.76, 2, 0, 'invoice', NULL, NULL, '2 Times Transportation in JANADRIYAH', '24024', 160, 5, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21325, 1964, '2018-12-13', 'Credit', 99.99, 0.00, 99.99, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17573', NULL, 160, 5, '2018-12-13', 21324, 1, '2018-12-23', 0, NULL, NULL, 0),
(21326, 17574, '2018-12-13', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20221 System Generated Invoice', '', 71, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21327, 17575, '2018-12-13', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20222 System Generated Invoice', '', 71, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21328, 17576, '2018-12-13', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20223 System Generated Invoice', '', 71, 10, '2018-12-13', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21329, 17577, '2018-12-14', 'Debit', 210.00, 0.00, 220.50, 10.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20224 System Generated Invoice', '', 483, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21330, 17578, '2018-12-14', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20227 System Generated Invoice', '', 1018, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21331, 17579, '2018-12-14', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20232 System Generated Invoice', '', 961, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21332, 17580, '2018-12-14', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20235 System Generated Invoice', '', 988, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21333, 17581, '2018-12-14', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20236 System Generated Invoice', '', 197, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21334, 17582, '2018-12-14', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20237 System Generated Invoice', '', 572, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21335, 17583, '2018-12-14', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20238 System Generated Invoice', '', 1024, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21336, 17584, '2018-12-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20239 System Generated Invoice', '', 995, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21337, 17585, '2018-12-14', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20240 System Generated Invoice', '', 371, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21338, 17586, '2018-12-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20241 System Generated Invoice', '', 129, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21339, 17587, '2018-12-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20243 System Generated Invoice', '', 536, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21340, 17588, '2018-12-14', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20246 System Generated Invoice', '', 79, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21341, 17589, '2018-12-14', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20248 System Generated Invoice', '', 153, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21342, 17590, '2018-12-14', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20249 System Generated Invoice', '', 156, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21343, 17591, '2018-12-14', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20250 System Generated Invoice', '', 109, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21344, 17592, '2018-12-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20251 System Generated Invoice', '', 138, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21345, 17593, '2018-12-14', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20252 System Generated Invoice', '', 164, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21346, 17594, '2018-12-14', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20254 System Generated Invoice', '', 109, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21347, 17595, '2018-12-14', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20258 System Generated Invoice', '', 113, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21348, 17596, '2018-12-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20259 System Generated Invoice', '', 238, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21349, 17597, '2018-12-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20260 System Generated Invoice', '', 1026, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21350, 17598, '2018-12-14', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20261 System Generated Invoice', '', 138, 10, '2018-12-14', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21351, 17599, '2018-12-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20264 System Generated Invoice', '', 1001, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21352, 17600, '2018-12-15', 'Debit', 210.00, 0.00, 220.50, 10.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20267 System Generated Invoice', '', 483, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21353, 17601, '2018-12-15', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20268 System Generated Invoice', '', 516, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21354, 17602, '2018-12-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20269 System Generated Invoice', '', 1029, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21355, 17603, '2018-12-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Transport From Stable To Milad', '24071', 160, 5, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21356, 17604, '2018-12-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20270 System Generated Invoice', '', 959, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21357, 1965, '2018-12-15', 'Credit', 52.50, 0.00, 52.50, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17603', NULL, 160, 5, '2018-12-15', 21355, 1, '2018-12-23', 0, NULL, NULL, 0),
(21358, 17605, '2018-12-15', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20274 System Generated Invoice', '', 1012, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21359, 17606, '2018-12-15', 'Debit', 130.00, 0.00, 136.50, 6.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20275 System Generated Invoice', '', 572, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21360, 17607, '2018-12-15', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20276 System Generated Invoice', '', 276, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21361, 1966, '2018-12-15', 'Credit', 367.50, 0.00, 367.50, 0.00, 2, 0, 'payment', 'cash', '', 'Remaining balance', NULL, 999, 5, '2018-12-15', NULL, 1, '2018-12-23', 0, NULL, NULL, 0),
(21362, 17608, '2018-12-15', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20277 System Generated Invoice', '', 197, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21363, 17609, '2018-12-15', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20278 System Generated Invoice', '', 79, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21364, 1967, '2018-12-15', 'Credit', 132.50, 0.00, 132.50, 0.00, 2, 0, 'payment', 'cash', '', 'Remaining Balance', NULL, 999, 5, '2018-12-15', NULL, 1, '2018-12-23', 0, NULL, NULL, 0),
(21365, 17610, '2018-12-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20280 System Generated Invoice', '', 595, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21366, 17611, '2018-12-15', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20281 System Generated Invoice', '', 476, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21367, 17612, '2018-12-15', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20283 System Generated Invoice', '', 430, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21368, 17613, '2018-12-15', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20284 System Generated Invoice', '', 247, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21369, 17614, '2018-12-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20285 System Generated Invoice', '', 429, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21370, 17615, '2018-12-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20286 System Generated Invoice', '', 415, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21371, 17616, '2018-12-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20287 System Generated Invoice', '', 302, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21372, 17617, '2018-12-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20288 System Generated Invoice', '', 988, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21373, 17618, '2018-12-15', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20289 System Generated Invoice', '', 99, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21374, 17619, '2018-12-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Sent the Truck to King Abdul Aziz Racing Circle in JANADRIYAH ', '24090', 203, 5, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21375, 17620, '2018-12-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Transport Sisi Pony inside JANADRIYAH ( Abdul Rahman Order to Ahmed in AL ARAB show ).', '24091', 104, 5, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21376, 17621, '2018-12-15', 'Debit', 800.00, 0.00, 840.00, 40.00, 2, 0, 'invoice', NULL, NULL, 'Transport Stallion from JANADRIYAH to Al ARAB STUD & sent 2 other horse back to JANADRIYAH on the way back ( Abdul Rahman Order to Ahmed in AL ARAB show ).', '24092', 104, 5, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21377, 17622, '2018-12-15', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Ownar Mare : Abduallh', '24093', 160, 5, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21378, 1968, '2018-12-15', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17622', NULL, 160, 5, '2018-12-15', 21377, 1, '2018-12-23', 0, NULL, NULL, 0),
(21379, 17623, '2018-12-15', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '5000-042', '24094,24095', 535, 5, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21380, 17624, '2018-12-15', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '5000-043', '24096,24097', 535, 5, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21381, 17625, '2018-12-15', 'Debit', 600.00, 0.00, 630.00, 30.00, 2, 0, 'invoice', NULL, NULL, '3 pieces Rubber Sheet ( Abdullah Bin Sulaiman Al Mousa )', '24098', 160, 5, '2018-12-15', NULL, 1, '2018-12-16', 0, NULL, NULL, 0),
(21382, 1969, '2018-12-15', 'Credit', 630.00, 0.00, 630.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17625', NULL, 160, 5, '2018-12-15', 21381, 1, '2018-12-23', 0, NULL, NULL, 0),
(21383, 1970, '2018-12-15', 'Credit', 252.00, 0.00, 252.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 961, 5, '2018-12-15', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21384, 17626, '2018-12-15', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare : Rawhia', '24099', 160, 5, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21385, 1971, '2018-12-15', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17626', NULL, 160, 5, '2018-12-15', 21384, 1, '2018-12-24', 0, NULL, NULL, 0),
(21386, 17627, '2018-12-15', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare : Khader', '24100', 160, 5, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21387, 1972, '2018-12-15', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17627', NULL, 160, 5, '2018-12-15', 21386, 1, '2018-12-23', 0, NULL, NULL, 0),
(21388, 17628, '2018-12-15', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20295 System Generated Invoice', '', 985, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21389, 17629, '2018-12-15', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20296 System Generated Invoice', '', 153, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21390, 17630, '2018-12-15', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20298 System Generated Invoice', '', 109, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21391, 17631, '2018-12-15', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20300 System Generated Invoice', '', 138, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21392, 17632, '2018-12-15', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20301 System Generated Invoice', '', 164, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21393, 17633, '2018-12-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20303 System Generated Invoice', '', 138, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21394, 17634, '2018-12-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20304 System Generated Invoice', '', 71, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21395, 17635, '2018-12-15', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20306 System Generated Invoice', '', 973, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21396, 17636, '2018-12-15', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20309 System Generated Invoice', '', 109, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21397, 17637, '2018-12-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20311 System Generated Invoice', '', 109, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21398, 17638, '2018-12-15', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20312 System Generated Invoice', '', 531, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21399, 17639, '2018-12-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20313 System Generated Invoice', '', 1005, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21400, 17640, '2018-12-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20315 System Generated Invoice', '', 113, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21401, 17641, '2018-12-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20317 System Generated Invoice', '', 238, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21402, 17642, '2018-12-15', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20318 System Generated Invoice', '', 974, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21403, 17643, '2018-12-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20320 System Generated Invoice', '', 1026, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21404, 17644, '2018-12-15', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20322 System Generated Invoice', '', 71, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21405, 17645, '2018-12-15', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20324 System Generated Invoice', '', 71, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21406, 17646, '2018-12-15', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20325 System Generated Invoice', '', 71, 10, '2018-12-15', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21407, 17647, '2018-12-16', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20327 System Generated Invoice', '', 483, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21408, 17648, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20328 System Generated Invoice', '', 528, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21409, 17649, '2018-12-16', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20338 System Generated Invoice', '', 476, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21410, 17650, '2018-12-16', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20341 System Generated Invoice', '', 1012, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21411, 17651, '2018-12-16', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20344 System Generated Invoice', '', 1025, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21412, 17652, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20345 System Generated Invoice', '', 176, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21413, 17653, '2018-12-16', 'Debit', 270.00, 0.00, 283.50, 13.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20348 System Generated Invoice', '', 595, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21414, 17654, '2018-12-16', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-045', '24135,24136', 71, 5, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21415, 17655, '2018-12-16', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'W-046', '24137,24138', 71, 5, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21416, 1973, '2018-12-16', 'Credit', 16500.00, 0.00, 16500.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Remaining Balance', NULL, 418, 5, '2018-12-16', NULL, 1, '2018-12-23', 0, NULL, NULL, 0),
(21417, 17656, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20356 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21418, 17657, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20361 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21419, 17658, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20362 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21420, 1974, '2018-12-16', 'Credit', 1000.00, 0.00, 1000.00, 0.00, 2, 0, 'payment', 'span', '', 'in advance', NULL, 1022, 5, '2018-12-16', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21421, 17659, '2018-12-16', 'Debit', 266.68, 0.00, 280.01, 13.33, 2, 0, 'invoice', NULL, NULL, 'Extra Boarding Charge ( 4 Days ) in Month of DEC 2018', '24142', 418, 11, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21422, 17660, '2018-12-16', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20364 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21423, 17661, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20365 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21424, 17662, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20367 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21425, 17663, '2018-12-16', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20369 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21426, 17664, '2018-12-16', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20370 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21427, 17665, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20373 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21428, 17666, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20375 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21429, 17667, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20376 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21430, 1975, '2018-12-16', 'Credit', 5000.00, 0.00, 5000.00, 0.00, 2, 0, 'payment', 'span', '', 'KHALEDIYAH Show registration fee', NULL, 224, 5, '2018-12-16', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21431, 17668, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20378 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21432, 17669, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20382 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21433, 17670, '2018-12-16', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20384 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21434, 17671, '2018-12-16', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20385 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21435, 17672, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20386 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21436, 17673, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20389 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21437, 17674, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20391 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21438, 17675, '2018-12-16', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20394 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21439, 17676, '2018-12-16', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20395 System Generated Invoice', '', 71, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21440, 1976, '2018-12-16', 'Credit', 5000.00, 0.00, 5000.00, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 354, 5, '2018-12-16', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21441, 17677, '2018-12-16', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20397 System Generated Invoice', '', 489, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21442, 17678, '2018-12-16', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, 'Palpation 2 Times', '24162', 79, 11, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21443, 17679, '2018-12-16', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20398 System Generated Invoice', '', 489, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21444, 17680, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20400 System Generated Invoice', '', 489, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21445, 17681, '2018-12-16', 'Debit', -1500.00, 0.00, -1575.00, -75.00, 2, 0, 'invoice', NULL, NULL, 'Cancel Card', '24167,24168', 79, 11, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21446, 17682, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20404 System Generated Invoice', '', 489, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21447, 17683, '2018-12-16', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare : ZOMORDA ', '24170', 160, 5, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21448, 1977, '2018-12-16', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17683', NULL, 160, 5, '2018-12-16', 21447, 1, '2018-12-23', 0, NULL, NULL, 0),
(21449, 17684, '2018-12-16', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20418 System Generated Invoice', '', 489, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21450, 17685, '2018-12-16', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'W-047', '24172,24173', 71, 5, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21451, 17686, '2018-12-16', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-048', '24174,24175', 71, 5, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21452, 17687, '2018-12-16', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-049', '24176,24177', 71, 5, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21453, 17688, '2018-12-16', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'W-050', '24178,24179,24180', 71, 5, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21454, 17689, '2018-12-16', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare : Sader', '24181', 160, 5, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21455, 1978, '2018-12-16', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17689', NULL, 160, 5, '2018-12-16', 21454, 1, '2018-12-23', 0, NULL, NULL, 0),
(21456, 17690, '2018-12-16', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-123', '24185,24186', 104, 5, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21457, 17691, '2018-12-16', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-124', '24182,24183,24184', 104, 5, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21458, 17692, '2018-12-16', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Sexyng Semen', '24187', 1029, 5, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21459, 1979, '2018-12-16', 'Credit', 2100.00, 0.00, 2100.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17692', NULL, 1029, 5, '2018-12-16', 21458, 1, '2018-12-24', 0, NULL, NULL, 0),
(21460, 17693, '2018-12-16', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20421 System Generated Invoice', '', 371, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21461, 17694, '2018-12-16', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20424 System Generated Invoice', '', 489, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21462, 17695, '2018-12-16', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20426 System Generated Invoice', '', 489, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21463, 17696, '2018-12-16', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20431 System Generated Invoice', '', 973, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21464, 17697, '2018-12-16', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20433 System Generated Invoice', '', 985, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21465, 17698, '2018-12-16', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20434 System Generated Invoice', '', 153, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21466, 17699, '2018-12-16', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20435 System Generated Invoice', '', 109, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21467, 17700, '2018-12-16', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20437 System Generated Invoice', '', 164, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21468, 17701, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20438 System Generated Invoice', '', 400, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21469, 17702, '2018-12-16', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20439 System Generated Invoice', '', 109, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21470, 17703, '2018-12-16', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20440 System Generated Invoice', '', 109, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21471, 17704, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20442 System Generated Invoice', '', 150, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21472, 17705, '2018-12-16', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20444 System Generated Invoice', '', 113, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21473, 17706, '2018-12-16', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20446 System Generated Invoice', '', 1014, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21474, 17707, '2018-12-16', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20447 System Generated Invoice', '', 535, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21475, 17708, '2018-12-16', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20449 System Generated Invoice', '', 323, 10, '2018-12-16', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21476, 17709, '2018-12-17', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20451 System Generated Invoice', '', 104, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21477, 17710, '2018-12-17', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20452 System Generated Invoice', '', 104, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21478, 17711, '2018-12-17', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20453 System Generated Invoice', '', 104, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21479, 17712, '2018-12-17', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20454 System Generated Invoice', '', 104, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21480, 1980, '2018-12-17', 'Credit', 350.00, 0.00, 350.00, 0.00, 2, 0, 'payment', 'cash', '', '', NULL, 962, 5, '2018-12-17', NULL, 1, '2018-12-23', 0, NULL, NULL, 0),
(21481, 17713, '2018-12-17', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20459 System Generated Invoice', '', 507, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21482, 17714, '2018-12-17', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20460 System Generated Invoice', '', 595, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21483, 17715, '2018-12-17', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'Embryo Trans. ( 15-Dec-2018 )', '24215', 1028, 5, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21484, 17716, '2018-12-17', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Trans. Filly ( AMIRAT KINNDAH ) FROM Stable to TADAWI', '24216', 104, 5, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21485, 17717, '2018-12-17', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Trans. PHANTASIA AL AMAR  FROM Stable to TADAWI & Send Back', '24217', 104, 5, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21486, 17718, '2018-12-17', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, '3 Times Trans. AKHIRAT AL SHAKLAN  FROM Stable to MILAD & Send Back', '24218', 156, 5, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21487, 17719, '2018-12-17', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20461 System Generated Invoice', '', 528, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21488, 17720, '2018-12-17', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20462 System Generated Invoice', '', 476, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21489, 17721, '2018-12-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20471 System Generated Invoice', '', 1017, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21490, 17722, '2018-12-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20473 System Generated Invoice', '', 494, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21491, 17723, '2018-12-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20474 System Generated Invoice', '', 987, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21492, 17724, '2018-12-17', 'Debit', 670.00, 0.00, 703.50, 33.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20477 System Generated Invoice', '', 371, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21493, 17725, '2018-12-17', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20478 System Generated Invoice', '', 1001, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21494, 1981, '2018-12-17', 'Credit', 200000.00, 0.00, 200000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment from Mr. KHALED AL SAYED ', NULL, 138, 11, '2018-12-17', NULL, 1, '2018-12-25', 0, NULL, NULL, 0),
(21495, 1982, '2018-12-17', 'Credit', 304.50, 0.00, 304.50, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 134, 5, '2018-12-17', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21496, 1983, '2018-12-17', 'Credit', 2078.00, 0.00, 2078.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Remaining Balance', NULL, 320, 5, '2018-12-17', NULL, 1, '2018-12-25', 0, NULL, NULL, 0),
(21497, 1984, '2018-12-17', 'Credit', 725.00, 0.00, 725.00, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 276, 5, '2018-12-17', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21498, 17726, '2018-12-17', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20479 System Generated Invoice', '', 973, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21499, 17727, '2018-12-17', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20480 System Generated Invoice', '', 981, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21500, 17728, '2018-12-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20481 System Generated Invoice', '', 985, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21501, 17729, '2018-12-17', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20482 System Generated Invoice', '', 153, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21502, 17730, '2018-12-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20483 System Generated Invoice', '', 1009, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21503, 17731, '2018-12-17', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20484 System Generated Invoice', '', 138, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21504, 17732, '2018-12-17', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20485 System Generated Invoice', '', 138, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21505, 17733, '2018-12-17', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20486 System Generated Invoice', '', 113, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21506, 17734, '2018-12-17', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20487 System Generated Invoice', '', 138, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21507, 17735, '2018-12-17', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20491 System Generated Invoice', '', 164, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21508, 17736, '2018-12-17', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20493 System Generated Invoice', '', 323, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21509, 17737, '2018-12-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20494 System Generated Invoice', '', 138, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21510, 17738, '2018-12-17', 'Debit', 540.00, 0.00, 567.00, 27.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20495 System Generated Invoice', '', 113, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21511, 17739, '2018-12-17', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20498 System Generated Invoice', '', 323, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21512, 17740, '2018-12-17', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20500 System Generated Invoice', '', 238, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21513, 17741, '2018-12-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20501 System Generated Invoice', '', 531, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21514, 17742, '2018-12-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20502 System Generated Invoice', '', 1022, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21515, 17743, '2018-12-17', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20505 System Generated Invoice', '', 215, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21516, 17744, '2018-12-17', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20508 System Generated Invoice', '', 489, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21517, 17745, '2018-12-17', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20509 System Generated Invoice', '', 489, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21518, 17746, '2018-12-17', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20510 System Generated Invoice', '', 489, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21519, 17747, '2018-12-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20512 System Generated Invoice', '', 489, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21520, 17748, '2018-12-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20516 System Generated Invoice', '', 489, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21521, 17749, '2018-12-17', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20518 System Generated Invoice', '', 489, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21522, 17750, '2018-12-17', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20519 System Generated Invoice', '', 489, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21523, 17751, '2018-12-17', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20520 System Generated Invoice', '', 489, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21524, 17752, '2018-12-17', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20525 System Generated Invoice', '', 489, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21525, 17753, '2018-12-17', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20526 System Generated Invoice', '', 71, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21526, 17754, '2018-12-17', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20529 System Generated Invoice', '', 71, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21527, 17755, '2018-12-17', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-125', '24283,24284', 112, 5, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21528, 1985, '2018-12-17', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17755', NULL, 112, 5, '2018-12-17', 21527, 1, '2018-12-24', 0, NULL, NULL, 0),
(21529, 17756, '2018-12-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20533 System Generated Invoice', '', 71, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21530, 17757, '2018-12-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20536 System Generated Invoice', '', 71, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21531, 17758, '2018-12-17', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20537 System Generated Invoice', '', 71, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21532, 17759, '2018-12-17', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20539 System Generated Invoice', '', 71, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21533, 17760, '2018-12-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20542 System Generated Invoice', '', 71, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21534, 17761, '2018-12-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20544 System Generated Invoice', '', 71, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21535, 17762, '2018-12-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20545 System Generated Invoice', '', 71, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21536, 17763, '2018-12-17', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-126', '24292,24293,24294', 112, 5, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21537, 1986, '2018-12-17', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17763', NULL, 112, 5, '2018-12-17', 21536, 1, '2018-12-24', 0, NULL, NULL, 0),
(21538, 17764, '2018-12-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20550 System Generated Invoice', '', 462, 10, '2018-12-17', NULL, 1, '2019-01-12', 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
(21539, 17765, '2018-12-17', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20551 System Generated Invoice', '', 71, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21540, 17766, '2018-12-17', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20552 System Generated Invoice', '', 71, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21541, 17767, '2018-12-17', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20555 System Generated Invoice', '', 71, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21542, 17768, '2018-12-17', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20560 System Generated Invoice', '', 1028, 10, '2018-12-17', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21543, 17769, '2018-12-18', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20565 System Generated Invoice', '', 476, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21544, 17770, '2018-12-18', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20569 System Generated Invoice', '', 1001, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21545, 17771, '2018-12-18', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20570 System Generated Invoice', '', 152, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21546, 17772, '2018-12-18', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20571 System Generated Invoice', '', 959, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21547, 17773, '2018-12-18', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20573 System Generated Invoice', '', 371, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21548, 17774, '2018-12-18', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20575 System Generated Invoice', '', 429, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21549, 17775, '2018-12-18', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-127', '24310,24311', 104, 5, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21550, 17776, '2018-12-18', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20578 System Generated Invoice', '', 522, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21551, 17777, '2018-12-18', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20579 System Generated Invoice', '', 999, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21552, 17778, '2018-12-18', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20580 System Generated Invoice', '', 415, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21553, 17779, '2018-12-18', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20584 System Generated Invoice', '', 595, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21554, 17780, '2018-12-18', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20585 System Generated Invoice', '', 1023, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21555, 1987, '2018-12-18', 'Credit', 803.50, 0.00, 803.50, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 387, 5, '2018-12-18', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21556, 17781, '2018-12-18', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-128', '24318,24319', 387, 5, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21557, 1988, '2018-12-18', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17781', NULL, 387, 5, '2018-12-18', 21556, 1, '2018-12-24', 0, NULL, NULL, 0),
(21558, 17782, '2018-12-18', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-129', '24320,24321,24322', 387, 5, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21559, 1989, '2018-12-18', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17782', NULL, 387, 5, '2018-12-18', 21558, 1, '2018-12-24', 0, NULL, NULL, 0),
(21560, 17783, '2018-12-18', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20587 System Generated Invoice', '', 104, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21561, 17784, '2018-12-18', 'Debit', 255.00, 0.00, 267.75, 12.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20588 System Generated Invoice', '', 104, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21562, 17785, '2018-12-18', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20589 System Generated Invoice', '', 973, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21563, 17786, '2018-12-18', 'Debit', 195.00, 0.00, 204.75, 9.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20590 System Generated Invoice', '', 981, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21564, 17787, '2018-12-18', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20591 System Generated Invoice', '', 985, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21565, 17788, '2018-12-18', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20593 System Generated Invoice', '', 138, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21566, 17789, '2018-12-18', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20595 System Generated Invoice', '', 113, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21567, 17790, '2018-12-18', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20596 System Generated Invoice', '', 138, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21568, 17791, '2018-12-18', 'Debit', 195.00, 0.00, 204.75, 9.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20598 System Generated Invoice', '', 1005, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21569, 17792, '2018-12-18', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20599 System Generated Invoice', '', 164, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21570, 17793, '2018-12-18', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20601 System Generated Invoice', '', 973, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21571, 17794, '2018-12-18', 'Debit', 610.00, 0.00, 640.50, 30.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20603 System Generated Invoice', '', 113, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21572, 17795, '2018-12-18', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20605 System Generated Invoice', '', 109, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21573, 17796, '2018-12-18', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20606 System Generated Invoice', '', 238, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21574, 17797, '2018-12-18', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Collect Semen', '24354,24355', 111, 5, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21575, 1990, '2018-12-18', 'Credit', 525.00, 0.00, 525.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17797', NULL, 111, 5, '2018-12-18', 21574, 1, '2018-12-24', 0, NULL, NULL, 0),
(21576, 1991, '2018-12-18', 'Credit', 12000.00, 0.00, 12000.00, 0.00, 1, 0, 'payment', 'span', '', '2 horses KHALEDIYAH show registration fee + 1 horses RIYADH show registration fee', NULL, 354, 5, '2018-12-18', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21577, 17798, '2018-12-18', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '5000-042', '24356', 1026, 5, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21578, 1992, '2018-12-18', 'Credit', 315.00, 0.00, 315.00, 0.00, 2, 0, 'payment', 'cash', '', 'Remainig Balance', NULL, 976, 5, '2018-12-18', NULL, 1, '2018-12-23', 0, NULL, NULL, 0),
(21579, 1993, '2018-12-18', 'Credit', 5185.00, 0.00, 5185.00, 0.00, 2, 0, 'payment', 'cash', '', 'Remaining Balance', NULL, 1026, 5, '2018-12-18', NULL, 1, '2018-12-23', 0, NULL, NULL, 0),
(21580, 17799, '2018-12-18', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare : Mayasa', '24357', 160, 5, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21581, 1994, '2018-12-18', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17799', NULL, 160, 5, '2018-12-18', 21580, 1, '2018-12-24', 0, NULL, NULL, 0),
(21582, 17800, '2018-12-18', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20612 System Generated Invoice', '', 71, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21583, 17801, '2018-12-18', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20617 System Generated Invoice', '', 71, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21584, 17802, '2018-12-18', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20623 System Generated Invoice', '', 71, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21585, 17803, '2018-12-18', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20625 System Generated Invoice', '', 71, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21586, 17804, '2018-12-18', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20626 System Generated Invoice', '', 71, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21587, 17805, '2018-12-18', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20627 System Generated Invoice', '', 215, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21588, 17806, '2018-12-18', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20628 System Generated Invoice', '', 965, 10, '2018-12-18', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21589, 17807, '2018-12-19', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20632 System Generated Invoice', '', 1001, 9, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21590, 17808, '2018-12-19', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20635 System Generated Invoice', '', 104, 9, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21591, 17809, '2018-12-19', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20636 System Generated Invoice', '', 104, 9, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21592, 17810, '2018-12-19', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20637 System Generated Invoice', '', 231, 9, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21593, 17811, '2018-12-19', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20639 System Generated Invoice', '', 998, 9, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21594, 17812, '2018-12-19', 'Debit', 390.00, 0.00, 409.50, 19.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20645 System Generated Invoice', '', 959, 9, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21595, 17813, '2018-12-19', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20646 System Generated Invoice', '', 415, 10, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21596, 17814, '2018-12-19', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20647 System Generated Invoice', '', 371, 10, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21597, 17815, '2018-12-19', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20648 System Generated Invoice', '', 176, 10, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21598, 17816, '2018-12-19', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20651 System Generated Invoice', '', 99, 9, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21599, 17817, '2018-12-19', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20652 System Generated Invoice', '', 429, 9, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21600, 17818, '2018-12-19', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20653 System Generated Invoice', '', 494, 10, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21601, 17819, '2018-12-19', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20655 System Generated Invoice', '', 387, 9, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21602, 1596, '2018-12-19', 'Debit', -2000.00, 0.00, -2100.00, -100.00, 2, 0, 'charge', NULL, NULL, 'Cancel Invoice #17361/ Wrong entry', NULL, 927, 13, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21603, 17820, '2018-12-19', 'Debit', 1000.05, 0.00, 1050.05, 50.00, 2, 0, 'invoice', NULL, NULL, 'Boarding from November 16-30, 2018', '24388', 927, 13, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21604, 17821, '2018-12-19', 'Debit', 1266.73, 0.00, 1330.07, 63.34, 2, 0, 'invoice', NULL, NULL, 'Boarding from December 1-19, 2018', '24389', 927, 13, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21605, 1597, '2018-12-19', 'Debit', -4000.00, 0.00, -4200.00, -200.00, 2, 0, 'charge', NULL, NULL, 'Cancel Invoice #16112/ Client wants to breed horse in Milad. Cancel \r\nSemen charges/ Approved by Mr. Rafi.', NULL, 927, 13, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21606, 17822, '2018-12-19', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-131', '24390,24391', 1031, 5, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21607, 1995, '2018-12-19', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17822', NULL, 1031, 5, '2018-12-19', 21606, 1, '2018-12-24', 0, NULL, NULL, 0),
(21608, 17823, '2018-12-19', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20656 System Generated Invoice', '', 973, 10, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21609, 17824, '2018-12-19', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20657 System Generated Invoice', '', 981, 10, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21610, 17825, '2018-12-19', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20658 System Generated Invoice', '', 985, 10, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21611, 17826, '2018-12-19', 'Debit', 310.00, 0.00, 325.50, 15.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20659 System Generated Invoice', '', 138, 10, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21612, 17827, '2018-12-19', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20661 System Generated Invoice', '', 113, 10, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21613, 17828, '2018-12-19', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20662 System Generated Invoice', '', 138, 10, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21614, 17829, '2018-12-19', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20663 System Generated Invoice', '', 1005, 10, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21615, 17830, '2018-12-19', 'Debit', 195.00, 0.00, 204.75, 9.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20666 System Generated Invoice', '', 164, 10, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21616, 17831, '2018-12-19', 'Debit', 290.00, 0.00, 304.50, 14.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20669 System Generated Invoice', '', 113, 10, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21617, 17832, '2018-12-19', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20671 System Generated Invoice', '', 109, 10, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21618, 17833, '2018-12-19', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20672 System Generated Invoice', '', 238, 10, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21619, 17834, '2018-12-19', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20676 System Generated Invoice', '', 71, 9, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21620, 17835, '2018-12-19', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Swab', '24420', 990, 5, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21621, 17836, '2018-12-19', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20680 System Generated Invoice', '', 71, 9, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21622, 17837, '2018-12-19', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20685 System Generated Invoice', '', 71, 9, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21623, 1996, '2018-12-19', 'Credit', 262.50, 0.00, 262.50, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17835', NULL, 990, 5, '2018-12-19', 21620, 1, '2018-12-24', 0, NULL, NULL, 0),
(21624, 17838, '2018-12-19', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2 Times sent pony to Collect semen from ( KAIS ) in AMARIYAH', '24423', 104, 5, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21625, 17839, '2018-12-19', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Doctor went to Collect semen from ( KAIS ) in AMARIYAH', '24424', 104, 5, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21626, 17840, '2018-12-19', 'Debit', 700.00, 0.00, 735.00, 35.00, 2, 0, 'invoice', NULL, NULL, 'Sent the driver to bring semen ( NAIF AL MOHAMADIA ) from Ersan clinic in Al Hasaa.', '24425', 178, 5, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21627, 17841, '2018-12-19', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Sexyng Semen', '24426', 178, 5, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21628, 17842, '2018-12-19', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-132', '24427,24428', 444, 5, '2018-12-19', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21629, 1997, '2018-12-19', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17842', NULL, 444, 5, '2018-12-19', 21628, 1, '2018-12-24', 0, NULL, NULL, 0),
(21630, 1998, '2018-12-19', 'Credit', 6637.00, 0.00, 6637.00, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 927, 5, '2018-12-19', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21631, 17843, '2018-12-20', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20688 System Generated Invoice', '', 507, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21632, 17844, '2018-12-20', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20693 System Generated Invoice', '', 980, 9, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21633, 17845, '2018-12-20', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20694 System Generated Invoice', '', 104, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21634, 17846, '2018-12-20', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20695 System Generated Invoice', '', 104, 9, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21635, 17847, '2018-12-20', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20696 System Generated Invoice', '', 1018, 9, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21636, 17848, '2018-12-20', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20697 System Generated Invoice', '', 1029, 9, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21637, 17849, '2018-12-20', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20698 System Generated Invoice', '', 995, 9, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21638, 17850, '2018-12-20', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20700 System Generated Invoice', '', 176, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21639, 17851, '2018-12-20', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20701 System Generated Invoice', '', 536, 9, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21640, 17852, '2018-12-20', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20702 System Generated Invoice', '', 415, 9, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21641, 17853, '2018-12-20', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20704 System Generated Invoice', '', 483, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21642, 17854, '2018-12-20', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20707 System Generated Invoice', '', 371, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21643, 17855, '2018-12-20', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20708 System Generated Invoice', '', 444, 9, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21644, 17856, '2018-12-20', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20711 System Generated Invoice', '', 276, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21645, 17857, '2018-12-20', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20712 System Generated Invoice', '', 429, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21646, 17858, '2018-12-20', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Owner Name : Khaled', '24451', 160, 5, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21647, 1999, '2018-12-20', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17858', NULL, 160, 5, '2018-12-20', 21646, 1, '2019-01-03', 0, NULL, NULL, 0),
(21648, 17859, '2018-12-20', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Care of Pedro', '24452', 160, 5, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21649, 2000, '2018-12-20', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17859', NULL, 160, 5, '2018-12-20', 21648, 1, '2019-01-03', 0, NULL, NULL, 0),
(21650, 17860, '2018-12-20', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare : Bint Badron', '24453', 160, 5, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21651, 2001, '2018-12-20', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17860', NULL, 160, 5, '2018-12-20', 21650, 1, '2019-01-03', 0, NULL, NULL, 0),
(21652, 17861, '2018-12-20', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare : ASIEL', '24454', 160, 5, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21653, 17862, '2018-12-20', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, '1 Doze', '24455', 160, 5, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21654, 2002, '2018-12-20', 'Credit', 52.50, 0.00, 52.50, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17862', NULL, 160, 5, '2018-12-20', 21653, 1, '2019-01-03', 0, NULL, NULL, 0),
(21655, 2003, '2018-12-20', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17861', NULL, 160, 5, '2018-12-20', 21652, 1, '2019-01-03', 0, NULL, NULL, 0),
(21656, 17863, '2018-12-20', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20720 System Generated Invoice', '', 973, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21657, 17864, '2018-12-20', 'Debit', 270.00, 0.00, 283.50, 13.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20722 System Generated Invoice', '', 985, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21658, 17865, '2018-12-20', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20723 System Generated Invoice', '', 1009, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21659, 17866, '2018-12-20', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20725 System Generated Invoice', '', 138, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21660, 17867, '2018-12-20', 'Debit', 160.00, 0.00, 168.00, 8.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20726 System Generated Invoice', '', 113, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21661, 17868, '2018-12-20', 'Debit', 195.00, 0.00, 204.75, 9.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20727 System Generated Invoice', '', 138, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21662, 17869, '2018-12-20', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20729 System Generated Invoice', '', 164, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21663, 17870, '2018-12-20', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20731 System Generated Invoice', '', 973, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21664, 17871, '2018-12-20', 'Debit', 320.00, 0.00, 336.00, 16.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20733 System Generated Invoice', '', 113, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21665, 17872, '2018-12-20', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20734 System Generated Invoice', '', 535, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21666, 17873, '2018-12-20', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20736 System Generated Invoice', '', 109, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21667, 17874, '2018-12-20', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20737 System Generated Invoice', '', 238, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21668, 17875, '2018-12-20', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20738 System Generated Invoice', '', 531, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21669, 17876, '2018-12-20', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20740 System Generated Invoice', '', 531, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21670, 17877, '2018-12-20', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-133', '24488,24489', 1032, 5, '2018-12-20', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21671, 2004, '2018-12-20', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17877', NULL, 1032, 5, '2018-12-20', 21670, 1, '2018-12-24', 0, NULL, NULL, 0),
(21672, 17878, '2018-12-20', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20742 System Generated Invoice', '', 489, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21673, 17879, '2018-12-20', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20743 System Generated Invoice', '', 489, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21674, 2005, '2018-12-20', 'Credit', 10000.00, 0.00, 10000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'KHALEDRIYAH show registration fee for 2 Horses', NULL, 531, 5, '2018-12-20', NULL, 1, '2018-12-22', 0, NULL, NULL, 0),
(21675, 17880, '2018-12-20', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20748 System Generated Invoice', '', 71, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21676, 17881, '2018-12-20', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20754 System Generated Invoice', '', 462, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21677, 17882, '2018-12-20', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20756 System Generated Invoice', '', 71, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21678, 17883, '2018-12-20', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20757 System Generated Invoice', '', 71, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21679, 17884, '2018-12-20', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20761 System Generated Invoice', '', 71, 10, '2018-12-20', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21680, 17885, '2018-12-21', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20775 System Generated Invoice', '', 79, 10, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21681, 17886, '2018-12-21', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20778 System Generated Invoice', '', 959, 10, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21682, 17887, '2018-12-21', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20779 System Generated Invoice', '', 957, 10, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21683, 17888, '2018-12-21', 'Debit', 305.00, 0.00, 320.25, 15.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20780 System Generated Invoice', '', 483, 9, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21684, 17889, '2018-12-21', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20781 System Generated Invoice', '', 1024, 9, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21685, 17890, '2018-12-21', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20784 System Generated Invoice', '', 99, 9, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21686, 17891, '2018-12-21', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20786 System Generated Invoice', '', 371, 9, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21687, 17892, '2018-12-21', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20787 System Generated Invoice', '', 384, 9, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21688, 17893, '2018-12-21', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20788 System Generated Invoice', '', 1023, 9, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21689, 17894, '2018-12-21', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20790 System Generated Invoice', '', 104, 9, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21690, 17895, '2018-12-21', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20791 System Generated Invoice', '', 973, 10, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21691, 17896, '2018-12-21', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20792 System Generated Invoice', '', 985, 10, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21692, 17897, '2018-12-21', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20793 System Generated Invoice', '', 150, 10, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21693, 17898, '2018-12-21', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20795 System Generated Invoice', '', 138, 10, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21694, 17899, '2018-12-21', 'Debit', 160.00, 0.00, 168.00, 8.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20796 System Generated Invoice', '', 113, 10, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21695, 17900, '2018-12-21', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20797 System Generated Invoice', '', 138, 10, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21696, 17901, '2018-12-21', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20798 System Generated Invoice', '', 413, 10, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21697, 17902, '2018-12-21', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20799 System Generated Invoice', '', 1014, 10, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21698, 17903, '2018-12-21', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20802 System Generated Invoice', '', 150, 10, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21699, 17904, '2018-12-21', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20803 System Generated Invoice', '', 973, 10, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21700, 17905, '2018-12-21', 'Debit', 270.00, 0.00, 283.50, 13.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20805 System Generated Invoice', '', 113, 10, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21701, 17906, '2018-12-21', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20807 System Generated Invoice', '', 531, 10, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21702, 17907, '2018-12-21', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20809 System Generated Invoice', '', 150, 10, '2018-12-21', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21703, 17908, '2018-12-22', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20812 System Generated Invoice', '', 1010, 9, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21704, 17909, '2018-12-22', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20814 System Generated Invoice', '', 197, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21705, 17910, '2018-12-22', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20816 System Generated Invoice', '', 961, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21706, 17911, '2018-12-22', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20821 System Generated Invoice', '', 1018, 9, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21707, 17912, '2018-12-22', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20823 System Generated Invoice', '', 99, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21708, 17913, '2018-12-22', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20824 System Generated Invoice', '', 1022, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21709, 17914, '2018-12-22', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20826 System Generated Invoice', '', 112, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21710, 17915, '2018-12-22', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20827 System Generated Invoice', '', 302, 9, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21711, 17916, '2018-12-22', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20828 System Generated Invoice', '', 247, 9, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21712, 17917, '2018-12-22', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Semen Test', '24548', 1033, 5, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21713, 17918, '2018-12-22', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20832 System Generated Invoice', '', 176, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21714, 17919, '2018-12-22', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '6000-132', '24550,24551', 1034, 5, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21715, 2006, '2018-12-22', 'Credit', 525.00, 0.00, 525.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17919', NULL, 1034, 5, '2018-12-22', 21714, 1, '2019-01-03', 0, NULL, NULL, 0),
(21716, 17920, '2018-12-22', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, '', '24552', 160, 5, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21717, 2007, '2018-12-22', 'Credit', 105.00, 0.00, 105.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #17920', NULL, 160, 5, '2018-12-22', 21716, 1, '2019-01-03', 0, NULL, NULL, 0),
(21718, 17921, '2018-12-22', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20833 System Generated Invoice', '', 973, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21719, 17922, '2018-12-22', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20834 System Generated Invoice', '', 985, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21720, 17923, '2018-12-22', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20836 System Generated Invoice', '', 1009, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21721, 17924, '2018-12-22', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20838 System Generated Invoice', '', 138, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21722, 17925, '2018-12-22', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20839 System Generated Invoice', '', 113, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21723, 17926, '2018-12-22', 'Debit', 85.00, 0.00, 89.25, 4.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20840 System Generated Invoice', '', 138, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21724, 17927, '2018-12-22', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20841 System Generated Invoice', '', 413, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21725, 17928, '2018-12-22', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20842 System Generated Invoice', '', 1026, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21726, 17929, '2018-12-22', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20843 System Generated Invoice', '', 1014, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21727, 17930, '2018-12-22', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20844 System Generated Invoice', '', 164, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21728, 17931, '2018-12-22', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20845 System Generated Invoice', '', 138, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21729, 17932, '2018-12-22', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20846 System Generated Invoice', '', 150, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21730, 17933, '2018-12-22', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20847 System Generated Invoice', '', 973, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21731, 17934, '2018-12-22', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20848 System Generated Invoice', '', 531, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21732, 17935, '2018-12-22', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20849 System Generated Invoice', '', 531, 10, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21733, 17936, '2018-12-22', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Ownr Name : Omar Yihia', '24583', 160, 5, '2018-12-22', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21734, 2008, '2018-12-22', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17936', NULL, 160, 5, '2018-12-22', 21733, 1, '2018-12-24', 0, NULL, NULL, 0),
(21735, 2009, '2018-12-22', 'Credit', 3381.00, 0.00, 3381.00, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 266, 5, '2018-12-22', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21736, 17937, '2018-12-23', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20850 System Generated Invoice', '', 536, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21737, 17938, '2018-12-23', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20851 System Generated Invoice', '', 536, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21738, 17939, '2018-12-23', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20854 System Generated Invoice', '', 240, 9, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21739, 17940, '2018-12-23', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20855 System Generated Invoice', '', 176, 9, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21740, 17941, '2018-12-23', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20860 System Generated Invoice', '', 999, 9, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21741, 17942, '2018-12-23', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20863 System Generated Invoice', '', 104, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21742, 17943, '2018-12-23', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20867 System Generated Invoice', '', 110, 9, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21743, 17944, '2018-12-23', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20868 System Generated Invoice', '', 995, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21744, 17945, '2018-12-23', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20869 System Generated Invoice', '', 987, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21745, 17946, '2018-12-23', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20871 System Generated Invoice', '', 71, 9, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21746, 17947, '2018-12-22', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20875 System Generated Invoice', '', 71, 9, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21747, 17948, '2018-12-22', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20882 System Generated Invoice', '', 71, 9, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21748, 17949, '2018-12-23', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '24601,24602', 323, 5, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21749, 17950, '2018-12-23', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '24603,24604', 323, 5, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21750, 17951, '2018-12-23', 'Debit', -10000.00, 0.00, -10500.00, -500.00, 2, 0, 'invoice', NULL, NULL, 'Cancel The Lease for ET Rec', '24605', 375, 11, '2018-12-23', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21751, 17952, '2018-12-23', 'Debit', -1500.00, 0.00, -1575.00, -75.00, 2, 0, 'invoice', NULL, NULL, 'Cancel Fresh Semen Card', '24606,24607', 375, 11, '2018-12-23', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21752, 17953, '2018-12-23', 'Debit', -2000.00, 0.00, -2100.00, -100.00, 2, 0, 'invoice', NULL, NULL, 'Cancel Boarding Month of May 2018', '24608', 375, 11, '2018-12-23', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21753, 17954, '2018-12-23', 'Debit', -2000.00, 0.00, -2100.00, -100.00, 2, 0, 'invoice', NULL, NULL, 'Cancel Boarding Month of JUNE 2018', '24609', 375, 11, '2018-12-23', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21754, 17955, '2018-12-23', 'Debit', 2000.00, 0.00, -2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Cancel Boarding Month of july 2018', '24610', 375, 11, '2018-12-23', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21755, 17956, '2018-12-23', 'Debit', -2000.00, 0.00, -2100.00, -100.00, 2, 0, 'invoice', NULL, NULL, 'Cancel Boarding Month of AUG 2018', '24611', 375, 11, '2018-12-23', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21756, 17957, '2018-12-23', 'Debit', -2000.00, 0.00, -2100.00, -100.00, 2, 0, 'invoice', NULL, NULL, 'Cancel Boarding Month of SEP 2018', '24612', 375, 11, '2018-12-23', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21757, 17958, '2018-12-23', 'Debit', -2000.00, 0.00, -2100.00, -100.00, 2, 0, 'invoice', NULL, NULL, '	Cancel Boarding Month of OCT 2018', '24613', 375, 11, '2018-12-23', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21758, 17959, '2018-12-23', 'Debit', -2000.00, 0.00, -2100.00, -100.00, 2, 0, 'invoice', NULL, NULL, 'Cancel Boarding Month of NOV 2018', '24614', 375, 11, '2018-12-23', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21759, 17960, '2018-12-23', 'Debit', -10000.00, 0.00, -10500.00, -500.00, 2, 0, 'invoice', NULL, NULL, 'Cancel Lease for REC 60', '24615', 375, 11, '2018-12-23', NULL, 1, '2018-12-24', 0, NULL, NULL, 0),
(21760, 17961, '2018-12-23', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20886 System Generated Invoice', '', 973, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21761, 17962, '2018-12-23', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20887 System Generated Invoice', '', 985, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21762, 17963, '2018-12-23', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20888 System Generated Invoice', '', 150, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21763, 2010, '2018-12-23', 'Credit', 30000.00, 0.00, 30000.00, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 176, 5, '2018-12-23', NULL, 1, '2018-12-25', 0, NULL, NULL, 0),
(21764, 17964, '2018-12-23', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20889 System Generated Invoice', '', 1009, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21765, 17965, '2018-12-23', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20891 System Generated Invoice', '', 138, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21766, 17966, '2018-12-23', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20894 System Generated Invoice', '', 150, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21767, 17967, '2018-12-23', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20895 System Generated Invoice', '', 973, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21768, 17968, '2018-12-23', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20897 System Generated Invoice', '', 535, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21769, 17969, '2018-12-23', 'Debit', 380.00, 0.00, 399.00, 19.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20898 System Generated Invoice', '', 531, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21770, 17970, '2018-12-23', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20899 System Generated Invoice', '', 531, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21771, 17971, '2018-12-23', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20900 System Generated Invoice', '', 71, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21772, 17972, '2018-12-23', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20901 System Generated Invoice', '', 71, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21773, 17973, '2018-12-23', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20903 System Generated Invoice', '', 71, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21774, 17974, '2018-12-23', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20906 System Generated Invoice', '', 71, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21775, 2011, '2018-12-23', 'Credit', 283.50, 0.00, 283.50, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 464, 5, '2018-12-23', NULL, 1, '2018-12-25', 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
(21776, 17975, '2018-12-23', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20907 System Generated Invoice', '', 71, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21777, 17976, '2018-12-23', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-135', '24643,24644,24645', 464, 5, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21778, 2012, '2018-12-23', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #17976', NULL, 464, 5, '2018-12-23', 21777, 1, '2018-12-25', 0, NULL, NULL, 0),
(21779, 17977, '2018-12-23', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20910 System Generated Invoice', '', 71, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21780, 17978, '2018-12-23', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20913 System Generated Invoice', '', 71, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21781, 17979, '2018-12-23', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20914 System Generated Invoice', '', 71, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21782, 17980, '2018-12-23', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20916 System Generated Invoice', '', 71, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21783, 17981, '2018-12-23', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20919 System Generated Invoice', '', 71, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21784, 17982, '2018-12-23', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20920 System Generated Invoice', '', 71, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21785, 17983, '2018-12-23', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20923 System Generated Invoice', '', 489, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21786, 17984, '2018-12-23', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20924 System Generated Invoice', '', 489, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21787, 17985, '2018-12-23', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20927 System Generated Invoice', '', 489, 10, '2018-12-23', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21788, 17986, '2018-12-24', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20929 System Generated Invoice', '', 1001, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21789, 17987, '2018-12-24', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20934 System Generated Invoice', '', 536, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21790, 17988, '2018-12-24', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20938 System Generated Invoice', '', 276, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21791, 17989, '2018-12-24', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20942 System Generated Invoice', '', 1025, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21792, 17990, '2018-12-24', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20943 System Generated Invoice', '', 1031, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21793, 17991, '2018-12-24', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20944 System Generated Invoice', '', 99, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21794, 17992, '2018-12-24', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20945 System Generated Invoice', '', 371, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21795, 17993, '2018-12-24', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20946 System Generated Invoice', '', 387, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21796, 17994, '2018-12-24', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20949 System Generated Invoice', '', 387, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21797, 17995, '2018-12-24', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20950 System Generated Invoice', '', 995, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21798, 17996, '2018-12-24', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20951 System Generated Invoice', '', 1017, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21799, 17997, '2018-12-24', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20952 System Generated Invoice', '', 1000, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21800, 17998, '2018-12-24', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20953 System Generated Invoice', '', 176, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21801, 17999, '2018-12-24', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20954 System Generated Invoice', '', 973, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21802, 18000, '2018-12-24', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20956 System Generated Invoice', '', 1009, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21803, 18001, '2018-12-24', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20957 System Generated Invoice', '', 138, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21804, 18002, '2018-12-24', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20958 System Generated Invoice', '', 138, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21805, 18003, '2018-12-24', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20959 System Generated Invoice', '', 413, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21806, 18004, '2018-12-24', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20961 System Generated Invoice', '', 1014, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21807, 18005, '2018-12-24', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20963 System Generated Invoice', '', 150, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21808, 18006, '2018-12-24', 'Debit', 270.00, 0.00, 283.50, 13.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20964 System Generated Invoice', '', 973, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21809, 18007, '2018-12-24', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20965 System Generated Invoice', '', 323, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21810, 18008, '2018-12-24', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20966 System Generated Invoice', '', 138, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21811, 18009, '2018-12-24', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20967 System Generated Invoice', '', 974, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21812, 18010, '2018-12-24', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20968 System Generated Invoice', '', 1008, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21813, 18011, '2018-12-24', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20970 System Generated Invoice', '', 323, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21814, 18012, '2018-12-24', 'Debit', 380.00, 0.00, 399.00, 19.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20971 System Generated Invoice', '', 531, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21815, 18013, '2018-12-24', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20972 System Generated Invoice', '', 531, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21816, 18014, '2018-12-24', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20973 System Generated Invoice', '', 71, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21817, 18015, '2018-12-24', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20974 System Generated Invoice', '', 71, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21818, 18016, '2018-12-24', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20978 System Generated Invoice', '', 71, 10, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21819, 18017, '2018-12-24', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20985 System Generated Invoice', '', 71, 9, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21820, 2013, '2018-12-24', 'Credit', 666.75, 0.00, 666.75, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 234, 5, '2018-12-24', NULL, 1, '2018-12-26', 0, NULL, NULL, 0),
(21821, 18018, '2018-12-24', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-136', '24710,24711', 1035, 5, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21822, 18019, '2018-12-24', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-137', '24712,24713,24714', 518, 5, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21823, 2014, '2018-12-24', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #18019', NULL, 518, 5, '2018-12-24', 21822, 1, '2018-12-26', 0, NULL, NULL, 0),
(21824, 18020, '2018-12-24', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-138', '24715,24716,24717', 1036, 5, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21825, 2015, '2018-12-24', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #18020', NULL, 1036, 5, '2018-12-24', 21824, 1, '2018-12-26', 0, NULL, NULL, 0),
(21826, 18021, '2018-12-24', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-139', '24718,24719,24720', 1037, 5, '2018-12-24', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21827, 2016, '2018-12-24', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #18021', NULL, 1037, 5, '2018-12-24', 21826, 1, '2018-12-26', 0, NULL, NULL, 0),
(21828, 18022, '2018-12-25', 'Debit', 195.00, 0.00, 204.75, 9.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20993 System Generated Invoice', '', 231, 9, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21829, 18023, '2018-12-25', 'Debit', 195.00, 0.00, 204.75, 9.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20994 System Generated Invoice', '', 1032, 9, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21830, 18024, '2018-12-25', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #20997 System Generated Invoice', '', 1029, 9, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21831, 18025, '2018-12-25', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21006 System Generated Invoice', '', 129, 9, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21832, 18026, '2018-12-25', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-140', '24729,24730', 176, 5, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21833, 18027, '2018-12-25', 'Debit', 195.00, 0.00, 204.75, 9.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21007 System Generated Invoice', '', 247, 9, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21834, 18028, '2018-12-25', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-141', '24734,24735', 176, 5, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21835, 18029, '2018-12-25', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-142', '24736,24737', 176, 5, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21836, 18030, '2018-12-25', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21009 System Generated Invoice', '', 79, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21837, 18031, '2018-12-25', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21011 System Generated Invoice', '', 984, 9, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21838, 18032, '2018-12-25', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21013 System Generated Invoice', '', 176, 9, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21839, 18033, '2018-12-25', 'Debit', 340.00, 0.00, 357.00, 17.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21014 System Generated Invoice', '', 176, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21840, 18034, '2018-12-25', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Shoeing fee in month of DEC 2018', '24747', 164, 11, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21841, 18035, '2018-12-25', 'Debit', 120.00, 0.00, 126.00, 6.00, 1, 0, 'invoice', NULL, NULL, 'TRIM  fee in month of DEC 2018', '24748', 81, 11, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21842, 18036, '2018-12-25', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21015 System Generated Invoice', '', 522, 9, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21843, 18037, '2018-12-25', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21016 System Generated Invoice', '', 1037, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21844, 18038, '2018-12-25', 'Debit', 270.00, 0.00, 283.50, 13.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21017 System Generated Invoice', '', 1015, 9, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21845, 18039, '2018-12-25', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'TRIM  fee in month of DEC 2018', '24755', 238, 11, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21846, 18040, '2018-12-25', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, '6000-143', '24756', 1038, 5, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21847, 2017, '2018-12-25', 'Credit', 2100.00, 0.00, 2100.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #18040', NULL, 1038, 5, '2018-12-25', 21846, 1, '2019-01-03', 0, NULL, NULL, 0),
(21848, 18041, '2018-12-25', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21019 System Generated Invoice', '', 240, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21849, 18042, '2018-12-25', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21020 System Generated Invoice', '', 1036, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21850, 18043, '2018-12-25', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21024 System Generated Invoice', '', 71, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21851, 18044, '2018-12-25', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21027 System Generated Invoice', '', 462, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21852, 18045, '2018-12-25', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21030 System Generated Invoice', '', 71, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21853, 18046, '2018-12-25', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21034 System Generated Invoice', '', 71, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21854, 18047, '2018-12-25', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21035 System Generated Invoice', '', 71, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21855, 18048, '2018-12-25', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21036 System Generated Invoice', '', 71, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21856, 18049, '2018-12-25', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21037 System Generated Invoice', '', 71, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21857, 18050, '2018-12-25', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21038 System Generated Invoice', '', 489, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21858, 18051, '2018-12-25', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21039 System Generated Invoice', '', 489, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21859, 18052, '2018-12-25', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21040 System Generated Invoice', '', 489, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21860, 2018, '2018-12-25', 'Credit', 3000.00, 0.00, 3000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Remaining Balance', NULL, 1035, 5, '2018-12-25', NULL, 1, '2018-12-26', 0, NULL, NULL, 0),
(21861, 18053, '2018-12-25', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21042 System Generated Invoice', '', 981, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21862, 18054, '2018-12-25', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21044 System Generated Invoice', '', 1009, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21863, 18055, '2018-12-25', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21045 System Generated Invoice', '', 138, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21864, 18056, '2018-12-25', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21046 System Generated Invoice', '', 413, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21865, 18057, '2018-12-25', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21047 System Generated Invoice', '', 1026, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21866, 18058, '2018-12-25', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21048 System Generated Invoice', '', 1005, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21867, 18059, '2018-12-25', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-144', '24782', 712, 5, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21868, 18060, '2018-12-25', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21049 System Generated Invoice', '', 1014, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21869, 2019, '2018-12-25', 'Credit', 200.00, 0.00, 200.00, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 712, 5, '2018-12-25', NULL, 1, '2019-01-03', 0, NULL, NULL, 0),
(21870, 18061, '2018-12-25', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21051 System Generated Invoice', '', 138, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21871, 18062, '2018-12-25', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21052 System Generated Invoice', '', 150, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21872, 18063, '2018-12-25', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21053 System Generated Invoice', '', 973, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21873, 18064, '2018-12-25', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21054 System Generated Invoice', '', 535, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21874, 18065, '2018-12-25', 'Debit', 180.00, 0.00, 189.00, 9.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21055 System Generated Invoice', '', 531, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21875, 18066, '2018-12-25', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21056 System Generated Invoice', '', 531, 10, '2018-12-25', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21876, 18067, '2018-12-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21057 System Generated Invoice', '', 516, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21877, 18068, '2018-12-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21061 System Generated Invoice', '', 152, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21878, 18069, '2018-12-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21062 System Generated Invoice', '', 998, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21879, 18070, '2018-12-26', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21063 System Generated Invoice', '', 1002, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21880, 18071, '2018-12-26', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21064 System Generated Invoice', '', 1032, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21881, 18072, '2018-12-26', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21066 System Generated Invoice', '', 216, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21882, 18073, '2018-12-26', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21067 System Generated Invoice', '', 112, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21883, 18074, '2018-12-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21069 System Generated Invoice', '', 528, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21884, 18075, '2018-12-26', 'Debit', 425.00, 0.00, 446.25, 21.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21070 System Generated Invoice', '', 1036, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21885, 18076, '2018-12-26', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21073 System Generated Invoice', '', 240, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21886, 18077, '2018-12-26', 'Debit', 970.00, 0.00, 1018.50, 48.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21075 System Generated Invoice', '', 176, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21887, 18078, '2018-12-26', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21076 System Generated Invoice', '', 266, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21888, 18079, '2018-12-26', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21077 System Generated Invoice', '', 247, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21889, 18080, '2018-12-26', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21078 System Generated Invoice', '', 1029, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21890, 18081, '2018-12-26', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21079 System Generated Invoice', '', 1015, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21891, 18082, '2018-12-26', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21081 System Generated Invoice', '', 984, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21892, 18083, '2018-12-26', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-145', '24825,24826', 1039, 5, '2018-12-26', NULL, 1, '2018-12-31', 0, NULL, NULL, 0),
(21893, 2020, '2018-12-26', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Reference Invoice #18083', NULL, 1039, 5, '2018-12-26', 21892, 1, '2018-12-31', 0, NULL, NULL, 0),
(21894, 18084, '2018-12-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21085 System Generated Invoice', '', 176, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21895, 18085, '2018-12-26', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21086 System Generated Invoice', '', 176, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21896, 18086, '2018-12-26', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21088 System Generated Invoice', '', 176, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21897, 18087, '2018-12-26', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21089 System Generated Invoice', '', 176, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21898, 18088, '2018-12-26', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21090 System Generated Invoice', '', 176, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21899, 18089, '2018-12-26', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21091 System Generated Invoice', '', 176, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21900, 18090, '2018-12-26', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21092 System Generated Invoice', '', 176, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21901, 18091, '2018-12-26', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21093 System Generated Invoice', '', 176, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21902, 18092, '2018-12-26', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21098 System Generated Invoice', '', 1009, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21903, 18093, '2018-12-26', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21100 System Generated Invoice', '', 413, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21904, 18094, '2018-12-26', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21101 System Generated Invoice', '', 1026, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21905, 18095, '2018-12-26', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21102 System Generated Invoice', '', 1014, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21906, 18096, '2018-12-26', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21104 System Generated Invoice', '', 150, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21907, 18097, '2018-12-26', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21105 System Generated Invoice', '', 973, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21908, 18098, '2018-12-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21106 System Generated Invoice', '', 535, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21909, 18099, '2018-12-26', 'Debit', 180.00, 0.00, 189.00, 9.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21107 System Generated Invoice', '', 531, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21910, 18100, '2018-12-26', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21108 System Generated Invoice', '', 531, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21911, 18101, '2018-12-26', 'Debit', 270.00, 0.00, 283.50, 13.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21109 System Generated Invoice', '', 276, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21912, 18102, '2018-12-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21110 System Generated Invoice', '', 965, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21913, 18103, '2018-12-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21111 System Generated Invoice', '', 965, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21914, 18104, '2018-12-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21112 System Generated Invoice', '', 965, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21915, 18105, '2018-12-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21113 System Generated Invoice', '', 965, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21916, 18106, '2018-12-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21115 System Generated Invoice', '', 71, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21917, 18107, '2018-12-26', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21116 System Generated Invoice', '', 71, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21918, 18108, '2018-12-26', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21118 System Generated Invoice', '', 462, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21919, 18109, '2018-12-26', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21122 System Generated Invoice', '', 71, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21920, 18110, '2018-12-26', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21124 System Generated Invoice', '', 518, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21921, 18111, '2018-12-26', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21125 System Generated Invoice', '', 1037, 10, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21922, 18112, '2018-12-26', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21126 System Generated Invoice', '', 71, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21923, 18113, '2018-12-26', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21127 System Generated Invoice', '', 71, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21924, 18114, '2018-12-26', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21129 System Generated Invoice', '', 1028, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21925, 18115, '2018-12-26', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21131 System Generated Invoice', '', 1028, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21926, 18116, '2018-12-26', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21132 System Generated Invoice', '', 1028, 9, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21927, 18117, '2018-12-26', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-146', '24873,24874', 1040, 5, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21928, 2021, '2018-12-26', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #18117', NULL, 1040, 5, '2018-12-26', 21927, 1, '2019-01-03', 0, NULL, NULL, 0),
(21929, 18118, '2018-12-26', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-147', '24875,24876,24877', 234, 5, '2018-12-26', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21930, 18119, '2018-12-27', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21136 System Generated Invoice', '', 980, 9, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21931, 18120, '2018-12-27', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21139 System Generated Invoice', '', 516, 9, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21932, 18121, '2018-12-27', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21143 System Generated Invoice', '', 240, 9, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21933, 18122, '2018-12-27', 'Debit', 380.00, 0.00, 399.00, 19.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21145 System Generated Invoice', '', 176, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21934, 18123, '2018-12-27', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21146 System Generated Invoice', '', 384, 9, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21935, 18124, '2018-12-27', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21147 System Generated Invoice', '', 1023, 9, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21936, 18125, '2018-12-27', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21153 System Generated Invoice', '', 1010, 9, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21937, 18126, '2018-12-27', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21154 System Generated Invoice', '', 110, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21938, 18127, '2018-12-27', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-147', '24893,24894', 371, 5, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21939, 2022, '2018-12-27', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #18127', NULL, 371, 5, '2018-12-27', 21938, 1, '2019-01-03', 0, NULL, NULL, 0),
(21940, 18128, '2018-12-27', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21155 System Generated Invoice', '', 1017, 9, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21941, 18129, '2018-12-27', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21157 System Generated Invoice', '', 1015, 9, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21942, 18130, '2018-12-27', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21158 System Generated Invoice', '', 984, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21943, 18131, '2018-12-27', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21159 System Generated Invoice', '', 987, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21944, 18132, '2018-12-27', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21160 System Generated Invoice', '', 1031, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21945, 18133, '2018-12-27', 'Debit', 310.00, 0.00, 325.50, 15.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21163 System Generated Invoice', '', 518, 9, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21946, 18134, '2018-12-27', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21164 System Generated Invoice', '', 276, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21947, 18135, '2018-12-27', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21165 System Generated Invoice', '', 371, 9, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21948, 18136, '2018-12-27', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21166 System Generated Invoice', '', 1037, 9, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21949, 18137, '2018-12-27', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-149', '24919,24920,24921', 1041, 5, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21950, 2023, '2018-12-27', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #18137', NULL, 1041, 5, '2018-12-27', 21949, 1, '2019-01-03', 0, NULL, NULL, 0),
(21951, 1598, '2018-12-27', 'Debit', 3000.00, 0.00, 3150.00, 150.00, 2, 0, 'charge', NULL, NULL, 'Sent Milad truck to Taif Show', NULL, 250, 5, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21952, 1599, '2018-12-27', 'Debit', 6000.00, 0.00, 6300.00, 300.00, 1, 0, 'charge', NULL, NULL, 'Handling the Horse 1 Colt & 2 Fillies total ( 3 Horses ) in Jeddah Show', NULL, 250, 5, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21953, 18138, '2018-12-27', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Transport horse from JANADRIYAH to Equestrian Club ( Fahad Al Ouda )', '24922', 160, 5, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21954, 2024, '2018-12-27', 'Credit', 105.00, 0.00, 105.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #18138', NULL, 160, 5, '2018-12-27', 21953, 1, '2019-01-03', 0, NULL, NULL, 0),
(21955, 18139, '2018-12-27', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21169 System Generated Invoice', '', 1032, 9, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21956, 18140, '2018-12-27', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21173 System Generated Invoice', '', 413, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21957, 18141, '2018-12-27', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21174 System Generated Invoice', '', 1026, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21958, 18142, '2018-12-27', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21175 System Generated Invoice', '', 1014, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21959, 18143, '2018-12-27', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21176 System Generated Invoice', '', 138, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21960, 18144, '2018-12-27', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21178 System Generated Invoice', '', 150, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21961, 18145, '2018-12-27', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21180 System Generated Invoice', '', 974, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21962, 18146, '2018-12-27', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, '', '24933', 160, 5, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21963, 2025, '2018-12-27', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #18146', NULL, 160, 5, '2018-12-27', 21962, 1, '2019-01-03', 0, NULL, NULL, 0),
(21964, 2026, '2018-12-27', 'Credit', 2500.00, 0.00, 2500.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Remaining Balance', NULL, 977, 5, '2018-12-27', NULL, 1, '2018-12-31', 0, NULL, NULL, 0),
(21965, 2027, '2018-12-27', 'Credit', 1000.00, 0.00, 1000.00, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 644, 5, '2018-12-27', NULL, 1, '2019-01-03', 0, NULL, NULL, 0),
(21966, 18147, '2018-12-27', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21186 System Generated Invoice', '', 489, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21967, 18148, '2018-12-27', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21191 System Generated Invoice', '', 489, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21968, 18149, '2018-12-27', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21194 System Generated Invoice', '', 1042, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21969, 18150, '2018-12-27', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21195 System Generated Invoice', '', 489, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21970, 18151, '2018-12-27', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21198 System Generated Invoice', '', 489, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21971, 18152, '2018-12-27', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21199 System Generated Invoice', '', 71, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21972, 18153, '2018-12-27', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21202 System Generated Invoice', '', 71, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21973, 18154, '2018-12-27', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21207 System Generated Invoice', '', 71, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21974, 18155, '2018-12-27', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21209 System Generated Invoice', '', 71, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21975, 18156, '2018-12-27', 'Debit', 375.00, 0.00, 393.75, 18.75, 2, 0, 'invoice', NULL, NULL, '5 times palpation in Al Waseel Stud', '24943', 1042, 5, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21976, 18157, '2018-12-27', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, '2 times palpation in Al Waseel Stud', '24944', 1042, 5, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21977, 2028, '2018-12-27', 'Credit', 9476.00, 0.00, 9476.00, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 1042, 5, '2018-12-27', NULL, 1, '2019-01-03', 0, NULL, NULL, 0),
(21978, 18158, '2018-12-27', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21210 System Generated Invoice', '', 1029, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21979, 18159, '2018-12-27', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21211 System Generated Invoice', '', 215, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21980, 18160, '2018-12-27', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21212 System Generated Invoice', '', 1028, 10, '2018-12-27', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21981, 2029, '2018-12-27', 'Credit', 420.00, 0.00, 420.00, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 989, 5, '2018-12-27', NULL, 1, '2019-01-03', 0, NULL, NULL, 0),
(21982, 2030, '2018-12-27', 'Credit', 19000.00, 0.00, 19000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Remaining Balance', NULL, 109, 5, '2018-12-27', NULL, 1, '2018-12-31', 0, NULL, NULL, 0),
(21983, 2031, '2018-12-27', 'Credit', 1029.00, 0.00, 1029.00, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 268, 5, '2018-12-27', NULL, 1, '2019-01-03', 0, NULL, NULL, 0),
(21984, 18161, '2018-12-28', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21219 System Generated Invoice', '', 1032, 10, '2018-12-28', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21985, 18162, '2018-12-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21222 System Generated Invoice', '', 961, 10, '2018-12-28', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21986, 18163, '2018-12-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21225 System Generated Invoice', '', 1036, 10, '2018-12-28', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21987, 18164, '2018-12-28', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21226 System Generated Invoice', '', 1015, 10, '2018-12-28', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21988, 18165, '2018-12-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21227 System Generated Invoice', '', 95, 10, '2018-12-28', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21989, 18166, '2018-12-28', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21233 System Generated Invoice', '', 989, 10, '2018-12-28', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21990, 18167, '2018-12-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21235 System Generated Invoice', '', 110, 10, '2018-12-28', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21991, 18168, '2018-12-28', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21236 System Generated Invoice', '', 984, 10, '2018-12-28', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21992, 18169, '2018-12-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21239 System Generated Invoice', '', 150, 10, '2018-12-28', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21993, 18170, '2018-12-28', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21240 System Generated Invoice', '', 109, 10, '2018-12-28', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21994, 18171, '2018-12-28', 'Debit', 400.00, 0.00, 420.00, 20.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21242 System Generated Invoice', '', 138, 10, '2018-12-28', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21995, 18172, '2018-12-28', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21244 System Generated Invoice', '', 535, 10, '2018-12-28', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21996, 18173, '2018-12-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21246 System Generated Invoice', '', 276, 10, '2018-12-28', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21997, 18174, '2018-12-28', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21248 System Generated Invoice', '', 977, 10, '2018-12-28', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21998, 18175, '2018-12-29', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21252 System Generated Invoice', '', 1032, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(21999, 18176, '2018-12-29', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21256 System Generated Invoice', '', 276, 9, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22000, 18177, '2018-12-29', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21258 System Generated Invoice', '', 176, 9, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22001, 18178, '2018-12-29', 'Debit', 350.00, 0.00, 367.50, 17.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21259 System Generated Invoice', '', 1036, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22002, 18179, '2018-12-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21261 System Generated Invoice', '', 1012, 9, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22003, 18180, '2018-12-29', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21265 System Generated Invoice', '', 176, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22004, 18181, '2018-12-29', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21266 System Generated Invoice', '', 176, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22005, 18182, '2018-12-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21272 System Generated Invoice', '', 152, 9, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22006, 18183, '2018-12-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21277 System Generated Invoice', '', 1022, 9, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22007, 18184, '2018-12-29', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21278 System Generated Invoice', '', 863, 9, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22008, 18185, '2018-12-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21279 System Generated Invoice', '', 142, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22009, 18186, '2018-12-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21280 System Generated Invoice', '', 494, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22010, 18187, '2018-12-29', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21282 System Generated Invoice', '', 518, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22011, 18188, '2018-12-29', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21283 System Generated Invoice', '', 984, 10, '2018-12-29', NULL, 1, '2019-01-12', 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
(22012, 18189, '2018-12-29', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21284 System Generated Invoice', '', 110, 9, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22013, 18190, '2018-12-29', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21285 System Generated Invoice', '', 516, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22014, 18191, '2018-12-29', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21286 System Generated Invoice', '', 1015, 9, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22015, 18192, '2018-12-29', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21287 System Generated Invoice', '', 1037, 9, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22016, 18193, '2018-12-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21289 System Generated Invoice', '', 414, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22017, 18194, '2018-12-29', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21290 System Generated Invoice', '', 371, 9, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22018, 18195, '2018-12-29', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21291 System Generated Invoice', '', 109, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22019, 18196, '2018-12-29', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21292 System Generated Invoice', '', 1026, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22020, 18197, '2018-12-29', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21294 System Generated Invoice', '', 138, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22021, 18198, '2018-12-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21295 System Generated Invoice', '', 138, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22022, 18199, '2018-12-29', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21296 System Generated Invoice', '', 489, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22023, 18200, '2018-12-29', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21303 System Generated Invoice', '', 71, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22024, 18201, '2018-12-29', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21304 System Generated Invoice', '', 71, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22025, 18202, '2018-12-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21305 System Generated Invoice', '', 71, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22026, 18203, '2018-12-29', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21306 System Generated Invoice', '', 71, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22027, 18204, '2018-12-29', 'Debit', 350.00, 0.00, 367.50, 17.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21308 System Generated Invoice', '', 71, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22028, 18205, '2018-12-29', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21309 System Generated Invoice', '', 71, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22029, 18206, '2018-12-29', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21311 System Generated Invoice', '', 71, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22030, 18207, '2018-12-29', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21312 System Generated Invoice', '', 1023, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22031, 18208, '2018-12-29', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21313 System Generated Invoice', '', 987, 10, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22032, 2032, '2018-12-29', 'Credit', 3000.00, 0.00, 3000.00, 0.00, 2, 0, 'payment', 'cash', '', '2 Extra Dozes ( KANZ AL BEDAYER )', NULL, 375, 5, '2018-12-29', NULL, 1, '2019-01-03', 0, NULL, NULL, 0),
(22033, 18209, '2018-12-29', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare: Shdin', '25023', 160, 5, '2018-12-29', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22034, 2033, '2018-12-29', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #18209', NULL, 160, 5, '2018-12-29', 22033, 1, '2019-01-03', 0, NULL, NULL, 0),
(22035, 18210, '2018-12-30', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21315 System Generated Invoice', '', 1001, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22036, 18211, '2018-12-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21318 System Generated Invoice', '', 176, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22037, 18212, '2018-12-30', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21319 System Generated Invoice', '', 1042, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22038, 18213, '2018-12-30', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21320 System Generated Invoice', '', 176, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22039, 18214, '2018-12-30', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21323 System Generated Invoice', '', 1010, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22040, 18215, '2018-12-30', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21325 System Generated Invoice', '', 516, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22041, 18216, '2018-12-30', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21329 System Generated Invoice', '', 1036, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22042, 18217, '2018-12-30', 'Debit', 205.00, 0.00, 215.25, 10.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21331 System Generated Invoice', '', 483, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22043, 18218, '2018-12-30', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21332 System Generated Invoice', '', 1006, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22044, 18219, '2018-12-30', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21334 System Generated Invoice', '', 464, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22045, 18220, '2018-12-30', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21336 System Generated Invoice', '', 142, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22046, 18221, '2018-12-30', 'Debit', 195.00, 0.00, 204.75, 9.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21337 System Generated Invoice', '', 95, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22047, 18222, '2018-12-30', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21338 System Generated Invoice', '', 999, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22048, 18223, '2018-12-30', 'Debit', 340.00, 0.00, 357.00, 17.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21339 System Generated Invoice', '', 371, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22049, 18224, '2018-12-30', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21340 System Generated Invoice', '', 430, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22050, 18225, '2018-12-30', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21341 System Generated Invoice', '', 444, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22051, 18226, '2018-12-30', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21342 System Generated Invoice', '', 1023, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22052, 18227, '2018-12-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, '5 Peices RUBBER SHEET ( Talib Nasir )', '25053', 160, 5, '2018-12-30', NULL, 1, '2018-12-31', 0, NULL, NULL, 0),
(22053, 2034, '2018-12-30', 'Credit', 1050.00, 0.00, 1050.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #18227', NULL, 160, 5, '2018-12-30', 22052, 1, '2019-01-03', 0, NULL, NULL, 0),
(22054, 18228, '2018-12-30', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21346 System Generated Invoice', '', 712, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22055, 18229, '2018-12-30', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21347 System Generated Invoice', '', 150, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22056, 18230, '2018-12-30', 'Debit', 55.00, 0.00, 57.75, 2.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21349 System Generated Invoice', '', 138, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22057, 18231, '2018-12-30', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21350 System Generated Invoice', '', 1026, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22058, 18232, '2018-12-30', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21351 System Generated Invoice', '', 138, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22059, 18233, '2018-12-30', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21352 System Generated Invoice', '', 535, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22060, 18234, '2018-12-30', 'Debit', 400.00, 0.00, 420.00, 20.00, 2, 0, 'invoice', NULL, NULL, 'Name : Wagdy yones', '25064', 160, 5, '2018-12-30', NULL, 1, '2018-12-31', 0, NULL, NULL, 0),
(22061, 2035, '2018-12-30', 'Credit', 420.00, 0.00, 420.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #18234', NULL, 160, 5, '2018-12-30', 22060, 1, '2019-01-03', 0, NULL, NULL, 0),
(22062, 18235, '2018-12-30', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-152', '25065,25066,25067', 1043, 5, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22063, 18236, '2018-12-30', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21355 System Generated Invoice', '', 1018, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22064, 18237, '2018-12-30', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21356 System Generated Invoice', '', 582, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22065, 18238, '2018-12-30', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21357 System Generated Invoice', '', 525, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22066, 18239, '2018-12-30', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21358 System Generated Invoice', '', 138, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22067, 18240, '2018-12-30', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21359 System Generated Invoice', '', 139, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22068, 18241, '2018-12-30', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21360 System Generated Invoice', '', 183, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22069, 18242, '2018-12-30', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21361 System Generated Invoice', '', 183, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22070, 18243, '2018-12-30', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21362 System Generated Invoice', '', 139, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22071, 18244, '2018-12-30', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21363 System Generated Invoice', '', 439, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22072, 18245, '2018-12-30', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21366 System Generated Invoice', '', 965, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22073, 18246, '2018-12-30', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21368 System Generated Invoice', '', 71, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22074, 18247, '2018-12-30', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21369 System Generated Invoice', '', 71, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22075, 18248, '2018-12-30', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21370 System Generated Invoice', '', 71, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22076, 18249, '2018-12-30', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21371 System Generated Invoice', '', 71, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22077, 18250, '2018-12-30', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21372 System Generated Invoice', '', 71, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22078, 18251, '2018-12-30', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21374 System Generated Invoice', '', 71, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22079, 18252, '2018-12-30', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21375 System Generated Invoice', '', 71, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22080, 18253, '2018-12-30', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21379 System Generated Invoice', '', 71, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22081, 18254, '2018-12-30', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21381 System Generated Invoice', '', 71, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22082, 18255, '2018-12-30', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21383 System Generated Invoice', '', 71, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22083, 18256, '2018-12-30', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21385 System Generated Invoice', '', 215, 10, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22084, 18257, '2018-12-30', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-153', '25089,25090', 1044, 5, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22085, 2036, '2018-12-30', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #18257', NULL, 1044, 5, '2018-12-30', 22084, 1, '2019-01-03', 0, NULL, NULL, 0),
(22086, 2037, '2018-12-30', 'Credit', 1192.00, 0.00, 1192.00, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 380, 5, '2018-12-30', NULL, 1, '2019-01-03', 0, NULL, NULL, 0),
(22087, 2038, '2018-12-30', 'Credit', -3145.25, 0.00, -3145.25, 0.00, 3, 0, 'payment', 'transfer', '', 'Refund for Payment #1706/ Invoice #15964 refunded (Ref. Invoice #17093)', NULL, 968, 13, '2018-12-30', NULL, 1, '2018-12-30', 0, NULL, NULL, 0),
(22088, 2039, '2018-12-30', 'Credit', -2845.50, 0.00, -2845.50, 0.00, 3, 0, 'payment', 'transfer', '', 'Refund for payment #1748/ Cancelled invoice #16174 (REf. Invoice #17208)', NULL, 978, 13, '2018-12-30', NULL, 1, '2018-12-30', 0, NULL, NULL, 0),
(22089, 1600, '2018-12-30', 'Debit', -4000.00, 0.00, -4200.00, -200.00, 2, 0, 'charge', NULL, NULL, 'Reverse Invoice No. 16735', NULL, 71, 11, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22090, 1601, '2018-12-30', 'Debit', -170.00, 0.00, -178.50, -8.50, 2, 0, 'charge', NULL, NULL, 'transfer  invoice no. (16775) to KHALED Bin Mohammed Al Qahtani ', NULL, 71, 11, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22091, 1602, '2018-12-30', 'Debit', -20.00, 0.00, -21.00, -1.00, 2, 0, 'charge', NULL, NULL, 'Transfer Invoice No (17102) to KHALED Bin MOHAMMED AL QAHTANI', NULL, 71, 11, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22092, 1603, '2018-12-30', 'Debit', -50.00, 0.00, -52.50, -2.50, 2, 0, 'charge', NULL, NULL, 'Transfer Invoice No (17675) to KHALED Bin MOHAMMED AL QAHTANI', NULL, 71, 11, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22093, 1604, '2018-12-30', 'Debit', -20.00, 0.00, -21.00, -1.00, 2, 0, 'charge', NULL, NULL, 'Transfer Invoice No (17974) to KHALED Bin MOHAMMED AL QAHTANI', NULL, 71, 11, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22094, 1605, '2018-12-30', 'Debit', 4260.00, 0.00, 4473.00, 213.00, 2, 0, 'charge', NULL, NULL, 'Transfer Invoice No (16735 - 16775 - 17102 - 17675 - 17974) from AL WASEEL Stud  to KHALED Bin MOHAMMED AL QAHTANI', NULL, 1042, 11, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22095, 18258, '2018-12-30', 'Debit', 1600.00, 0.00, 1680.00, 80.00, 2, 0, 'invoice', NULL, NULL, 'Abdullah El Gbreen', '25091', 160, 5, '2018-12-30', NULL, 1, '2018-12-31', 0, NULL, NULL, 0),
(22096, 18259, '2018-12-30', 'Debit', 5200.00, 0.00, 5460.00, 260.00, 2, 0, 'invoice', NULL, NULL, 'Montasar Al Khalediah - semen storage charges - 438 + 442 Straws - Monthly charges 1300 SAR FOR SEP, OCT, NOV & DEC, 2018', '25092', 501, 6, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22097, 2040, '2018-12-30', 'Credit', 1680.00, 0.00, 1680.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #18258', NULL, 160, 5, '2018-12-30', 22095, 1, '2019-01-03', 0, NULL, NULL, 0),
(22098, 18260, '2018-12-30', 'Debit', 2200.00, 0.00, 2310.00, 110.00, 2, 0, 'invoice', NULL, NULL, 'Semen storage charges - SW El Marwan (For the month of Sep, Oct, Nov, Dec, 2018) monthly SAR. 550/- (available Straws 440)', '25093', 140, 6, '2018-12-30', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22099, 18261, '2018-12-31', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21387 System Generated Invoice', '', 110, 10, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22100, 18262, '2018-12-31', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21396 System Generated Invoice', '', 110, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22101, 18263, '2018-12-31', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21398 System Generated Invoice', '', 984, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22102, 18264, '2018-12-31', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21399 System Generated Invoice', '', 95, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22103, 2041, '2018-12-31', 'Credit', 1375.50, 0.00, 1375.50, 0.00, 2, 0, 'payment', 'cash', '', 'Remaining Balance', NULL, 984, 5, '2018-12-31', NULL, 1, '2019-01-15', 0, NULL, NULL, 0),
(22104, 18265, '2018-12-31', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21400 System Generated Invoice', '', 371, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22105, 18266, '2018-12-31', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21402 System Generated Invoice', '', 1036, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22106, 2042, '2018-12-31', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #18235', NULL, 1043, 5, '2018-12-31', 22062, 1, '2019-01-15', 0, NULL, NULL, 0),
(22107, 18267, '2018-12-31', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21403 System Generated Invoice', '', 430, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22108, 18268, '2018-12-31', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21404 System Generated Invoice', '', 1000, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22109, 18269, '2018-12-31', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21407 System Generated Invoice', '', 387, 10, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22110, 18270, '2018-12-31', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21409 System Generated Invoice', '', 1018, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22111, 18271, '2018-12-31', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21410 System Generated Invoice', '', 371, 10, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22112, 18272, '2018-12-31', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21411 System Generated Invoice', '', 1043, 10, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22113, 18273, '2018-12-31', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21412 System Generated Invoice', '', 110, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22114, 18274, '2018-12-31', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21413 System Generated Invoice', '', 494, 10, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22115, 18275, '2018-12-31', 'Debit', 800.00, 0.00, 840.00, 40.00, 2, 0, 'invoice', NULL, NULL, '4 Pieces Rubber Sheet ( Emad Mousa )', '25111', 160, 5, '2018-12-31', NULL, 1, '2019-01-01', 0, NULL, NULL, 0),
(22116, 2043, '2018-12-31', 'Credit', 840.00, 0.00, 840.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #18275', NULL, 160, 5, '2018-12-31', 22115, 1, '2019-01-15', 0, NULL, NULL, 0),
(22117, 18276, '2018-12-31', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21414 System Generated Invoice', '', 1023, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22118, 18277, '2018-12-31', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim for Month of DEC 2018', '25113', 109, 11, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22119, 18278, '2018-12-31', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim for Month of DEC 2018', '25114', 973, 11, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22120, 18279, '2018-12-31', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim for Month of DEC 2018', '25115', 164, 11, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22121, 18280, '2018-12-31', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim for Month of DEC 2018', '25116', 164, 11, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22122, 18281, '2018-12-31', 'Debit', 455.00, 0.00, 477.75, 22.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21420 System Generated Invoice', '', 138, 10, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22123, 18282, '2018-12-31', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21421 System Generated Invoice', '', 1026, 10, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22124, 18283, '2018-12-31', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21423 System Generated Invoice', '', 138, 10, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22125, 18284, '2018-12-31', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21424 System Generated Invoice', '', 323, 10, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22126, 18285, '2018-12-31', 'Debit', 270.00, 0.00, 283.50, 13.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21426 System Generated Invoice', '', 535, 10, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22127, 1606, '2018-12-31', 'Debit', -4000.00, 0.00, -4200.00, -200.00, 2, 0, 'charge', NULL, NULL, 'Transfer this invoice to KHALED Bin MOHAMED Al QAHTANI', NULL, 71, 11, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22128, 18286, '2018-12-31', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21427 System Generated Invoice', '', 1008, 10, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22129, 18287, '2018-12-31', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21428 System Generated Invoice', '', 535, 10, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22130, 1607, '2018-12-31', 'Debit', -50.00, 0.00, -52.50, -2.50, 2, 0, 'charge', NULL, NULL, 'Transfer this invoice to KHALED Bin MOHAMED Al QAHTANI', NULL, 71, 11, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22131, 18288, '2018-12-31', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21430 System Generated Invoice', '', 109, 10, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22132, 1608, '2018-12-31', 'Debit', -120.00, 0.00, -126.00, -6.00, 2, 0, 'charge', NULL, NULL, 'Transfer this invoice to KHALED Bin MOHAMED Al QAHTANI', NULL, 71, 11, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22133, 18289, '2018-12-31', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21431 System Generated Invoice', '', 323, 10, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22134, 1609, '2018-12-31', 'Debit', -40.00, 0.00, -42.00, -2.00, 2, 0, 'charge', NULL, NULL, 'Transfer this invoice to KHALED Bin MOHAMED Al QAHTANI', NULL, 71, 11, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22135, 1610, '2018-12-31', 'Debit', -10.00, 0.00, -10.50, -0.50, 2, 0, 'charge', NULL, NULL, 'Transfer this invoice to KHALED Bin MOHAMED Al QAHTANI', NULL, 71, 11, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22136, 18290, '2018-12-31', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Sent the horse from JANADRIYAH to BINBAN', '25135', 375, 5, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22137, 18291, '2018-12-31', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Collect semen for the stallion in Milad', '25136', 375, 5, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22138, 1611, '2018-12-31', 'Debit', 4220.00, 0.00, 4431.00, 211.00, 2, 0, 'charge', NULL, NULL, '	Transfer Mare Name  ( BARAKA AM) from AL WASEEL Stud to KHALED Bin MOHAMMED AL QAHTANI', NULL, 1042, 11, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22139, 18292, '2018-12-31', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '5000-043', '25137,25138', 1045, 5, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22140, 2044, '2018-12-31', 'Credit', 1218.00, 0.00, 1218.00, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 1015, 5, '2018-12-31', NULL, 1, '2019-01-15', 0, NULL, NULL, 0),
(22141, 2045, '2018-12-31', 'Credit', 6300.00, 0.00, 6300.00, 0.00, 2, 0, 'payment', 'span', '', 'in advance', NULL, 1045, 5, '2018-12-31', NULL, 1, '2019-01-15', 0, NULL, NULL, 0),
(22142, 18293, '2018-12-31', 'Debit', 153.34, 0.00, 161.01, 7.67, 2, 0, 'invoice', NULL, NULL, 'Boarding 2 Days With Filly in month of DEC 2018', '25139', 1022, 11, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22143, 18294, '2018-12-31', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21433 System Generated Invoice', '', 489, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22144, 18295, '2018-12-31', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21434 System Generated Invoice', '', 489, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22145, 18296, '2018-12-31', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21435 System Generated Invoice', '', 489, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22146, 18297, '2018-12-31', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21436 System Generated Invoice', '', 489, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22147, 18298, '2018-12-31', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21437 System Generated Invoice', '', 489, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22148, 18299, '2018-12-31', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21439 System Generated Invoice', '', 71, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22149, 18300, '2018-12-31', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21440 System Generated Invoice', '', 71, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22150, 18301, '2018-12-31', 'Debit', 350.00, 0.00, 367.50, 17.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21442 System Generated Invoice', '', 71, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22151, 18302, '2018-12-31', 'Debit', 320.00, 0.00, 336.00, 16.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21444 System Generated Invoice', '', 71, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22152, 18303, '2018-12-31', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21445 System Generated Invoice', '', 71, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22153, 18304, '2018-12-31', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21448 System Generated Invoice', '', 71, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22154, 18305, '2018-12-31', 'Debit', 400.00, 0.00, 420.00, 20.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21449 System Generated Invoice', '', 71, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22155, 18306, '2018-12-31', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21450 System Generated Invoice', '', 71, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22156, 18307, '2018-12-31', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21452 System Generated Invoice', '', 71, 9, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22157, 18308, '2018-12-31', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21453 System Generated Invoice', '', 79, 10, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22158, 2046, '2018-12-31', 'Credit', 705.00, 0.00, 705.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Ramaining Balance', NULL, 67, 5, '2018-12-31', NULL, 1, '2019-01-03', 0, NULL, NULL, 0),
(22159, 18309, '2018-12-31', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21454 System Generated Invoice', '', 142, 10, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22160, 18310, '2018-12-31', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-154', '25162,25163', 962, 5, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22161, 2047, '2018-12-31', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #18310', NULL, 962, 5, '2018-12-31', 22160, 1, '2019-01-15', 0, NULL, NULL, 0),
(22162, 18311, '2018-12-31', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare : Rawabi', '25164', 160, 5, '2018-12-31', NULL, 1, '2019-01-12', 0, NULL, NULL, 0),
(22163, 2048, '2018-12-31', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #18311', NULL, 160, 5, '2018-12-31', 22162, 1, '2019-01-15', 0, NULL, NULL, 0),
(22164, 18312, '2019-01-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21455 System Generated Invoice', '', 1043, 9, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22165, 18313, '2019-01-01', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21459 System Generated Invoice', '', 104, 10, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22166, 18314, '2019-01-01', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21463 System Generated Invoice', '', 516, 9, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22167, 18315, '2019-01-01', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21464 System Generated Invoice', '', 1022, 9, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22168, 18316, '2019-01-01', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21465 System Generated Invoice', '', 1018, 9, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22169, 18317, '2019-01-01', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21466 System Generated Invoice', '', 998, 9, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22170, 18318, '2019-01-01', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21467 System Generated Invoice', '', 371, 9, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22171, 18319, '2019-01-01', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21468 System Generated Invoice', '', 110, 9, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22172, 18320, '2019-01-01', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21469 System Generated Invoice', '', 1015, 9, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22173, 18321, '2019-01-01', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21470 System Generated Invoice', '', 1036, 9, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22174, 18322, '2019-01-01', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21471 System Generated Invoice', '', 142, 9, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22175, 18323, '2019-01-01', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21474 System Generated Invoice', '', 387, 9, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22176, 18324, '2019-01-01', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21475 System Generated Invoice', '', 962, 10, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22177, 18325, '2019-01-01', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '6000-155', '25181,25182', 177, 5, '2019-01-01', NULL, 1, '2019-01-15', 0, NULL, NULL, 0),
(22178, 2049, '2019-01-01', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #18325', NULL, 177, 5, '2019-01-01', 22177, 1, '2019-01-15', 0, NULL, NULL, 0),
(22179, 18326, '2019-01-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '', '25183', 177, 5, '2019-01-01', NULL, 1, '2019-01-15', 0, NULL, NULL, 0),
(22180, 2050, '2019-01-01', 'Credit', 525.00, 0.00, 525.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #18326', NULL, 177, 5, '2019-01-01', 22179, 1, '2019-01-15', 0, NULL, NULL, 0),
(22181, 18327, '2019-01-01', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21478 System Generated Invoice', '', 483, 10, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22182, 18328, '2019-01-01', 'Debit', 305.00, 0.00, 320.25, 15.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21479 System Generated Invoice', '', 95, 10, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22183, 18329, '2019-01-01', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21480 System Generated Invoice', '', 1010, 10, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22184, 18330, '2019-01-01', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare : Boshra', '25192', 160, 5, '2019-01-01', NULL, 1, '2019-01-15', 0, NULL, NULL, 0),
(22185, 2051, '2019-01-01', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #18330', NULL, 160, 5, '2019-01-01', 22184, 1, '2019-01-15', 0, NULL, NULL, 0),
(22186, 18331, '2019-01-01', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21481 System Generated Invoice', '', 981, 10, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22187, 18332, '2019-01-01', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21482 System Generated Invoice', '', 150, 10, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22188, 18333, '2019-01-01', 'Debit', 310.00, 0.00, 325.50, 15.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21484 System Generated Invoice', '', 138, 10, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22189, 18334, '2019-01-01', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21486 System Generated Invoice', '', 138, 10, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22190, 18335, '2019-01-01', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21487 System Generated Invoice', '', 1026, 10, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22191, 18336, '2019-01-01', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21489 System Generated Invoice', '', 138, 10, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22192, 18337, '2019-01-01', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21491 System Generated Invoice', '', 535, 10, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22193, 18338, '2019-01-01', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21496 System Generated Invoice', '', 1045, 10, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22194, 2052, '2019-01-01', 'Credit', 792.75, 0.00, 792.75, 0.00, 2, 0, 'payment', 'cash', '', 'Remaining Balance', NULL, 972, 5, '2019-01-01', NULL, 1, '2019-01-15', 0, NULL, NULL, 0),
(22195, 2053, '2019-01-01', 'Credit', 8868.00, 0.00, 8868.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Remaining Balance ', NULL, 356, 5, '2019-01-01', NULL, 1, '2019-01-02', 0, NULL, NULL, 0),
(22196, 2054, '2019-01-01', 'Credit', 4922.50, 0.00, 4922.50, 0.00, 2, 0, 'payment', 'transfer', '', 'Remaining Balance', NULL, 83, 5, '2019-01-01', NULL, 1, '2019-01-06', 0, NULL, NULL, 0),
(22197, 2055, '2019-01-01', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 593, 5, '2019-01-01', NULL, 1, '2019-01-15', 0, NULL, NULL, 0),
(22198, 18339, '2019-01-01', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21500 System Generated Invoice', '', 71, 10, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22199, 18340, '2019-01-01', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21501 System Generated Invoice', '', 71, 10, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22200, 18341, '2019-01-01', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21502 System Generated Invoice', '', 71, 10, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22201, 18342, '2019-01-01', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21504 System Generated Invoice', '', 71, 10, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22202, 18343, '2019-01-01', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21506 System Generated Invoice', '', 489, 10, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22203, 1612, '2019-01-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'charge', NULL, NULL, 'Semen Storage Charges from ( Jun - Dec ) for 1 Breeding MANSOUR AL JALAWIYAH released to ( Abdullah Bin Jafar Al Hajri )', NULL, 95, 5, '2019-01-01', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22204, 18344, '2019-01-02', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21509 System Generated Invoice', '', 483, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22205, 18345, '2019-01-02', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21512 System Generated Invoice', '', 1010, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22206, 18346, '2019-01-02', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21513 System Generated Invoice', '', 129, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22207, 18347, '2019-01-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21516 System Generated Invoice', '', 176, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22208, 18348, '2019-01-02', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21518 System Generated Invoice', '', 430, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22209, 18349, '2019-01-02', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21519 System Generated Invoice', '', 142, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22210, 18350, '2019-01-02', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21521 System Generated Invoice', '', 1002, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22211, 18351, '2019-01-02', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21522 System Generated Invoice', '', 110, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22212, 18352, '2019-01-02', 'Debit', 420.00, 0.00, 441.00, 21.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21523 System Generated Invoice', '', 95, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22213, 18353, '2019-01-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21525 System Generated Invoice', '', 112, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22214, 18354, '2019-01-02', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21530 System Generated Invoice', '', 110, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22215, 18355, '2019-01-02', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21531 System Generated Invoice', '', 712, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22216, 18356, '2019-01-02', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare: AL SHEIKHA II', '25235', 160, 5, '2019-01-02', NULL, 1, '2019-01-15', 0, NULL, NULL, 0),
(22217, 2056, '2019-01-02', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #18356', NULL, 160, 5, '2019-01-02', 22216, 1, '2019-01-15', 0, NULL, NULL, 0),
(22218, 18357, '2019-01-02', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21534 System Generated Invoice', '', 150, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22219, 18358, '2019-01-02', 'Debit', 425.00, 0.00, 446.25, 21.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21535 System Generated Invoice', '', 138, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22220, 18359, '2019-01-02', 'Debit', 340.00, 0.00, 357.00, 17.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21537 System Generated Invoice', '', 1026, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22221, 18360, '2019-01-02', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21538 System Generated Invoice', '', 138, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22222, 18361, '2019-01-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21539 System Generated Invoice', '', 974, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22223, 18362, '2019-01-02', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21541 System Generated Invoice', '', 535, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22224, 18363, '2019-01-02', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21542 System Generated Invoice', '', 535, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22225, 18364, '2019-01-02', 'Debit', 350.00, 0.00, 367.50, 17.50, 2, 0, 'invoice', NULL, NULL, 'Blanket ', '25254', 954, 5, '2019-01-02', NULL, 1, '2019-01-15', 0, NULL, NULL, 0),
(22226, 2057, '2019-01-02', 'Credit', 370.00, 0.00, 370.00, 0.00, 2, 0, 'payment', 'span', '', 'Remaining Balance', NULL, 954, 5, '2019-01-02', NULL, 1, '2019-01-15', 0, NULL, NULL, 0),
(22227, 18365, '2019-01-02', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21549 System Generated Invoice', '', 965, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22228, 18366, '2019-01-02', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21550 System Generated Invoice', '', 71, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22229, 18367, '2019-01-02', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21555 System Generated Invoice', '', 215, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22230, 18368, '0000-00-00', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21556 System Generated Invoice', '', 1028, 10, '2019-01-02', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(22231, 18369, '2019-01-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21559 System Generated Invoice', '', 1028, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22232, 18370, '2019-01-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21560 System Generated Invoice', '', 1028, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22233, 18371, '2019-01-02', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21561 System Generated Invoice', '', 1028, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22234, 18372, '2019-01-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21564 System Generated Invoice', '', 1028, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22235, 18373, '2019-01-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21566 System Generated Invoice', '', 1028, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22236, 18374, '2019-01-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21567 System Generated Invoice', '', 1028, 10, '2019-01-02', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22237, 18375, '2019-01-03', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21574 System Generated Invoice', '', 483, 10, '2019-01-03', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22238, 18376, '2019-01-03', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21575 System Generated Invoice', '', 483, 10, '2019-01-03', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22239, 18377, '2019-01-03', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21577 System Generated Invoice', '', 1043, 10, '2019-01-03', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22240, 18378, '2019-01-03', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21580 System Generated Invoice', '', 987, 10, '2019-01-03', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22241, 18379, '2019-01-03', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21581 System Generated Invoice', '', 1035, 10, '2019-01-03', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22242, 18380, '2019-01-03', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21583 System Generated Invoice', '', 957, 10, '2019-01-03', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22243, 18381, '2019-01-03', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21584 System Generated Invoice', '', 1042, 10, '2019-01-03', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22244, 18382, '2019-01-03', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21585 System Generated Invoice', '', 231, 10, '2019-01-03', NULL, 1, '2019-03-14', 0, NULL, NULL, 0),
(22245, 18383, '2019-01-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #21588 System Generated Invoice', '', 494, 10, '2019-01-03', NULL, 1, '2019-03-14', 0, NULL, NULL, 0);
