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
(17513, 1218, '2018-08-31', 'Debit', -115.00, 0.00, -115.00, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 827, 13, '2018-08-09', NULL, 1, '2018-08-09', 0, NULL, NULL, 0),
(17514, 1219, '2017-09-01', 'Debit', 110.00, 0.00, 110.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 828, 13, '2018-08-09', NULL, 1, '2018-08-09', 0, NULL, NULL, 0),
(17515, 1220, '2018-08-31', 'Debit', -110.00, 0.00, -110.00, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 828, 13, '2018-08-09', NULL, 1, '2018-08-09', 0, NULL, NULL, 0),
(17516, 1221, '2017-09-01', 'Debit', 100.00, 0.00, 100.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning  balance (wise option)', NULL, 829, 13, '2018-08-09', NULL, 1, '2018-08-09', 0, NULL, NULL, 0),
(17517, 1222, '2018-08-31', 'Debit', -100.00, 0.00, -100.00, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 829, 13, '2018-08-09', NULL, 1, '2018-08-09', 0, NULL, NULL, 0),
(17518, 1223, '2017-09-01', 'Debit', 100.00, 0.00, 100.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 830, 13, '2018-08-09', NULL, 1, '2018-08-09', 0, NULL, NULL, 0),
(17519, 1224, '2018-08-31', 'Debit', -100.00, 0.00, -100.00, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 830, 13, '2018-08-09', NULL, 1, '2018-08-09', 0, NULL, NULL, 0),
(17520, 1225, '2017-09-01', 'Debit', 84.64, 0.00, 84.64, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 831, 13, '2018-08-09', NULL, 1, '2018-08-09', 0, NULL, NULL, 0),
(17521, 1226, '2018-08-31', 'Debit', -84.64, 0.00, -84.64, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 831, 13, '2018-08-09', NULL, 1, '2018-08-09', 0, NULL, NULL, 0),
(17522, 14754, '2018-08-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Transport ( Horse ) from Sa#table in JANADRIYAH to TADAWI ( Ibrahim Al Rashed )', '19977', 160, 5, '2018-08-09', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17523, 1350, '2018-08-10', 'Credit', 52.50, 0.00, 52.50, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #14754', NULL, 160, 5, '2018-08-09', 17522, 1, '2018-08-30', 0, NULL, NULL, 0),
(17524, 14755, '2018-08-11', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'c/o Farman Ali', '19978', 160, 7, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17525, 1351, '2018-08-11', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #14755', NULL, 160, 7, '2018-08-11', 17524, 1, '2018-09-12', 0, NULL, NULL, 0),
(17526, 14756, '2018-08-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18082 System Generated Invoice', '', 122, 10, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17527, 14757, '2018-08-11', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, 'Mohammed Al Ajami', '19980', 160, 5, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17528, 1352, '2018-08-11', 'Credit', 157.50, 0.00, 157.50, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #14757', NULL, 160, 5, '2018-08-11', 17527, 1, '2018-08-21', 0, NULL, NULL, 0),
(17529, 14758, '2018-07-14', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18083 System Generated Invoice', '', 504, 5, '2018-08-11', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17530, 14759, '2018-07-21', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18084 System Generated Invoice', '', 504, 5, '2018-08-11', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17531, 14760, '2018-07-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18085 System Generated Invoice', '', 504, 5, '2018-08-11', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17532, 14761, '2018-08-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18086 System Generated Invoice', '', 504, 5, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17533, 14762, '2018-07-01', 'Debit', 383.35, 0.00, 402.52, 19.17, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 26 - 30 ) Jun-2018 MOKA GAZL with Colt', '19985', 560, 5, '2018-08-11', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17534, 14763, '2018-07-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) MOKA GAZL with Colt', '19986', 560, 5, '2018-08-11', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17535, 14764, '2018-07-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18087 System Generated Invoice', '', 560, 5, '2018-08-11', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17536, 14765, '2018-07-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18088 System Generated Invoice', '', 560, 5, '2018-08-11', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17537, 14766, '2018-08-06', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18089 System Generated Invoice', '', 560, 5, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17538, 14767, '2018-08-13', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18090 System Generated Invoice', '', 560, 5, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17539, 1227, '2017-09-01', 'Debit', 78.37, 0.00, 78.37, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 832, 13, '2018-08-11', NULL, 1, '2018-08-11', 0, NULL, NULL, 0),
(17540, 1228, '2018-08-31', 'Debit', -78.37, 0.00, -78.37, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 832, 13, '2018-08-11', NULL, 1, '2018-08-11', 0, NULL, NULL, 0),
(17541, 1229, '2017-09-01', 'Debit', 76.67, 0.00, 76.67, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 833, 13, '2018-08-11', NULL, 1, '2018-08-11', 0, NULL, NULL, 0),
(17542, 1230, '2018-08-31', 'Debit', -76.67, 0.00, -76.67, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 833, 13, '2018-08-11', NULL, 1, '2018-08-11', 0, NULL, NULL, 0),
(17543, 1231, '2017-09-01', 'Debit', 74.06, 0.00, 74.06, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 834, 13, '2018-08-11', NULL, 1, '2018-08-11', 0, NULL, NULL, 0),
(17544, 1232, '2018-08-31', 'Debit', -74.06, 0.00, -74.06, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 834, 13, '2018-08-11', NULL, 1, '2018-08-11', 0, NULL, NULL, 0),
(17545, 1233, '2017-09-01', 'Debit', 61.58, 0.00, 61.58, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 835, 13, '2018-08-11', NULL, 1, '2018-08-11', 0, NULL, NULL, 0),
(17546, 1234, '2018-08-31', 'Debit', -61.58, 0.00, -61.58, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 835, 13, '2018-08-11', NULL, 1, '2018-08-11', 0, NULL, NULL, 0),
(17547, 1235, '2017-09-01', 'Debit', 58.00, 0.00, 58.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 836, 13, '2018-08-11', NULL, 1, '2018-08-11', 0, NULL, NULL, 0),
(17548, 1236, '2018-08-31', 'Debit', -58.00, 0.00, -58.00, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 836, 13, '2018-08-11', NULL, 1, '2018-08-11', 0, NULL, NULL, 0),
(17549, 1237, '2017-09-01', 'Debit', 50.00, 0.00, 50.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 837, 13, '2018-08-11', NULL, 1, '2018-08-11', 0, NULL, NULL, 0),
(17550, 1238, '2018-08-31', 'Debit', -50.00, 0.00, -50.00, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 837, 13, '2018-08-11', NULL, 1, '2018-08-11', 0, NULL, NULL, 0),
(17551, 14768, '2018-08-11', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'c/o Ahmed Majdy', '19991', 160, 7, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17552, 1353, '2018-08-11', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #14768', NULL, 160, 7, '2018-08-11', 17551, 1, '2018-08-30', 0, NULL, NULL, 0),
(17553, 14769, '2018-08-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Owner: Abdul Aziz Al Marri', '19992', 160, 5, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17554, 1354, '2018-08-11', 'Credit', 126.00, 0.00, 126.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #14769', NULL, 160, 5, '2018-08-11', 17553, 1, '2018-08-30', 0, NULL, NULL, 0),
(17555, 14770, '2018-08-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18091 System Generated Invoice', '', 176, 5, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17556, 14771, '2018-08-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18092 System Generated Invoice', '', 176, 5, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17557, 14772, '2018-08-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18093 System Generated Invoice', '', 176, 5, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17558, 14773, '2018-08-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18094 System Generated Invoice', '', 327, 5, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17559, 14774, '2018-08-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18095 System Generated Invoice', '', 176, 5, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17560, 14775, '2018-07-31', 'Debit', 1266.73, 0.00, 1330.07, 63.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 12 - 31 ) Jul-2018 GHAZLAN VI', '19998', 362, 5, '2018-08-11', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17561, 14776, '2018-08-11', 'Debit', 733.37, 0.00, 770.04, 36.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 11 ) Aug-2018 GHAZLAN VI', '19999', 362, 5, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17562, 1355, '2018-08-11', 'Credit', 24000.00, 0.00, 24000.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 362, 5, '2018-08-11', NULL, 1, '2018-08-21', 0, NULL, NULL, 0),
(17563, 14777, '2018-08-11', 'Debit', 400.02, 0.00, 420.02, 20.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 6 - 11 ) Aug-2018 LAYAN AL MOHAMADIA', '20000', 483, 5, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17564, 1356, '2018-08-11', 'Credit', 1254.06, 0.00, 1254.06, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 483, 5, '2018-08-11', NULL, 1, '2018-08-21', 0, NULL, NULL, 0),
(17565, 14778, '2018-08-11', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Owner: Hadian', '20001', 160, 5, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17566, 1357, '2018-08-11', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #14778', NULL, 160, 5, '2018-08-11', 17565, 1, '2018-08-30', 0, NULL, NULL, 0),
(17567, 1358, '2018-08-11', 'Credit', 2482.58, 0.00, 2482.58, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 362, 5, '2018-08-11', NULL, 1, '2018-08-21', 0, NULL, NULL, 0),
(17568, 14779, '2018-08-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18097 System Generated Invoice', '', 176, 10, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17569, 14780, '2018-08-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18098 System Generated Invoice', '', 176, 10, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17570, 14781, '2018-08-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18099 System Generated Invoice', '', 176, 10, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17571, 14782, '2018-08-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18100 System Generated Invoice', '', 327, 10, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17572, 14783, '2018-08-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18101 System Generated Invoice', '', 176, 10, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17573, 14784, '2018-08-11', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'From TADAWI to Client Stable in JANADRIYAH ( Ibrahim Al Rashed )', '20007', 160, 5, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17574, 1359, '2018-08-11', 'Credit', 52.50, 0.00, 52.50, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #14784', NULL, 160, 5, '2018-08-11', 17573, 1, '2018-08-30', 0, NULL, NULL, 0),
(17575, 14785, '2018-08-11', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Owner: Al Twejri', '20008', 160, 5, '2018-08-11', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17576, 1360, '2018-08-11', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #14785', NULL, 160, 5, '2018-08-11', 17575, 1, '2018-08-21', 0, NULL, NULL, 0),
(17577, 14786, '2018-08-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18102 System Generated Invoice', '', 375, 10, '2018-08-12', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17578, 14787, '2018-08-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18104 System Generated Invoice', '', 83, 10, '2018-08-12', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17579, 14788, '2018-08-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18105 System Generated Invoice', '', 423, 10, '2018-08-12', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17580, 1361, '2018-08-12', 'Credit', 9000.00, 0.00, 9000.00, 0.00, 2, 0, 'payment', 'transfer', '', '', NULL, 514, 5, '2018-08-12', NULL, 1, '2018-08-21', 0, NULL, NULL, 0),
(17581, 1362, '2018-08-12', 'Credit', 586.00, 0.00, 586.00, 0.00, 2, 0, 'payment', 'transfer', '', '', NULL, 514, 5, '2018-08-12', NULL, 1, '2018-08-21', 0, NULL, NULL, 0),
(17582, 14789, '2018-08-12', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Care of ALI', '20012', 160, 5, '2018-08-12', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17583, 1363, '2018-08-12', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #14789', NULL, 160, 5, '2018-08-12', 17582, 1, '2018-08-30', 0, NULL, NULL, 0),
(17584, 14790, '2018-08-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18106 System Generated Invoice', '', 83, 5, '2018-08-12', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17585, 14791, '2018-08-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18107 System Generated Invoice', '', 423, 5, '2018-08-12', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17586, 14792, '2018-08-12', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Care of ALI', '20015', 160, 5, '2018-08-12', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17587, 1364, '2018-08-12', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #14792', NULL, 160, 5, '2018-08-12', 17586, 1, '2018-08-30', 0, NULL, NULL, 0),
(17588, 1239, '2017-09-01', 'Debit', 40.17, 0.00, 40.17, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 839, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17589, 1240, '2018-08-31', 'Debit', -40.17, 0.00, -40.17, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 839, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17590, 1241, '2017-09-01', 'Debit', 18.00, 0.00, 18.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 840, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17591, 1242, '2018-08-31', 'Debit', -18.00, 0.00, -18.00, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 840, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17592, 1243, '2017-09-01', 'Debit', 10.00, 0.00, 10.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 841, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17593, 1244, '2018-08-31', 'Debit', -10.00, 0.00, -10.00, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 841, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17594, 1245, '2017-09-01', 'Debit', -10.00, 0.00, -10.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Beginning balance (wrong entry)', NULL, 841, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17595, 1246, '2017-09-01', 'Debit', 205.00, 0.00, 205.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 841, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17596, 1365, '2018-02-05', 'Credit', 195.00, 0.00, 195.00, 0.00, 3, 0, 'payment', 'span', '', 'Payment received', NULL, 841, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17597, 1247, '2017-09-01', 'Debit', 10.00, 0.00, 10.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 842, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17598, 1248, '2018-08-31', 'Debit', -10.00, 0.00, -10.00, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 842, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17599, 1249, '2017-09-01', 'Debit', 9.91, 0.00, 9.91, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 843, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17600, 1250, '2018-08-31', 'Debit', -9.91, 0.00, -9.91, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 843, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17601, 1251, '2017-09-01', 'Debit', 8.00, 0.00, 8.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 844, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17602, 1252, '2018-08-31', 'Debit', -8.00, 0.00, -8.00, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 844, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17603, 1253, '2017-09-01', 'Debit', 5.00, 0.00, 5.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 845, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17604, 1254, '2018-08-31', 'Debit', -5.00, 0.00, -5.00, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 845, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17605, 1255, '2017-09-01', 'Debit', -8.00, 0.00, -8.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Beginning balance reversal (wrong entry)', NULL, 844, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17606, 1256, '2017-09-01', 'Debit', 725.00, 0.00, 725.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 844, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17607, 1366, '2018-02-27', 'Credit', 720.00, 0.00, 720.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received', NULL, 844, 13, '2018-08-12', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(17608, 1257, '2017-09-01', 'Debit', 8.00, 0.00, 8.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 844, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17609, 1258, '2017-09-01', 'Debit', -725.00, 0.00, -725.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Reversal (wrong entry)', NULL, 844, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17610, 1367, '2018-02-27', 'Credit', -720.00, 0.00, -720.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Reversal (wrong entry)', NULL, 844, 13, '2018-08-12', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(17611, 1259, '2017-09-01', 'Debit', -5.00, 0.00, -5.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Reversal (wrong entry)', NULL, 845, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17612, 1260, '2017-09-01', 'Debit', 725.00, 0.00, 725.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance(wise option)', NULL, 845, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17613, 1368, '2018-02-27', 'Credit', 720.00, 0.00, 720.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received', NULL, 845, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17614, 1261, '2017-09-01', 'Debit', 6700.00, 0.00, 6700.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 846, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17615, 1262, '2017-12-31', 'Debit', 8672.00, 0.00, 8672.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded balance (wise option)', NULL, 846, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17616, 1369, '2017-09-13', 'Credit', 8000.00, 0.00, 8000.00, 0.00, 3, 0, 'payment', 'span', '', 'Payment received', NULL, 846, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17617, 1370, '2017-09-16', 'Credit', 7370.00, 0.00, 7370.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received', NULL, 846, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17618, 1263, '2018-08-31', 'Debit', -2.00, 0.00, -2.00, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 846, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17619, 1264, '2017-09-01', 'Debit', 58049.87, 0.00, 58049.87, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 847, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17620, 1265, '2018-08-31', 'Debit', -0.37, 0.00, -0.37, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 847, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17621, 1266, '2017-09-14', 'Debit', 7567.50, 0.00, 7567.50, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance (wise option)', NULL, 847, 13, '2018-08-12', 17620, 1, '2018-08-12', 0, NULL, NULL, 0),
(17622, 1267, '2017-09-13', 'Debit', -11525.00, 0.00, -11525.00, 0.00, 1, 0, 'charge', NULL, NULL, '50% discount approved by Mr. Nasir', NULL, 847, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17623, 1371, '2017-09-14', 'Credit', 35000.00, 0.00, 35000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received', NULL, 847, 13, '2018-08-12', NULL, 1, '2018-08-15', 0, NULL, NULL, 0),
(17624, 1372, '2017-09-17', 'Credit', 19092.00, 0.00, 19092.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received', NULL, 847, 13, '2018-08-12', NULL, 1, '2018-08-15', 0, NULL, NULL, 0),
(17625, 1268, '2017-09-01', 'Debit', 0.23, 0.00, 0.23, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 848, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17626, 1269, '2018-08-31', 'Debit', 0.23, 0.00, 0.23, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 848, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17627, 1270, '2018-08-12', 'Debit', -0.23, 0.00, -0.23, 0.00, 3, 0, 'charge', NULL, NULL, 'Reversal (wrong entry)', NULL, 848, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17628, 1271, '2018-08-31', 'Debit', -0.23, 0.00, -0.23, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 848, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17629, 1272, '2018-08-31', 'Debit', -35700.00, 0.00, -35700.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Customer refund for invoice #132', NULL, 405, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17630, 1273, '2018-08-31', 'Debit', -1680.00, 0.00, -1680.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Customer refund for invoice #03009', NULL, 210, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17631, 1274, '2018-08-31', 'Debit', -2000.00, 0.00, -2100.00, -100.00, 2, 0, 'charge', NULL, NULL, 'Customer refund for invoice #09639', NULL, 269, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17632, 1275, '2018-08-31', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'charge', NULL, NULL, 'Customer refund for invoice #12079', NULL, 280, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17633, 1276, '2018-08-31', 'Debit', -10000.00, 0.00, -10500.00, -500.00, 2, 0, 'charge', NULL, NULL, 'Reversal (wrong entry)', NULL, 280, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17634, 1277, '2018-08-31', 'Debit', -10000.00, 0.00, -10500.00, -500.00, 2, 0, 'charge', NULL, NULL, 'Customer refund for invoice #12079', NULL, 280, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17635, 1278, '2018-08-31', 'Debit', -89521.85, 0.00, -89521.85, 0.00, 3, 0, 'charge', NULL, NULL, 'Customer discount approved by Mr. Nasir', NULL, 147, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17636, 1279, '2018-08-31', 'Debit', -22500.00, 0.00, -22500.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Customer discount for 9 dozes frozen semen (2500 each)', NULL, 78, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17637, 14793, '2018-08-12', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Abdulaziz Faisal', '20016', 160, 7, '2018-08-12', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17638, 1373, '2018-08-12', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #14793', NULL, 160, 7, '2018-08-12', 17637, 1, '2018-08-26', 0, NULL, NULL, 0),
(17639, 1280, '2018-08-12', 'Debit', -29883.10, 0.00, -29883.10, 0.00, 3, 0, 'charge', NULL, NULL, 'Customer discount from previous year balance and current charges (Charge #783)', NULL, 664, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17640, 14794, '2018-08-12', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Mmdoh Alanzi', '20017', 160, 7, '2018-08-12', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17641, 1374, '2018-08-12', 'Credit', 262.50, 0.00, 262.50, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #14794', NULL, 160, 7, '2018-08-12', 17640, 1, '2018-08-26', 0, NULL, NULL, 0),
(17642, 1281, '2018-08-31', 'Debit', -27593.00, 0.00, -27593.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Customer discount for charge #677 approved by Mr. Nasir', NULL, 409, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17643, 14795, '2018-08-12', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Bader', '20018', 160, 7, '2018-08-12', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17644, 1375, '2018-08-12', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #14795', NULL, 160, 7, '2018-08-12', 17643, 1, '2018-08-30', 0, NULL, NULL, 0),
(17645, 1282, '2018-08-31', 'Debit', -3082.20, 0.00, -3082.20, 0.00, 2, 0, 'charge', NULL, NULL, 'Customer discount for remaining balance approved by Mr. Nasir', NULL, 605, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17646, 1283, '2018-08-31', 'Debit', -1500.00, 0.00, -1500.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Customer discount approved by Mr. Nasir', NULL, 283, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17647, 1284, '2018-08-31', 'Debit', -2000.00, 0.00, -2000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Customer discount approved by Mr. Nasir', NULL, 69, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17648, 1285, '2018-08-31', 'Debit', -839.71, 0.00, -839.71, 0.00, 2, 0, 'charge', NULL, NULL, 'Customer discount approved by Mr. Nasir', NULL, 413, 13, '2018-08-12', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(17649, 14796, '2018-08-13', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18108 System Generated Invoice', '', 122, 10, '2018-08-13', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17650, 14797, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 10-Feb-2018 ) LOLA DONA', '20020', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17651, 14798, '2018-07-01', 'Debit', 266.68, 0.00, 280.01, 13.33, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 10 - 13 ) Feb-2018  LOLA DONA', '20021', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17652, 14799, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out From MILAD ( 13-Feb-2018 ) LOLA DONA', '20022', 501, 5, '2018-08-13', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(17653, 14800, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Re-Enter to MILAD ( 27-Feb-2018 ) LOLA DONA', '20023', 501, 5, '2018-08-13', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(17654, 14801, '2018-07-01', 'Debit', 133.34, 0.00, 140.01, 6.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 27 - 28 ) Feb-2018  LOLA DONA', '20024', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17655, 14802, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 ) LOLA DONA', '20025', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17656, 14803, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) LOLA DONA', '20026', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17657, 14804, '2018-07-01', 'Debit', 333.35, 0.00, 350.02, 16.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 5 ) May-2018  LOLA DONA', '20027', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17658, 14805, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 5-May-2018 ) LOLA DONA', '20028', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17659, 14806, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 16-Feb-2018 ) HANIAH ATHBAH', '20029', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17660, 14807, '2018-07-01', 'Debit', 866.71, 0.00, 910.05, 43.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 16 - 28 ) Feb-2018  HANIAH ATHBAH', '20030', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17661, 14808, '2018-07-01', 'Debit', 733.37, 0.00, 770.04, 36.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 11 ) Mar-2018  HANIAH ATHBAH', '20031', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17662, 14809, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 11-Mar-2018 ) HANIAH ATHBAH', '20032', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17663, 14810, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Re-Enter to MILAD ( 26-Mar-2018 ) HANIAH ATHBAH', '20033', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17664, 14811, '2018-07-01', 'Debit', 400.02, 0.00, 420.02, 20.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 26 - 31 ) Mar-2018  HANIAH ATHBAH', '20034', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17665, 14812, '2018-07-01', 'Debit', 266.68, 0.00, 280.01, 13.33, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 4 ) Apr-2018  HANIAH ATHBAH', '20035', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17666, 14813, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 4-Apr-2018 ) HANIAH ATHBAH', '20036', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17667, 14814, '2018-08-13', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Transport from Stable in JANADRIYAH to TADAWI ( Abdullah Al Tamimi )', '20037', 160, 5, '2018-08-13', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17668, 1376, '2018-08-13', 'Credit', 52.50, 0.00, 52.50, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #14814', NULL, 160, 5, '2018-08-13', 17667, 1, '2018-08-26', 0, NULL, NULL, 0),
(17669, 14815, '2018-08-13', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Transport from TADAWI to Stable in JANADRIYAH ( Abdullah Al Tamimi )', '20038', 160, 5, '2018-08-13', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17670, 1377, '2018-08-13', 'Credit', 52.50, 0.00, 52.50, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #14815', NULL, 160, 5, '2018-08-13', 17669, 1, '2018-08-26', 0, NULL, NULL, 0),
(17671, 1378, '2018-08-13', 'Credit', 5250.00, 0.00, 5250.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 215, 5, '2018-08-13', NULL, 1, '2018-08-26', 0, NULL, NULL, 0),
(17672, 14816, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 20-Mar-2018 ) YASMEEN ATHBAH', '20039', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17673, 14817, '2018-07-01', 'Debit', 466.69, 0.00, 490.02, 23.33, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 20 - 26 ) Mar-2018  YASMEEN ATHBAH', '20040', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17674, 14818, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 26-Mar-2018 )  YASMEEN ATHBAH', '20041', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17675, 14819, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 29-Jan-2018 ) MOUNTASER AL KHALEDIAH', '20042', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17676, 14820, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 2-Feb-2018 ) BENT EL REEH V', '20043', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17677, 14821, '2018-07-01', 'Debit', 266.68, 0.00, 280.01, 13.33, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 2 - 5 ) Feb-2018  BENT EL REEH V', '20044', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17678, 14822, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 5-Feb-2018 ) BENT EL REEH V', '20045', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17679, 14823, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 2-Feb-2018 ) BINT MEQBILA', '20046', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17680, 14824, '2018-07-01', 'Debit', 266.68, 0.00, 280.01, 13.33, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 2 - 5 ) Feb-2018  BINT MEQBILA', '20047', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17681, 14825, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 5-Feb-2018 ) BINT MEQBILA', '20048', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17682, 14826, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Re-Enter to MILAD ( 18-Feb-2018 ) BENT EL REEH V', '20049', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17683, 14827, '2018-07-01', 'Debit', 733.37, 0.00, 770.04, 36.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 18 - 28 ) Feb-2018  BENT EL REEH V', '20050', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17684, 14828, '2018-07-01', 'Debit', 733.37, 0.00, 770.04, 36.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 11 ) Mar-2018  BENT EL REEH V', '20051', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17685, 14829, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 11-Mar-2018 )  BENT EL REEH V', '20052', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17686, 14830, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 18-Feb-2018 ) WEJEEHA ATHBAH', '20053', 501, 5, '2018-08-13', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17687, 1286, '2017-09-11', 'Debit', -5000.00, 0.00, -5000.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Customer discount (transportation taif show)', NULL, 641, 13, '2018-08-13', NULL, 1, '2018-08-13', 0, NULL, NULL, 0),
(17688, 14831, '2018-08-14', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18109 System Generated Invoice', '', 390, 10, '2018-08-14', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17689, 1287, '2018-08-31', 'Debit', -275.00, 0.00, -275.00, 0.00, 3, 1, 'charge', NULL, NULL, 'A/R write off', NULL, 850, 13, '2018-08-14', NULL, 1, '2018-08-14', 0, NULL, NULL, 0),
(17690, 1288, '2017-09-01', 'Debit', 275.00, 0.00, 275.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Beginnnig balance (wise option)', NULL, 850, 13, '2018-08-14', 17689, 1, '2018-08-14', 0, NULL, NULL, 0),
(17691, 14832, '2018-07-01', 'Debit', 733.37, 0.00, 770.04, 36.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 18 - 28 ) Feb-2018  WEJEEHA ATHBAH	', '20055', 501, 5, '2018-08-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17692, 14833, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 ) WEJEEHA ATHBAH	', '20056', 501, 5, '2018-08-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17693, 14834, '2018-07-01', 'Debit', 1933.43, 0.00, 2030.10, 96.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 29 ) Apr-2018  WEJEEHA ATHBAH	', '20057', 501, 5, '2018-08-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17694, 14835, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 29-Apr-2018 ) WEJEEHA ATHBAH	', '20058', 501, 5, '2018-08-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17695, 14836, '2018-08-08', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Re-Enter to MILAD ( 8-Aug-2018 ) ZK CLARRISSA R with Colt', '20059', 249, 5, '2018-08-14', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17696, 14837, '2018-08-12', 'Debit', 383.35, 0.00, 402.52, 19.17, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 8 - 12 ) Aug-2018  ZK CLARRISSA R with Colt', '20060', 249, 5, '2018-08-14', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17697, 14838, '2018-08-12', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 12-Aug-2018 ) ZK CLARRISSA R with Colt', '20061', 249, 5, '2018-08-14', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17698, 1379, '2018-08-14', 'Credit', 10785.00, 0.00, 10785.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 249, 5, '2018-08-14', NULL, 1, '2018-08-26', 0, NULL, NULL, 0),
(17699, 14839, '2018-08-14', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare: SARA', '20062', 160, 5, '2018-08-14', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17700, 1380, '2018-08-14', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #14839', NULL, 160, 5, '2018-08-14', 17699, 1, '2018-08-30', 0, NULL, NULL, 0),
(17701, 1289, '2018-08-31', 'Debit', -1083.00, 0.00, -1083.00, 0.00, 1, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 685, 13, '2018-08-14', 17074, 1, '2018-08-14', 0, NULL, NULL, 0),
(17702, 1290, '2017-09-01', 'Debit', 47866.19, 0.00, 47866.19, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 851, 13, '2018-08-14', NULL, 1, '2018-08-14', 0, NULL, NULL, 0),
(17703, 1291, '2017-12-31', 'Debit', 17525.01, 0.00, 17525.01, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance (wise option)', NULL, 851, 13, '2018-08-14', NULL, 1, '2018-08-14', 0, NULL, NULL, 0),
(17704, 1381, '2017-10-22', 'Credit', 53486.00, 0.00, 53486.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received', NULL, 851, 13, '2018-08-14', NULL, 1, '2018-08-14', 0, NULL, NULL, 0),
(17705, 1382, '2017-11-22', 'Credit', 3000.00, 0.00, 3000.00, 0.00, 3, 0, 'payment', 'cash', '', 'Payment received (wise option)', NULL, 851, 13, '2018-08-14', NULL, 1, '2018-08-14', 0, NULL, NULL, 0),
(17706, 1383, '2018-01-05', 'Credit', 8341.00, 0.00, 8341.00, 0.00, 3, 0, 'payment', 'cash', '', 'Payment received (wise option)', NULL, 851, 13, '2018-08-14', NULL, 1, '2018-08-14', 0, NULL, NULL, 0),
(17707, 1292, '2018-08-31', 'Debit', -564.20, 0.00, -564.20, 0.00, 2, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 851, 13, '2018-08-14', NULL, 1, '2018-08-14', 0, NULL, NULL, 0),
(17708, 1293, '2017-09-01', 'Debit', 1190.00, 0.00, 1190.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 852, 13, '2018-08-14', NULL, 1, '2018-08-14', 0, NULL, NULL, 0),
(17709, 1384, '2017-09-29', 'Credit', 690.00, 0.00, 690.00, 0.00, 3, 0, 'payment', 'cash', '', 'Payment received (wise option?)', NULL, 852, 13, '2018-08-14', NULL, 1, '2018-08-14', 0, NULL, NULL, 0),
(17710, 1294, '2018-08-31', 'Debit', -500.00, 0.00, -500.00, 0.00, 3, 0, 'charge', NULL, NULL, 'A/R write off', NULL, 852, 13, '2018-08-14', NULL, 1, '2018-08-14', 0, NULL, NULL, 0),
(17711, 14840, '2018-08-15', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18111 System Generated Invoice', '', 375, 10, '2018-08-15', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17712, 14841, '2018-08-15', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare', '20064', 160, 5, '2018-08-15', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17713, 1385, '2018-08-15', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #14841', NULL, 160, 5, '2018-08-15', 17712, 1, '2018-08-30', 0, NULL, NULL, 0),
(17714, 14842, '2018-08-15', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Transport from Stable in JANADRIYAH to TADAWI then Return Back', '20065', 160, 5, '2018-08-15', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17715, 1386, '2018-08-15', 'Credit', 105.00, 0.00, 105.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #14842', NULL, 160, 5, '2018-08-15', 17714, 1, '2018-08-26', 0, NULL, NULL, 0),
(17716, 14843, '2018-08-15', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, '1 Bottle Dexa. ( take by the Groomer KAYOM )', '20066', 462, 5, '2018-08-15', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17717, 1387, '2018-08-15', 'Credit', 10000.00, 0.00, 10000.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 178, 5, '2018-08-15', NULL, 1, '2018-08-26', 0, NULL, NULL, 0),
(17718, 14844, '2018-08-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18113 System Generated Invoice', '', 146, 10, '2018-08-16', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17719, 14845, '2018-08-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18114 System Generated Invoice', '', 375, 10, '2018-08-16', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17720, 14846, '2018-08-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18115 System Generated Invoice', '', 327, 10, '2018-08-16', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17721, 14847, '2018-08-16', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare: NAJMAH', '20070', 160, 5, '2018-08-16', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17722, 1388, '2018-08-16', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #14847', NULL, 160, 5, '2018-08-16', 17721, 1, '2018-08-30', 0, NULL, NULL, 0),
(17723, 14848, '2018-07-12', 'Debit', 1067.00, 0.00, 1120.35, 53.35, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( SOPHIA ) 12-Jul-2018 ( invoice NO. 01-870 )', '20071', 280, 5, '2018-08-16', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17724, 14849, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 28-Mar-2018 )', '20072', 208, 5, '2018-08-16', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17725, 14850, '2018-08-16', 'Debit', 6523.00, 0.00, 6849.15, 326.15, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Colt of MOKA ) 16-Aug-2018 ( invoice  manual NO. 0287 ).', '20073', 560, 5, '2018-08-16', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17726, 1389, '2018-08-17', 'Credit', 5000.00, 0.00, 5000.00, 0.00, 2, 0, 'payment', 'cash', '', '', NULL, 625, 5, '2018-08-17', NULL, 1, '2018-08-30', 0, NULL, NULL, 0),
(17727, 1390, '2018-08-18', 'Credit', 11327.34, 0.00, 11327.34, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 560, 5, '2018-08-18', NULL, 1, '2018-08-26', 0, NULL, NULL, 0),
(17728, 14851, '2018-07-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) SOLAF AL ENAYA with Colt', '20074', 407, 5, '2018-08-18', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17729, 14852, '2018-08-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) SOLAF AL ENAYA with Colt', '20075', 407, 5, '2018-08-18', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17730, 14853, '2018-07-31', 'Debit', 896.50, 0.00, 941.33, 44.83, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( SOLAF AL ENAYA ) 31-Jul-2018 ( invoice NO. 01-955 )', '20076', 407, 5, '2018-08-18', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17731, 14854, '2018-07-12', 'Debit', 1551.00, 0.00, 1628.55, 77.55, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Filly of ERIE ) 12-Jul-2018 ( invoice NO. 01-883 )', '20077', 407, 5, '2018-08-18', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(17732, 14855, '2018-08-18', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Saeed Al Qahtani', '20078', 160, 7, '2018-08-18', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17733, 1391, '2018-08-18', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #14855', NULL, 160, 7, '2018-08-18', 17732, 1, '2018-08-30', 0, NULL, NULL, 0),
(17734, 14856, '2018-08-18', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'c/o Shariar', '20079', 160, 7, '2018-08-18', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17735, 1392, '2018-08-18', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #14856', NULL, 160, 7, '2018-08-18', 17734, 1, '2018-08-30', 0, NULL, NULL, 0),
(17736, 14857, '2018-08-18', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Turki Al Suraisary', '20080', 160, 7, '2018-08-18', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17737, 1393, '2018-08-18', 'Credit', 115.50, 0.00, 115.50, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #14857', NULL, 160, 7, '2018-08-18', 17736, 1, '2018-08-30', 0, NULL, NULL, 0),
(17738, 14858, '2018-07-12', 'Debit', 2073.50, 0.00, 2177.18, 103.68, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Colt of SOPHIA ) 12-Jul-2018 ( invoice NO. 01-871 )', '20081', 280, 5, '2018-08-18', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(17739, 14859, '2018-07-12', 'Debit', 1116.50, 0.00, 1172.33, 55.83, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( HAMMAM AMT ) 12-Jul-2018 ( invoice NO. 01-873 )', '20082', 280, 5, '2018-08-18', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(17740, 14860, '2018-07-12', 'Debit', 2700.50, 0.00, 2835.53, 135.03, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Colt of EL EUFORIA ) 12-Jul-2018 ( invoice NO. 01-889 )', '20083', 495, 5, '2018-08-18', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(17741, 14861, '2018-08-19', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18117 System Generated Invoice', '', 375, 10, '2018-08-19', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17742, 1394, '2018-08-19', 'Credit', 15590.00, 0.00, 15590.00, 0.00, 2, 0, 'payment', 'transfer', '', '', NULL, 559, 5, '2018-08-19', NULL, 1, '2018-08-26', 0, NULL, NULL, 0),
(17743, 14862, '2018-08-19', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Transport ( Horse ) from TADAWI to KHALEDIYAH ( Saleh Ahmed )', '20085', 160, 5, '2018-08-19', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17744, 1395, '2018-08-19', 'Credit', 525.00, 0.00, 525.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #14862', NULL, 160, 5, '2018-08-19', 17743, 1, '2018-08-26', 0, NULL, NULL, 0),
(17745, 14863, '2018-08-20', 'Debit', 1600.00, 0.00, 1680.00, 80.00, 2, 0, 'invoice', NULL, NULL, '8 Pieces ( RUBBER SHEET ) Ali Mohammed', '20086', 160, 5, '2018-08-20', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17746, 1396, '2018-08-20', 'Credit', 1400.00, 0.00, 1400.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #14863', NULL, 160, 5, '2018-08-20', 17745, 1, '2018-08-30', 0, NULL, NULL, 0),
(17747, 1397, '2018-08-20', 'Credit', 280.00, 0.00, 280.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #14863', NULL, 160, 5, '2018-08-20', 17745, 1, '2018-08-26', 0, NULL, NULL, 0),
(17748, 14864, '2018-08-22', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18118 System Generated Invoice', '', 375, 10, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17749, 14865, '2017-12-24', 'Debit', 10000.00, 0.00, 10000.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Embryo Trans. ( WIJDAH JANADRIYAH )', '20088', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17750, 14866, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  ( Jan-2018 ) WIJDAH JANADRIYAH ', '305', 71, 5, '2018-08-22', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17751, 14867, '2018-07-01', 'Debit', 1266.73, 0.00, 1330.07, 63.34, 2, 0, 'invoice', NULL, NULL, 'Boarding  ( 1 - 19 ) Feb-2018  WIJDAH JANADRIYAH ', '20089', 71, 5, '2018-08-22', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17752, 14868, '2017-12-05', 'Debit', 50.00, 0.00, 50.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18119 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17753, 14869, '2017-12-11', 'Debit', 50.00, 0.00, 50.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18120 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17754, 14870, '2017-12-12', 'Debit', 110.00, 0.00, 110.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18121 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17755, 14871, '2017-12-14', 'Debit', 10.00, 0.00, 10.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18122 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17756, 14872, '2017-12-15', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18123 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17757, 14873, '2017-12-16', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18124 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17758, 14874, '2017-12-17', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18125 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 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
(17759, 14875, '2017-12-28', 'Debit', 110.00, 0.00, 110.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18127 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17760, 14876, '2017-12-31', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18129 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17761, 14877, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18130 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17762, 14878, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18131 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17763, 14879, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18132 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17764, 14880, '2018-07-01', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18133 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17765, 14881, '2018-07-01', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18134 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17766, 14882, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18135 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17767, 14883, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18136 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17768, 14884, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18137 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17769, 14885, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 19-Feb-2018 ) WIJDAH JANADRIYAH', '20107', 71, 5, '2018-08-22', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17770, 14886, '2017-11-28', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '3000-030', '306,307,308', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17771, 14887, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 ) CLEOPATRA', '20108', 71, 5, '2018-08-22', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17772, 14888, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 ) CLEOPATRA', '20109', 71, 5, '2018-08-22', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17773, 14889, '2018-07-01', 'Debit', 466.69, 0.00, 490.02, 23.33, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 7 ) Mar-2018  CLEOPATRA', '20110', 71, 5, '2018-08-22', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17774, 14890, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 7-Mar-2018 ) CLEOPATRA', '20111', 71, 5, '2018-08-22', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17775, 14891, '2017-12-28', 'Debit', 500.00, 0.00, 500.00, 0.00, 2, 0, 'invoice', NULL, NULL, '2nd Try', '20112', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17776, 14892, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '3rd Try ( 17-Jan-2018 )', '20113', 71, 5, '2018-08-22', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17777, 14893, '2017-12-05', 'Debit', 240.00, 0.00, 240.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18138 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17778, 14894, '2017-12-06', 'Debit', 240.00, 0.00, 240.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18139 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17779, 14895, '2017-12-07', 'Debit', 90.00, 0.00, 90.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18140 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17780, 14896, '2017-12-15', 'Debit', 120.00, 0.00, 120.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18141 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17781, 14897, '2017-12-22', 'Debit', 50.00, 0.00, 50.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18142 System Generated Invoice', '', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17782, 14898, '2017-12-04', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 4-Dec-2018 ) BRIMA SHAKLAN', '20122', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17783, 14899, '2017-12-05', 'Debit', 1500.00, 0.00, 1500.00, 0.00, 2, 0, 'invoice', NULL, NULL, '3000-036', '312,313', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17784, 14900, '2017-12-31', 'Debit', 1866.76, 0.00, 1866.76, 0.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 4 - 31 ) Dec-2018  BRIMA SHAKLAN', '20123', 71, 5, '2018-08-22', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17785, 14901, '2018-07-01', 'Debit', 1333.40, 0.00, 1400.07, 66.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 20 ) Jan-2018  BRIMA SHAKLAN', '20124', 71, 5, '2018-08-22', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17786, 14902, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 20-Jan-2018 ) BRIMA SHAKLAN', '20125', 71, 5, '2018-08-22', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17787, 14903, '2018-08-23', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Transport from TADAWI to RIYADH.', '20126', 160, 5, '2018-08-23', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17788, 1398, '2018-08-23', 'Credit', 525.00, 0.00, 525.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #14903', NULL, 160, 5, '2018-08-23', 17787, 1, '2018-09-12', 0, NULL, NULL, 0),
(17789, 14904, '2018-08-20', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Transport from RIYADH to TADAWI.', '20127', 160, 5, '2018-08-23', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17790, 1399, '2018-08-20', 'Credit', 525.00, 0.00, 525.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #14904', NULL, 160, 5, '2018-08-23', 17789, 1, '2018-08-30', 0, NULL, NULL, 0),
(17791, 14905, '2017-12-06', 'Debit', 50.00, 0.00, 50.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18148 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17792, 14906, '2017-12-10', 'Debit', 110.00, 0.00, 110.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18149 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17793, 14907, '2017-12-11', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18150 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17794, 14908, '2017-12-12', 'Debit', 10.00, 0.00, 10.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18151 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17795, 14909, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18152 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17796, 14910, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18153 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17797, 14911, '2018-07-01', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18154 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17798, 14912, '2018-07-01', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18155 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17799, 14913, '2018-07-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '3000-043', '323,20138', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17800, 14914, '2017-12-09', 'Debit', 50.00, 0.00, 50.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18156 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17801, 14915, '2017-12-11', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18157 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17802, 14916, '2017-12-12', 'Debit', 110.00, 0.00, 110.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18158 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17803, 14917, '2017-12-13', 'Debit', 210.00, 0.00, 210.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18159 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17804, 14918, '2017-12-14', 'Debit', 20.00, 0.00, 20.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18160 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17805, 14919, '2017-12-15', 'Debit', 230.00, 0.00, 230.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18161 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17806, 14920, '2017-12-17', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18163 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17807, 14921, '2017-12-18', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18164 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17808, 14922, '2017-12-19', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18165 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17809, 14923, '2017-12-26', 'Debit', 50.00, 0.00, 50.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18166 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17810, 14924, '2018-07-01', 'Debit', 255.00, 0.00, 267.75, 12.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18167 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17811, 14925, '2018-07-01', 'Debit', 35.00, 0.00, 36.75, 1.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18168 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17812, 14926, '2018-07-01', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18169 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17813, 14927, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18170 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17814, 14928, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18171 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17815, 14929, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18172 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17816, 14930, '2018-07-01', 'Debit', 1333.40, 0.00, 1400.07, 66.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 20 ) Jan-2018  FAAINA TA', '20161', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17817, 14931, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 20-Jan-2018 ) FAAINA TA', '20162', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17818, 1295, '2017-09-01', 'Debit', -4779866.72, 0.00, -4779866.72, 0.00, 3, 0, 'charge', NULL, NULL, 'To reverse total beginning balances encoded ', NULL, 838, 13, '2018-08-25', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(17819, 1400, '2017-09-01', 'Credit', -4779866.72, 0.00, -4779866.72, 0.00, 3, 0, 'payment', 'cash', '', 'To add back A/R balance reversed', NULL, 838, 13, '2018-08-25', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(17820, 1296, '2017-12-31', 'Debit', 37746.62, 0.00, 37746.62, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance (wise option)', NULL, 183, 13, '2018-08-25', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(17821, 1401, '2018-01-17', 'Credit', 37746.62, 0.00, 37746.62, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 183, 13, '2018-08-25', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(17822, 14932, '2018-08-01', 'Debit', 6500.00, 0.00, 6825.00, 325.00, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoices ', '20174,20175,20176,20177,20178', 139, 6, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17823, 14933, '2018-08-01', 'Debit', 950.00, 0.00, 997.50, 47.50, 2, 0, 'invoice', NULL, NULL, 'Glorius AW  Tadawi Invoice Ref. No. 01-159(Dated. 14-April-2018)', '20179', 468, 6, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17824, 14934, '2018-08-01', 'Debit', 4194.00, 0.00, 4403.70, 209.70, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital treatment Invoices ', '20180,20181,20182,20183', 153, 6, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17825, 14935, '2018-08-01', 'Debit', 1070.00, 0.00, 1123.50, 53.50, 2, 0, 'invoice', NULL, NULL, 'Sahab Al Sayed (Al Sayed Stud) Tadawi Invoice Ref. No. 01-45 (Dated. 03-April-2018)	\r\n', '20185', 138, 6, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17826, 14936, '2018-08-01', 'Debit', 760.00, 0.00, 798.00, 38.00, 2, 0, 'invoice', NULL, NULL, 'Espa Tadawi Invoice Ref. No. 01-793 (Dated. 28-June-2018)', '20186', 138, 6, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17827, 14937, '2018-08-01', 'Debit', 400.00, 0.00, 420.00, 20.00, 2, 0, 'invoice', NULL, NULL, 'Alexxanderr (Al Sayed Stud)  Tadawi Invoice Ref. No. 01-795 (Dated. 28-June-2018)', '20188', 138, 6, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17828, 14938, '2018-08-01', 'Debit', 3955.00, 0.00, 4152.75, 197.75, 2, 0, 'invoice', NULL, NULL, 'Filly of Villanova Tadawi Invoice Ref. No. 01-792 (Dated. 28-June-2018)', '20187', 138, 6, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17829, 14939, '2018-08-01', 'Debit', 1710.00, 0.00, 1795.50, 85.50, 2, 0, 'invoice', NULL, NULL, 'Colt of Justina Al Sayed (Al Sayed Stud) Tadawi Invoice Ref. No. 01-795 (Dated. 28-June-2018)', '20189', 138, 6, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17830, 14940, '2018-08-01', 'Debit', 1030.00, 0.00, 1081.50, 51.50, 2, 0, 'invoice', NULL, NULL, 'Bint Shamal (Al Sayed Stud) Tadawi Invoice Ref. No. 01-155 (Dated. 10-Apirl-2018)', '20190', 138, 6, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17831, 14941, '2018-08-01', 'Debit', 2150.00, 0.00, 2257.50, 107.50, 2, 0, 'invoice', NULL, NULL, 'Maya Al Sayed (Al Sayed Stud) Tadawi Invoice Ref. No. 01-179 (Dated. 19-Apirl-2018)', '20191', 138, 6, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17832, 14942, '2018-08-01', 'Debit', 550.00, 0.00, 577.50, 27.50, 2, 0, 'invoice', NULL, NULL, 'Prestic (Al Sayed Stud) Tadawi Invoice Ref. No. 01-199 (Dated. 22-Apirl-2018)', '20192', 138, 6, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17833, 14943, '2018-08-01', 'Debit', 3625.00, 0.00, 3806.25, 181.25, 2, 0, 'invoice', NULL, NULL, 'Shanina (Al Sayed Stud) Tadawi Invoice Ref. No. 01-156 (Dated. 10-Apirl-2018)', '20193', 138, 6, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17834, 14944, '2018-08-01', 'Debit', 700.00, 0.00, 735.00, 35.00, 2, 0, 'invoice', NULL, NULL, 'Colt of  Prespa (Al Sayed Stud) Tadawi Invoice Ref. No. 01-194 (Dated. 22-Apirl-2018)', '20194', 138, 6, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17835, 14945, '2018-08-01', 'Debit', 395.00, 0.00, 414.75, 19.75, 2, 0, 'invoice', NULL, NULL, 'Durra Al Sayed (Al Sayed Stud) Tadawi Invoice Ref. No. 50 (Dated. 1-Mar-2018)', '20195', 138, 6, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17836, 14946, '2018-08-01', 'Debit', 320.00, 0.00, 336.00, 16.00, 2, 0, 'invoice', NULL, NULL, 'Miss Bella Rose (Al Sayed Stud) Tadawi Invoice Ref. No. 52(Dated. 1-Mar-2018)', '20196', 138, 6, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17837, 14947, '2018-08-01', 'Debit', 320.00, 0.00, 336.00, 16.00, 2, 0, 'invoice', NULL, NULL, 'Foal of Mera Al Sayed (Al Sayed Stud) Tadawi Invoice Ref. No. 51(Dated. 1-Mar-2018)', '20197', 138, 6, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17838, 14948, '2018-08-01', 'Debit', 1600.00, 0.00, 1680.00, 80.00, 2, 0, 'invoice', NULL, NULL, 'Tala Al Sayed (Al Sayed Stud) Tadawi Invoice Ref. No. 1-737(Dated. 10-June-2018)', '20198', 138, 6, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17839, 14949, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 2-Jun-2018 ) ZUBARA AL SHAQAB', '20200', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17840, 14950, '2018-07-01', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '3000-292', '20199', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17841, 14951, '2018-07-01', 'Debit', 1933.43, 0.00, 2030.10, 96.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 2 - 30 ) Jun-2018  ZUBARA AL SHAQAB', '20201', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17842, 14952, '2018-07-18', 'Debit', 1200.06, 0.00, 1260.06, 60.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 18 ) Jul-2018  ZUBARA AL SHAQAB', '20202', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17843, 14953, '2018-07-18', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 18-Jul-2018 ) ZUBARA AL SHAQAB', '20203', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17844, 14954, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 30-May-2018 ) MASHAEL AL KHALEDIAH', '20204', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17845, 14955, '2018-07-01', 'Debit', 133.34, 0.00, 140.01, 6.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 30 - 31 ) May-2018  MASHAEL AL KHALEDIAH', '20205', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17846, 14956, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) MASHAEL AL KHALEDIAH', '20206', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17847, 14957, '2018-07-18', 'Debit', 1200.06, 0.00, 1260.06, 60.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 18 ) Jul-2018  MASHAEL AL KHALEDIAH', '20207', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17848, 14958, '2018-07-18', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 18-Jul-2018 ) MASHAEL AL KHALEDIAH', '20208', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17849, 14959, '2017-11-11', 'Debit', 1500.00, 0.00, 1500.00, 0.00, 2, 0, 'invoice', NULL, NULL, '3000-021', '20209,20210', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17850, 14960, '2017-11-13', 'Debit', 50.00, 0.00, 50.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18173 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17851, 14961, '2017-11-20', 'Debit', 50.00, 0.00, 50.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18174 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17852, 14962, '2017-11-21', 'Debit', 240.00, 0.00, 240.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18175 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17853, 14963, '2017-11-22', 'Debit', 240.00, 0.00, 240.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18176 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17854, 14964, '2017-11-23', 'Debit', 240.00, 0.00, 240.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18177 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17855, 14965, '2017-11-24', 'Debit', 240.00, 0.00, 240.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18178 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17856, 14966, '2017-11-25', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18179 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17857, 14967, '2017-11-28', 'Debit', 350.00, 0.00, 350.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18180 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17858, 14968, '2017-12-04', 'Debit', 50.00, 0.00, 50.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18181 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17859, 14969, '2017-12-11', 'Debit', 50.00, 0.00, 50.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18182 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17860, 14970, '2017-12-12', 'Debit', 110.00, 0.00, 110.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18183 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17861, 14971, '2017-12-13', 'Debit', 220.00, 0.00, 220.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18184 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17862, 14972, '2017-12-15', 'Debit', 230.00, 0.00, 230.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18185 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17863, 14973, '2017-12-25', 'Debit', 50.00, 0.00, 50.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18186 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17864, 14974, '2017-12-30', 'Debit', 110.00, 0.00, 110.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18187 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17865, 14975, '2017-12-31', 'Debit', 265.00, 0.00, 265.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18188 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17866, 14976, '2017-12-30', 'Debit', 145.00, 0.00, 145.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18189 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17867, 14977, '2018-07-01', 'Debit', 430.00, 0.00, 451.50, 21.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18190 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17868, 14978, '2018-07-01', 'Debit', 420.00, 0.00, 441.00, 21.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18191 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17869, 14979, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18192 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17870, 14980, '2018-07-01', 'Debit', 140.00, 0.00, 147.00, 7.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18193 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17871, 14981, '2018-07-01', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18194 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17872, 14982, '2018-07-01', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18195 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17873, 14983, '2018-07-01', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18196 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17874, 14984, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18197 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17875, 14985, '2018-07-01', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18198 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17876, 14986, '2018-07-01', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18199 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17877, 14987, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18200 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17878, 14988, '2018-07-01', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18201 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17879, 14989, '2018-07-01', 'Debit', 350.00, 0.00, 367.50, 17.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18202 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17880, 14990, '2018-07-01', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18203 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17881, 14991, '2018-07-01', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18204 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17882, 14992, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18205 System Generated Invoice', '', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17883, 14993, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 ) NABILA', '20270', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17884, 14994, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 ) NABILA', '20271', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17885, 14995, '2018-07-01', 'Debit', 333.35, 0.00, 350.02, 16.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 5 ) Mar-2018  NABILA', '20272', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17886, 14996, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 5-Mar-2018 )  NABILA', '20273', 71, 5, '2018-08-25', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17887, 14997, '2017-12-05', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 5-Dec-2018 ) METHAWI', '20274', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17888, 14998, '2017-12-18', 'Debit', 933.38, 0.00, 933.38, 0.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 5 - 18 ) Dec-2017  METHAWI', '20275', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17889, 14999, '2017-12-06', 'Debit', 1500.00, 0.00, 1500.00, 0.00, 2, 0, 'invoice', NULL, NULL, '3000-041', '321,322', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17890, 15000, '2017-12-18', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 18-Dec-2017 )  METHAWI', '20276', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17891, 15001, '2018-07-01', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '4000-421', '20277', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17892, 15002, '2017-12-09', 'Debit', 1000.00, 0.00, 1000.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'A.B.G 014', '20278', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17893, 15003, '2017-12-10', 'Debit', 50.00, 0.00, 50.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18206 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17894, 15004, '2017-12-20', 'Debit', 110.00, 0.00, 110.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18207 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17895, 15005, '2017-12-26', 'Debit', 50.00, 0.00, 50.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18208 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17896, 15006, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18209 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17897, 15007, '2017-12-09', 'Debit', 1000.00, 0.00, 1000.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'A.B.G 015', '20283', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17898, 15008, '2017-12-10', 'Debit', 50.00, 0.00, 50.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18210 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17899, 15009, '2018-07-01', 'Debit', 135.00, 0.00, 141.75, 6.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18211 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17900, 15010, '2018-07-01', 'Debit', 145.00, 0.00, 152.25, 7.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18212 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17901, 15011, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18213 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17902, 15012, '2017-12-09', 'Debit', 1000.00, 0.00, 1000.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'A.B.G 016', '20290', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17903, 15013, '2017-12-10', 'Debit', 110.00, 0.00, 110.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18214 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17904, 15014, '2017-12-12', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18215 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17905, 15015, '2017-12-13', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18216 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17906, 15016, '2017-12-14', 'Debit', 1000.00, 0.00, 1000.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'A.B.G 017', '20296', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17907, 15017, '2017-12-16', 'Debit', 110.00, 0.00, 110.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18217 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17908, 15018, '2017-12-18', 'Debit', 110.00, 0.00, 110.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18218 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17909, 15019, '2017-12-20', 'Debit', 110.00, 0.00, 110.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18219 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17910, 15020, '2017-12-22', 'Debit', 110.00, 0.00, 110.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18220 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17911, 15021, '2017-12-24', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18221 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17912, 15022, '2017-12-25', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18222 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17913, 15023, '2017-12-26', 'Debit', 50.00, 0.00, 50.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18223 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17914, 15024, '2017-12-09', 'Debit', 1000.00, 0.00, 1000.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'A.B.G 018', '20304', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17915, 15025, '2017-12-10', 'Debit', 110.00, 0.00, 110.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18224 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17916, 15026, '2017-12-12', 'Debit', 10.00, 0.00, 10.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18225 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17917, 15027, '2017-12-13', 'Debit', 30.00, 0.00, 30.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18226 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17918, 15028, '2017-12-14', 'Debit', 30.00, 0.00, 30.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18227 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17919, 15029, '2018-07-01', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'A.B.G 019', '20309', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17920, 15030, '2018-07-01', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18228 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17921, 15031, '2018-07-01', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18229 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17922, 15032, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18230 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17923, 15033, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18231 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17924, 15034, '2017-12-09', 'Debit', 1000.00, 0.00, 1000.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'A.B.G 020', '20316', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17925, 15035, '2017-12-18', 'Debit', 1000.00, 0.00, 1000.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'A.B.G 021', '20317', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17926, 15036, '2017-12-18', 'Debit', 110.00, 0.00, 110.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18232 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17927, 15037, '2017-12-21', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18233 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17928, 15038, '2017-12-22', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18234 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17929, 15039, '2017-12-23', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18235 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17930, 15040, '2017-12-06', 'Debit', 1500.00, 0.00, 1500.00, 0.00, 2, 0, 'invoice', NULL, NULL, '3000-040', '318,319,320', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17931, 15041, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 ) BINT AL JANOOP', '20322', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17932, 15042, '2017-12-06', 'Debit', 350.00, 0.00, 350.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18236 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17933, 15043, '2017-12-07', 'Debit', 220.00, 0.00, 220.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18237 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17934, 15044, '2017-12-08', 'Debit', 240.00, 0.00, 240.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18238 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17935, 15045, '2017-12-09', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18239 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17936, 15046, '2017-12-10', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18240 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17937, 15047, '2017-12-29', 'Debit', 110.00, 0.00, 110.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18241 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17938, 15048, '2017-12-30', 'Debit', 30.00, 0.00, 30.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18242 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17939, 15049, '2017-12-31', 'Debit', 30.00, 0.00, 30.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18243 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17940, 15050, '2017-12-07', 'Debit', 110.00, 0.00, 110.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18244 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17941, 15051, '2017-12-08', 'Debit', 50.00, 0.00, 50.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18245 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17942, 15052, '2017-12-09', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18246 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17943, 15053, '2017-12-10', 'Debit', 50.00, 0.00, 50.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18247 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17944, 15054, '2017-12-11', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18248 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17945, 15055, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18249 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17946, 15056, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18250 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17947, 15057, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18251 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17948, 15058, '2017-12-05', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 5-Dec-2018 ) BEY ILLUMINASHAHN', '20347', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17949, 15059, '2017-12-05', 'Debit', 1500.00, 0.00, 1500.00, 0.00, 2, 0, 'invoice', NULL, NULL, '3000-039', '20344,20345,20346', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17950, 15060, '2017-12-31', 'Debit', 1800.09, 0.00, 1800.09, 0.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 5 - 31 ) Dec-2017  BEY ILLUMINASHAHN', '20348', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17951, 15061, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 )  BEY ILLUMINASHAHN', '20349', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17952, 15062, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 )  BEY ILLUMINASHAHN', '20350', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17953, 15063, '2018-07-01', 'Debit', 666.70, 0.00, 700.04, 33.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 10 ) Mar-2018   BEY ILLUMINASHAHN', '20351', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17954, 15064, '2017-12-06', 'Debit', 110.00, 0.00, 110.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18252 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17955, 15065, '2017-12-07', 'Debit', 220.00, 0.00, 220.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18253 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17956, 15066, '2017-12-08', 'Debit', 250.00, 0.00, 250.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18254 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17957, 15067, '2017-12-09', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18255 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17958, 15068, '2017-12-10', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18256 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17959, 15069, '2017-12-31', 'Debit', 120.00, 0.00, 120.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18258 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17960, 15070, '2017-12-25', 'Debit', 120.00, 0.00, 120.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18259 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17961, 15071, '2018-07-01', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18260 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17962, 15072, '2018-07-01', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18261 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17963, 15073, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18262 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17964, 15074, '2017-12-16', 'Debit', 230.00, 0.00, 230.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18263 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17965, 15075, '2017-12-17', 'Debit', 10.00, 0.00, 10.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18264 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17966, 15076, '2017-12-18', 'Debit', 40.00, 0.00, 40.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18265 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17967, 15077, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18267 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17968, 15078, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18268 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17969, 15079, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18269 System Generated Invoice', '', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17970, 15080, '2017-11-08', 'Debit', 1500.00, 0.00, 1500.00, 0.00, 2, 0, 'invoice', NULL, NULL, '3000-018', '20365,20366', 71, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(17971, 15081, '2018-07-01', 'Debit', 1066.72, 0.00, 1120.06, 53.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 16 ) Jan-2018', '20374', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17972, 15082, '2018-07-01', 'Debit', 1650.00, 0.00, 1732.50, 82.50, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( GAZALA ) 21-Jun-2018 ( invoice NO. 01-667 )', '20375', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17973, 15083, '2018-07-01', 'Debit', 3839.00, 0.00, 4030.95, 191.95, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( SOMOW ) 21-Jun-2018 ( invoice NO. 01-662 )', '20376', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17974, 15084, '2018-07-01', 'Debit', 1688.50, 0.00, 1772.93, 84.43, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( NO NAME ) 31-May-2018 ( invoice NO. 01-602 )', '20377', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17975, 15085, '2018-07-01', 'Debit', 2464.00, 0.00, 2587.20, 123.20, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( MARE CUT ) 31-May-2018 ( invoice NO. 01-603 )', '20378', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17976, 15086, '2018-07-01', 'Debit', 1083.50, 0.00, 1137.68, 54.18, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( MP MAGISTRATE ) 31-May-2018 ( invoice NO. 01-601 )', '20379', 164, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17977, 15087, '2018-07-01', 'Debit', 4125.00, 0.00, 4331.25, 206.25, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( RASHIM & MAXIMUS & QWEENE ) 3-May-2018 ( invoice NO. 01-514 )', '20380', 470, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17978, 15088, '2018-07-01', 'Debit', 2585.00, 0.00, 2714.25, 129.25, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( RIMAHA ) 21-Jun-2018 ( invoice NO. 01-675 )', '20381', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17979, 15089, '2018-07-01', 'Debit', 1870.00, 0.00, 1963.50, 93.50, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( CHEF SWEET STALLION ) 10-Jun-2018 ( invoice NO. 01-724 )', '20382', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17980, 15090, '2018-07-01', 'Debit', 1045.00, 0.00, 1097.25, 52.25, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( ZAMILAH ) 10-Jun-2018 ( invoice NO. 01-727 )', '20383', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17981, 15091, '2018-07-01', 'Debit', 1133.00, 0.00, 1189.65, 56.65, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Colt Of ZARA ) 10-Jun-2018 ( invoice NO. 01-635 )', '20384', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17982, 15092, '2018-07-01', 'Debit', 3052.50, 0.00, 3205.13, 152.63, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( KHINANA AL WASEEL ) 17-May-2018 ( invoice NO. 01-556 )', '20385', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17983, 15093, '2018-07-01', 'Debit', 2161.50, 0.00, 2269.58, 108.08, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( TROTAH ) 28-Jun-2018 ( invoice NO. 01-777 )', '20386', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17984, 15094, '2018-07-01', 'Debit', 1507.00, 0.00, 1582.35, 75.35, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( IKSTIRNA ) 28-Jun-2018 ( invoice NO. 01-778 )', '20387', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17985, 15095, '2018-07-01', 'Debit', 1320.00, 0.00, 1386.00, 66.00, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( SHAHAD AL BAROUD ) 28-Apr-2018 ( invoice NO. 01-390 )', '20388', 348, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17986, 15096, '2018-07-01', 'Debit', 797.50, 0.00, 837.38, 39.88, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Out Of GIGI ) 1-Apr-2018 ( invoice NO. 01-44 )', '20389', 375, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17987, 15097, '2018-07-01', 'Debit', 1789.70, 0.00, 1879.19, 89.49, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( GIGI ) 17-Mar-2018 ( invoice NO. 01-3 )', '20390', 375, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17988, 15098, '2018-07-01', 'Debit', 1428.90, 0.00, 1500.35, 71.45, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Out Of SALWA ) 1-Apr-2018 ( invoice NO. 01-43 )', '20391', 180, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17989, 15099, '2018-07-01', 'Debit', 1672.00, 0.00, 1755.60, 83.60, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( HAYFAA AL AZIZIYAH ) 25-Mar-2018 ( invoice NO. 01-40 )', '20392', 472, 5, '2018-08-26', NULL, 1, '2018-09-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
(17990, 15100, '2018-07-01', 'Debit', 990.00, 0.00, 1039.50, 49.50, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( HALA AL SHAHLA ) 23-Mar-2018 ( invoice NO. 01-19 )', '20393', 170, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17991, 15101, '2018-07-01', 'Debit', 701.80, 0.00, 736.89, 35.09, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( GRASANTKA ) 22-Mar-2018 ( invoice NO. 01-17 )', '20394', 471, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17992, 15102, '2018-07-01', 'Debit', 1135.20, 0.00, 1191.96, 56.76, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( NAJMAH AL BARKAH ) 22-Mar-2018 ( invoice NO. 01-13 )', '20395', 380, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17993, 15103, '2018-07-01', 'Debit', 1100.00, 0.00, 1155.00, 55.00, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( FAHAD AL TINHAT ) 22-Mar-2018 ( invoice NO. 01-12 )', '20396', 95, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17994, 15104, '2018-07-01', 'Debit', 896.50, 0.00, 941.33, 44.83, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( WAHEEBA ) 21-Mar-2018 ( invoice NO. 01-5 )', '20397', 471, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17995, 15105, '2018-07-01', 'Debit', 715.00, 0.00, 750.75, 35.75, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Colt Of POETA ) 10-Apr-2018 ( invoice NO. 01-152 )', '20398', 471, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17996, 15106, '2018-07-01', 'Debit', 1996.50, 0.00, 2096.33, 99.83, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( LAMINIAH ) 28-Jun-2018 ( invoice NO. 01-776 )', '20399', 176, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17997, 15107, '2018-07-01', 'Debit', 616.00, 0.00, 646.80, 30.80, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Colt Of ALUNA ) 28-Jun-2018 ( invoice NO. 01-772 )', '20400', 581, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17998, 15108, '2018-07-01', 'Debit', 1947.00, 0.00, 2044.35, 97.35, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( SEZY BAZY FILLY ) 28-Jun-2018 ( invoice NO. 01-773 )', '20401', 104, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(17999, 15109, '2018-07-01', 'Debit', 3135.00, 0.00, 3291.75, 156.75, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( COLIC CASE ) 28-Jun-2018 ( invoice NO. 01-774 )', '20402', 104, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18000, 15110, '2018-07-01', 'Debit', 874.50, 0.00, 918.23, 43.73, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Colt OF ZMOWITA ) 28-Jun-2018 ( invoice NO. 01-791 )', '20403', 535, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18001, 15111, '2018-07-01', 'Debit', 1441.00, 0.00, 1513.05, 72.05, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Filly Of YARA AL KHALED ) 28-Jun-2018 ( invoice NO. 01-789 )', '20404', 502, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18002, 15112, '2018-07-01', 'Debit', 792.00, 0.00, 831.60, 39.60, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( DANILLA ) 28-Jun-2018 ( invoice NO. 01-788 )', '20405', 164, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18003, 15113, '2018-07-01', 'Debit', 715.00, 0.00, 750.75, 35.75, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( GISELE ) 28-Jun-2018 ( invoice NO. 01-787 )', '20406', 154, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18004, 15114, '2018-07-01', 'Debit', 715.00, 0.00, 750.75, 35.75, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( KHALEDIAT AL JANADRIYAH ) 28-Jun-2018 ( invoice NO. 01-786 )', '20407', 563, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18005, 15115, '2018-07-01', 'Debit', 1265.00, 0.00, 1328.25, 63.25, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( NADA GULFA ) 28-Jun-2018 ( invoice NO. 01-785 )', '20408', 514, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18006, 15116, '2018-07-01', 'Debit', 1210.00, 0.00, 1270.50, 60.50, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( FARAAH AL KHALED ) 28-Jun-2018 ( invoice NO. 01-784 )', '20409', 375, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18007, 15117, '2018-07-01', 'Debit', 715.00, 0.00, 750.75, 35.75, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Colt Of SARAAP AL MUAWD ) 28-Jun-2018 ( invoice NO. 01-782 )', '20410', 537, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18008, 15118, '2018-07-01', 'Debit', 660.00, 0.00, 693.00, 33.00, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( OSTIJA M ) 28-Jun-2018 ( invoice NO. 01-780 )', '20411', 535, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18009, 15119, '2018-07-01', 'Debit', 643.50, 0.00, 675.68, 32.18, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Colt Of  SF GHAZALAH  ) 28-Jun-2018 ( invoice NO. 01-779 )', '20412', 550, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18010, 15120, '2018-07-01', 'Debit', 825.00, 0.00, 866.25, 41.25, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Colt Of XAREENA EL MAKTUB ) 10-Jun-2018 ( invoice NO. 01-576 )', '20413', 176, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18011, 15121, '2018-07-01', 'Debit', 3740.00, 0.00, 3927.00, 187.00, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( NO NAME  ) 31-May-2018 ( invoice NO. 01-604 )', '20414', 327, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18012, 15122, '2018-07-01', 'Debit', 990.00, 0.00, 1039.50, 49.50, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( RAWAH III  ) 24-Apr-2018 ( invoice NO. 01-211 )', '20415', 341, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18013, 15123, '2018-07-01', 'Debit', 1441.00, 0.00, 1513.05, 72.05, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( SUMOOS AL AALYA  ) 1-May-2018 ( invoice NO. 01-505 )', '20416', 274, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18014, 15124, '2018-08-01', 'Debit', 20346.00, 0.00, 21363.30, 1017.30, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital treatment Invoices Period 1-Jan-2018 to 30-June-2018', '20163,20164,20165,20166,20167,20168,20169,20170,20171,20172,20173,20417', 150, 6, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18015, 15125, '2018-08-26', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Transport ( Horse ) from TADAWI to KHALEDIYAH. ( Care of Khalefa )', '20418', 160, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18016, 1402, '2018-08-26', 'Credit', 525.00, 0.00, 525.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Reference Invoice #15125', NULL, 160, 5, '2018-08-26', 18015, 1, '2018-08-30', 0, NULL, NULL, 0),
(18017, 1297, '2018-08-26', 'Debit', -50000.00, 0.00, -50000.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Purchased 5 Recipients from Al Rajhia Stud (Each SAR. 10,000/) As per Mr. Nasir instructions', NULL, 347, 11, '2018-08-26', NULL, 1, '2018-08-26', 0, NULL, NULL, 0),
(18018, 15126, '2018-07-31', 'Debit', 3212.00, 0.00, 3372.60, 160.60, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( LISHKA ) 31-Jul-2018 ( invoice NO. 01-974 )', '20419', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18019, 15127, '2018-07-31', 'Debit', 440.00, 0.00, 462.00, 22.00, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Rec. HAQBANI ) 31-Jul-2018 ( invoice NO. 01-968 )', '20420', 328, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18020, 15128, '2018-07-31', 'Debit', 2838.00, 0.00, 2979.90, 141.90, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( SULTANA ) 31-Jul-2018 ( invoice NO. 01-967 )', '20421', 347, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18021, 15129, '2018-07-31', 'Debit', 495.00, 0.00, 519.75, 24.75, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( MARIANA ) 31-Jul-2018 ( invoice NO. 01-966 )', '20422', 360, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18022, 15130, '2018-07-31', 'Debit', 1760.00, 0.00, 1848.00, 88.00, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( D JALAL ) 31-Jul-2018 ( invoice NO. 01-965 )', '20423', 470, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18023, 15131, '2018-07-31', 'Debit', 825.00, 0.00, 866.25, 41.25, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( SULKAN ) 31-Jul-2018 ( invoice NO. 01-962 )', '20424', 258, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18024, 15132, '2018-07-31', 'Debit', 330.00, 0.00, 346.50, 16.50, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Filly Of JOUDY ) 31-Jul-2018 ( invoice NO. 01-953 )', '20425', 258, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18025, 15133, '2018-07-31', 'Debit', 2046.00, 0.00, 2148.30, 102.30, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( MANSUR AL WASEEL ) 31-Jul-2018 ( invoice NO. 01-952 )', '20426', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18026, 15134, '2018-07-31', 'Debit', 2057.00, 0.00, 2159.85, 102.85, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Rec. 251 ) 31-Jul-2018 ( invoice NO. 01-950 )', '20427', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18027, 15135, '2018-08-05', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 5-Aug-2018 ) MAYYASAH AL BAKHEET with Filly', '20428', 520, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18028, 15136, '2018-08-31', 'Debit', 2070.09, 0.00, 2173.59, 103.50, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 5 - 31 ) Aug-2018  MAYYASAH AL BAKHEET with Filly', '20429', 520, 5, '2018-08-26', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18029, 15137, '2018-09-15', 'Debit', 1150.05, 0.00, 1207.55, 57.50, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 15 ) Sep-2018  MAYYASAH AL BAKHEET with Filly', '20430', 520, 5, '2018-08-26', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18030, 1403, '2018-08-26', 'Credit', 30000.00, 0.00, 30000.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 582, 5, '2018-08-26', NULL, 1, '2018-09-01', 0, NULL, NULL, 0),
(18031, 1404, '2018-08-26', 'Credit', 15850.35, 0.00, 15850.35, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 582, 5, '2018-08-26', NULL, 1, '2018-09-01', 0, NULL, NULL, 0),
(18032, 15138, '2018-07-12', 'Debit', 1017.50, 0.00, 1068.38, 50.88, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( ZAFEER AL SHGAIR ) 12-Jul-2018 ( invoice NO. 01-881 )', '20431', 489, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18033, 15139, '2018-07-12', 'Debit', 3300.00, 0.00, 3465.00, 165.00, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Rec. 251 ) 12-Jul-2018 ( invoice NO. 01-880 )', '20432', 71, 5, '2018-08-26', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18034, 15140, '2018-07-12', 'Debit', 5296.50, 0.00, 5561.33, 264.83, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Out Of SIZA ) 12-Jul-2018 ( invoice NO. 01-879 )', '20433', 71, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18035, 15141, '2018-07-31', 'Debit', 1072.50, 0.00, 1126.13, 53.63, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Out Of ZAMIYA ) 31-Jul-2018 ( invoice NO. 01-975 )', '20434', 71, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18036, 15142, '2018-07-05', 'Debit', 1721.50, 0.00, 1807.58, 86.08, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Out Of SULTANA ) 5-Jul-2018 ( invoice NO. 01-840 )', '20435', 375, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18037, 15143, '2018-07-12', 'Debit', 1243.00, 0.00, 1305.15, 62.15, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( ZINAH ) 12-Jul-2018 ( invoice NO. 01-886 )', '20436', 78, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18038, 15144, '2018-07-12', 'Debit', 2255.00, 0.00, 2367.75, 112.75, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Out Of NILE ECO ) 12-Jul-2018 ( invoice NO. 01-885 )', '20437', 78, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18039, 15145, '2018-07-12', 'Debit', 1705.00, 0.00, 1790.25, 85.25, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( MURJANA AL NAWASI ) 12-Jul-2018 ( invoice NO. 01-887 )', '20438', 495, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18040, 15146, '2018-07-05', 'Debit', 885.50, 0.00, 929.78, 44.28, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( HATTAN ) 5-Jul-2018 ( invoice NO. 01-835 )', '20439', 176, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18041, 15147, '2018-07-31', 'Debit', 5835.50, 0.00, 6127.28, 291.78, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( ENNORRAH ) 31-Jul-2018 ( invoice NO. 01-964 )', '20440', 542, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18042, 15148, '2018-07-31', 'Debit', 1320.00, 0.00, 1386.00, 66.00, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( SHAMEKH AM ) 31-Jul-2018 ( invoice NO. 01-959 )', '20441', 354, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18043, 15149, '2018-07-05', 'Debit', 770.00, 0.00, 808.50, 38.50, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( AL DAJRAN ) 5-Jul-2018 ( invoice NO. 01-838 )', '20442', 367, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18044, 15150, '2018-07-05', 'Debit', 1584.00, 0.00, 1663.20, 79.20, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( TALEED AL DANAT ) 5-Jul-2018 ( invoice NO. 01-839 )', '20443', 489, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18045, 15151, '2018-07-01', 'Debit', 1980.00, 0.00, 2079.00, 99.00, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Colt Of LA PERLA ) 9-Apr-2018 ( invoice NO. 01-131 )', '20444', 235, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18046, 15152, '2018-07-12', 'Debit', 1650.00, 0.00, 1732.50, 82.50, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( GHAZALA ) 12-Jul-2018 ( invoice NO. 01-888 )', '20445', 495, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18047, 15153, '2018-08-27', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Transport ( HORSE ) from TADAWI to Stable in JANADRIYAH ( Abdullah Al Shamari )', '20446', 160, 5, '2018-08-27', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18048, 1405, '2018-08-27', 'Credit', 52.50, 0.00, 52.50, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15153', NULL, 160, 5, '2018-08-27', 18047, 1, '2018-09-12', 0, NULL, NULL, 0),
(18049, 15154, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( GAZALA ) 21-Jun-2018 ( invoice NO. 01-667 )', '20447', 71, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18050, 15155, '2018-08-01', 'Debit', 3305.00, 0.00, 3470.25, 165.25, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoices ', '20450,20451', 139, 6, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18051, 15156, '2018-08-01', 'Debit', 5538.00, 0.00, 5814.90, 276.90, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoices ', '20448,20449', 150, 6, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18052, 15157, '2018-07-26', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ( Colt of ENNORRAH )', '20452', 542, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18053, 15158, '2018-07-26', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ', '20453', 400, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18054, 15159, '2018-07-26', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ', '20454', 183, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18055, 15160, '2018-08-01', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Shoeing', '20455', 489, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18056, 15161, '2018-08-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ( Colt Of MOKA )', '20456', 560, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18057, 15162, '2018-08-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ', '20457', 560, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18058, 15163, '2018-08-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ', '20458', 559, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18059, 15164, '2018-08-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ', '20459', 259, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18060, 15165, '2018-08-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ', '20460', 183, 5, '2018-08-27', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18061, 15166, '2018-08-06', 'Debit', 300.00, 0.00, 315.00, 15.00, 1, 0, 'invoice', NULL, NULL, 'Shoeing', '20461', 354, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18062, 15167, '2018-08-06', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Shoeing', '20462', 534, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18063, 15168, '2018-08-07', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Shoeing', '20463', 164, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18064, 15169, '2018-08-07', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim', '20464', 249, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18065, 15170, '2018-08-07', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ( Colt Of ZK CLARRISSA R )', '20465', 249, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18066, 15171, '2018-08-07', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim', '20466', 490, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18067, 15172, '2018-08-07', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ( Colt Of DHI QAR AL MUAWD )', '20467', 490, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18068, 15173, '2018-08-07', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim', '20468', 407, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18069, 15174, '2018-08-07', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ( Colt Of SOLAF AL ENAYA )', '20469', 407, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18070, 15175, '2018-08-07', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ', '20470', 183, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18071, 15176, '2018-08-07', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ', '20471', 375, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18072, 15177, '2018-08-08', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ', '20472', 479, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18073, 15178, '2018-08-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ', '20473', 164, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18074, 15179, '2018-08-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ', '20474', 164, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18075, 15180, '2018-08-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ', '20475', 81, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18076, 15181, '2018-08-14', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ', '20476', 479, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18077, 15182, '2018-08-14', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ', '20477', 348, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18078, 15183, '2018-08-14', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ', '20478', 369, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18079, 15184, '2018-07-01', 'Debit', 10142.00, 0.00, 10649.10, 507.10, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( MUSIQUE EL PERSEUS ) 31-Jan-2018 ( invoice NO. 13 )', '20479', 71, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18080, 15185, '2018-07-01', 'Debit', 1870.00, 0.00, 1963.50, 93.50, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( SAMAR ) 30-Jan-2018 ( invoice NO. 10 )', '20480', 147, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18081, 15186, '2018-07-01', 'Debit', 440.00, 0.00, 462.00, 22.00, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( FOAL WITH ENTROPION ) 28-Jan-2018 ( invoice NO. 6 )', '20481', 203, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18082, 1298, '2017-12-06', 'Debit', 8315.00, 0.00, 8315.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance (wise option)', NULL, 489, 13, '2018-08-28', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18083, 1406, '2017-12-31', 'Credit', 8315.00, 0.00, 8315.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 489, 13, '2018-08-28', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18084, 1407, '2017-12-10', 'Credit', 5000.00, 0.00, 5000.00, 0.00, 3, 0, 'payment', 'span', '', 'Payment received (wise option)', NULL, 248, 13, '2018-08-28', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18085, 1299, '2017-12-31', 'Debit', 13236.00, 0.00, 13236.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 248, 13, '2018-08-28', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18086, 1408, '2017-01-07', 'Credit', 7067.00, 0.00, 7067.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 248, 13, '2018-08-28', NULL, 0, '0000-00-00', 1, 13, '2018-08-28', 0),
(18087, 15187, '2018-07-01', 'Debit', 770.00, 0.00, 808.50, 38.50, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Filly Of GISELE ) 23-Jan-2018 ( invoice NO. 01- 2 )', '20482', 154, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18088, 1300, '2017-12-31', 'Debit', 14202.00, 0.00, 14202.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 418, 13, '2018-08-28', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18089, 1409, '2017-10-29', 'Credit', 5000.00, 0.00, 5000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 418, 13, '2018-08-28', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18090, 1410, '2018-01-08', 'Credit', 9202.00, 0.00, 9202.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 418, 13, '2018-08-28', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18091, 1411, '2018-01-07', 'Credit', 7067.00, 0.00, 7067.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 248, 13, '2018-08-28', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18092, 1301, '2017-11-27', 'Debit', 17642.92, 0.00, 17642.92, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 854, 13, '2018-08-28', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18093, 1412, '2018-01-08', 'Credit', 15612.92, 0.00, 15612.92, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 854, 13, '2018-08-28', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18094, 15188, '2018-08-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Transport from TADAWI to Client Stable in JANADRIYAH', '20483', 495, 5, '2018-08-28', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18095, 15189, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) MARVANNA', '20484', 164, 5, '2018-08-28', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18096, 15190, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) ABHA SHAHINAZ', '20485', 164, 5, '2018-08-28', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18097, 15191, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) HS ESTWFANIA', '20486', 164, 5, '2018-08-28', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18098, 15192, '2018-07-01', 'Debit', 1666.75, 0.00, 1750.09, 83.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 7 - 31 ) Jan-2018  Rec. 79', '20487', 71, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18099, 15193, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 )  Rec. 79', '20488', 71, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18100, 15194, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 )  Rec. 79', '20489', 71, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18101, 15195, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 )  Rec. 79', '20490', 71, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18102, 15196, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 )  Rec. 79', '20491', 71, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18103, 15197, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 )  Rec. 79', '20492', 71, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18104, 15198, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 )  Rec. 79', '20493', 71, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18105, 15199, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 )  Rec. 79', '20494', 71, 5, '2018-08-28', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18106, 15200, '2018-07-01', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 24 - 30 ) Apr-2018  Rec. Haqbani', '20495', 328, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18107, 15201, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) Rec. Haqbani', '20496', 328, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18108, 15202, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) Rec. Haqbani', '20497', 328, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18109, 15203, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) Rec. Haqbani', '20498', 328, 5, '2018-08-28', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18110, 15204, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) Rec. Haqbani', '20499', 328, 5, '2018-08-28', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18111, 15205, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) MVA IMPERIAL MIST', '20500', 183, 5, '2018-08-28', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18112, 15206, '2018-08-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) ALEGRA with Colt', '20501', 183, 5, '2018-08-28', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18113, 15207, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) SARA BHM', '20502', 183, 5, '2018-08-28', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18114, 15208, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) REEF BHM', '20503', 183, 5, '2018-08-28', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18115, 15209, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 4-Feb-2018 ) ISABELLA', '20504', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18116, 15210, '2018-07-01', 'Debit', 1666.75, 0.00, 1750.09, 83.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 4 - 28 ) Feb-2018  ISABELLA', '20505', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18117, 15211, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 )  ISABELLA', '20506', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18118, 15212, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 )  ISABELLA', '20507', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18119, 15213, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 )  ISABELLA', '20508', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18120, 15214, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 )  ISABELLA', '20509', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18121, 15215, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 )  ISABELLA', '20510', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18122, 15216, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 )  ISABELLA', '20511', 509, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18123, 15217, '2018-04-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18270 System Generated Invoice', '', 509, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18124, 15218, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18271 System Generated Invoice', '', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18125, 15219, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18272 System Generated Invoice', '', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18126, 15220, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18273 System Generated Invoice', '', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18127, 15221, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18274 System Generated Invoice', '', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18128, 15222, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18275 System Generated Invoice', '', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18129, 15223, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18276 System Generated Invoice', '', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18130, 15224, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18277 System Generated Invoice', '', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18131, 15225, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18278 System Generated Invoice', '', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18132, 15226, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18279 System Generated Invoice', '', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18133, 15227, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18280 System Generated Invoice', '', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18134, 15228, '2018-07-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18281 System Generated Invoice', '', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18135, 15229, '2018-07-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18282 System Generated Invoice', '', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18136, 15230, '2018-07-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18283 System Generated Invoice', '', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18137, 15231, '2018-08-06', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18284 System Generated Invoice', '', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18138, 15232, '2018-08-13', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18285 System Generated Invoice', '', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18139, 15233, '2018-08-20', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18286 System Generated Invoice', '', 509, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18140, 15234, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) Rec. 60', '20529', 375, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18141, 15235, '2018-08-06', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18287 System Generated Invoice', '', 375, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18142, 15236, '2018-08-13', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18288 System Generated Invoice', '', 375, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18143, 15237, '2018-08-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) MALAK AL RASHEDIAH with Colt', '20532', 479, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18144, 15238, '2018-08-06', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18289 System Generated Invoice', '', 479, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18145, 15239, '2018-08-13', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18290 System Generated Invoice', '', 479, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18146, 15240, '2018-08-20', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18291 System Generated Invoice', '', 479, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18147, 15241, '2018-08-27', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18292 System Generated Invoice', '', 479, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18148, 15242, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) CATERINA FM', '20537', 183, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18149, 15243, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) DANILLA', '20538', 164, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18150, 15244, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) FARAH NM', '20539', 439, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18151, 15245, '2018-07-31', 'Debit', 466.69, 0.00, 490.02, 23.33, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 24 - 31 ) Jul-2018 AJ HILWEH', '20540', 511, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18152, 15246, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) AJ HILWEH', '20541', 511, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18153, 15247, '2018-07-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18293 System Generated Invoice', '', 511, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18154, 15248, '2018-08-06', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18294 System Generated Invoice', '', 511, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18155, 15249, '2018-08-13', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18295 System Generated Invoice', '', 511, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18156, 15250, '2018-08-20', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18296 System Generated Invoice', '', 511, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18157, 15251, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May - 2018 ) HATHRAH ATHBAH', '20546', 418, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18158, 15252, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun - 2018 ) HATHRAH ATHBAH', '20547', 418, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18159, 15253, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul - 2018 ) HATHRAH ATHBAH', '20548', 418, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18160, 15254, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug - 2018 ) HATHRAH ATHBAH', '20549', 418, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18161, 15255, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 ) MARIANA', '20550', 360, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18162, 15256, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 ) MARIANA', '20551', 360, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18163, 15257, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 ) MARIANA', '20552', 360, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18164, 15258, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) MARIANA', '20553', 360, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18165, 15259, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) MARIANA', '20554', 360, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18166, 15260, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) MARIANA', '20555', 360, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18167, 15261, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) MARIANA', '20556', 360, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18168, 15262, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) MARIANA', '20557', 360, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18169, 15263, '2018-07-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '20558,20559', 360, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18170, 15264, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 ) Colt Of MARIANA', '20560', 360, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18171, 15265, '2018-07-01', 'Debit', 800.04, 0.00, 840.04, 40.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 12 ) Feb-2018  Colt Of MARIANA', '20561', 360, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18172, 15266, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 12-Feb-2018 ) Colt Of MARIANA', '20562', 360, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18173, 15267, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 18-Feb-2018 ) SMOW AL AMAL', '20563', 360, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18174, 15268, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Stallion Owner', '1695,1696,1697', 360, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18175, 15269, '2018-07-01', 'Debit', 733.37, 0.00, 770.04, 36.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 18 - 28 ) Feb-2018  SMOW AL AMAL', '20564', 360, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18176, 15270, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 ) SMOW AL AMAL', '20565', 360, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18177, 15271, '2018-07-01', 'Debit', 933.38, 0.00, 980.05, 46.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 14 ) Apr-2018  SMOW AL AMAL', '20566', 360, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18178, 15272, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 14-Apr-2018 ) SMOW AL AMAL', '20567', 360, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18179, 15273, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 2-Mar-2018 ) ZENOBIA KA', '20568', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18180, 15274, '2018-07-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '20569,20570', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18181, 15275, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 ) ZENOBIA KA', '20571', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18182, 15276, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 17-Apr-2018 )', '20572', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18183, 15277, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) ZENOBIA KA', '20573', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18184, 15278, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) ZENOBIA KA', '20574', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18185, 15279, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) ZENOBIA KA', '20575', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18186, 15280, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) ZENOBIA KA', '20576', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18187, 15281, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) ZENOBIA KA', '20577', 533, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18188, 15282, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18297 System Generated Invoice', '', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18189, 15283, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18298 System Generated Invoice', '', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18190, 15284, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18299 System Generated Invoice', '', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18191, 15285, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18300 System Generated Invoice', '', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18192, 15286, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18301 System Generated Invoice', '', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18193, 15287, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18302 System Generated Invoice', '', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18194, 15288, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18303 System Generated Invoice', '', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18195, 15289, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18304 System Generated Invoice', '', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18196, 15290, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18305 System Generated Invoice', '', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18197, 15291, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18306 System Generated Invoice', '', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18198, 15292, '2018-07-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18307 System Generated Invoice', '', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18199, 15293, '2018-07-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18308 System Generated Invoice', '', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18200, 15294, '2018-07-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18309 System Generated Invoice', '', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18201, 15295, '2018-08-06', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18310 System Generated Invoice', '', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18202, 15296, '2018-08-13', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18311 System Generated Invoice', '', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18203, 15297, '2018-08-20', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18312 System Generated Invoice', '', 533, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18204, 15298, '2018-08-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) LITTLE MISS PRISS with Colt', '20594', 164, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18205, 15299, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) Filly of ABHA SHAHINAZ', '20595', 164, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18206, 15300, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) Colt of DANILLA', '20596', 164, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18207, 15301, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) Filly of NASHWA EL SAFINAT	', '20597', 81, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18208, 15302, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) Filly of NASHWA EL SAFINAT	', '20598', 81, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18209, 15303, '2018-07-31', 'Debit', 66.67, 0.00, 70.00, 3.33, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 30 ) Jul-2018 SAQRAT AL JANADRIYAH', '20599', 348, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18210, 15304, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) SAQRAT AL JANADRIYAH', '20600', 348, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18211, 15305, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) HARMAH', '20601', 158, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18212, 15306, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) JADORE', '20602', 164, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18213, 15307, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) JAADAH', '20603', 158, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18214, 15308, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) Colt of MALAK AL RASHEDIAH', '20604', 479, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18215, 15309, '2018-08-20', 'Debit', 1333.40, 0.00, 1400.07, 66.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 20 ) Aug-2018  ZAFIRA K', '20605', 535, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18216, 15310, '2018-08-20', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 20-Aug-2018 ) ZAFIRA K', '20606', 535, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18217, 15311, '2018-08-20', 'Debit', 1333.40, 0.00, 1400.07, 66.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 20 ) Aug-2018  ESTEL EA', '20607', 535, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18218, 15312, '2018-08-20', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 20-Aug-2018 )  ESTEL EA', '20608', 535, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18219, 15313, '2018-08-20', 'Debit', 1333.40, 0.00, 1400.07, 66.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 20 ) Aug-2018  PERLA', '20609', 535, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18220, 15314, '2018-08-20', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 20-Aug-2018 ) PERLA', '20610', 535, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18221, 15315, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) MARIA AL YAH', '20611', 534, 5, '2018-08-29', NULL, 1, '2018-09-11', 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
(18222, 15316, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) MIZNA AL YAH', '20612', 534, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18223, 15317, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 30-May-2018 ) ZAFEER AL SHGAIR', '20613', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18224, 15318, '2018-07-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '13431,13432,13433', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18225, 15319, '2018-07-01', 'Debit', 133.34, 0.00, 140.01, 6.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 30 - 31 ) May-2018  ZAFEER AL SHGAIR', '20614', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18226, 15320, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 )  ZAFEER AL SHGAIR', '20615', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18227, 15321, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 )  ZAFEER AL SHGAIR', '20616', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18228, 15322, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 )  ZAFEER AL SHGAIR', '20617', 489, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18229, 15323, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 1-Jan-2018 ) TALEED AL DANAT', '20618', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18230, 15324, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 ) TALEED AL DANAT', '20619', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18231, 15325, '2018-07-01', 'Debit', 800.04, 0.00, 840.04, 40.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 12 ) Feb-2018  TALEED AL DANAT', '20620', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18232, 15326, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 12-Feb-2018 ) TALEED AL DANAT', '20621', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18233, 15327, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Re-Enter in MILAD ( 23-Apr-2018 ) TALEED AL DANAT', '20622', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18234, 15328, '2018-07-01', 'Debit', 533.36, 0.00, 560.03, 26.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 23 - 30 ) Apr-2018  TALEED AL DANAT', '20623', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18235, 15329, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) TALEED AL DANAT', '20624', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18236, 15330, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) TALEED AL DANAT', '20625', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18237, 15331, '2018-07-18', 'Debit', 1200.06, 0.00, 1260.06, 60.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 18 ) Jul-2018  TALEED AL DANAT', '20626', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18238, 15332, '2018-07-18', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 18-Jul-2018 ) TALEED AL DANAT', '20627', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18239, 15333, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 12-Jun-2018 ) ORBANAT AL KHALEDIAH with Colt', '20628', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18240, 15334, '2018-07-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '20629,20630', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18241, 15335, '2018-07-01', 'Debit', 1456.73, 0.00, 1529.57, 72.84, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 12 - 30 ) Jun-2018  ORBANAT AL KHALEDIAH with Colt', '20631', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18242, 15336, '2018-07-18', 'Debit', 1380.06, 0.00, 1449.06, 69.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 18 ) Jul-2018  ORBANAT AL KHALEDIAH with Colt', '20632', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18243, 15337, '2018-07-18', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 18-Jul-2018 )  ORBANAT AL KHALEDIAH with Colt', '20633', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18244, 15338, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 6-Apr-2018 ) LA PRIMAVERA', '20634', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18245, 15339, '2018-07-01', 'Debit', 1666.75, 0.00, 1750.09, 83.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 6 - 30 ) Apr-2018  LA PRIMAVERA', '20635', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18246, 15340, '2018-07-01', 'Debit', 1933.43, 0.00, 2030.10, 96.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 29 ) May-2018  LA PRIMAVERA', '20636', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18247, 15341, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 29-May-2018 ) LA PRIMAVERA', '20637', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18248, 15342, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18313 System Generated Invoice', '', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18249, 15343, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18314 System Generated Invoice', '', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18250, 15344, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18315 System Generated Invoice', '', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18251, 15345, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18316 System Generated Invoice', '', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18252, 15346, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18317 System Generated Invoice', '', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18253, 15347, '2018-07-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18318 System Generated Invoice', '', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18254, 15348, '2018-07-19', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ', '20644', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18255, 15349, '2018-07-01', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '20645', 489, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18256, 15350, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 ) MAID OF HONOUR ABC', '20646', 369, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18257, 15351, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) MAID OF HONOUR ABC', '20647', 369, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18258, 15352, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) MAID OF HONOUR ABC', '20648', 369, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18259, 15353, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) MAID OF HONOUR ABC', '20649', 369, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18260, 15354, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) MAID OF HONOUR ABC', '20650', 369, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18261, 15355, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) MAID OF HONOUR ABC', '20651', 369, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18262, 15356, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18319 System Generated Invoice', '', 369, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18263, 15357, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18320 System Generated Invoice', '', 369, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18264, 15358, '2018-07-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18321 System Generated Invoice', '', 369, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18265, 15359, '2018-07-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18322 System Generated Invoice', '', 369, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18266, 15360, '2018-07-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18323 System Generated Invoice', '', 369, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18267, 15361, '2018-08-06', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18324 System Generated Invoice', '', 369, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18268, 15362, '2018-08-13', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18325 System Generated Invoice', '', 369, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18269, 15363, '2018-08-20', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18326 System Generated Invoice', '', 369, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18270, 15364, '2018-08-27', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18327 System Generated Invoice', '', 369, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18271, 15365, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) MOAJEBAH AL THANIYAH', '20661', 259, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18272, 15366, '2018-08-06', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18328 System Generated Invoice', '', 259, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18273, 15367, '2018-08-13', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18329 System Generated Invoice', '', 259, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18274, 15368, '2018-08-20', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18330 System Generated Invoice', '', 259, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18275, 15369, '2018-08-27', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18331 System Generated Invoice', '', 259, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18276, 15370, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) ROZA AL SAAD', '20666', 259, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18277, 15371, '2018-08-06', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18332 System Generated Invoice', '', 259, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18278, 15372, '2018-08-13', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18333 System Generated Invoice', '', 259, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18279, 15373, '2018-08-20', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18334 System Generated Invoice', '', 259, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18280, 15374, '2018-08-27', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18335 System Generated Invoice', '', 259, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18281, 15375, '2018-08-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Aug-2018 ) HALA NM with Colt', '20671', 559, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18282, 15376, '2018-08-06', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18336 System Generated Invoice', '', 559, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18283, 15377, '2018-08-13', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18337 System Generated Invoice', '', 559, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18284, 15378, '2018-08-20', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18338 System Generated Invoice', '', 559, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18285, 15379, '2018-08-27', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18339 System Generated Invoice', '', 559, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18286, 15380, '2018-07-28', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 28-Jul-2018 ) QADER AL SAYED', '20676', 215, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18287, 15381, '2018-07-31', 'Debit', 266.68, 0.00, 280.01, 13.33, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 28 - 31 ) Jul-2018  QADER AL SAYED', '20677', 215, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18288, 15382, '2018-08-06', 'Debit', 400.02, 0.00, 420.02, 20.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 6 ) Aug-2018  QADER AL SAYED', '20678', 215, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18289, 15383, '2018-08-07', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Change from Boarding to Training ( 7-Aug-2018 )  QADER AL SAYED', '20679', 215, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18290, 15384, '2018-08-31', 'Debit', 4166.75, 0.00, 4375.09, 208.34, 1, 0, 'invoice', NULL, NULL, ' Training ( 7 - 31 ) Aug-2018   QADER AL SAYED', '20680', 215, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18291, 15385, '2018-07-17', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Transport ( SHAMEKH AM ) from LAZZAZ Center to MILAD', '20681', 354, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18292, 15386, '2018-07-31', 'Debit', 1150.05, 0.00, 1207.55, 57.50, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 17 - 31 ) Jul-2018  SHAMEKH AM', '20682', 354, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18293, 15387, '2018-08-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Change ( SHAMEKH AM ) from Boarding to Training', '20683', 354, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18294, 15388, '2018-08-31', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training ( Aug-2018 ) SHAMEKH AM ', '20684', 354, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18295, 15389, '2018-08-29', 'Debit', 1400.00, 0.00, 1470.00, 70.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Boree Omer E. Suibir', '20685', 160, 7, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18296, 1413, '2018-08-29', 'Credit', 1470.00, 0.00, 1470.00, 0.00, 3, 0, 'payment', 'cash', '', 'Reference Invoice #15389', NULL, 160, 5, '2018-08-29', 18295, 1, '2018-09-12', 0, NULL, NULL, 0),
(18297, 1302, '2017-12-31', 'Debit', 36857.05, 0.00, 36857.05, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded balance (wise option)', NULL, 422, 13, '2018-08-29', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18298, 1414, '2017-12-10', 'Credit', 22062.05, 0.00, 22062.05, 0.00, 3, 0, 'payment', 'span', '', 'Forwarded payment (wise option)', NULL, 422, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18299, 1415, '2017-12-25', 'Credit', 4000.00, 0.00, 4000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Forwarded payment (wise option)', NULL, 422, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18300, 1416, '2018-01-10', 'Credit', 12000.00, 0.00, 12000.00, 0.00, 3, 0, 'payment', 'span', '', 'Forwarded paytment (wise option)', NULL, 422, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18301, 1303, '2017-12-31', 'Debit', 30429.32, 0.00, 30429.32, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 249, 13, '2018-08-29', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18302, 1417, '2017-10-03', 'Credit', 1500.00, 0.00, 1500.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 249, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18303, 1418, '2017-11-18', 'Credit', 10000.00, 0.00, 10000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 249, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18304, 1419, '2017-12-06', 'Credit', 5000.00, 0.00, 5000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 249, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18305, 1420, '2017-12-18', 'Credit', 13000.00, 0.00, 13000.00, 0.00, 3, 0, 'payment', 'span', '', 'Payment received (wise option)', NULL, 249, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18306, 1421, '2017-12-23', 'Credit', 4000.00, 0.00, 4000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 249, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18307, 15390, '2018-07-24', 'Debit', 1840.08, 0.00, 1932.08, 92.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 24 ) Jul-2018  SOPHIA with Colt', '20687', 280, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18308, 15391, '2018-07-24', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 24-Jul-2018 ) SOPHIA with Colt', '20688', 280, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18309, 15392, '2018-07-23', 'Debit', 1533.41, 0.00, 1610.08, 76.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 23 ) Jul- 2018  HAMMAM AMT', '20689', 280, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18310, 15393, '2018-07-23', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 23-Jul- 2018 )  HAMMAM AMT', '20690', 280, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18311, 1304, '2018-08-29', 'Debit', -15600.00, 0.00, -15600.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Rubber Sheet Received from TADAWI Hospital ( 76 x 200 ) receipt no, 011', NULL, 298, 11, '2018-08-29', NULL, 1, '2018-08-29', 0, NULL, NULL, 0),
(18312, 1305, '2017-12-31', 'Debit', 1470.04, 0.00, 1470.04, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance (wise option)', NULL, 855, 13, '2018-08-29', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18313, 1422, '2018-01-11', 'Credit', 1470.00, 0.00, 1470.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Forwarded payment received (wise option)', NULL, 855, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18314, 1306, '2017-12-31', 'Debit', 20111.00, 0.00, 20111.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 559, 13, '2018-08-29', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18315, 1307, '2017-11-12', 'Debit', -2500.00, 0.00, -2500.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)/ Adjustment to Invoice #22447 charged amount (frozen to fresh)', NULL, 559, 13, '2018-08-29', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18316, 1423, '2017-11-12', 'Credit', 72966.00, 0.00, 72966.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Forwarded payment received (wise option)', NULL, 559, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18317, 1424, '2018-01-15', 'Credit', 700.00, 0.00, 700.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Forwarded payment received (wise option)', NULL, 559, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18318, 1308, '2017-09-01', 'Debit', 2500.00, 0.00, 2500.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 559, 13, '2018-08-29', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18319, 1309, '2017-09-01', 'Debit', 95941.72, 0.00, 95941.72, 0.00, 3, 0, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 856, 13, '2018-08-29', NULL, 0, '0000-00-00', 1, 13, '2018-09-03', 0),
(18320, 1310, '2017-12-10', 'Debit', 25053.10, 0.00, 25053.10, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 856, 13, '2018-08-29', NULL, 0, '0000-00-00', 1, 13, '2018-09-03', 0),
(18321, 1425, '2018-10-31', 'Credit', 95941.72, 0.00, 95941.72, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 856, 13, '2018-08-29', NULL, 0, '0000-00-00', 1, 13, '2018-09-03', 0),
(18322, 1426, '2018-01-24', 'Credit', 25053.00, 0.00, 25053.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 856, 13, '2018-08-29', NULL, 0, '0000-00-00', 1, 13, '2018-09-03', 0),
(18323, 1311, '2017-12-28', 'Debit', 7996.38, 0.00, 7996.38, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 857, 13, '2018-08-29', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18324, 1427, '2017-12-17', 'Credit', 6000.00, 0.00, 6000.00, 0.00, 3, 0, 'payment', 'span', '', 'Payment received (wise option)', NULL, 857, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18325, 1428, '2018-01-29', 'Credit', 1826.38, 0.00, 1826.38, 0.00, 3, 0, 'payment', 'span', '', 'Payment received (wise option)', NULL, 857, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18326, 1429, '2018-01-30', 'Credit', 170.00, 0.00, 170.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 857, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18327, 15394, '2018-08-29', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Ahmed AL Otaibi', '20691', 160, 7, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18328, 1430, '2018-08-29', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15394', NULL, 160, 7, '2018-08-29', 18327, 1, '2018-09-12', 0, NULL, NULL, 0),
(18329, 1312, '2017-12-31', 'Debit', 51942.00, 0.00, 51942.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 473, 13, '2018-08-29', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18330, 1431, '2017-09-18', 'Credit', 5000.00, 0.00, 5000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 473, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18331, 1432, '2017-10-04', 'Credit', 6837.00, 0.00, 6837.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 473, 13, '2018-08-29', NULL, 0, '0000-00-00', 1, 13, '2018-08-29', 0),
(18332, 1433, '2017-10-30', 'Credit', 12700.00, 0.00, 12700.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 473, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18333, 1434, '2017-12-03', 'Credit', 5266.00, 0.00, 5266.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 473, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18334, 1435, '2017-12-04', 'Credit', 700.00, 0.00, 700.00, 0.00, 3, 0, 'payment', 'span', '', 'Payment received (wise option)', NULL, 473, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18335, 1436, '2017-12-27', 'Credit', 11000.00, 0.00, 11000.00, 0.00, 3, 0, 'payment', 'span', '', 'Payment received (wise option)', NULL, 473, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18336, 1437, '2018-01-29', 'Credit', 7000.00, 0.00, 7000.00, 0.00, 3, 0, 'payment', 'span', '', 'Payment received (wise option)', NULL, 473, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18337, 1438, '2018-01-29', 'Credit', 10276.00, 0.00, 10276.00, 0.00, 3, 0, 'payment', 'span', '', 'Payment received (wise option)', NULL, 473, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18338, 15395, '2018-08-29', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Ammar', '20692', 160, 5, '2018-08-29', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18339, 1439, '2018-08-29', 'Credit', 52.50, 0.00, 52.50, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15395', NULL, 160, 5, '2018-08-29', 18338, 1, '2018-09-01', 0, NULL, NULL, 0),
(18340, 1440, '2018-01-09', 'Credit', 1169.00, 0.00, 1169.00, 0.00, 3, 0, 'payment', 'span', '', 'Payment received (wise option)', NULL, 248, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18341, 1313, '2018-08-29', 'Debit', 1325.00, 0.00, 1325.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 858, 13, '2018-08-29', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18342, 1314, '2017-12-31', 'Debit', 9990.30, 0.00, 9990.30, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 858, 13, '2018-08-29', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18343, 1441, '2017-12-10', 'Credit', 1325.00, 0.00, 1325.00, 0.00, 3, 0, 'payment', 'span', '', 'Payment received (wise option)', NULL, 858, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18344, 1442, '2017-12-11', 'Credit', 9000.00, 0.00, 9000.00, 0.00, 3, 0, 'payment', 'span', '', 'Payment received (wise option)', NULL, 858, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18345, 1443, '2018-01-14', 'Credit', 982.38, 0.00, 982.38, 0.00, 3, 0, 'payment', 'span', '', 'Payment received (wise option)', NULL, 858, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18346, 15396, '2018-07-01', 'Debit', 230.01, 0.00, 241.51, 11.50, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 29 - 31 ) Jan-2018  MOUNTASER AL KHALEDIAH', '20693', 501, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18347, 15397, '2018-07-01', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 )  MOUNTASER AL KHALEDIAH', '20694', 501, 5, '2018-08-29', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18348, 1315, '2017-12-31', 'Debit', 20129.32, 0.00, 20129.32, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 859, 13, '2018-08-29', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18349, 1444, '2018-01-22', 'Credit', 20129.32, 0.00, 20129.32, 0.00, 3, 0, 'payment', 'span', '', 'Payment received (wise option)', NULL, 859, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18350, 1316, '2017-12-31', 'Debit', 18913.00, 0.00, 18913.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 860, 13, '2018-08-29', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18351, 1445, '2017-11-07', 'Credit', 6000.00, 0.00, 6000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 860, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18352, 1446, '2017-11-07', 'Credit', 6000.00, 0.00, 6000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 860, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18353, 1447, '2018-01-07', 'Credit', 3260.00, 0.00, 3260.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 860, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18354, 1448, '2018-01-07', 'Credit', 1600.00, 0.00, 1600.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 860, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18355, 1449, '2018-02-22', 'Credit', 2053.00, 0.00, 2053.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 860, 13, '2018-08-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18356, 1317, '2017-12-31', 'Debit', 12383.12, 0.00, 12383.12, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 142, 13, '2018-08-30', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18357, 1450, '2017-11-12', 'Credit', 7000.00, 0.00, 7000.00, 0.00, 3, 0, 'payment', 'span', '', 'Payment received (wise option)', NULL, 142, 13, '2018-08-30', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18358, 1451, '2018-01-24', 'Credit', 2508.12, 0.00, 2508.12, 0.00, 3, 0, 'payment', 'span', '', 'Payment received (wise option)', NULL, 142, 13, '2018-08-30', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18359, 1452, '2018-02-04', 'Credit', 2875.00, 0.00, 2875.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 142, 13, '2018-08-30', NULL, 1, '2018-09-25', 0, NULL, NULL, 0),
(18360, 15398, '2018-08-30', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Deworming Medicine ', '20695', 354, 6, '2018-08-30', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18361, 15399, '2018-08-30', 'Debit', 100.00, 0.00, 105.00, 5.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Meshal M. AlShamary', '20697', 160, 7, '2018-08-30', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18362, 1453, '2018-08-30', 'Credit', 105.00, 0.00, 105.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15399', NULL, 160, 7, '2018-08-30', 18361, 1, '2018-09-12', 0, NULL, NULL, 0),
(18363, 15400, '2018-08-30', 'Debit', 1166.00, 0.00, 1224.30, 58.30, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice  Ref. No:  01-1045,  Dt: 26-Aug-2018', '20696', 354, 6, '2018-08-30', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18364, 1318, '2017-12-31', 'Debit', 4266.44, 0.00, 4266.44, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 861, 13, '2018-08-30', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18365, 1454, '2017-11-27', 'Credit', 2000.00, 0.00, 2000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 861, 13, '2018-08-30', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18366, 1455, '2018-01-30', 'Credit', 2266.44, 0.00, 2266.44, 0.00, 3, 0, 'payment', 'span', '', 'Payment received (wise option)', NULL, 861, 13, '2018-08-30', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18367, 15401, '2018-08-30', 'Debit', 525.00, 0.00, 551.25, 26.25, 2, 0, 'invoice', NULL, NULL, '', '20698', 579, 7, '2018-08-30', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18368, 1456, '2018-08-30', 'Credit', 37914.00, 0.00, 37914.00, 0.00, 2, 0, 'payment', 'transfer', '8871', 'payment received in milad bank account', NULL, 407, 11, '2018-08-30', NULL, 1, '2018-09-01', 0, NULL, NULL, 0),
(18369, 15402, '2018-08-30', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'c/o Shariar', '20699', 160, 7, '2018-08-30', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18370, 1457, '2018-08-30', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15402', NULL, 160, 7, '2018-08-30', 18369, 1, '2018-09-12', 0, NULL, NULL, 0),
(18371, 15403, '2018-08-30', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Meshal AlShamry', '20700', 160, 7, '2018-08-30', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18372, 1458, '2018-08-30', 'Credit', 105.00, 0.00, 105.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15403', NULL, 160, 7, '2018-08-30', 18371, 1, '2018-09-12', 0, NULL, NULL, 0),
(18373, 15404, '2018-08-30', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'c/o Shariar', '20701', 160, 7, '2018-08-30', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18374, 1459, '2018-08-30', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15404', NULL, 160, 7, '2018-08-30', 18373, 1, '2018-09-12', 0, NULL, NULL, 0),
(18375, 15405, '2018-08-30', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Rashood', '20702', 160, 7, '2018-08-30', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18376, 1460, '2018-08-30', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15405', NULL, 160, 7, '2018-08-30', 18375, 1, '2018-09-12', 0, NULL, NULL, 0),
(18377, 1319, '2018-09-01', 'Debit', 610.00, 0.00, 610.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Previous Balance Y2016', NULL, 862, 7, '2018-09-01', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18378, 1320, '2018-09-01', 'Debit', 315.00, 0.00, 315.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Previous Balance Y2016', NULL, 863, 7, '2018-09-01', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18379, 1461, '2018-09-01', 'Credit', 315.00, 0.00, 315.00, 0.00, 2, 0, 'payment', 'cash', '', 'Previous Balance Payment', NULL, 863, 7, '2018-09-01', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18380, 1462, '2018-09-01', 'Credit', 610.00, 0.00, 610.00, 0.00, 2, 0, 'payment', 'cash', '', 'Previous Balance Payment', NULL, 862, 7, '2018-09-01', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18381, 15406, '2018-09-01', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Waleed Zaeri', '20703', 160, 7, '2018-09-01', NULL, 1, '2018-10-02', 0, NULL, NULL, 0),
(18382, 1463, '2018-09-01', 'Credit', 315.00, 0.00, 315.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15406', NULL, 160, 7, '2018-09-01', 18381, 1, '2018-10-02', 0, NULL, NULL, 0),
(18383, 15407, '2018-09-01', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, 'Cust Name: ABdullah Al Qahtani', '20705', 160, 7, '2018-09-01', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18384, 1464, '2018-09-01', 'Credit', 157.50, 0.00, 157.50, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15407', NULL, 160, 7, '2018-09-01', 18383, 1, '2018-10-03', 0, NULL, NULL, 0),
(18385, 1465, '2018-09-01', 'Credit', 6950.00, 0.00, 6950.00, 0.00, 2, 0, 'payment', 'transfer', '', 'For Check Out, c/o Mansoor Al Saeed Bank A/C', NULL, 354, 7, '2018-09-01', NULL, 1, '2018-10-02', 0, NULL, NULL, 0),
(18386, 15408, '2018-08-31', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Deworming Medicine', '20708', 577, 6, '2018-09-01', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18387, 15409, '2018-08-31', 'Debit', 2666.72, 0.00, 2800.06, 133.34, 1, 0, 'invoice', NULL, NULL, 'Training 15-Aug to 31-Aug-2018', '20706', 577, 6, '2018-09-01', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18388, 15410, '2018-09-01', 'Debit', 166.67, 0.00, 175.00, 8.33, 1, 0, 'invoice', NULL, NULL, 'Training for the day of 1-Sep-2018 / Checkout ', '20707', 577, 6, '2018-09-01', NULL, 1, '2018-10-02', 0, NULL, NULL, 0),
(18389, 15411, '2018-08-31', 'Debit', 120.00, 0.00, 126.00, 6.00, 1, 0, 'invoice', NULL, NULL, 'Trim Charges', '20709', 577, 6, '2018-09-01', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18390, 1321, '2018-07-31', 'Debit', -110000.00, 0.00, -110000.00, 0.00, 1, 0, 'charge', NULL, NULL, 'To reverse entry (charge #845/16842)', NULL, 153, 13, '2018-09-01', NULL, 1, '2018-09-01', 0, NULL, NULL, 0),
(18391, 1466, '2017-10-08', 'Credit', -110000.00, 0.00, -110000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'To reverse payment #1145/14992 (payment for loss during 2014-2015 season)', NULL, 153, 13, '2018-09-01', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18392, 1322, '2017-09-01', 'Debit', -260.00, 0.00, -260.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 864, 13, '2018-09-02', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18393, 1323, '2017-11-25', 'Debit', 1300.00, 0.00, 1300.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance (wise option)', NULL, 864, 13, '2018-09-02', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18394, 1467, '2018-09-01', 'Credit', 3143.14, 0.00, 3143.14, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 577, 7, '2018-09-02', NULL, 1, '2018-10-02', 0, NULL, NULL, 0),
(18395, 1468, '2018-02-08', 'Credit', 1040.00, 0.00, 1040.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received', NULL, 864, 13, '2018-09-02', NULL, 1, '2018-09-02', 0, NULL, NULL, 0),
(18396, 1469, '2018-09-02', 'Credit', 693.00, 0.00, 693.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 444, 7, '2018-09-02', NULL, 1, '2018-10-02', 0, NULL, NULL, 0),
(18397, 15412, '2018-08-31', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Breed Stallion - No Boarding charges', '19709,20715', 138, 6, '2018-09-02', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18398, 15413, '2018-08-31', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Breed Stallion - No Boarding charges', '19711,20723', 138, 6, '2018-09-02', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18399, 15414, '2018-08-31', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Breed Stallion - No Boarding charges', '19746,20724', 138, 6, '2018-09-02', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18400, 15415, '2018-08-31', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Breed Stallion - No Boarding charges', '19766,20757', 138, 6, '2018-09-02', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18401, 15416, '2018-08-31', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of Aug, 2018', '20721', 138, 6, '2018-09-02', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18402, 15417, '2018-08-31', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of Aug, 2018', '20725', 138, 6, '2018-09-02', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18403, 1324, '2018-08-01', 'Debit', 1390.00, 0.00, 1459.50, 69.50, 3, 0, 'charge', NULL, NULL, 'Tadawi Invoice No. 1-734  date in 10 jun 2018  for C ZATARIA ', NULL, 138, 11, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18404, 1325, '2018-08-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 3, 0, 'charge', NULL, NULL, 'TADAWI Invoice No, ( 1-736 ) Date in 10 jun 2018 for Colt of Miss Bella Rose (Sire: Al Aseel)', NULL, 138, 11, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18405, 1326, '2017-09-01', 'Debit', 174920.98, 0.00, 174920.98, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 468, 13, '2018-09-03', NULL, 1, '2018-09-03', 0, NULL, NULL, 0),
(18406, 1327, '2017-09-01', 'Debit', 135770.41, 0.00, 135770.41, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 865, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18407, 1328, '2017-12-31', 'Debit', 4705.00, 0.00, 4705.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 865, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18408, 1329, '2017-09-01', 'Debit', 2000.00, 0.00, 2000.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 866, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18409, 1330, '2017-09-01', 'Debit', 3948.26, 0.00, 3948.26, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 347, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18410, 1470, '2017-12-31', 'Credit', 3948.26, 0.00, 3948.26, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 347, 13, '2018-09-03', 18409, 0, '0000-00-00', 0, NULL, NULL, 0),
(18411, 1331, '2017-09-01', 'Debit', 175.00, 0.00, 175.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance(wise option)', NULL, 867, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18412, 1471, '2017-12-31', 'Credit', 175.00, 0.00, 175.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 867, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18413, 1332, '2017-09-01', 'Debit', 647.95, 0.00, 647.95, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance(wise option)', NULL, 868, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18414, 1472, '2017-12-31', 'Credit', 647.95, 0.00, 647.95, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 868, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18415, 1333, '2017-09-01', 'Debit', 400.00, 0.00, 400.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 869, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18416, 1473, '2017-12-31', 'Credit', 400.00, 0.00, 400.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 869, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18417, 1334, '2017-09-01', 'Debit', 1130.00, 0.00, 1130.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 870, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18418, 1474, '2017-12-31', 'Credit', 1130.00, 0.00, 1130.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 870, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18419, 1335, '2017-09-01', 'Debit', 555.00, 0.00, 555.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 871, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18420, 1475, '2017-12-31', 'Credit', 555.00, 0.00, 555.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 871, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18421, 1336, '2017-09-01', 'Debit', 2945.00, 0.00, 2945.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 872, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18422, 1476, '2017-12-31', 'Credit', 2945.00, 0.00, 2945.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 872, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18423, 1337, '2017-09-01', 'Debit', 950.00, 0.00, 950.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 873, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18424, 1338, '2017-12-31', 'Debit', 950.00, 0.00, 950.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Payment received (wise option)', NULL, 873, 13, '2018-09-03', NULL, 0, '0000-00-00', 1, 13, '2018-09-03', 0),
(18425, 1477, '2017-12-31', 'Credit', 950.00, 0.00, 950.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 873, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18426, 1339, '2017-09-01', 'Debit', 3500.00, 0.00, 3500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Payment received (wise option)', NULL, 874, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18427, 1478, '2017-12-31', 'Credit', 3500.00, 0.00, 3500.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 874, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18428, 1340, '2017-09-01', 'Debit', 20719.64, 0.00, 20719.64, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 875, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18429, 1479, '2017-12-31', 'Credit', 20719.64, 0.00, 20719.64, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 875, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18430, 1341, '2017-09-01', 'Debit', -2030.00, 0.00, -2030.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 854, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18431, 1342, '2017-09-01', 'Debit', 605.00, 0.00, 605.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 876, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18432, 1480, '2017-12-31', 'Credit', 605.00, 0.00, 605.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 876, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18433, 1343, '2017-09-01', 'Debit', 470.00, 0.00, 470.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 877, 13, '2018-09-03', NULL, 0, '0000-00-00', 1, 13, '2018-09-03', 0),
(18434, 1481, '2017-12-31', 'Credit', 470.00, 0.00, 470.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 877, 13, '2018-09-03', NULL, 0, '0000-00-00', 1, 13, '2018-09-03', 0),
(18435, 1344, '2017-09-01', 'Debit', 470.00, 0.00, 470.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 435, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18436, 1482, '2017-12-31', 'Credit', 470.00, 0.00, 470.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 435, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18437, 1345, '2017-09-01', 'Debit', -450.00, 0.00, -450.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 878, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18438, 1346, '2017-09-01', 'Debit', 95941.72, 0.00, 95941.72, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 140, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18439, 1347, '2017-12-10', 'Debit', 25053.10, 0.00, 25053.10, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 140, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18440, 1483, '2018-01-24', 'Credit', 25053.00, 0.00, 25053.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 140, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18441, 1484, '2018-01-31', 'Credit', 95941.72, 0.00, 95941.72, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 140, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18442, 1348, '2017-09-01', 'Debit', 21033.18, 0.00, 21033.18, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 879, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18443, 1485, '2017-12-31', 'Credit', 21033.18, 0.00, 21033.18, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 879, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18444, 1349, '2017-09-01', 'Debit', 4214.00, 0.00, 4214.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 880, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18445, 1486, '2017-12-31', 'Credit', 4214.00, 0.00, 4214.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 880, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18446, 1350, '2017-09-01', 'Debit', 325.00, 0.00, 325.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 881, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18447, 1487, '2017-12-31', 'Credit', 325.00, 0.00, 325.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 881, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18448, 1351, '2017-09-01', 'Debit', 2180.00, 0.00, 2180.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 882, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18449, 1488, '2017-12-31', 'Credit', 2180.00, 0.00, 2180.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 882, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18450, 1352, '2017-09-01', 'Debit', 25280.00, 0.00, 25280.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 883, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18451, 1489, '2017-12-31', 'Credit', 25280.00, 0.00, 25280.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 883, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18452, 1353, '2017-09-01', 'Debit', 1200.00, 0.00, 1200.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 884, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18453, 1490, '2017-12-31', 'Credit', 1200.00, 0.00, 1200.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 884, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18454, 1354, '2017-09-01', 'Debit', 830.00, 0.00, 830.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 885, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18455, 1491, '2017-12-31', 'Credit', 830.00, 0.00, 830.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 885, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18456, 1355, '2017-09-01', 'Debit', 50.00, 0.00, 50.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 886, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18457, 1492, '2017-12-31', 'Credit', 50.00, 0.00, 50.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 886, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18458, 1356, '2018-09-03', 'Debit', 5575.00, 0.00, 5575.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 887, 13, '2018-09-03', NULL, 0, '0000-00-00', 1, 13, '2018-09-03', 0),
(18459, 1493, '2017-12-31', 'Credit', 5575.00, 0.00, 5575.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 887, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18460, 1357, '2017-09-01', 'Debit', 5575.00, 0.00, 5575.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 887, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18461, 1358, '2017-09-01', 'Debit', 8908.30, 0.00, 8908.30, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 888, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18462, 1494, '2017-12-31', 'Credit', 8908.30, 0.00, 8908.30, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 888, 13, '2018-09-03', NULL, 0, '0000-00-00', 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
(18463, 1359, '2017-09-01', 'Debit', 125.00, 0.00, 125.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 889, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18464, 1495, '2017-12-31', 'Credit', 125.00, 0.00, 125.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Pasyment received (wise option)', NULL, 889, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18465, 1360, '2017-09-01', 'Debit', 1170.00, 0.00, 1170.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 890, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18466, 1496, '2017-12-31', 'Credit', 1170.00, 0.00, 1170.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 890, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18467, 1361, '2018-09-03', 'Debit', 240.00, 0.00, 240.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 891, 13, '2018-09-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18468, 1497, '2017-12-31', 'Credit', 240.00, 0.00, 240.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)\r\n', NULL, 891, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18469, 1362, '2017-09-01', 'Debit', 795.00, 0.00, 795.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 892, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18470, 1498, '2017-12-31', 'Credit', 795.00, 0.00, 795.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 892, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18471, 1363, '2017-09-01', 'Debit', 305.00, 0.00, 305.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 893, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18472, 1499, '2017-12-31', 'Credit', 305.00, 0.00, 305.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 893, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18473, 1364, '2017-09-01', 'Debit', 3444.91, 0.00, 3444.91, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 894, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18474, 1500, '2017-12-31', 'Credit', 3444.91, 0.00, 3444.91, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 894, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18475, 1365, '2017-09-01', 'Debit', 2500.00, 0.00, 2500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 895, 13, '2018-09-03', NULL, 0, '0000-00-00', 1, 13, '2018-09-03', 0),
(18476, 1501, '2017-12-31', 'Credit', 2500.00, 0.00, 2500.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 895, 13, '2018-09-03', NULL, 0, '0000-00-00', 1, 13, '2018-09-03', 0),
(18477, 1366, '2017-09-01', 'Debit', 2500.00, 0.00, 2500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 333, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18478, 1502, '2017-12-31', 'Credit', 2500.00, 0.00, 2500.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 333, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18479, 15418, '2018-09-03', 'Debit', 500.00, 0.00, 525.00, 25.00, 3, 0, 'invoice', NULL, NULL, 'From Janadriyah to Nemar (West Riyadh)', '20790', 369, 7, '2018-09-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18480, 1367, '2017-09-01', 'Debit', 540.00, 0.00, 540.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 896, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18481, 1503, '2017-12-31', 'Credit', 540.00, 0.00, 540.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 896, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18482, 15419, '2018-09-03', 'Debit', 200.01, 0.00, 210.01, 10.00, 2, 0, 'invoice', NULL, NULL, 'Check Out', '20792', 369, 7, '2018-09-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18483, 1368, '2017-09-01', 'Debit', 515.00, 0.00, 515.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 897, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18484, 1504, '2017-12-31', 'Credit', 515.00, 0.00, 515.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 897, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18485, 1369, '2017-09-01', 'Debit', 390.00, 0.00, 390.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 898, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18486, 1505, '2017-12-31', 'Credit', 390.00, 0.00, 390.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 898, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18487, 1370, '2017-09-01', 'Debit', 285.00, 0.00, 285.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 899, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18488, 1506, '2017-12-31', 'Credit', 285.00, 0.00, 285.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 899, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18489, 1507, '2018-09-03', 'Credit', 16720.00, 0.00, 16720.00, 0.00, 2, 0, 'payment', 'cash', '', 'Paid Balances', NULL, 369, 7, '2018-09-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18490, 1371, '2017-09-01', 'Debit', 52631.41, 0.00, 52631.41, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 442, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18491, 1508, '2017-12-31', 'Credit', 52631.41, 0.00, 52631.41, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 442, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18492, 1372, '2018-09-03', 'Debit', 165.00, 0.00, 165.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 900, 13, '2018-09-03', NULL, 0, '0000-00-00', 1, 13, '2018-09-03', 0),
(18493, 1509, '2017-12-31', 'Credit', 165.00, 0.00, 165.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 900, 13, '2018-09-03', NULL, 0, '0000-00-00', 1, 13, '2018-09-03', 0),
(18494, 1373, '2017-09-01', 'Debit', 165.00, 0.00, 165.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 425, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18495, 1510, '2017-12-31', 'Credit', 165.00, 0.00, 165.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 425, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18496, 1374, '2017-09-01', 'Debit', 885.00, 0.00, 885.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 103, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18497, 1511, '2017-12-31', 'Credit', 885.00, 0.00, 885.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 103, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18498, 1375, '2017-09-01', 'Debit', 36951.98, 0.00, 36951.98, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 901, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18499, 1512, '2017-12-31', 'Credit', 36951.98, 0.00, 36951.98, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 901, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18500, 1376, '2017-09-01', 'Debit', 370.40, 0.00, 370.40, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 902, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18501, 1513, '2017-12-31', 'Credit', 370.40, 0.00, 370.40, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 902, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18502, 1377, '2017-09-01', 'Debit', 325.00, 0.00, 325.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 225, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18503, 1514, '2017-12-31', 'Credit', 325.00, 0.00, 325.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 225, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18504, 1378, '2017-09-01', 'Debit', 194.00, 0.00, 194.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 903, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18505, 1515, '2017-12-31', 'Credit', 194.00, 0.00, 194.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 903, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18506, 1379, '2017-09-01', 'Debit', 1010.00, 0.00, 1010.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 904, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18507, 1516, '2017-12-31', 'Credit', 1010.00, 0.00, 1010.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 904, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18508, 1380, '2017-09-01', 'Debit', -35.00, 0.00, -35.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 905, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18509, 1381, '2017-09-01', 'Debit', -46.82, 0.00, -46.82, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 906, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18510, 1382, '2017-09-01', 'Debit', -55.00, 0.00, -55.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 269, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18511, 1383, '2017-09-01', 'Debit', -60.00, 0.00, -60.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 907, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18512, 1384, '2017-09-01', 'Debit', -63.01, 0.00, -63.01, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 908, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18513, 1385, '2017-09-01', 'Debit', 6302.00, 0.00, 6302.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 909, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18514, 1386, '2017-12-31', 'Debit', 8004.00, 0.00, 8004.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 909, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18515, 1517, '2017-09-18', 'Credit', 14371.00, 0.00, 14371.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 909, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18516, 1387, '2017-09-01', 'Debit', -87.00, 0.00, -87.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 910, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18517, 1388, '2017-09-01', 'Debit', -90.00, 0.00, -90.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 911, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18518, 1389, '2017-09-01', 'Debit', 10390.00, 0.00, 10390.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 912, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18519, 1518, '2017-12-31', 'Credit', 10480.00, 0.00, 10480.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 912, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18520, 1390, '2017-09-01', 'Debit', -109.95, 0.00, -109.95, 0.00, 3, 1, 'charge', NULL, NULL, 'Payment received (wise option)', NULL, 913, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18521, 1391, '2017-09-01', 'Debit', 40985.00, 0.00, 40985.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 914, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18522, 1392, '2017-12-31', 'Debit', 2185.00, 0.00, 2185.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 914, 13, '2018-09-03', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18523, 1519, '2018-01-16', 'Credit', 43294.33, 0.00, 43294.33, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 914, 13, '2018-09-03', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18524, 15420, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20720', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18525, 15421, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20722', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18526, 15422, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20727', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18527, 15423, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20728', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18528, 15424, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20716', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18529, 15425, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20717', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18530, 15426, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20730', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18531, 15427, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20726', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18532, 15428, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20731', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18533, 15429, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20732', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18534, 15430, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20735', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18535, 15431, '2018-08-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20738', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18536, 15432, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20714', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18537, 15433, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20733', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18538, 15434, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20713', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18539, 15435, '2018-08-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20740', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18540, 15436, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20767', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18541, 15437, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20763', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18542, 15438, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20742', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18543, 15439, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20737', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18544, 15440, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20771', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18545, 15441, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20736', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18546, 15442, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20744', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18547, 15443, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20746', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18548, 15444, '2018-08-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20751', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18549, 15445, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20750', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18550, 15446, '2018-08-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20752', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18551, 15447, '2018-08-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20748', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18552, 15448, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20772', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18553, 15449, '2018-08-31', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Vaccination done for Taif show registration', '20710', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18554, 15450, '2018-08-31', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Vaccination done for Taif show registration', '20711', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18555, 15451, '2018-08-31', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'P4 doze for the month of Aug, 2018', '20739', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18556, 15452, '2018-08-31', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes for the month of Aug, 2018', '20729', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18557, 15453, '2018-08-31', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes for the month of Aug, 2018', '20743', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18558, 15454, '2018-08-31', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes for the month of Aug, 2018', '20741', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18559, 15455, '2018-08-31', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes for the month of Aug, 2018', '20749', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18560, 15456, '2018-08-31', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes for the month of Aug, 2018', '20754', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18561, 15457, '2018-08-31', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes for the month of Aug, 2018', '20745', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18562, 15458, '2018-08-31', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes for the month of Aug, 2018', '20747', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18563, 15459, '2018-08-31', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes for the month of Aug, 2018', '20775', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18564, 15460, '2018-08-31', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes for the month of Aug, 2018', '20768', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18565, 15461, '2018-08-31', 'Debit', 720.00, 0.00, 756.00, 36.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes for the month of July & Aug, 2018', '20765', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18566, 15462, '2018-08-31', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes for the month of Aug, 2018', '20773', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18567, 15463, '2018-08-31', 'Debit', 2040.00, 0.00, 2142.00, 102.00, 1, 0, 'invoice', NULL, NULL, 'Trim (Ladoo) For Aug, 2018: Colt of Kubaira, Filly of Maram, Mera Al Sayed, Colt of Miss Bella Rose, Saden Al Sayed, Colt of Anilla, Colt of Shanina, Filly of Shanina, Filly of Lorella, Filly of Amal Al Khaledia, Filly of Prestic, Adeeb Al Sayed, Colt of Mera Al Sayed (Trim-Shoukath: Usaila, Kubaira, Czateria, NW Mattelyn', '20779', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18568, 15464, '2018-08-31', 'Debit', 3000.00, 0.00, 3150.00, 150.00, 1, 0, 'invoice', NULL, NULL, 'Shoeing (Ladoo) for Aug, 2018: Justina Al Sayed, Delight\'s Divah, Jawharat Al Sahra, RD Lorella, Amal Al Khalediah, Al Aseel, LR Era, Bint Seduction, Bint Al Shamal, Alexxanderr', '20780', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18569, 15465, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20753', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18570, 15466, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20760', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18571, 15467, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20761', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18572, 15468, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20755', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18573, 15469, '2018-08-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20756', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18574, 15470, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20769', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18575, 15471, '2018-08-31', 'Debit', 400.00, 0.00, 420.00, 20.00, 2, 0, 'invoice', NULL, NULL, 'Vaccinations', '20734', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18576, 15472, '2018-08-31', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Vaccination', '20770', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18577, 15473, '2018-08-01', 'Debit', 90.00, 0.00, 94.50, 4.50, 2, 0, 'invoice', NULL, NULL, 'Horse Halter Charges - In Milad Center (July-2018) : Filly of Lorella, Colt of Justina, Colt of Kubaira', '19902', 138, 6, '2018-09-03', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18578, 15474, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20759', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18579, 15475, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20764', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18580, 15476, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20762', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18581, 15477, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20766', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18582, 15478, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20774', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18583, 15479, '2018-08-31', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Breed Stallion - No Boarding charges', '20758', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18584, 15480, '2018-08-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Charges for Filling Nitrogen in Container (Aug- 2018) For month SAR. 1000/-', '20793', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18585, 15481, '2018-08-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of Aug, 2018', '20794', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18586, 15482, '2018-08-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of Aug, 2018', '20795', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18587, 15483, '2018-08-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of Aug, 2018', '20796', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18588, 15484, '2018-08-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of Aug, 2018', '20797', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18589, 15485, '2018-08-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of Aug, 2018', '20798', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18590, 15486, '2018-08-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of Aug, 2018', '20799', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18591, 15487, '2018-08-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of Aug, 2018', '20800', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18592, 15488, '2018-08-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of Aug, 2018', '20804', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18593, 15489, '2018-08-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of Aug, 2018', '20801', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18594, 15490, '2018-08-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of Aug, 2018', '20802', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18595, 15491, '2018-08-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of Aug, 2018', '20805', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18596, 15492, '2018-08-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of Aug, 2018', '20803', 138, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18597, 15493, '2018-08-01', 'Debit', 1300.00, 0.00, 1365.00, 65.00, 2, 0, 'invoice', NULL, NULL, 'Montasar Al Khalediah - semen storage charges - 438 + 442 Straws - Monthly charges 1300 SAR FOR JULY- 2018', '20806', 501, 6, '2018-09-03', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18598, 15494, '2018-08-31', 'Debit', 1300.00, 0.00, 1365.00, 65.00, 2, 0, 'invoice', NULL, NULL, 'Montasar Al Khalediah - semen storage charges - 438 + 442 Straws - Monthly charges 1300 SAR FOR  AUGUST- 2018', '20807', 501, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18599, 15495, '2018-08-01', 'Debit', 550.00, 0.00, 577.50, 27.50, 2, 0, 'invoice', NULL, NULL, 'Semen storage charges - SW El Marwan (For the month of July, 2018) monthly SAR. 550/- (available Straws 440)', '20808', 140, 6, '2018-09-03', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18600, 15496, '2018-08-31', 'Debit', 550.00, 0.00, 577.50, 27.50, 2, 0, 'invoice', NULL, NULL, 'Semen storage charges - SW El Marwan (For the month of Aug, 2018) monthly SAR. 550/- (available Straws 440)', '20809', 140, 6, '2018-09-03', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18601, 1393, '2018-08-31', 'Debit', -7827.13, 0.00, -7827.13, 0.00, 2, 0, 'charge', NULL, NULL, 'Discount approved by Mr. Nasir', NULL, 472, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18602, 1394, '2018-08-31', 'Debit', -22000.00, 0.00, -22000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Discount approved by Mr. Nasir', NULL, 542, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18603, 1395, '2017-09-01', 'Debit', -160.00, 0.00, -160.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 915, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18604, 1396, '2017-09-01', 'Debit', -235.00, 0.00, -235.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 916, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18605, 1397, '2018-08-31', 'Debit', -17062.62, 0.00, -17062.62, 0.00, 2, 0, 'charge', NULL, NULL, 'Charged to expense (training)/ Horse died', NULL, 490, 13, '2018-09-04', NULL, 1, '2018-09-04', 0, NULL, NULL, 0),
(18606, 1398, '2017-09-01', 'Debit', -265.00, 0.00, -265.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 917, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18607, 1399, '2017-09-01', 'Debit', -418.40, 0.00, -418.40, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 918, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18608, 1400, '2017-09-01', 'Debit', -489.60, 0.00, -489.60, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 919, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18609, 1401, '2017-09-01', 'Debit', -495.00, 0.00, -495.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 920, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18610, 1402, '2017-09-01', 'Debit', -500.00, 0.00, -500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 921, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18611, 1403, '2017-09-01', 'Debit', -500.00, 0.00, -500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 922, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18612, 1404, '2017-09-01', 'Debit', -500.00, 0.00, -500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 923, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18613, 1405, '2017-09-01', 'Debit', -500.00, 0.00, -500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 924, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18614, 1406, '2017-09-01', 'Debit', -500.00, 0.00, -500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 925, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18615, 1407, '2017-09-01', 'Debit', -500.00, 0.00, -500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 926, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18616, 1408, '2017-09-01', 'Debit', -500.00, 0.00, -500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 927, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18617, 1409, '2017-09-01', 'Debit', -500.00, 0.00, -500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 928, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18618, 1410, '2017-09-01', 'Debit', -500.00, 0.00, -500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 929, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18619, 1411, '2017-09-01', 'Debit', -500.00, 0.00, -500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 930, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18620, 1412, '2017-09-01', 'Debit', -500.00, 0.00, -500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 931, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18621, 1413, '2017-09-01', 'Debit', -500.96, 0.00, -500.96, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 932, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18622, 1414, '2017-09-01', 'Debit', -505.00, 0.00, -505.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 933, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18623, 1415, '2017-09-01', 'Debit', -710.00, 0.00, -710.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 934, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18624, 1416, '2017-09-01', 'Debit', -781.08, 0.00, -781.08, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 935, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18625, 1417, '2017-09-01', 'Debit', -927.88, 0.00, -927.88, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 936, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18626, 1418, '2017-09-01', 'Debit', -1000.00, 0.00, -1000.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 937, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18627, 1419, '2017-09-01', 'Debit', -1000.00, 0.00, -1000.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 938, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18628, 1420, '2017-09-01', 'Debit', -1000.00, 0.00, -1000.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 939, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18629, 1421, '2017-09-01', 'Debit', -1000.00, 0.00, -1000.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 940, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18630, 1520, '2017-09-22', 'Credit', 630.00, 0.00, 630.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 941, 13, '2018-09-04', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18631, 1521, '2017-09-26', 'Credit', 400.00, 0.00, 400.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 941, 13, '2018-09-04', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18632, 1422, '2017-09-01', 'Debit', -1300.00, 0.00, -1300.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 942, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18633, 1423, '2017-09-01', 'Debit', -1300.00, 0.00, -1300.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 943, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18634, 1424, '2017-09-01', 'Debit', -1500.00, 0.00, -1500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 944, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18635, 1425, '2017-09-01', 'Debit', -1500.00, 0.00, -1500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 945, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18636, 1426, '2017-09-01', 'Debit', -1600.62, 0.00, -1600.62, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 946, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18637, 1427, '2017-09-01', 'Debit', 9809.00, 0.00, 9809.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 947, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18638, 1428, '2017-12-31', 'Debit', 35470.00, 0.00, 35470.00, 0.00, 1, 1, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 947, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18639, 1522, '2017-10-18', 'Credit', 5000.00, 0.00, 5000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 947, 13, '2018-09-04', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18640, 1523, '2017-11-13', 'Credit', 6000.00, 0.00, 6000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 947, 13, '2018-09-04', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18641, 1524, '2017-12-21', 'Credit', 36279.00, 0.00, 36279.00, 0.00, 3, 0, 'payment', 'span', '', 'Payment received (wise option)', NULL, 947, 13, '2018-09-04', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18642, 1429, '2017-09-01', 'Debit', -2280.10, 0.00, -2280.10, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 948, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18643, 1430, '2017-09-01', 'Debit', -2769.95, 0.00, -2769.95, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 949, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18644, 1431, '2017-09-01', 'Debit', -2800.00, 0.00, -2800.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 950, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18645, 1432, '2017-09-01', 'Debit', -3220.00, 0.00, -3220.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 951, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18646, 1433, '2017-09-01', 'Debit', -9000.00, 0.00, -9000.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 952, 13, '2018-09-04', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18647, 1525, '2018-09-04', 'Credit', 255.00, 0.00, 255.00, 0.00, 2, 0, 'payment', 'span', '', 'c/o Mansoor Al Saeed MADA Card', NULL, 407, 7, '2018-09-04', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18648, 15497, '2018-09-04', 'Debit', 100.00, 0.00, 105.00, 5.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Misehal M AlShammari', '20810', 160, 7, '2018-09-04', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18649, 1526, '2018-09-04', 'Credit', 105.00, 0.00, 105.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15497', NULL, 160, 7, '2018-09-04', 18648, 1, '2018-10-03', 0, NULL, NULL, 0),
(18650, 15498, '2018-08-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of July, 2018', '20718', 153, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18651, 15499, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20719', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18652, 15500, '2018-08-31', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Breed Stallion - No Boarding charges for the month June, July & Aug, 2018', '17888,20815,20816', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18653, 15501, '2018-08-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of July, 2018', '20811', 153, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18654, 15502, '2018-08-01', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special Training feed charges for the month of July, 2018', '20813', 153, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18655, 15503, '2018-08-31', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of Aug, 2018', '20812', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18656, 15504, '2018-08-31', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Vaccination for Passport (Taif Show)', '20712', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18657, 15505, '2018-08-01', 'Debit', 720.00, 0.00, 756.00, 36.00, 1, 0, 'invoice', NULL, NULL, 'Trim Horses (Ladoo)for July, 2018: Ammar Al Sakab, SK Mia, Nabil Sakab, SK Ruyuf, SK Mudawi, Colt of Ajadore', '20776', 153, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18658, 15506, '2018-08-31', 'Debit', 600.00, 0.00, 630.00, 30.00, 1, 0, 'invoice', NULL, NULL, 'Trim (Ladoo) For August, 2018: Nabil Al Sakab, SK Mudawi, SK Ruyuf, SK Mia, SK Bandar,', '20777', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18659, 15507, '2018-08-31', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 1, 0, 'invoice', NULL, NULL, 'Shoeing (Ladoo) for Aug, 2018: Magic of Shwan, Scandall Mirage, Haifa ED, Ajadore', '20778', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18660, 15508, '2018-08-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special Training horses feed for the month of Aug, 2018', '20814', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18661, 15509, '2018-08-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for  the month of July, 2018', '20817', 153, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18662, 15510, '2018-08-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for  the month of July, 2018', '20820', 153, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18663, 15511, '2018-08-01', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for  the month of July, 2018', '20823', 153, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18664, 15512, '2018-08-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for  the month of July, 2018', '20827', 153, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18665, 15513, '2018-08-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for  the month of July, 2018', '20832', 153, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18666, 15514, '2018-08-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for  the month of July, 2018', '20835', 153, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18667, 15515, '2018-08-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for  the month of July, 2018', '20838', 153, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18668, 15516, '2018-08-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for  the month of July, 2018', '20829', 153, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18669, 15517, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for  the month of Aug, 2018', '20818', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18670, 15518, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 1, 0, 'invoice', NULL, NULL, 'Boarding for  the month of Aug, 2018', '20819', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18671, 15519, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for  the month of Aug, 2018', '20830', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18672, 15520, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for  the month of Aug, 2018', '20833', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18673, 15521, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for  the month of Aug, 2018', '20821', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18674, 15522, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 1, 0, 'invoice', NULL, NULL, 'Boarding for  the month of Aug, 2018', '20834', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18675, 15523, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for  the month of Aug, 2018', '20836', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18676, 15524, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for  the month of Aug, 2018', '20839', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18677, 15525, '2018-08-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special Training Horses feed for the month of Aug, 2018', '20822', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18678, 15526, '2018-08-04', 'Debit', 306.68, 0.00, 322.01, 15.33, 2, 0, 'invoice', NULL, NULL, 'Boarding 1-4 August, 2018 (During the treatment Tadawi Filly of Ajadore dead)', '20825', 153, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18679, 15527, '2018-08-31', 'Debit', 1733.42, 0.00, 1820.09, 86.67, 2, 0, 'invoice', NULL, NULL, 'Boarding 5-31 -Aug , 2018', '20826', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18680, 15528, '2018-08-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special Training Horses feed for the month of Aug, 2018', '20837', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18681, 15529, '2018-08-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special Training Horses feed for the month of Aug, 2018', '20831', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18682, 15530, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20828', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18683, 15531, '2018-08-31', 'Debit', 960.00, 0.00, 1008.00, 48.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes for the month of July & Aug, 2018', '20840', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18684, 15532, '2018-08-05', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Deworming Charges: Sk Mudawi, SK Ruyuf, Nabil Al Sakab, Magic of Shawan, SK Bander, SK Mia, Haifa ED, Ajadore, Ammar Al Sakab', '20841', 153, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18685, 15533, '2018-08-01', 'Debit', 3733.42, 0.00, 3920.09, 186.67, 2, 0, 'invoice', NULL, NULL, 'Boarding charges from 1-Jan-2018 to 26-Feb-2018 (BILLED IN AUG, 2018)', '20842,20843', 153, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18686, 15534, '2018-08-01', 'Debit', 306.68, 0.00, 322.01, 15.33, 2, 0, 'invoice', NULL, NULL, 'Boarding 1-4 July, 2018 / Checkout ', '20844', 153, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18687, 15535, '2018-08-31', 'Debit', 1733.42, 0.00, 1820.09, 86.67, 2, 0, 'invoice', NULL, NULL, 'Boarding charges for the month of 5-31 Aug, 2018', '20845', 153, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18688, 15536, '2018-08-01', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Trim (Ladoo) for July, 2018: Filly of Jaleela, Zamarruda, Aliah,	\r\n', '20781', 150, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18689, 15537, '2018-08-01', 'Debit', 900.00, 0.00, 945.00, 45.00, 1, 0, 'invoice', NULL, NULL, 'Shoeing (Ladoo) for July, 2018: Al Fabia, Hial Al Fala, Jaleela', '20782', 150, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18690, 15538, '2018-08-31', 'Debit', 3000.00, 0.00, 3150.00, 150.00, 2, 0, 'invoice', NULL, NULL, 'Trim (Ladoo) for Aug, 2018 (Services in Al Fala Stud): 25 horses, requested by Mr. Ricky checked by Rahil', '20783', 150, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18691, 15539, '2018-08-31', 'Debit', 2400.00, 0.00, 2520.00, 120.00, 2, 0, 'invoice', NULL, NULL, 'Shoeing (Ladoo) for Aug, 2018 (Services done in Al Fala Stud) 6 Horses Requested by Mr. Ricky ....... in Milad: Al Fabia, Hilal Al fala', '20784', 150, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18692, 15540, '2018-07-31', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'Monthly service charges (Milad Vet) for July, 2018', '20846', 150, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18693, 15541, '2018-08-31', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'Monthly service charges (Milad Vet) for  Aug, 2018', '20847', 150, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18694, 15542, '2018-08-31', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'Semen storage charges (for 45 Liters container) (Ansata Nile, Alihandro, Naseem, Al Adeed (Period 1- June-2018 to 31-Aug-2018 - Monthly 500 SAR', '20854', 150, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18695, 15543, '2018-07-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of July, 2018', '20848', 150, 6, '2018-09-04', NULL, 1, '2018-09-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
(18696, 15544, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of July, 2018', '20850', 150, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18697, 15545, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of July, 2018', '20852', 150, 6, '2018-09-04', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18698, 15546, '2018-08-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20849', 150, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18699, 15547, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20851', 150, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18700, 15548, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20853', 150, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18701, 15549, '2018-08-31', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'El They Sofyan Frozen Semen 533 Straws (Period 1-Sep-2017 to 31-Aug-2018) yearly charges SAR. 1500/- Approved by Mr. Nasir ', '20855', 593, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18702, 15550, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20856', 468, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18703, 15551, '2018-08-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Aug, 2018', '20857', 468, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18704, 15552, '2018-08-31', 'Debit', 2460.00, 0.00, 2583.00, 123.00, 2, 0, 'invoice', NULL, NULL, 'Trim service charges for the month of May, June, July & August, 2018', '16651,16652,20785,20787,20788', 139, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18705, 15553, '2018-08-31', 'Debit', 900.00, 0.00, 945.00, 45.00, 2, 0, 'invoice', NULL, NULL, 'Shoeing service charges for the month of  June, July & August, 2018', '20786,20789', 139, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18706, 15554, '2018-08-31', 'Debit', 1680.00, 0.00, 1764.00, 84.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes weekly once start from 20-May to 31-Aug-2018 total 14 dozes', '20858', 139, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18707, 15555, '2018-08-31', 'Debit', 1680.00, 0.00, 1764.00, 84.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes weekly once start from 20-May to 31-Aug-2018 total 14 dozes', '20859', 139, 6, '2018-09-04', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18708, 15556, '2018-08-31', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes for the month of Aug, 2018', '20860', 139, 6, '2018-09-05', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18709, 15557, '2018-08-01', 'Debit', 1920.00, 0.00, 2016.00, 96.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes weekly once for the month of Jan, Feb, Mar & April 2018 (Billed in Aug, 2018)', '20861', 139, 6, '2018-09-05', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18710, 15558, '2018-08-31', 'Debit', 400.00, 0.00, 420.00, 20.00, 2, 0, 'invoice', NULL, NULL, '5th & 7th Month vaccination ', '20862', 139, 6, '2018-09-05', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18711, 15559, '2018-08-31', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training charges for the month of Aug, 2018', '20866', 139, 6, '2018-09-05', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18712, 15560, '2018-08-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of June & July, 2018', '20867', 139, 6, '2018-09-05', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18713, 15561, '2018-08-31', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, '', '20865,20868', 139, 6, '2018-09-05', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18714, 15562, '2018-08-31', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Deworming Medicine charges', '20864', 139, 6, '2018-09-05', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18715, 15563, '2018-09-05', 'Debit', 100.00, 0.00, 105.00, 5.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Amood', '20870', 160, 7, '2018-09-05', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18716, 1527, '2018-09-05', 'Credit', 105.00, 0.00, 105.00, 0.00, 3, 0, 'payment', 'cash', '', 'Reference Invoice #15563', NULL, 160, 7, '2018-09-05', 18715, 1, '2018-10-04', 0, NULL, NULL, 0),
(18717, 1434, '2018-08-31', 'Debit', 1665.00, 0.00, 1665.00, 0.00, 3, 0, 'charge', NULL, NULL, 'To cancel write off entry (paid by client on April 5, 2018)', NULL, 512, 13, '2018-09-05', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18718, 15564, '2018-09-05', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, '', '20871', 138, 7, '2018-09-05', NULL, 0, '0000-00-00', 1, 7, '2018-09-05', 0),
(18719, 1528, '2018-04-05', 'Credit', 1665.00, 0.00, 1665.00, 0.00, 3, 0, 'payment', 'span', '', 'Payment received  thru SPAN', NULL, 512, 13, '2018-09-05', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18720, 15565, '2018-08-18', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, '', '20872', 418, 7, '2018-09-05', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18721, 15566, '2018-08-18', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '20873', 138, 7, '2018-09-05', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18722, 15567, '2018-08-18', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '20874', 164, 7, '2018-09-05', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18723, 15568, '2018-09-05', 'Debit', 50.00, 0.00, 52.50, 2.50, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Ayman Nasser', '20876', 160, 7, '2018-09-05', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18724, 1529, '2018-09-05', 'Credit', 52.50, 0.00, 52.50, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15568', NULL, 160, 7, '2018-09-05', 18723, 1, '2018-10-03', 0, NULL, NULL, 0),
(18725, 15569, '2018-08-18', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '20875', 138, 7, '2018-09-05', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18726, 15570, '2018-08-18', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '20877', 158, 7, '2018-09-05', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18727, 15571, '2018-08-18', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '20878', 138, 7, '2018-09-05', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18728, 15572, '2018-08-18', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '20879', 138, 7, '2018-09-05', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18729, 15573, '2018-08-19', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '20880', 138, 7, '2018-09-05', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18730, 15574, '2018-08-19', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '20881', 150, 7, '2018-09-05', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18731, 15575, '2018-08-19', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '20882', 150, 7, '2018-09-05', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18732, 15576, '2018-08-19', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '20883', 153, 7, '2018-09-05', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18733, 15577, '2018-05-10', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Mare has got pregnant with Alexxanderr', '20884,20885,20886,20887', 183, 6, '2018-09-05', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18734, 15578, '2018-05-26', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Mare got Pregnant with Alexxanderr', '20888,20889,20890,20891', 183, 6, '2018-09-05', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18735, 15579, '2018-04-11', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Mare got pregnant with Alexxanderr ', '20892,20893,20894,20895', 183, 6, '2018-09-05', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18736, 15580, '2018-06-20', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Mare has got pregnant with Alexxanderr', '20896,20897,20898,20899,20900,20901', 183, 6, '2018-09-05', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18737, 15581, '2018-08-21', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '20902', 138, 7, '2018-09-06', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18738, 15582, '2018-08-18', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18341 System Generated Invoice', '', 183, 10, '2018-09-06', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18739, 15583, '2018-08-21', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '20904', 138, 7, '2018-09-06', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18740, 15584, '2018-08-21', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18342 System Generated Invoice', '', 183, 10, '2018-09-06', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18741, 15585, '2018-08-21', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '20906', 138, 7, '2018-09-06', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18742, 15586, '2018-08-21', 'Debit', 120.00, 0.00, 126.00, 6.00, 1, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '20909', 215, 7, '2018-09-06', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18743, 15587, '2018-08-26', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18345 System Generated Invoice', '', 183, 10, '2018-09-06', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18744, 15588, '2018-08-21', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier:  Ladu', '20912', 138, 7, '2018-09-06', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18745, 15589, '2018-08-27', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18346 System Generated Invoice', '', 183, 10, '2018-09-06', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18746, 15590, '2018-08-21', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '20915', 468, 7, '2018-09-06', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18747, 15591, '2018-07-02', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'LOST EMBRYO (Alexxanderr)', '20907,20908,20910,20913,20916', 183, 6, '2018-09-06', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18748, 15592, '2018-08-28', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18347 System Generated Invoice', '', 183, 10, '2018-09-06', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18749, 15593, '2018-08-22', 'Debit', 300.00, 0.00, 315.00, 15.00, 1, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '20918', 138, 7, '2018-09-06', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18750, 15594, '2018-09-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18349 System Generated Invoice', '', 183, 10, '2018-09-06', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18751, 15595, '2018-08-22', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '20920', 153, 7, '2018-09-06', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18752, 15596, '2018-08-22', 'Debit', 120.00, 0.00, 126.00, 6.00, 1, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '20921', 138, 7, '2018-09-06', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18753, 15597, '2018-08-22', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '20922', 138, 7, '2018-09-06', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18754, 15598, '2018-08-14', 'Debit', 550.00, 0.00, 577.50, 27.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18351 System Generated Invoice', '', 138, 10, '2018-09-06', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18755, 15599, '2018-08-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18352 System Generated Invoice', '', 138, 10, '2018-09-06', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18756, 15600, '2018-08-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18353 System Generated Invoice', '', 138, 10, '2018-09-06', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18757, 15601, '2018-08-17', 'Debit', 320.00, 0.00, 336.00, 16.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18354 System Generated Invoice', '', 138, 10, '2018-09-06', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18758, 15602, '2018-08-18', 'Debit', 350.00, 0.00, 367.50, 17.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18355 System Generated Invoice', '', 138, 10, '2018-09-06', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18759, 15603, '2018-08-19', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18356 System Generated Invoice', '', 138, 10, '2018-09-06', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18760, 15604, '2018-09-01', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18358 System Generated Invoice', '', 138, 10, '2018-09-06', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18761, 15605, '2018-09-02', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18359 System Generated Invoice', '', 138, 10, '2018-09-06', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18762, 15606, '2018-09-03', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18360 System Generated Invoice', '', 138, 10, '2018-09-06', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18763, 15607, '2018-09-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18361 System Generated Invoice', '', 138, 10, '2018-09-06', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18764, 15608, '2018-09-05', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18362 System Generated Invoice', '', 138, 10, '2018-09-06', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18765, 1530, '2018-09-05', 'Credit', 70000.00, 0.00, 70000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 259, 7, '2018-09-06', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18766, 15609, '2018-09-06', 'Debit', 130.00, 0.00, 136.50, 6.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18363 System Generated Invoice', '', 138, 10, '2018-09-06', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18767, 1531, '2018-09-05', 'Credit', 6000.00, 0.00, 6000.00, 0.00, 1, 0, 'payment', 'transfer', '', 'Payment for Taif Show', NULL, 215, 7, '2018-09-06', NULL, 1, '2018-10-02', 0, NULL, NULL, 0),
(18768, 15610, '2018-09-04', 'Debit', 266.68, 0.00, 280.01, 13.33, 2, 0, 'invoice', NULL, NULL, 'Boarding charges 1-4 Aug-2018 During the treatment in Tadawi horse dead', '379,380,20949', 158, 6, '2018-09-06', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18769, 15611, '2018-09-04', 'Debit', 946.00, 0.00, 993.30, 47.30, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice (Jaadah)', '20950', 158, 6, '2018-09-06', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18770, 15612, '2018-09-06', 'Debit', 400.02, 0.00, 420.02, 20.00, 2, 0, 'invoice', NULL, NULL, 'Boarding 1-Aug to 6-Aug-2018 (Expected to checkout today)', '376,377,20951', 158, 6, '2018-09-06', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18771, 1435, '2018-07-31', 'Debit', 6743.28, 0.00, 6743.28, 0.00, 2, 0, 'charge', NULL, NULL, 'Reverse discount', NULL, 615, 13, '2018-09-06', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18772, 1532, '2018-04-10', 'Credit', 1320.00, 0.00, 1320.00, 0.00, 3, 0, 'payment', 'span', '', 'Payment received', NULL, 615, 13, '2018-09-06', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18773, 15613, '2018-07-01', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'UL Lucca / Frozen semen Ai-3 charges ', '281,20952,20953,20954,20955,20956,20957', 139, 6, '2018-09-06', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18774, 15614, '2018-08-01', 'Debit', 3000.00, 0.00, 3150.00, 150.00, 2, 0, 'invoice', NULL, NULL, 'SMA Magic one - used extra dozes only ', '20958', 139, 6, '2018-09-06', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18775, 15615, '2018-01-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'No Boarding charges - Mr. Nasir horse embryo (Nesj El Machiatto - UL Lucca)', '20863', 139, 6, '2018-09-06', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18776, 15616, '2018-01-31', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, '', '20959', 139, 6, '2018-09-06', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18777, 1436, '2018-08-31', 'Debit', -55791.55, 0.00, -55791.55, 0.00, 3, 0, 'charge', NULL, NULL, 'Close all Tadawi Transaction to Advances to TADAWI', NULL, 298, 11, '2018-09-06', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18778, 15617, '2018-08-14', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18364 System Generated Invoice', '', 138, 10, '2018-09-08', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18779, 15618, '2018-08-19', 'Debit', 170.00, 0.00, 178.50, 8.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18366 System Generated Invoice', '', 138, 10, '2018-09-08', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18780, 15619, '2018-08-20', 'Debit', 350.00, 0.00, 367.50, 17.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18367 System Generated Invoice', '', 138, 10, '2018-09-08', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18781, 15620, '2018-08-22', 'Debit', 350.00, 0.00, 367.50, 17.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18369 System Generated Invoice', '', 138, 10, '2018-09-08', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18782, 15621, '2018-08-23', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18370 System Generated Invoice', '', 138, 10, '2018-09-08', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18783, 15622, '2018-09-08', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Khaled', '20972', 160, 7, '2018-09-08', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18784, 1533, '2018-09-08', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15622', NULL, 160, 7, '2018-09-08', 18783, 1, '2018-10-04', 0, NULL, NULL, 0),
(18785, 1437, '2018-08-31', 'Debit', -1000.00, 0.00, -1000.00, 0.00, 1, 0, 'charge', NULL, NULL, '10% discount for Training Center Invoices (SAR10,000 total amount)', NULL, 138, 13, '2018-09-09', NULL, 1, '2018-09-09', 0, NULL, NULL, 0),
(18786, 1438, '2018-08-31', 'Debit', -17178.00, 0.00, -17178.00, 0.00, 2, 0, 'charge', NULL, NULL, '20% discount for Reproduction invoices (SAR85,890 total amount)', NULL, 138, 13, '2018-09-09', NULL, 1, '2018-09-09', 0, NULL, NULL, 0),
(18787, 1534, '2018-09-09', 'Credit', 9369.00, 0.00, 9369.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 430, 7, '2018-09-09', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18788, 1439, '2018-08-31', 'Debit', -4930.79, 0.00, -4930.79, 0.00, 2, 0, 'charge', NULL, NULL, 'Discount approved by Mr. Nasir (Per Mr. Khaled instruction with signed SOA by Mr. Nasir)', NULL, 259, 13, '2018-09-09', NULL, 1, '2018-09-09', 0, NULL, NULL, 0),
(18789, 1535, '2018-09-09', 'Credit', 4300.00, 0.00, 4300.00, 0.00, 2, 0, 'payment', 'cash', '', 'Paid Balances', NULL, 277, 7, '2018-09-09', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(18790, 1536, '2018-09-09', 'Credit', 56.00, 0.00, 56.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 277, 7, '2018-09-09', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18791, 15623, '2018-08-15', 'Debit', 320.00, 0.00, 336.00, 16.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18372 System Generated Invoice', '', 138, 10, '2018-09-10', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18792, 15624, '2018-08-16', 'Debit', 400.00, 0.00, 420.00, 20.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18373 System Generated Invoice', '', 138, 10, '2018-09-10', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18793, 15625, '2018-08-17', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18374 System Generated Invoice', '', 138, 10, '2018-09-10', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18794, 15626, '2018-08-15', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18375 System Generated Invoice', '', 138, 10, '2018-09-10', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18795, 15627, '2018-08-18', 'Debit', 320.00, 0.00, 336.00, 16.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18377 System Generated Invoice', '', 138, 10, '2018-09-10', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18796, 15628, '2018-08-19', 'Debit', 310.00, 0.00, 325.50, 15.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18378 System Generated Invoice', '', 138, 10, '2018-09-10', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18797, 15629, '2018-08-20', 'Debit', 130.00, 0.00, 136.50, 6.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18379 System Generated Invoice', '', 138, 10, '2018-09-10', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18798, 15630, '2018-08-21', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18380 System Generated Invoice', '', 138, 10, '2018-09-10', NULL, 1, '2018-09-10', 0, NULL, NULL, 0),
(18799, 15631, '2018-08-22', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18381 System Generated Invoice', '', 138, 10, '2018-09-10', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18800, 15632, '2018-09-04', 'Debit', 430.00, 0.00, 451.50, 21.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18382 System Generated Invoice', '', 138, 10, '2018-09-10', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18801, 15633, '2018-09-05', 'Debit', 310.00, 0.00, 325.50, 15.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18383 System Generated Invoice', '', 138, 10, '2018-09-10', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18802, 15634, '2018-09-06', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18384 System Generated Invoice', '', 138, 10, '2018-09-10', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18803, 15635, '2018-09-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Mohammad Al Marzouqi', '20998', 160, 7, '2018-09-10', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18804, 1537, '2018-09-10', 'Credit', 52.50, 0.00, 52.50, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15635', NULL, 160, 7, '2018-09-10', 18803, 1, '2018-10-04', 0, NULL, NULL, 0),
(18805, 15636, '2018-09-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Nasir', '20999', 160, 7, '2018-09-10', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18806, 1538, '2018-09-10', 'Credit', 52.50, 0.00, 52.50, 0.00, 3, 0, 'payment', 'cash', '', 'Reference Invoice #15636', NULL, 160, 7, '2018-09-10', 18805, 1, '2018-10-04', 0, NULL, NULL, 0),
(18807, 15637, '2018-09-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Mohammad Al Marzouqi', '21000', 160, 7, '2018-09-10', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18808, 1539, '2018-09-10', 'Credit', 52.50, 0.00, 52.50, 0.00, 3, 0, 'payment', 'cash', '', 'Reference Invoice #15637', NULL, 160, 7, '2018-09-10', 18807, 1, '2018-10-04', 0, NULL, NULL, 0),
(18809, 1440, '2018-09-10', 'Debit', 6000.00, 0.00, 6000.00, 0.00, 3, 0, 'charge', NULL, NULL, '30 Pieces Cow Drinking Bowl x 200 SAR; c/o Rajesh', NULL, 298, 7, '2018-09-10', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18810, 1540, '2018-09-10', 'Credit', 100000.00, 0.00, 100000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 183, 7, '2018-09-10', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18811, 15638, '2018-09-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Nasir', '21001', 160, 7, '2018-09-10', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18812, 1541, '2018-09-10', 'Credit', 52.50, 0.00, 52.50, 0.00, 3, 0, 'payment', 'cash', '', 'Reference Invoice #15638', NULL, 160, 7, '2018-09-10', 18811, 1, '2018-10-04', 0, NULL, NULL, 0),
(18813, 15639, '2018-09-10', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check In: September 10, 2018', '21002', 411, 7, '2018-09-10', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18814, 1542, '2018-09-10', 'Credit', 2100.00, 0.00, 2100.00, 0.00, 2, 0, 'payment', 'span', '', 'Mare: PA Vera (Check In Date: September 10, 2018)', NULL, 411, 7, '2018-09-10', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18815, 15640, '2018-08-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Semen collection for 2nd try and 3rd try Dated19-Feb & 8-Mar', '1272,1273,1274', 309, 13, '2018-09-10', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18816, 1543, '2018-09-10', 'Credit', 3000.00, 0.00, 3000.00, 0.00, 2, 0, 'payment', 'cash', '', 'Paid Balances - Cash Payment', NULL, 309, 7, '2018-09-10', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(18817, 1544, '2018-09-10', 'Credit', 1009.75, 0.00, 1009.75, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances - SPAN (Card Amount Paid: 1,651.75)', NULL, 309, 7, '2018-09-10', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18818, 1545, '2018-09-10', 'Credit', 642.00, 0.00, 642.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances: SPAN (Card Amount Paid - 1,651.75)', NULL, 424, 7, '2018-09-10', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18819, 15641, '2018-09-10', 'Debit', 7866.70, 0.00, 8260.04, 393.34, 1, 0, 'invoice', NULL, NULL, 'Taif Show - 2018', '21003,21004,21005,21006', 215, 6, '2018-09-10', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18820, 1546, '2018-01-31', 'Credit', -10377.50, 0.00, -10377.50, 0.00, 1, 0, 'payment', 'cash', '', 'Reversal of payment # 00665 (10% discount for Training horses for Jan 2018)/ Entry posted as charge', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18821, 1441, '2018-01-31', 'Debit', 10377.50, 0.00, 10377.50, 0.00, 1, 0, 'charge', NULL, NULL, '10% discount for Training horses for Jan 2018/ Reference Invoice #02592', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18822, 1547, '2018-01-31', 'Credit', -15506.20, 0.00, -15506.20, 0.00, 2, 0, 'payment', 'cash', '', 'Reversal of payment #00666 (20% discount for reproduction horses for Jan 2018)/ Entry posted as charge', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18823, 1442, '2018-01-31', 'Debit', 15506.20, 0.00, 15506.20, 0.00, 2, 0, 'charge', NULL, NULL, '20% discount for reproduction horses for the month of January 2018', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18824, 1443, '2018-01-31', 'Debit', -10377.50, 0.00, -10377.50, 0.00, 1, 0, 'charge', NULL, NULL, 'Reversal of wrong charge entry (charge 1441)', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18825, 1444, '2018-01-31', 'Debit', -10377.50, 0.00, -10377.50, 0.00, 1, 0, 'charge', NULL, NULL, '10% discount for training horses for the month of January 2018/ Reference invoice #02592', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18826, 1445, '2018-01-31', 'Debit', -15506.20, 0.00, -15506.20, 0.00, 2, 0, 'charge', NULL, NULL, 'To reverse wrong charge entry (charge #01442)', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18827, 1446, '2018-01-31', 'Debit', -15506.20, 0.00, -15506.20, 0.00, 2, 0, 'charge', NULL, NULL, '20% discount for reproduction horses for the month of January 2018', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18828, 1548, '2018-02-28', 'Credit', -9537.50, 0.00, -9537.50, 0.00, 1, 0, 'payment', 'cash', '', 'Reversal of payment #00714 (10% discount for training horses for the month of February 2018)/ Entry posted as charge', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18829, 1447, '2018-02-28', 'Debit', -9537.50, 0.00, -9537.50, 0.00, 1, 0, 'charge', NULL, NULL, '10% discount for training horses for the month of February 2018', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18830, 1549, '2018-02-28', 'Credit', -15157.60, 0.00, -15157.60, 0.00, 2, 0, 'payment', 'cash', '', 'Reversal for payment #00715 (20% discount for Reproduction horses for the month of February 2018)/ Entry posted as charge', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18831, 1448, '2018-02-28', 'Debit', -15157.60, 0.00, -15157.60, 0.00, 2, 0, 'charge', NULL, NULL, '20% discount for reproduction horses for the month of February 2018', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18832, 1550, '2017-12-31', 'Credit', 200000.00, 0.00, 200000.00, 0.00, 3, 0, 'payment', 'cash', '', 'Forwarded payments from wise option (as of December 31, 2017)', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-26', 0, NULL, NULL, 0),
(18833, 1449, '2017-10-31', 'Debit', -12621.90, 0.00, -12621.90, 0.00, 1, 0, 'charge', NULL, NULL, '10% discount for SAR126,219 ', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18834, 1450, '2017-10-31', 'Debit', -22995.00, 0.00, -22995.00, 0.00, 2, 0, 'charge', NULL, NULL, '20% discount for SAR114,975 reproduction invoices', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18835, 1451, '2017-11-25', 'Debit', -50.00, 0.00, -50.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Adjustment from Sayed Stud Auction period food expenses', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18836, 1452, '2017-12-31', 'Debit', -40000.00, 0.00, -40000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Adjustment for four (4) recipient transferred to Milad', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18837, 1453, '2017-12-31', 'Debit', -11906.00, 0.00, -11906.00, 0.00, 1, 0, 'charge', NULL, NULL, '10% discount for SAR119,068 training  invoices', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18838, 1454, '2017-12-31', 'Debit', -15961.00, 0.00, -15961.00, 0.00, 2, 0, 'charge', NULL, NULL, '20% discount for SAR79,808 reproduction invoices', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18839, 1551, '2017-12-31', 'Credit', -303533.90, 0.00, -303533.90, 0.00, 3, 0, 'payment', 'cash', '', 'Reversal of payment # 1183 (wrong amount entered)', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-26', 0, NULL, NULL, 0),
(18840, 1552, '2018-09-11', 'Credit', 3381.00, 0.00, 3381.00, 0.00, 2, 0, 'payment', 'cash', '', 'Paid Balances', NULL, 520, 7, '2018-09-11', NULL, 0, '0000-00-00', 1, 7, '2018-09-11', 0),
(18841, 1553, '2018-09-11', 'Credit', 3382.00, 0.00, 3382.00, 0.00, 2, 0, 'payment', 'cash', '', 'Paid Balances', NULL, 520, 7, '2018-09-11', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(18842, 1455, '2018-08-31', 'Debit', -135770.41, 0.00, -135770.41, 0.00, 3, 0, 'charge', NULL, NULL, 'Transfer this Balance to Akmal Stud', NULL, 865, 11, '2018-09-11', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18843, 1456, '2018-08-31', 'Debit', -4705.00, 0.00, -4705.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Transfer this Balance to AKMAL Stud', NULL, 865, 11, '2018-09-11', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18844, 1457, '2018-08-31', 'Debit', 13577041.00, 0.00, 135770.41, 0.00, 3, 0, 'charge', NULL, NULL, 'Beginning Balance for Mohamed Bin Salem Al Marri ( Transferred from to AKMAL Stud )', NULL, 375, 11, '2018-09-11', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18845, 1458, '2018-08-31', 'Debit', 4705.00, 0.00, 4705.00, 0.00, 2, 0, 'charge', NULL, NULL, 'balance in DEC 2017 for MOHAMED Bin Salem Al Marri ( Transferred to AKMAL Stud )', NULL, 375, 11, '2018-09-11', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18846, 1554, '2018-09-11', 'Credit', 577.98, 0.00, 577.98, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 429, 7, '2018-09-11', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(18847, 1555, '2018-09-11', 'Credit', 19554.69, 0.00, 19554.69, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 511, 7, '2018-09-11', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(18848, 15642, '2018-09-11', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Abdulrahman AlDawood', '21010', 160, 7, '2018-09-11', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18849, 1556, '2018-09-11', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15642', NULL, 160, 7, '2018-09-11', 18848, 1, '2018-10-04', 0, NULL, NULL, 0),
(18850, 1557, '2018-03-31', 'Credit', -8365.00, 0.00, -8365.00, 0.00, 1, 0, 'payment', 'cash', '', 'Reversal of payment # 00918 (posted as charge)', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18851, 1459, '2018-03-31', 'Debit', -8365.00, 0.00, -8365.00, 0.00, 2, 0, 'charge', NULL, NULL, '10% discount for training center invoices SAR83,650 for March 2018', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18852, 1558, '2018-03-31', 'Credit', -13260.00, 0.00, -13260.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reversal of payment # 00919 (Entry posted as charge)', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18853, 1460, '2018-03-31', 'Debit', -13260.00, 0.00, -13260.00, 0.00, 2, 0, 'charge', NULL, NULL, '20% discount for reproduction invoices SAR66,300 for March 2018', NULL, 138, 13, '2018-09-11', NULL, 1, '2018-09-11', 0, NULL, NULL, 0),
(18854, 1559, '2018-06-30', 'Credit', -10132.40, 0.00, -10132.40, 0.00, 1, 0, 'payment', 'cash', '', 'Reversal of payment # 01132 (Entry posted as charge)', NULL, 138, 13, '2018-09-12', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18855, 1461, '2018-06-30', 'Debit', -10132.40, 0.00, -10132.40, 0.00, 1, 0, 'charge', NULL, NULL, '10% discount from April 1 to June 30, 2018', NULL, 138, 13, '2018-09-12', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18856, 1560, '2018-06-30', 'Credit', -54027.00, 0.00, -54027.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reversal of payment # 01133 (Entry posted as  charge)', NULL, 138, 13, '2018-09-12', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18857, 1462, '2018-06-30', 'Debit', -54027.00, 0.00, -54027.00, 0.00, 2, 0, 'charge', NULL, NULL, '20% discount from April 1 to June 30, 2018 for reproduction invoices', NULL, 138, 13, '2018-09-12', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18858, 1561, '2018-06-30', 'Credit', -14007.00, 0.00, -14007.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reversal of payment #01134 (Entry posted as charge)', NULL, 138, 13, '2018-09-12', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18859, 1463, '2018-06-30', 'Debit', -14007.00, 0.00, -14007.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Reduced charges Prestic Emb. for Mr. Nasis', NULL, 138, 13, '2018-09-12', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18860, 1562, '2018-07-15', 'Credit', -1603.00, 0.00, -1603.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reversal of payment #01190 (Entry posted as charge)', NULL, 138, 13, '2018-09-12', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18861, 1464, '2018-07-15', 'Debit', -1603.00, 0.00, -1603.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Insurance expense for Nishath Muzakkir paid by Mr. Khalid Al Sayed', NULL, 138, 13, '2018-09-12', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18862, 1563, '2018-01-31', 'Credit', -100000.00, 0.00, -100000.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reversal of payment #00650', NULL, 138, 13, '2018-09-12', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18863, 1465, '2018-01-31', 'Debit', -100000.00, 0.00, -100000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Adjustment from Al Sharqia Show 2018 (Charged to Mr. Nasir)', NULL, 138, 13, '2018-09-12', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18864, 1466, '2017-09-01', 'Debit', 420.00, 0.00, 420.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance (wise option)', NULL, 168, 13, '2018-09-12', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18865, 1467, '2017-12-31', 'Debit', 16256.40, 0.00, 16256.40, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 168, 13, '2018-09-12', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(18866, 1564, '2017-11-12', 'Credit', 12000.00, 0.00, 12000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Forwarded payment (wise option)', NULL, 168, 13, '2018-09-12', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18867, 15643, '2018-09-08', 'Debit', 320.00, 0.00, 336.00, 16.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18388 System Generated Invoice', '', 183, 10, '2018-09-12', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18868, 15644, '2018-09-09', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18389 System Generated Invoice', '', 183, 10, '2018-09-12', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18869, 15645, '2018-09-10', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18390 System Generated Invoice', '', 183, 10, '2018-09-12', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18870, 15646, '2018-09-11', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18391 System Generated Invoice', '', 183, 10, '2018-09-12', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18871, 15647, '2018-09-12', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18392 System Generated Invoice', '', 183, 10, '2018-09-12', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18872, 15648, '2018-09-11', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18396 System Generated Invoice', '', 138, 10, '2018-09-12', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18873, 15649, '2018-09-12', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18397 System Generated Invoice', '', 138, 10, '2018-09-12', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18874, 15650, '2018-08-30', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18398 System Generated Invoice', '', 139, 10, '2018-09-12', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(18875, 1468, '2018-08-31', 'Debit', -3000.00, 0.00, -3000.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Purchase  1 Pony from Customer ', NULL, 360, 11, '2018-09-13', NULL, 1, '2018-09-13', 0, NULL, NULL, 0),
(18876, 1565, '2018-09-13', 'Credit', 798.00, 0.00, 798.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 212, 7, '2018-09-13', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(18877, 1566, '2018-09-12', 'Credit', 2211.00, 0.00, 2211.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 215, 7, '2018-09-13', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18878, 1469, '2018-09-13', 'Debit', -100000.00, 0.00, -100000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'To reverse charge #00245 already posted to Advances to Mr. Nasir account', NULL, 139, 13, '2018-09-13', NULL, 1, '2018-09-13', 0, NULL, NULL, 0),
(18879, 1470, '2018-09-13', 'Debit', 100000.00, 0.00, 100000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'To add back reversal entry (charge #01469)/ Wrong date entered', NULL, 139, 13, '2018-09-13', NULL, 1, '2018-09-13', 0, NULL, NULL, 0),
(18880, 1471, '2018-08-31', 'Debit', -100000.00, 0.00, -100000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'To reverse charge #00245/ Already recorded to Advances to Mr. Nasir account (JV# 19155)', NULL, 139, 13, '2018-09-13', NULL, 1, '2018-09-13', 0, NULL, NULL, 0),
(18881, 15651, '2018-09-13', 'Debit', 6000.00, 0.00, 6300.00, 300.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Mohammed AlRasheed', '21025', 160, 7, '2018-09-13', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18882, 1567, '2018-09-13', 'Credit', 6300.00, 0.00, 6300.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15651', NULL, 160, 7, '2018-09-13', 18881, 1, '2018-10-04', 0, NULL, NULL, 0),
(18883, 1568, '2018-09-13', 'Credit', 304.50, 0.00, 304.50, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 326, 7, '2018-09-13', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(18884, 15652, '2018-09-15', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'c/o Nishat', '21026', 160, 7, '2018-09-15', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18885, 1569, '2018-09-15', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15652', NULL, 160, 7, '2018-09-15', 18884, 1, '2018-10-04', 0, NULL, NULL, 0),
(18886, 1570, '2018-09-15', 'Credit', -49780.00, 0.00, -49780.00, 0.00, 3, 0, 'payment', 'cash', '', 'To reverse payment #1159', NULL, 155, 13, '2018-09-15', NULL, 1, '2018-09-15', 0, NULL, NULL, 0),
(18887, 1472, '2018-08-31', 'Debit', -49780.00, 0.00, -49780.00, 0.00, 2, 0, 'charge', NULL, NULL, 'To post payment # 1159 as charge (reduced embryo services # 3 try 10+10=20/ Reduced recp. 60 (Emb. Eden C-Yara Al Khaled)', NULL, 155, 13, '2018-09-15', NULL, 1, '2018-09-15', 0, NULL, NULL, 0),
(18888, 15653, '2018-09-15', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Fahad', '21027', 160, 7, '2018-09-15', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18889, 1571, '2018-09-15', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15653', NULL, 160, 7, '2018-09-15', 18888, 1, '2018-10-04', 0, NULL, NULL, 0),
(18890, 1572, '2018-09-15', 'Credit', 49780.00, 0.00, 49780.00, 0.00, 3, 0, 'payment', 'cash', '', 'To reverse wrong entry (date entered not correct)/ payment # 1570', NULL, 155, 13, '2018-09-15', NULL, 1, '2018-09-15', 0, NULL, NULL, 0),
(18891, 1573, '2018-08-31', 'Credit', -49780.00, 0.00, -49780.00, 0.00, 3, 0, 'payment', 'cash', '', 'To reverse payment #1159 (Entry posted as charge #01472)', NULL, 155, 13, '2018-09-15', NULL, 1, '2018-09-15', 0, NULL, NULL, 0),
(18892, 1574, '2018-08-31', 'Credit', -2500.00, 0.00, -2500.00, 0.00, 3, 0, 'payment', 'cash', '', 'To reverse payment #1252 (Entry posted as charge #01473)', NULL, 662, 13, '2018-09-15', NULL, 1, '2018-09-15', 0, NULL, NULL, 0),
(18893, 1473, '2018-08-31', 'Debit', -2500.00, 0.00, -2500.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Discount approved by Mr. Mansour (payment #01252)', NULL, 662, 13, '2018-09-15', NULL, 1, '2018-09-15', 0, NULL, NULL, 0),
(18894, 1575, '2018-08-31', 'Credit', -30000.00, 0.00, -30000.00, 0.00, 3, 0, 'payment', 'cash', '', 'Reversal for payment #01234 (Entry posted as charge #01474)', NULL, 327, 13, '2018-09-15', NULL, 1, '2018-09-15', 0, NULL, NULL, 0),
(18895, 1474, '2018-08-31', 'Debit', -30000.00, 0.00, -30000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Sales discount (Adjusted amount for Al Sayed Stud/ Reclass payment #01234', NULL, 327, 13, '2018-09-15', NULL, 1, '2018-09-15', 0, NULL, NULL, 0),
(18896, 1576, '2018-08-31', 'Credit', -10000.00, 0.00, -10000.00, 0.00, 3, 0, 'payment', 'cash', '', 'Reversal of payment #01157 (Entry posted as charge #01475)', NULL, 145, 13, '2018-09-15', NULL, 1, '2018-09-15', 0, NULL, NULL, 0),
(18897, 1475, '2018-08-31', 'Debit', -10000.00, 0.00, -10000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'SAR10,000.00 discount approved by Mr. Nasir (Original entry payment #01157)\r\n', NULL, 145, 13, '2018-09-15', NULL, 1, '2018-09-15', 0, NULL, NULL, 0),
(18898, 1577, '2018-08-31', 'Credit', -10420.00, 0.00, -10420.00, 0.00, 3, 0, 'payment', 'cash', '', 'Reverse payment #01158 (Entry posted as charge # 1476)', NULL, 147, 13, '2018-09-15', NULL, 1, '2018-09-15', 0, NULL, NULL, 0),
(18899, 1476, '2018-08-31', 'Debit', -10420.00, 0.00, -10420.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Reduced charges lexus embryo (Mr. Nasir)/ Original entry payment # 01158', NULL, 147, 13, '2018-09-15', NULL, 1, '2018-09-15', 0, NULL, NULL, 0),
(18900, 1578, '2018-09-15', 'Credit', 1670.00, 0.00, 1670.00, 0.00, 2, 0, 'payment', 'cash', '', 'Paid Balances', NULL, 480, 7, '2018-09-15', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(18901, 15654, '2018-09-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd try charges 3-June-2018', '21028', 402, 6, '2018-09-15', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18902, 1579, '2018-09-16', 'Credit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'payment', 'cash', '', 'Payment Cash from Thamer Al Ghshyan', NULL, 83, 11, '2018-09-16', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18903, 1580, '2017-11-30', 'Credit', 3000.00, 0.00, 3000.00, 0.00, 2, 0, 'payment', 'cash', '', 'Ref Invoice ( 26 & 27 )', NULL, 83, 11, '2018-09-16', 18902, 1, '2018-09-16', 0, NULL, NULL, 0),
(18904, 1477, '2018-08-31', 'Debit', -5000.00, 0.00, -5000.00, 0.00, 3, 0, 'charge', NULL, NULL, 'This Balance Should be for Customer Name ALI AL TAMIMI', NULL, 527, 11, '2018-09-16', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(18905, 1478, '2017-09-01', 'Debit', 5000.00, 0.00, 5000.00, 0.00, 3, 0, 'charge', NULL, NULL, '', NULL, 953, 11, '2018-09-16', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(18906, 1479, '2018-08-31', 'Debit', -34767.50, 0.00, -34767.50, 0.00, 2, 0, 'charge', NULL, NULL, 'To adjust wrong entry (Charge #00814)', NULL, 203, 13, '2018-09-16', NULL, 1, '2018-09-16', 0, NULL, NULL, 0),
(18907, 1581, '2018-08-31', 'Credit', -34767.50, 0.00, -34767.50, 0.00, 3, 0, 'payment', 'transfer', '', 'To refund over payment due to purchase of mares and medicines', NULL, 203, 13, '2018-09-16', NULL, 1, '2018-09-16', 0, NULL, NULL, 0),
(18908, 1480, '2018-08-31', 'Debit', -10000.00, 0.00, -10000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'recipient mare Used By   to Mr. Nasser', NULL, 176, 11, '2018-09-16', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(18909, 1582, '2018-09-16', 'Credit', 920.50, 0.00, 920.50, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 107, 7, '2018-09-16', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(18910, 1583, '2018-09-16', 'Credit', 955.50, 0.00, 955.50, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 218, 7, '2018-09-16', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(18911, 15655, '2018-09-16', 'Debit', 50.00, 0.00, 52.50, 2.50, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Nasir', '21029', 160, 7, '2018-09-16', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18912, 1584, '2018-09-16', 'Credit', 52.50, 0.00, 52.50, 0.00, 3, 0, 'payment', 'cash', '', 'Reference Invoice #15655', NULL, 160, 7, '2018-09-16', 18911, 1, '2018-12-12', 0, NULL, NULL, 0),
(18913, 15656, '2018-09-16', 'Debit', 300.00, 0.00, 315.00, 15.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Al Washem Stud c/o Mansoor Al Saeed', '21030', 160, 7, '2018-09-16', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18914, 1585, '2018-09-16', 'Credit', 315.00, 0.00, 315.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15656', NULL, 160, 7, '2018-09-16', 18913, 1, '2018-10-04', 0, NULL, NULL, 0),
(18915, 15657, '2018-09-16', 'Debit', 1303.39, 0.00, 1368.56, 65.17, 2, 0, 'invoice', NULL, NULL, 'Boarding 1-17 September, 2018 with Colt ', '21031', 559, 6, '2018-09-16', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18916, 15658, '2018-09-12', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Trim for Hala and Colt ', '21032', 559, 6, '2018-09-16', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18917, 1481, '2018-09-16', 'Debit', 4884.00, 0.00, 5128.20, 244.20, 2, 0, 'charge', NULL, NULL, 'Tadawi Hospital Invoice: Ref. No: 01-1131, Dt: 24-Aug-2018 (Treatment Colt of Hala)', NULL, 559, 6, '2018-09-16', NULL, 0, '0000-00-00', 1, 7, '2018-09-18', 0),
(18918, 15659, '2018-09-16', 'Debit', 1133.39, 0.00, 1190.06, 56.67, 2, 0, 'invoice', NULL, NULL, 'Boarding 1-17 September, 2018', '21033', 511, 6, '2018-09-16', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18919, 1586, '2018-08-31', 'Credit', -53555.00, 0.00, -53555.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Customer refund to customer for overpayment (manual entry already prepared (Ref. JV # 4511)', NULL, 559, 13, '2018-09-17', NULL, 1, '2018-09-17', 0, NULL, NULL, 0),
(18920, 15660, '2018-09-01', 'Debit', 841.50, 0.00, 883.58, 42.08, 2, 0, 'invoice', NULL, NULL, '	Invoice Date 1 Aug 2018 ( No. 01-1137 ) Al Fala Stud - JALEELAH', '21035', 150, 11, '2018-09-17', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18921, 15661, '2018-09-17', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Sultan AlSwat', '21036', 160, 7, '2018-09-17', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18922, 1587, '2018-09-17', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15661', NULL, 160, 7, '2018-09-17', 18921, 1, '2018-10-04', 0, NULL, NULL, 0),
(18923, 1588, '2018-09-17', 'Credit', 3958.50, 0.00, 3958.50, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 367, 7, '2018-09-17', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(18924, 1589, '2018-09-16', 'Credit', 1081.00, 0.00, 1081.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 524, 7, '2018-09-17', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(18925, 1590, '2018-09-17', 'Credit', 100000.00, 0.00, 100000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 375, 7, '2018-09-17', NULL, 0, '0000-00-00', 1, 7, '2018-09-17', 0),
(18926, 1591, '2018-09-16', 'Credit', 100000.00, 0.00, 100000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances - Bank Transfer Payment', NULL, 375, 7, '2018-09-17', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(18927, 1482, '2018-08-31', 'Debit', -4356.00, 0.00, -4356.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of charge #00207/ Posted as payment/ Return of over payment to customer', NULL, 274, 13, '2018-09-17', NULL, 1, '2018-09-17', 0, NULL, NULL, 0),
(18928, 1592, '2018-08-31', 'Credit', -4356.00, 0.00, -4356.00, 0.00, 3, 0, 'payment', 'cash', '', 'Refund to customer/ Mishal Mohamed Al Khozaei/ Advance payment not used returned', NULL, 274, 13, '2018-09-17', NULL, 1, '2018-09-17', 0, NULL, NULL, 0),
(18929, 15662, '2018-09-04', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, '', '21037', 511, 6, '2018-09-17', NULL, 1, '2018-10-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
(18930, 1483, '2018-08-31', 'Debit', -4125.25, 0.00, -4125.25, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of charge #00382/ wrong entry', NULL, 520, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18931, 1593, '2018-08-31', 'Credit', -4125.25, 0.00, -4125.25, 0.00, 3, 0, 'payment', 'transfer', '', 'Refund to customer/ Payment #00757 ', NULL, 520, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18932, 15663, '2018-09-18', 'Debit', 495.00, 0.00, 519.75, 24.75, 3, 0, 'invoice', NULL, NULL, 'Inv#01-1143; Inv Date: 20-08-2018 c/o Tadawi', '21038', 534, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18933, 1594, '2018-08-31', 'Credit', 4125.25, 0.00, 4125.25, 0.00, 3, 0, 'payment', 'transfer', '', 'To reverse payment #1593/18931 (wrong date entered)', NULL, 520, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18934, 1595, '2018-05-06', 'Credit', -4121.25, 0.00, -4121.25, 0.00, 3, 0, 'payment', 'transfer', '', 'Refund to customer/ Reference: Payment #00757', NULL, 520, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18935, 15664, '2018-09-18', 'Debit', 2169.20, 0.00, 2277.66, 108.46, 3, 0, 'invoice', NULL, NULL, 'Inv#01-1110; Inv Date: 02-08-2018; c/o Tadawi', '21039', 533, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18936, 1484, '2018-08-31', 'Debit', 4125.25, 0.00, 4125.25, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of wrong entry (wrong amount entered)/ Reference: Charge #01483', NULL, 520, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18937, 15665, '2018-09-18', 'Debit', 1804.00, 0.00, 1894.20, 90.20, 3, 0, 'invoice', NULL, NULL, 'Inv#01-1112; Inv Date: 04-08-2018, c/o Tadawi', '21040', 407, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18938, 1485, '2018-08-31', 'Debit', -4121.25, 0.00, -4121.25, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of charge #00382/ wrong entry ', NULL, 520, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18939, 15666, '2018-09-18', 'Debit', 6523.00, 0.00, 6849.15, 326.15, 3, 0, 'invoice', NULL, NULL, 'Inv#01-1118; Inv Date:16-08-2018; Moka Colt; c/o Tadawi', '21041', 560, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18940, 15667, '2018-09-18', 'Debit', 1078.00, 0.00, 1131.90, 53.90, 3, 0, 'invoice', NULL, NULL, 'Inv#01-1128, Inv Date: 28-08-2018, c/o Tadawi', '21042', 164, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18941, 15668, '2018-09-18', 'Debit', 4884.00, 0.00, 5128.20, 244.20, 3, 0, 'invoice', NULL, NULL, 'Inv#01-1131; Inv Date: 24-08-2018; Hala NM Colt; c/o Tadawi', '21043', 559, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18942, 15669, '2018-09-18', 'Debit', 1822.70, 0.00, 1913.84, 91.14, 3, 0, 'invoice', NULL, NULL, 'Inv#01-1132; Inv Date: 28-08-2018; c/o Tadawi', '21044', 259, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18943, 15670, '2018-09-18', 'Debit', 1897.50, 0.00, 1992.38, 94.88, 3, 0, 'invoice', NULL, NULL, 'Inv#01-1151; Inv Date: 01-09-2018; c/o Tadawi', '21045', 164, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18944, 15671, '2018-09-18', 'Debit', 1287.00, 0.00, 1351.35, 64.35, 3, 0, 'invoice', NULL, NULL, 'Inv# 01-1152; Inv Date: 05-09-2018; c/o Tadawi', '21046', 81, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18945, 15672, '2018-09-18', 'Debit', 1442.10, 0.00, 1514.21, 72.11, 3, 0, 'invoice', NULL, NULL, 'Inv#01-1153; inv Date: 05-09-2018; c/o Tadawi', '21047', 147, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18946, 1486, '2018-08-31', 'Debit', -2589.00, 0.00, -2589.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of Charge #00263 (wrong entry)', NULL, 89, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18947, 1596, '2018-03-21', 'Credit', -2589.00, 0.00, -2589.00, 0.00, 3, 0, 'payment', 'cash', '', 'Refund to customer for overpayment (negative balance)', NULL, 89, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18948, 1487, '2018-08-31', 'Debit', -2346.75, 0.00, -2346.75, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of charge #00126/ wrong entry', NULL, 109, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18949, 1597, '2018-03-14', 'Credit', -2346.75, 0.00, -2346.75, 0.00, 3, 0, 'payment', 'cash', '', 'Refund to customer/ overpayment', NULL, 109, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18950, 1488, '2018-08-31', 'Debit', -1575.00, 0.00, -1575.00, 0.00, 2, 0, 'charge', NULL, NULL, 'To reverse charge #00125 (wrong entry)', NULL, 268, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18951, 1598, '2018-03-14', 'Credit', -1575.00, 0.00, -1575.00, 0.00, 3, 0, 'payment', 'cash', '', 'Refund to customer/ Ref. payment #00140', NULL, 268, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18952, 1489, '2018-08-31', 'Debit', -792.75, 0.00, -792.75, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of charge #00187/ wrong entry', NULL, 185, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18953, 1599, '2018-04-03', 'Credit', -792.75, 0.00, -792.75, 0.00, 3, 0, 'payment', 'cash', '', 'Refund to customer/ Overpayment', NULL, 185, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18954, 1600, '2018-09-18', 'Credit', 1505.06, 0.00, 1505.06, 0.00, 2, 0, 'payment', 'span', '', 'Full Payment: Check Out', NULL, 511, 7, '2018-09-18', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(18955, 1490, '2018-08-31', 'Debit', -1496.25, 0.00, -1496.25, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of charge #00124 (wrong entry)', NULL, 276, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18956, 1601, '2018-03-14', 'Credit', -1496.25, 0.00, -1496.25, 0.00, 3, 0, 'payment', 'cash', '', 'Refund to customer/ overpayment (negative balance)', NULL, 276, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18957, 15673, '2018-09-18', 'Debit', 100.00, 0.00, 105.00, 5.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Faisal Al Ammaj (2 Way Trip)', '21048', 160, 7, '2018-09-18', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18958, 1602, '2018-09-18', 'Credit', 105.00, 0.00, 105.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15673', NULL, 160, 7, '2018-09-18', 18957, 1, '2018-10-04', 0, NULL, NULL, 0),
(18959, 1491, '2018-08-31', 'Debit', -1000.00, 0.00, -1000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of charge #00080/ Wrong entry', NULL, 103, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18960, 1603, '2018-02-25', 'Credit', -1000.00, 0.00, -1000.00, 0.00, 3, 0, 'payment', 'cash', '', 'Refund to customer/ Overpayment (negative balance)', NULL, 103, 13, '2018-09-18', NULL, 1, '2018-09-18', 0, NULL, NULL, 0),
(18961, 15674, '2018-09-19', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name:', '21049', 160, 7, '2018-09-19', NULL, 0, '0000-00-00', 1, 7, '2018-09-19', 0),
(18962, 1604, '2018-09-19', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15674', NULL, 160, 7, '2018-09-19', 18961, 0, '0000-00-00', 1, 7, '2018-09-19', 0),
(18963, 15675, '2018-09-19', 'Debit', 50.00, 0.00, 52.50, 2.50, 3, 0, 'invoice', NULL, NULL, 'Cust Name:', '21050', 160, 7, '2018-09-19', NULL, 0, '0000-00-00', 1, 7, '2018-09-19', 0),
(18964, 15676, '2018-09-19', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, '', '20704', 160, 7, '2018-09-19', NULL, 0, '0000-00-00', 1, 7, '2018-09-19', 0),
(18965, 15677, '2018-09-19', 'Debit', 0.00, 0.00, 0.00, 0.00, 3, 0, 'invoice', NULL, NULL, '', '20686', 160, 7, '2018-09-19', NULL, 0, '0000-00-00', 1, 7, '2018-09-19', 0),
(18966, 1492, '2018-09-01', 'Debit', -10000.00, 0.00, -10000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Deduct  Sr. 10,000  against Recipient  Mare Used by Mansour al said', NULL, 95, 11, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18967, 15678, '2018-09-19', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, '', '21051', 138, 7, '2018-09-19', NULL, 0, '0000-00-00', 1, 7, '2018-09-19', 0),
(18968, 15679, '2018-09-04', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, '', '21052', 439, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18969, 15680, '2018-09-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Colt of Kubaira', '21053', 138, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18970, 15681, '2018-09-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, '', '21054', 138, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18971, 15682, '2018-09-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, '', '21055', 138, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18972, 15683, '2018-09-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, '', '21056', 138, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18973, 15684, '2018-09-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '21057', 138, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18974, 15685, '2018-09-05', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21058', 147, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18975, 15686, '2018-09-05', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21059', 479, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18976, 15687, '2018-09-19', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21060', 164, 7, '2018-09-19', NULL, 0, '0000-00-00', 1, 7, '2018-09-19', 0),
(18977, 15688, '2018-09-05', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21061', 164, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18978, 15689, '2018-09-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21062', 139, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18979, 15690, '2018-09-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21063', 183, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18980, 15691, '2018-09-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21064', 183, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18981, 15692, '2018-09-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21065', 534, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18982, 15693, '2018-09-12', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, '', '21066', 559, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18983, 15694, '2018-09-12', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, '', '21067', 559, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18984, 15695, '2018-09-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '21068', 138, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18985, 15696, '2018-09-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '21069', 138, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18986, 1493, '2018-08-31', 'Debit', -1575.00, 0.00, -1575.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of charge #00381/ wrong entry', NULL, 307, 13, '2018-09-19', NULL, 1, '2018-09-19', 0, NULL, NULL, 0),
(18987, 1605, '2018-05-06', 'Credit', -1575.00, 0.00, -1575.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Customer refund/ Advance payment not used', NULL, 307, 13, '2018-09-19', NULL, 1, '2018-09-19', 0, NULL, NULL, 0),
(18988, 15697, '2018-09-19', 'Debit', 120.00, 0.00, 126.00, 6.00, 1, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '21070', 153, 7, '2018-09-19', NULL, 0, '0000-00-00', 1, 7, '2018-09-19', 0),
(18989, 15698, '2018-09-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 1, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '21071', 153, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18990, 15699, '2018-09-01', 'Debit', 1333.00, 0.00, 1399.65, 66.65, 1, 0, 'invoice', NULL, NULL, 'Training 1-8 September, 2018', '21072', 138, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18991, 15700, '2018-09-01', 'Debit', 1333.00, 0.00, 1399.65, 66.65, 1, 0, 'invoice', NULL, NULL, 'Training 1-8 September, 2018', '21073', 138, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18992, 15701, '2018-09-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 1, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '21074', 153, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18993, 1606, '2018-09-19', 'Credit', 525.00, 0.00, 525.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 166, 7, '2018-09-19', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(18994, 15702, '2018-09-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 1, 0, 'invoice', NULL, NULL, 'Farrier: Ladu', '21075', 215, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18995, 15703, '2018-09-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21076', 533, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18996, 15704, '2018-09-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21077', 360, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18997, 15705, '2018-09-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21078', 183, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18998, 15706, '2018-09-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21079', 139, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(18999, 15707, '2018-09-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21080', 139, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19000, 15708, '2018-09-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21081', 139, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19001, 15709, '2018-09-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21082', 164, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19002, 15710, '2018-09-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21083', 164, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19003, 15711, '2018-09-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Farrier: Shoukat', '21084', 164, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19004, 1494, '2018-08-31', 'Debit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'charge', NULL, NULL, 'To reverse charge #01062/ wrong entry', NULL, 251, 13, '2018-09-19', NULL, 0, '0000-00-00', 1, 13, '2018-09-19', 0),
(19005, 1495, '2018-08-31', 'Debit', -1260.00, 0.00, -1260.00, 0.00, 2, 0, 'charge', NULL, NULL, 'To reverse charge #01063/ wrong entry', NULL, 251, 13, '2018-09-19', NULL, 1, '2018-09-19', 0, NULL, NULL, 0),
(19006, 1607, '2018-07-05', 'Credit', -1260.00, 0.00, -1260.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Refund to customer/ invoice no. 356 (deleted)/ advance payment not used', NULL, 251, 13, '2018-09-19', NULL, 1, '2018-09-19', 0, NULL, NULL, 0),
(19007, 1496, '2018-08-31', 'Debit', -488.00, 0.00, -488.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of charge #00302/ wrong entry', NULL, 515, 13, '2018-09-19', NULL, 1, '2018-09-19', 0, NULL, NULL, 0),
(19008, 1608, '2018-05-16', 'Credit', -488.00, 0.00, -488.00, 0.00, 3, 0, 'payment', 'cash', '', 'Refund to customer/ Overpayment (negative balance)', NULL, 515, 13, '2018-09-19', NULL, 1, '2018-09-19', 0, NULL, NULL, 0),
(19009, 1609, '2018-09-19', 'Credit', 882.00, 0.00, 882.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 406, 7, '2018-09-19', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19010, 15712, '2018-09-19', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Adj: Charge of 2 P4 Doze', '21085', 90, 7, '2018-09-19', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19011, 1610, '2018-09-19', 'Credit', 1042.00, 0.00, 1042.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 90, 7, '2018-09-19', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19012, 1611, '2018-09-19', 'Credit', 6383.32, 0.00, 6383.32, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 598, 7, '2018-09-19', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19013, 1497, '2018-09-20', 'Debit', -1500.00, 0.00, -1500.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Re found Invoice Done in Nov 2017', NULL, 91, 11, '2018-09-20', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19014, 15713, '2017-12-28', 'Debit', 750.00, 0.00, 750.00, 0.00, 2, 0, 'invoice', NULL, NULL, '', '21086', 91, 11, '2018-09-20', NULL, 1, '2018-09-20', 0, NULL, NULL, 0),
(19015, 15714, '2017-12-28', 'Debit', 50.00, 0.00, 50.00, 0.00, 2, 0, 'invoice', NULL, NULL, '', '21087', 91, 11, '2018-09-20', NULL, 1, '2018-09-20', 0, NULL, NULL, 0),
(19016, 15715, '2018-01-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, '', '21088', 91, 11, '2018-09-20', NULL, 1, '2018-09-20', 0, NULL, NULL, 0),
(19017, 1498, '2018-08-31', 'Debit', 10000.00, 0.00, 10000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of charge #00844/ wrong entry', NULL, 259, 13, '2018-09-20', NULL, 1, '2018-09-20', 0, NULL, NULL, 0),
(19018, 1612, '2018-08-31', 'Credit', 10000.00, 0.00, 10000.00, 0.00, 3, 0, 'payment', 'cash', '', 'Payment by client for SAR10,000 through Mr. Mansour (charge as petty cash Mansour)', NULL, 259, 13, '2018-09-20', NULL, 1, '2018-09-20', 0, NULL, NULL, 0),
(19019, 1499, '2018-09-22', 'Debit', -10000.00, 0.00, -10000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Refundable Amount for Advance Deposit for Recipient # 34', NULL, 95, 7, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19020, 15716, '2018-09-22', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'Milad Recipient takeout (Embryo Transfer Excalibur - Stephana)', '21091', 95, 6, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19021, 15717, '2018-09-22', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'Milad Recipient takeout (Embryo Transfer Fahd Al Tinhat - El Sanadika)	\r\n', '21092', 95, 6, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19022, 15718, '2018-09-22', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd try done 31--5-2018 (Fahd Al Tinhat)	', '21093', 109, 6, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19023, 1613, '2018-09-22', 'Credit', 10000.00, 0.00, 10000.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 156, 7, '2018-09-22', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19024, 1614, '2018-09-22', 'Credit', 10000.00, 0.00, 10000.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 156, 7, '2018-09-22', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19025, 1615, '2018-09-22', 'Credit', 3358.78, 0.00, 3358.78, 0.00, 2, 0, 'payment', 'cash', '', 'Paid Balances', NULL, 156, 7, '2018-09-22', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19026, 15719, '2018-09-22', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21094,21095', 954, 7, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19027, 1616, '2018-09-22', 'Credit', 5000.00, 0.00, 5000.00, 0.00, 2, 0, 'payment', 'cash', '', 'Advance Payment', NULL, 954, 7, '2018-09-22', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19028, 1500, '2018-09-22', 'Debit', -20516.58, 0.00, -20516.58, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal of invoice #24122 dated December 10, 2017/ Khalediah hospital invoice already paid by the client directly to Khalediah', NULL, 495, 13, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19029, 15720, '2018-09-21', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check In Date', '21096', 954, 7, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19030, 1501, '2018-09-22', 'Debit', -45675.00, 0.00, -45675.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Reduced charges (16 collections semen collections, semen test, semen storage)  approved by Mr. Nasir', NULL, 408, 13, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19031, 1502, '2018-09-23', 'Debit', 2500.00, 0.00, 2625.00, 125.00, 2, 0, 'charge', NULL, NULL, 'Nesj El Machiatto semen test charges for freeze (SERVICES IN MILAD)', NULL, 408, 6, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19032, 1503, '2018-09-23', 'Debit', 2850.00, 0.00, 2992.50, 142.50, 2, 0, 'charge', NULL, NULL, 'Nesj El Machiatto - Blood test charges CVRl Lab UAE (for export frozen semen) Serology, VNT for EVA, CEM (2 Times)  (AED 630+750+1350) = Approximately SAR. 2850 (Including bank commission) ', NULL, 408, 6, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19033, 1504, '2018-09-23', 'Debit', 2250.00, 0.00, 2362.50, 112.50, 2, 0, 'charge', NULL, NULL, 'Nesj El Machiatto - Shipment charges (Blood samples to UAE) Thru Fedex and by Road ', NULL, 408, 6, '2018-09-22', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19034, 15721, '2018-09-23', 'Debit', 1920.00, 0.00, 2016.00, 96.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes (Weekly once) for the month of May, June, July & August Total 16 dozes', '21097', 328, 6, '2018-09-23', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19035, 15722, '2018-09-22', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Transportation charges  round trip - Milad - Khalediah Hospital for collect blood samples (Total 4 horses in 2 truck)', '21098', 183, 6, '2018-09-23', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19036, 1505, '2018-09-10', 'Debit', -6000.00, 0.00, -6000.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Reversal of charge #01440/ wrong entry', NULL, 298, 13, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19037, 1617, '2018-03-30', 'Credit', 4676.40, 0.00, 4676.40, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received ', NULL, 168, 13, '2018-09-24', NULL, 1, '2018-09-24', 0, NULL, NULL, 0),
(19038, 1506, '2018-09-24', 'Debit', -5580.00, 0.00, -5859.00, -279.00, 1, 0, 'charge', NULL, NULL, 'Registration 5 Horses in AL TAIF Show', NULL, 94, 11, '2018-09-24', NULL, 1, '2018-09-24', 0, NULL, NULL, 0),
(19039, 1507, '2018-09-24', 'Debit', -4141.00, 0.00, -4141.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Registration 5 horses (  SAR 2,000 ) in AL TAIF Show\r\n', NULL, 94, 11, '2018-09-24', NULL, 1, '2018-09-24', 0, NULL, NULL, 0),
(19040, 1508, '2018-08-31', 'Debit', 3354.75, 0.00, 3354.75, 0.00, 2, 0, 'charge', NULL, NULL, 'Reversal entry for charge #01059/ wrong entry', NULL, 187, 13, '2018-09-24', NULL, 1, '2018-09-24', 0, NULL, NULL, 0),
(19041, 1618, '2018-07-05', 'Credit', -3354.75, 0.00, -3354.75, 0.00, 3, 0, 'payment', 'transfer', '', 'Refund invoice number 6624/ payment #830 dated 29042018', NULL, 187, 13, '2018-09-24', NULL, 1, '2018-09-24', 0, NULL, NULL, 0),
(19042, 15723, '2018-09-13', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18403 System Generated Invoice', '', 138, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19043, 15724, '2018-09-14', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18404 System Generated Invoice', '', 138, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19044, 15725, '2018-09-15', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18405 System Generated Invoice', '', 138, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19045, 15726, '2018-09-16', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18406 System Generated Invoice', '', 138, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19046, 15727, '2018-09-17', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18407 System Generated Invoice', '', 138, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19047, 15728, '2018-09-24', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18408 System Generated Invoice', '', 138, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19048, 15729, '2018-09-01', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18410 System Generated Invoice', '', 139, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19049, 15730, '2018-09-02', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18411 System Generated Invoice', '', 139, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19050, 15731, '2018-09-03', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18412 System Generated Invoice', '', 139, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19051, 15732, '2018-09-04', 'Debit', 320.00, 0.00, 336.00, 16.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18413 System Generated Invoice', '', 139, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19052, 15733, '2018-09-05', 'Debit', 340.00, 0.00, 357.00, 17.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18414 System Generated Invoice', '', 139, 10, '2018-09-24', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19053, 1619, '2017-10-31', 'Credit', 1000.00, 0.00, 1000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Forwarded payment from Wise Option', NULL, 336, 13, '2018-09-25', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19054, 1509, '2017-12-31', 'Debit', 3841.00, 0.00, 3841.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded charges from wise option', NULL, 336, 13, '2018-09-25', NULL, 1, '2018-09-25', 0, NULL, NULL, 0),
(19055, 1620, '2018-02-22', 'Credit', 2841.00, 0.00, 2841.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (ref. JV #1379)', NULL, 336, 13, '2018-09-25', NULL, 1, '2018-09-25', 0, NULL, NULL, 0),
(19056, 1510, '2018-09-25', 'Debit', 300.00, 0.00, 315.00, 15.00, 2, 0, 'charge', NULL, NULL, 'Charges for Pen Strep 3 bottles given for  Ceterina, Reef, Sara, Imperial Mist, Alegra, Zanobia, Maria Mazna', NULL, 183, 6, '2018-09-25', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19057, 1621, '2017-11-04', 'Credit', 9500.00, 0.00, 9500.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received from wise option ', NULL, 141, 13, '2018-09-25', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19058, 1511, '2017-12-31', 'Debit', 15546.32, 0.00, 15546.32, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance (wise option)', NULL, 141, 13, '2018-09-25', NULL, 1, '2018-09-25', 0, NULL, NULL, 0),
(19059, 1622, '2018-02-04', 'Credit', 6046.32, 0.00, 6046.32, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received (wise option)', NULL, 141, 13, '2018-09-25', NULL, 1, '2018-09-25', 0, NULL, NULL, 0),
(19060, 1512, '2017-12-31', 'Debit', 3010.94, 0.00, 3010.94, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded charges (wise option)', NULL, 319, 13, '2018-09-25', NULL, 1, '2018-09-25', 0, NULL, NULL, 0),
(19061, 1623, '2017-12-31', 'Credit', -27075.94, 0.00, -27075.94, 0.00, 3, 0, 'payment', 'transfer', '', 'Reversal of payment #01209/ wrong date entered', NULL, 319, 13, '2018-09-25', NULL, 1, '2018-09-25', 0, NULL, NULL, 0),
(19062, 1624, '2018-03-14', 'Credit', 27075.94, 0.00, 27075.94, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment received', NULL, 319, 13, '2018-09-25', NULL, 1, '2018-09-25', 0, NULL, NULL, 0),
(19063, 15734, '2018-09-25', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Abdul Ellah Al Mansour', '21120', 160, 7, '2018-09-25', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19064, 1625, '2018-09-25', 'Credit', 1260.00, 0.00, 1260.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15734', NULL, 160, 7, '2018-09-25', 19063, 1, '2018-10-06', 0, NULL, NULL, 0),
(19065, 1626, '2018-09-25', 'Credit', 730.00, 0.00, 730.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 79, 7, '2018-09-25', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19066, 1627, '2018-09-24', 'Credit', 30000.00, 0.00, 30000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 431, 7, '2018-09-26', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19067, 1628, '2018-09-26', 'Credit', 20000.00, 0.00, 20000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 344, 7, '2018-09-26', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19068, 15735, '2018-09-26', 'Debit', 15000.00, 0.00, 15000.00, 0.00, 3, 0, 'invoice', NULL, NULL, 'Sold Recipient/Pony c/o Mansoor Al Saeed', '21121', 160, 7, '2018-09-26', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19069, 15736, '2018-09-26', 'Debit', 500.00, 0.00, 525.00, 25.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Abdulrahmanm Al Farhan', '21122', 160, 7, '2018-09-26', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19070, 1629, '2018-09-26', 'Credit', 525.00, 0.00, 525.00, 0.00, 3, 0, 'payment', 'cash', '', 'Reference Invoice #15736', NULL, 160, 7, '2018-09-26', 19069, 1, '2018-11-05', 0, NULL, NULL, 0),
(19071, 1630, '2018-09-26', 'Credit', 15000.00, 0.00, 15000.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15735', NULL, 160, 7, '2018-09-26', 19068, 1, '2018-10-06', 0, NULL, NULL, 0),
(19072, 15737, '2018-09-27', 'Debit', 1149.50, 0.00, 1206.98, 57.48, 2, 0, 'invoice', NULL, NULL, 'Foal of Kalahari (Treatment done in Al Fala Stud) Ref. 01-1253 Dt: 26-09-2018', '21123', 150, 6, '2018-09-27', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19073, 15738, '2018-09-27', 'Debit', 660.00, 0.00, 693.00, 33.00, 2, 0, 'invoice', NULL, NULL, 'Foal of Zumarruda (Treatment done in Al Fala Stud) Ref. 01-1254 Dt: 26-9-2018', '21124', 150, 6, '2018-09-27', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19074, 15739, '2018-09-01', 'Debit', 2996.00, 0.00, 3145.80, 149.80, 2, 0, 'invoice', NULL, NULL, 'Natalia (Al Fala Stud) Ref: 01 -1076 Dt: 20-08-2018', '21125', 150, 6, '2018-09-27', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19075, 15740, '2018-09-01', 'Debit', 1221.00, 0.00, 1282.05, 61.05, 2, 0, 'invoice', NULL, NULL, 'Natalia (Al Fala Stud) Ref: 01 -1076 Dt: 20-08-2018', '21126', 150, 6, '2018-09-27', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19076, 1513, '2018-09-01', 'Debit', 2250.00, 0.00, 2362.50, 112.50, 2, 0, 'charge', NULL, NULL, 'Alexxanderr - Shipment charges (Blood samples to UAE) Thru Fedex and by Road', NULL, 138, 6, '2018-09-27', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19077, 1631, '2018-09-27', 'Credit', 19223.00, 0.00, 19223.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 559, 7, '2018-09-27', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19078, 15741, '2018-09-27', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'Contract#5000-002; Stallion: Magid Moniscione', '21129,21130', 348, 7, '2018-09-27', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19079, 1514, '2018-09-27', 'Debit', -10000.00, 0.00, -10500.00, -500.00, 2, 0, 'charge', NULL, NULL, 'Reversal of Invoice #11050 (Embryo transfer of Alexxanderr Seta III Recp. 98)/ Embryo succeed but lost thereafter/ Mr. Nasir confirmed to reduce recipient lease charges of SAR10,000./ Per instruction of Mr. Rafi.', NULL, 146, 13, '2018-09-27', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19080, 15742, '2018-09-27', 'Debit', 800.00, 0.00, 840.00, 40.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Turki Al Enazi', '21131', 160, 7, '2018-09-27', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19081, 1632, '2018-09-27', 'Credit', 840.00, 0.00, 840.00, 0.00, 3, 0, 'payment', 'cash', '', 'Reference Invoice #15742', NULL, 160, 7, '2018-09-27', 19080, 1, '2018-11-05', 0, NULL, NULL, 0),
(19082, 15743, '2018-06-27', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18417 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19083, 15744, '2018-08-26', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18418 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19084, 15745, '2018-07-20', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18419 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19085, 15746, '2018-07-24', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18420 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19086, 15747, '2018-08-15', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18421 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19087, 15748, '2018-08-16', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18422 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19088, 15749, '2018-08-20', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18423 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19089, 15750, '2018-08-31', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18424 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19090, 15751, '2018-09-03', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18425 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19091, 15752, '2018-09-04', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18426 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19092, 15753, '2018-09-05', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18427 System Generated Invoice', '', 591, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19093, 15754, '2018-07-14', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18428 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19094, 15755, '2018-09-14', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18429 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19095, 15756, '2018-07-14', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18430 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19096, 15757, '2018-09-14', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18431 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19097, 15758, '2018-07-14', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18432 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19098, 15759, '2018-09-14', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18433 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19099, 15760, '2018-07-14', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18434 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19100, 15761, '2018-09-14', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18435 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19101, 15762, '2018-07-31', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18436 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 0, '0000-00-00', 0, NULL, NULL, 0),
(19102, 15763, '2018-09-29', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18437 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19103, 15764, '2018-08-29', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18438 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19104, 15765, '2018-09-04', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18439 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19105, 15766, '2018-09-12', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18440 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19106, 15767, '2018-09-12', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18441 System Generated Invoice', '', 176, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19107, 15768, '2018-09-29', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18442 System Generated Invoice', '', 327, 10, '2018-09-29', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19108, 1633, '2018-09-30', 'Credit', 572.00, 0.00, 572.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 301, 7, '2018-09-30', NULL, 0, '0000-00-00', 1, 7, '2018-09-30', 0),
(19109, 15769, '2018-09-20', 'Debit', 1333.40, 0.00, 1400.07, 66.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 20 days ) Checkout Date in 20 SEP 2018', '21158', 71, 11, '2018-09-30', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19110, 15770, '2018-09-20', 'Debit', 1920.00, 0.00, 2016.00, 96.00, 2, 0, 'invoice', NULL, NULL, 'P4 Medicines for 4 months', '21159', 71, 11, '2018-09-30', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19111, 15771, '2018-09-30', 'Debit', 600.00, 0.00, 600.00, 0.00, 3, 0, 'invoice', NULL, NULL, 'c/o Mansoor, Cust Name: Mohammad Bin Saeed, Trip to Amariya (Back & Forth)', '21160', 160, 7, '2018-09-30', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19112, 1634, '2018-09-30', 'Credit', 600.00, 0.00, 600.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15771', NULL, 160, 7, '2018-09-30', 19111, 1, '2018-11-05', 0, NULL, NULL, 0),
(19113, 1515, '2018-10-01', 'Debit', -1840.08, 0.00, -1932.08, -92.00, 2, 0, 'charge', NULL, NULL, 'Discount approved by Mr. Nasir (Ref. Invoice #15390 boarding July 1 to 24 2018)/ Mare: Sophia with Colt', NULL, 280, 13, '2018-10-01', NULL, 1, '2018-10-30', 0, NULL, NULL, 0),
(19114, 1635, '2018-09-30', 'Credit', 9400.00, 0.00, 9400.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 595, 7, '2018-10-01', NULL, 1, '2018-10-07', 0, NULL, NULL, 0),
(19115, 1636, '2018-09-30', 'Credit', 572.00, 0.00, 572.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 301, 7, '2018-10-01', NULL, 1, '2018-10-07', 0, NULL, NULL, 0),
(19116, 15772, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Sep, 2018', '21161', 489, 6, '2018-10-01', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19117, 1637, '2018-09-30', 'Credit', 50000.00, 0.00, 50000.00, 0.00, 3, 0, 'payment', 'cash', '', 'Deduct SAR50000 and charge to Mr. Nasir account/ This amount is for sponsorship to Jeddah Show', NULL, 501, 13, '2018-10-02', NULL, 1, '2018-10-02', 0, NULL, NULL, 0),
(19118, 1516, '2018-10-02', 'Debit', 16625.00, 0.00, 16625.00, 831.25, 2, 0, 'charge', NULL, NULL, 'Breeding: ZT FAA\'IQ', NULL, 955, 7, '2018-10-02', NULL, 0, '0000-00-00', 1, 7, '2018-10-02', 0),
(19119, 1517, '2018-10-02', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'charge', NULL, NULL, 'Handling Fee: ZT FAA\'IQ', NULL, 955, 7, '2018-10-02', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19120, 1518, '2018-10-02', 'Debit', 16625.00, 0.00, 17456.25, 831.25, 2, 0, 'charge', NULL, NULL, 'Breeding: ZT FAA\'IQ', NULL, 955, 7, '2018-10-02', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19121, 1638, '2018-10-02', 'Credit', 19556.25, 0.00, 19556.25, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances: ZT FAA\'IQ', NULL, 955, 7, '2018-10-02', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19122, 15773, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding 30 Days in Moth of  SEP 2018', '21162', 360, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19123, 15774, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  30 Days in Month of SEP 2018', '21163', 375, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19124, 15775, '2018-09-30', 'Debit', 997.00, 0.00, 1046.85, 49.85, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21164', 183, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19125, 15776, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21165', 183, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19126, 15777, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21166', 183, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19127, 15778, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21167', 183, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19128, 15779, '2018-09-30', 'Debit', 1133.39, 0.00, 1190.06, 56.67, 2, 0, 'invoice', NULL, NULL, 'After Separated Colt Boarding 17 Days ( 14 - 30 SEP 2018 )', '21170', 183, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19129, 15780, '2018-09-30', 'Debit', 1133.39, 0.00, 1190.06, 56.67, 2, 0, 'invoice', NULL, NULL, 'Separated from ALEGRA ( Boarding 14 - 30 SEP 2018 )', '21169', 183, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19130, 15781, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21168', 183, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19131, 15782, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in Month of SEP 2018', '21171', 509, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19132, 15783, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21172', 81, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19133, 1639, '2018-09-05', 'Credit', -525.00, 0.00, -525.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Customer Refund for Invoice #14221 & payment #01302(The horse died and transportation charges refunded)', NULL, 160, 13, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19134, 15784, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in month of SEP 2018', '21173', 439, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19135, 15785, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in Month of SEP 2018', '21174', 164, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19136, 15786, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in Month of SEP 2018', '21175', 164, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19137, 15787, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in Month of SEP 2018', '21176', 164, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19138, 15788, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in Month of SEP 2018', '21177', 164, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19139, 15789, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in Month of SEP 2018', '21178', 164, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19140, 15790, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in Month of SEP 2018', '21179', 164, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19141, 15791, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in Month of SEP 2018', '21180', 164, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19142, 15792, '2018-09-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in Month of SEP 2018', '21181', 164, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19143, 15793, '2018-09-30', 'Debit', 667.00, 0.00, 700.35, 33.35, 2, 0, 'invoice', NULL, NULL, '( 10 Days Boarding at 30 SEP 2018 ) Check in Date 21 SEP 2018', '21182', 954, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19144, 15794, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21183', 328, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19145, 15795, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding  30 Days in SEP 2018 ', '21184', 533, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19146, 15796, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding  30 Days in SEP 2018 ', '21185', 534, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19147, 15797, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding  30 Days in SEP 2018 ', '21186', 534, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19148, 15798, '2018-09-30', 'Debit', 1133.39, 0.00, 1190.06, 56.67, 2, 0, 'invoice', NULL, NULL, '	Boarding 17 Days in Month of SEP 2018', '21187', 354, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19149, 15799, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21188', 418, 11, '2018-10-03', NULL, 1, '2018-10-03', 0, NULL, NULL, 0),
(19150, 15800, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21189', 348, 11, '2018-10-03', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19151, 15801, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21190', 479, 11, '2018-10-03', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19152, 15802, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Monthly Boarding 30 Days in SEP 2018', '21191', 479, 11, '2018-10-03', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19153, 1519, '2018-09-30', 'Debit', -6352.50, 0.00, -6352.50, 0.00, 2, 0, 'charge', NULL, NULL, ' ( SS DANA ) Horse Related to Customer Name Abdulaziz Al Mudemegh ( Transfer the Balance of SS DANA ) ', NULL, 71, 11, '2018-10-03', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(19154, 1520, '2018-09-30', 'Debit', -4000.00, 0.00, -4000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Re class O.B', NULL, 71, 11, '2018-10-03', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19155, 15803, '2018-10-03', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Al Bugami', '21192', 160, 7, '2018-10-03', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19156, 1640, '2018-10-03', 'Credit', 157.50, 0.00, 157.50, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15803', NULL, 160, 7, '2018-10-03', 19155, 1, '2018-11-05', 0, NULL, NULL, 0),
(19157, 1641, '2018-10-03', 'Credit', 430.50, 0.00, 430.50, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 496, 7, '2018-10-03', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19158, 1521, '2018-09-30', 'Debit', 6050.00, 0.00, 6352.50, 302.50, 2, 0, 'charge', NULL, NULL, '( SS DANA ) Horse Related to Customer Name Abdulaziz Al Mudemegh ( Transfer the Balance of SS DANA )', NULL, 301, 11, '2018-10-04', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(19159, 1522, '2018-09-30', 'Debit', -4000.00, 0.00, -4200.00, -200.00, 2, 0, 'charge', NULL, NULL, 'Reference Invoice #01521 - Change his Contract from Frozen to Fresh Semen for SS DANA', NULL, 301, 11, '2018-10-04', 19158, 1, '2018-10-04', 0, NULL, NULL, 0),
(19160, 15804, '2018-09-30', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, ' Change his Contract from Frozen to Fresh Semen for SS DANA', '21193,21194', 301, 11, '2018-10-04', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19161, 15805, '2018-09-30', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, ' Change his Contract from Frozen to Fresh Semen for SS DANA - Semen Collection 2 Time \r\n( Excalipar )', '21195', 301, 11, '2018-10-04', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19162, 1523, '2018-09-30', 'Debit', -1575.00, 0.00, -1575.00, -75.00, 2, 0, 'charge', NULL, NULL, 'Refund to Customers (Services not used)', NULL, 506, 13, '2018-10-04', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(19163, 1642, '2018-09-30', 'Credit', -1575.00, 0.00, -1575.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Refund of payment to customer (Reference: Payment #724)', NULL, 506, 13, '2018-10-04', NULL, 1, '2018-10-04', 0, NULL, NULL, 0),
(19164, 15806, '2018-10-04', 'Debit', 400.00, 0.00, 420.00, 20.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Yousef AlAoni', '21196', 160, 7, '2018-10-04', NULL, 1, '2018-11-01', 0, NULL, NULL, 0);
INSERT INTO `invoice` (`invoice_id`, `invoice_code`, `date`, `kind`, `amount`, `discount`, `net_amount`, `tax_amount`, `cc_id`, `opening_balance`, `transaction_type`, `method`, `reference_num`, `description`, `procedures`, `customer_ref`, `created_by`, `created_date`, `related_invoice`, `confirmed`, `confirmed_date`, `is_deleted`, `deleted_by`, `deleted_date`, `is_refunded`) VALUES
(19165, 1643, '2018-10-04', 'Credit', 420.00, 0.00, 420.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15806', NULL, 160, 7, '2018-10-04', 19164, 1, '2018-11-05', 0, NULL, NULL, 0),
(19166, 1524, '2018-09-30', 'Debit', 25000.00, 0.00, 26250.00, 1250.00, 2, 0, 'charge', NULL, NULL, 'Released 25 Dozes Alexxanderr  ( 1 Doze = 1000 SAR) 200 Straws Approved by Abdul Aziz Al Bargash', NULL, 183, 6, '2018-10-04', NULL, 1, '2018-10-07', 0, NULL, NULL, 0),
(19167, 1525, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 2, 0, 'charge', NULL, NULL, 'Released 5 Dozes Validore  ( 1 Doze = 1000 SAR) 40 Straws Approved by Abdul Aziz Al Bargash', NULL, 183, 6, '2018-10-04', NULL, 1, '2018-10-07', 0, NULL, NULL, 0),
(19168, 15807, '2018-10-06', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, '', '21198', 160, 7, '2018-10-06', NULL, 0, '0000-00-00', 1, 7, '2018-10-06', 0),
(19169, 1644, '2018-10-06', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15807', NULL, 160, 7, '2018-10-06', 19168, 0, '0000-00-00', 1, 7, '2018-10-06', 0),
(19170, 15808, '2018-10-06', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, 'Cust NAme: Hamza', '21199', 160, 7, '2018-10-06', NULL, 0, '0000-00-00', 1, 7, '2018-10-06', 0),
(19171, 1645, '2018-10-06', 'Credit', 157.50, 0.00, 157.50, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15808', NULL, 160, 7, '2018-10-06', 19170, 0, '0000-00-00', 1, 7, '2018-10-06', 0),
(19172, 15809, '2018-10-06', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'Abha Qatar', '21200,21201', 956, 7, '2018-10-06', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19173, 1646, '2018-10-06', 'Credit', 6200.00, 0.00, 6200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15809', NULL, 956, 7, '2018-10-06', 19172, 1, '2018-11-05', 0, NULL, NULL, 0),
(19174, 1647, '2018-09-30', 'Credit', -647.50, 0.00, -647.50, 0.00, 3, 0, 'payment', 'transfer', '', 'Refund to customer (Payment #1)', NULL, 91, 13, '2018-10-06', NULL, 1, '2018-10-06', 0, NULL, NULL, 0),
(19175, 15810, '2018-10-06', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Abdulrahman', '21203', 160, 7, '2018-10-06', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19176, 1648, '2018-10-06', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15810', NULL, 160, 7, '2018-10-06', 19175, 1, '2018-11-05', 0, NULL, NULL, 0),
(19177, 15811, '2018-10-06', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Abdulrahman', '21204', 160, 7, '2018-10-06', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19178, 1649, '2018-10-06', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15811', NULL, 160, 7, '2018-10-06', 19177, 1, '2018-11-05', 0, NULL, NULL, 0),
(19179, 15812, '2018-10-06', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Munzi', '21205', 160, 7, '2018-10-06', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19180, 1650, '2018-10-06', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15812', NULL, 160, 7, '2018-10-06', 19179, 1, '2018-11-05', 0, NULL, NULL, 0),
(19181, 15813, '2018-09-30', 'Debit', 1600.08, 0.00, 1680.08, 80.00, 2, 0, 'invoice', NULL, NULL, 'Arrived from Haqbani Stud 6-Sep-2018 ( Boarding 7-Sep to 30-Sep-2018)', '21206', 525, 6, '2018-10-06', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19182, 15814, '2018-09-30', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes for the month of September, 2018', '21207', 525, 6, '2018-10-06', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19183, 1651, '2018-10-06', 'Credit', 2085.46, 0.00, 2085.46, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 525, 7, '2018-10-06', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19184, 1652, '2018-10-06', 'Credit', 346.50, 0.00, 346.50, 0.00, 2, 0, 'payment', 'cash', '', 'Paid Balances', NULL, 219, 7, '2018-10-06', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19185, 1526, '2018-09-30', 'Debit', -500.00, 0.00, -525.00, -25.00, 2, 0, 'charge', NULL, NULL, 'Refund for Reference invoice #14221', NULL, 160, 13, '2018-10-07', NULL, 1, '2018-10-07', 0, NULL, NULL, 0),
(19186, 1653, '2018-10-07', 'Credit', 50000.00, 0.00, 50000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Advances Payment from his Balance ( Received By Mansour al said )', NULL, 95, 11, '2018-10-07', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19187, 15815, '2018-10-07', 'Debit', 1600.00, 0.00, 1680.00, 80.00, 2, 0, 'invoice', NULL, NULL, 'Thafer Al Hajri ( Received By Mansour Al said ) 8 pics', '21208', 160, 11, '2018-10-07', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19188, 1654, '2018-10-07', 'Credit', 1680.00, 0.00, 1680.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Thafer Al Hajri ( Received By Mansour Al said )', NULL, 160, 11, '2018-10-07', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19189, 15816, '2018-10-07', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Zahid', '21209', 160, 7, '2018-10-07', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19190, 1655, '2018-10-07', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15816', NULL, 160, 7, '2018-10-07', 19189, 1, '2018-11-05', 0, NULL, NULL, 0),
(19191, 15817, '2018-10-07', 'Debit', 100.00, 0.00, 100.00, 0.00, 3, 0, 'invoice', NULL, NULL, 'Trip to Fahad Obaili to Abu Majed Stable c/o Mansoor', '21210', 160, 7, '2018-10-07', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19192, 1656, '2018-10-07', 'Credit', 100.00, 0.00, 100.00, 0.00, 3, 0, 'payment', 'cash', '', 'Reference Invoice #15817', NULL, 160, 7, '2018-10-07', 19191, 1, '2018-11-05', 0, NULL, NULL, 0),
(19193, 15818, '2018-10-07', 'Debit', 400.00, 0.00, 420.00, 20.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Salman AlBahoth', '21211', 160, 7, '2018-10-07', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19194, 1657, '2018-10-07', 'Credit', 420.00, 0.00, 420.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15818', NULL, 160, 7, '2018-10-07', 19193, 1, '2018-11-05', 0, NULL, NULL, 0),
(19195, 15819, '2018-09-30', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Free - Breed stallion - No Boarding charges for the month of Sep, 2018', '21212', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19196, 15820, '2018-09-30', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Free - Breed stallion - No Boarding charges for the month of Sep, 2018', '21215', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19197, 15821, '2018-09-30', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Free - Breed stallion - No Boarding charges for the month of Sep, 2018', '21214', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19198, 15822, '2018-09-30', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Free - Breed stallion - No Boarding charges for the month of Sep, 2018', '21213', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19199, 15823, '2018-09-01', 'Debit', 2500.00, 0.00, 2625.00, 125.00, 2, 0, 'invoice', NULL, NULL, 'Alexxanderr - semen test charges for freeze (SERVICES IN MILAD)', '21127', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19200, 15824, '2018-09-01', 'Debit', 2850.00, 0.00, 2992.50, 142.50, 2, 0, 'invoice', NULL, NULL, 'Alexxanderr- Blood test charges CVRl Lab UAE (for export frozen semen) Serology, VNT for EVA, CEM (2 Times) (AED 630+750+1350) = Approximately SAR. 2850 (Including bank commission)', '21128', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19201, 15825, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 1, 0, 'invoice', NULL, NULL, 'Entry fee paid for Taif Show - 2018', '21007', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19202, 15826, '2018-09-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 1, 0, 'invoice', NULL, NULL, 'Entry fee paid for Taif Show - 2018', '21008', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19203, 15827, '2018-09-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Sep, 2018', '21216', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19204, 15828, '2018-09-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Sep, 2018', '21217', 138, 6, '2018-10-07', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19205, 1527, '2018-09-30', 'Debit', -5911.58, 0.00, -5911.58, 0.00, 3, 0, 'charge', NULL, NULL, 'Discount approved by Mr. Nasir', NULL, 604, 13, '2018-10-08', NULL, 1, '2018-10-08', 0, NULL, NULL, 0),
(19206, 15829, '2018-10-08', 'Debit', 500.00, 0.00, 525.00, 25.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Mohammed AlGaad, Trip to Khalediah Hosp', '21218', 160, 7, '2018-10-08', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19207, 1658, '2018-10-08', 'Credit', 525.00, 0.00, 525.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15829', NULL, 160, 7, '2018-10-08', 19206, 1, '2018-11-05', 0, NULL, NULL, 0),
(19208, 15830, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21219', 138, 6, '2018-10-08', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19209, 15831, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21220', 138, 6, '2018-10-08', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19210, 15832, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21224', 138, 6, '2018-10-08', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19211, 15833, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21221', 138, 6, '2018-10-08', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19212, 15834, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21226', 138, 6, '2018-10-08', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19213, 15835, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21222', 138, 6, '2018-10-08', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19214, 15836, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21223', 138, 6, '2018-10-08', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19215, 15837, '2018-09-30', 'Debit', 2270.10, 0.00, 2383.60, 113.50, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018 (Colt of Justina Alsayed dead on 27-Sep-2018)', '21231,21232', 138, 6, '2018-10-08', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19216, 15838, '2018-10-09', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18443 System Generated Invoice', '', 138, 10, '2018-10-09', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19217, 15839, '2018-10-09', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18444 System Generated Invoice', '', 138, 10, '2018-10-09', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19218, 15840, '2018-10-09', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18445 System Generated Invoice', '', 183, 10, '2018-10-09', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19219, 15841, '2018-10-09', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18446 System Generated Invoice', '', 164, 10, '2018-10-09', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19220, 15842, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21225', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19221, 15843, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21227', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19222, 15844, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21228', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19223, 15845, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21229', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19224, 15846, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21230', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19225, 15847, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21233', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19226, 15848, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21240', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19227, 15849, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21238', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19228, 15850, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21239', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19229, 15851, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21241', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19230, 15852, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21242', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19231, 15853, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21243', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19232, 15854, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21244', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19233, 15855, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21245', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19234, 15856, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21246', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19235, 15857, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21247', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19236, 15858, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of September, 2018', '21248', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19237, 15859, '2018-09-30', 'Debit', 1133.39, 0.00, 1190.06, 56.67, 2, 0, 'invoice', NULL, NULL, 'Boarding 13-30 Sep-2018 (Arrived from Tadawi Hospital ', '21249', 138, 6, '2018-10-09', NULL, 1, '2018-10-09', 0, NULL, NULL, 0),
(19238, 15860, '2018-10-09', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21253,21254', 522, 7, '2018-10-09', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19239, 1659, '2018-10-09', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15860', NULL, 522, 7, '2018-10-09', 19238, 1, '2018-11-05', 0, NULL, NULL, 0),
(19240, 15861, '2018-10-09', 'Debit', 400.00, 0.00, 420.00, 20.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Ali Al Hashim', '21255', 160, 7, '2018-10-09', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19241, 1660, '2018-10-09', 'Credit', 420.00, 0.00, 420.00, 0.00, 3, 0, 'payment', 'span', '', 'Reference Invoice #15861', NULL, 160, 7, '2018-10-09', 19240, 1, '2018-11-05', 0, NULL, NULL, 0),
(19242, 15862, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of Sep, 2018', '21258', 138, 6, '2018-10-09', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19243, 15863, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Sep, 2018', '21259', 138, 6, '2018-10-09', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19244, 15864, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Sep, 2018', '21257', 138, 6, '2018-10-09', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19245, 15865, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 2, 0, 'invoice', NULL, NULL, 'Training for the month of Sep, 2018', '21256', 138, 6, '2018-10-09', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19246, 15866, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of Sep, 2018', '21250', 138, 6, '2018-10-09', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19247, 15867, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of Sep, 2018', '21251', 138, 6, '2018-10-09', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19248, 15868, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of Sep, 2018', '21252', 138, 6, '2018-10-09', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19249, 15869, '2018-10-10', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21260,21261', 957, 7, '2018-10-10', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19250, 1661, '2018-10-10', 'Credit', 4000.00, 0.00, 4000.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15869', NULL, 957, 7, '2018-10-10', 19249, 1, '2018-11-05', 0, NULL, NULL, 0),
(19251, 1662, '2018-10-10', 'Credit', 200.00, 0.00, 200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15869', NULL, 957, 7, '2018-10-10', 19249, 1, '2018-11-05', 0, NULL, NULL, 0),
(19252, 15870, '2018-10-10', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Sahoud AlBugami', '21262', 160, 7, '2018-10-10', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19253, 1663, '2018-10-10', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15870', NULL, 160, 7, '2018-10-10', 19252, 1, '2018-11-05', 0, NULL, NULL, 0),
(19254, 1664, '2018-10-10', 'Credit', 8000.00, 0.00, 8000.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances c/o Mansoor Al Saeed', NULL, 348, 7, '2018-10-10', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19255, 15871, '2018-09-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Charges for Filling Nitrogen in Container (Sep- 2018) For month SAR. 1000/-', '21277', 138, 6, '2018-10-10', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19256, 1528, '2018-10-01', 'Debit', -1280.00, 0.00, -1280.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Be-gaining Balance Related to Abdullah Bin Saleh Bin Abdullah Al Okial', NULL, 425, 11, '2018-10-11', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19257, 1529, '2018-10-01', 'Debit', 1280.00, 0.00, 1280.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Beginning  Balance for Abdullah Bin Saleh Bin Abdullah Al Okail', NULL, 958, 11, '2018-10-11', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19258, 1530, '2018-10-11', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'charge', NULL, NULL, 'Charges for extra dose CAVALLI ', NULL, 455, 6, '2018-10-11', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19259, 15872, '2018-09-08', 'Debit', 6000.00, 0.00, 6300.00, 300.00, 1, 0, 'invoice', NULL, NULL, 'Taif Show - 2018', '21278', 138, 6, '2018-10-11', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19260, 1665, '2018-10-11', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #01530', NULL, 455, 7, '2018-10-11', 19258, 1, '2018-11-05', 0, NULL, NULL, 0),
(19261, 15873, '2018-09-08', 'Debit', 6000.00, 0.00, 6300.00, 300.00, 1, 0, 'invoice', NULL, NULL, 'Taif Show - 2018', '21279', 138, 6, '2018-10-11', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19262, 1531, '2018-08-31', 'Debit', -2163.00, 0.00, -2163.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Reference invoice numbers 15626, 15624, 15625, 15627, 15628, 15629, 15630, 15631 (late charges by doctors)', NULL, 138, 13, '2018-10-11', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19263, 15874, '2018-09-30', 'Debit', 2099.40, 0.00, 2204.37, 104.97, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Sep, 2018', '21265,21276', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19264, 15875, '2018-09-30', 'Debit', 3333.00, 0.00, 3499.65, 166.65, 1, 0, 'invoice', NULL, NULL, 'Training  for the month of Sep, 2018', '21266', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19265, 15876, '2018-09-30', 'Debit', 1333.40, 0.00, 1400.07, 66.67, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 20-30 Sep, 2018', '21275', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19266, 15877, '2018-09-30', 'Debit', 1000.05, 0.00, 1050.05, 50.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 16-30 Sep, 2018', '21273', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19267, 15878, '2018-09-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Sep, 2018', '21274', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19268, 15879, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training  for the month of Sep, 2018', '21267', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19269, 15880, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training  for the month of Sep, 2018', '21269', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19270, 15881, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training  for the month of Sep, 2018', '21272', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19271, 15882, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training  for the month of Sep, 2018', '21271', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19272, 15883, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 2, 0, 'invoice', NULL, NULL, 'Training  for the month of Sep, 2018', '21264', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19273, 15884, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 2, 0, 'invoice', NULL, NULL, 'Training  for the month of Sep, 2018', '21263', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19274, 15885, '2018-09-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 2, 0, 'invoice', NULL, NULL, 'Training  for the month of Sep, 2018', '21268', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19275, 15886, '2018-09-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed - Training horses for the month of Sep, 2018', '21284', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19276, 15887, '2018-09-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed - Training horses for the month of Sep, 2018', '21283', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19277, 15888, '2018-09-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed - Training horses for the month of Sep, 2018', '21282', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19278, 1532, '2018-09-30', 'Debit', -6599.00, 0.00, -6928.95, -329.95, 1, 0, 'charge', NULL, NULL, '10% discount for the month of September (Training Center Invoices)/ Total amount SAR69,298', NULL, 138, 13, '2018-10-13', NULL, 1, '2018-10-13', 0, NULL, NULL, 0),
(19279, 1533, '2018-09-30', 'Debit', -13287.20, 0.00, -13951.56, -664.36, 2, 0, 'charge', NULL, NULL, '20% discount for the month of September 2018 (Reproduction invoices)/ Total amount SAR66,436.', NULL, 138, 13, '2018-10-13', NULL, 1, '2018-10-13', 0, NULL, NULL, 0),
(19280, 1534, '2018-09-15', 'Debit', -2280.00, 0.00, -2394.00, -114.00, 1, 0, 'charge', NULL, NULL, 'Reference Invoice #01532/ Reversal of double Farrier charges/ Reference invoices: Invoice 15566, 15569, 15571, 15572, 15585, 15588, 15596, 15597, 15573, 15581, 15583, 15593', NULL, 138, 13, '2018-10-13', 19278, 1, '2018-10-13', 0, NULL, NULL, 0),
(19281, 15889, '2018-09-30', 'Debit', 2520.00, 0.00, 2646.00, 126.00, 1, 0, 'invoice', NULL, NULL, 'Trim Horses (Sep, 2018) Services in Milad: Miss Bella Rose, Filly Dasha Arabco, Mirsal Alsayed, Adeeb Alsayed, Colt of Delight\'s Divah, Filly of Villanova, Colt of Espa, Colt of Nuzyrma Dinn, Filly of Prestic, Filly of Kaheela, Colt of Anilla, Colt of Mera Al Sayed, Colt of Zana, Colt of Miss Bella Rose, Saden Al Sayed, Filly of RD Lorella, Filly of Psytadelic Mist, Colt of RD Capella (Farrier Shoukath: Zana, Espa, Colt of Shanina)', '21280', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19282, 15890, '2018-09-30', 'Debit', 1800.00, 0.00, 1890.00, 90.00, 1, 0, 'invoice', NULL, NULL, 'Shoeing (Sep, 2018) Services in Milad: Validoro, Alexxanderr, Delight\'s Divah, Jahwarat Al Sahra, LR Era, Prestic', '21281', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19283, 1535, '2018-09-30', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'charge', NULL, NULL, 'Visiting Stable charges (Milad Vet 2 times in Aug & Sep, 2018) for pregnancy mares vaccinations (Each visit SAR. 250/-)', NULL, 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19284, 15891, '2018-09-30', 'Debit', 400.00, 0.00, 420.00, 20.00, 2, 0, 'invoice', NULL, NULL, '5th & 7th month pregnancy vaccinations (Services done in Al Sayed Stud)', '21285', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19285, 15892, '2018-09-30', 'Debit', 400.00, 0.00, 420.00, 20.00, 2, 0, 'invoice', NULL, NULL, '5th & 7th month pregnancy vaccinations (Services done in Al Sayed Stud)', '21286', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19286, 15893, '2018-09-30', 'Debit', 400.00, 0.00, 420.00, 20.00, 2, 0, 'invoice', NULL, NULL, '5th month pregnancy vaccinations (Services done in Al Sayed Stud)', '21287', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19287, 15894, '2018-09-30', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, '5th  month pregnancy vaccinations (Services done in Al Sayed Stud)', '21289', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19288, 15895, '2018-09-30', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, '5th  month pregnancy vaccinations (Services done in Al Sayed Stud)', '21291', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19289, 15896, '2018-09-30', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, '5th month pregnancy vaccinations (Services done in Al Sayed Stud)', '21290', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19290, 15897, '2018-09-30', 'Debit', 400.00, 0.00, 420.00, 20.00, 2, 0, 'invoice', NULL, NULL, '5th & 7th month pregnancy vaccinations (Services done in Al Sayed Stud)', '21288', 138, 6, '2018-10-13', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19291, 1666, '2018-10-03', 'Credit', 3210.00, 0.00, 3210.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances: Partial Payment', NULL, 618, 7, '2018-10-14', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19292, 15898, '2018-10-14', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21292,21293', 959, 7, '2018-10-14', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19293, 1667, '2018-10-14', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15898', NULL, 959, 7, '2018-10-14', 19292, 1, '2018-11-05', 0, NULL, NULL, 0),
(19294, 15899, '2018-09-30', 'Debit', 533.36, 0.00, 560.03, 26.67, 2, 0, 'invoice', NULL, NULL, 'Daily Boarding for Mare ( 10 - 17 SEP 2018 )', '21294', 411, 11, '2018-10-14', NULL, 1, '2018-10-14', 0, NULL, NULL, 0),
(19295, 15900, '2018-10-14', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21295,21296', 307, 7, '2018-10-14', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19296, 1668, '2018-10-14', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15900', NULL, 307, 7, '2018-10-14', 19295, 1, '2018-11-05', 0, NULL, NULL, 0),
(19297, 1669, '2018-10-14', 'Credit', 2058.00, 0.00, 2058.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances: MIA IZZABELLA', NULL, 531, 7, '2018-10-14', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19298, 15901, '2018-10-14', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18454 System Generated Invoice', '', 348, 10, '2018-10-14', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19299, 15902, '2018-10-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18456 System Generated Invoice', '', 957, 10, '2018-10-15', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19300, 15903, '2018-10-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18458 System Generated Invoice', '', 522, 10, '2018-10-15', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19301, 1670, '2018-10-15', 'Credit', 100000.00, 0.00, 100000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 408, 7, '2018-10-15', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19302, 15904, '2018-10-15', 'Debit', 500.00, 0.00, 525.00, 25.00, 3, 0, 'invoice', NULL, NULL, 'c/o Mansoor Al Saeed', '21300', 160, 7, '2018-10-15', NULL, 0, '0000-00-00', 1, 7, '2018-10-15', 0),
(19303, 15905, '2018-10-06', 'Debit', 500.00, 175.00, 350.00, 25.00, 3, 0, 'invoice', NULL, NULL, 'c/o Mansoor Al Saeed', '21301', 160, 7, '2018-10-15', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19304, 1671, '2018-10-06', 'Credit', 350.00, 0.00, 350.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Reference Invoice #15905', NULL, 160, 7, '2018-10-15', 19303, 1, '2018-11-05', 0, NULL, NULL, 0),
(19305, 15906, '2018-10-15', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Abdulrahman AlHarbi', '21302', 160, 7, '2018-10-15', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19306, 1672, '2018-10-15', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15906', NULL, 160, 7, '2018-10-15', 19305, 1, '2018-11-05', 0, NULL, NULL, 0),
(19307, 1673, '2018-10-15', 'Credit', 126.00, 0.00, 126.00, 0.00, 2, 0, 'payment', 'cash', '', 'Paid Balances', NULL, 152, 7, '2018-10-15', NULL, 1, '2018-12-12', 0, NULL, NULL, 0),
(19308, 15907, '2018-10-15', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'Contract#6000-005; Frozen-Alexxanderr', '21303', 152, 7, '2018-10-15', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19309, 1674, '2018-10-15', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15907', NULL, 152, 7, '2018-10-15', 19308, 1, '2018-12-12', 0, NULL, NULL, 0),
(19310, 15908, '2018-10-16', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Abdul Aziz Aba Alkail', '21304', 160, 7, '2018-10-16', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19311, 1675, '2018-10-16', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15908', NULL, 160, 7, '2018-10-16', 19310, 1, '2018-11-05', 0, NULL, NULL, 0),
(19312, 15909, '2018-10-16', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'Contract#6000-006; Frozen-Alexxanderr', '21305', 176, 7, '2018-10-16', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19313, 1536, '2018-10-18', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'charge', NULL, NULL, 'test charge', NULL, 193, 1, '2018-10-16', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19314, 15910, '2018-10-17', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Taha Abdulkareem', '21306', 160, 7, '2018-10-17', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19315, 1676, '2018-10-17', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15910', NULL, 160, 7, '2018-10-17', 19314, 1, '2018-11-06', 0, NULL, NULL, 0),
(19316, 1677, '2018-10-17', 'Credit', 40000.00, 0.00, 40000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Paid Balances', NULL, 183, 7, '2018-10-17', NULL, 1, '2018-11-05', 0, NULL, NULL, 0),
(19317, 15911, '2018-10-17', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, '', '21307', 160, 11, '2018-10-17', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19318, 1678, '2018-10-17', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', '	INVOICE # 15911', NULL, 160, 11, '2018-10-17', NULL, 1, '2018-11-06', 0, NULL, NULL, 0),
(19319, 15912, '2018-10-18', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18461 System Generated Invoice', '', 959, 10, '2018-10-18', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19320, 15913, '2018-10-18', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21309,21310', 961, 7, '2018-10-18', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19321, 1679, '2018-10-18', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15913', NULL, 961, 7, '2018-10-18', 19320, 1, '2018-11-06', 0, NULL, NULL, 0),
(19322, 1680, '2018-10-18', 'Credit', 1189.91, 0.00, 1189.91, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 354, 7, '2018-10-18', NULL, 1, '2018-11-06', 0, NULL, NULL, 0),
(19323, 15914, '2018-10-18', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '21311,21312,21313', 962, 7, '2018-10-18', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19324, 1681, '2018-10-18', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15914', NULL, 962, 7, '2018-10-18', 19323, 1, '2018-11-06', 0, NULL, NULL, 0),
(19325, 15915, '2018-10-18', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Free - Gift from Wimmining Taif Show \"OKAZ\"', '21314,21315,21316', 178, 7, '2018-10-18', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19326, 15916, '2018-10-19', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18464 System Generated Invoice', '', 959, 9, '2018-10-19', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19327, 15917, '2018-10-20', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cash Payment c/o Radwan', '21318', 160, 7, '2018-10-20', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19328, 1682, '2018-10-20', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15917', NULL, 160, 7, '2018-10-20', 19327, 1, '2018-11-06', 0, NULL, NULL, 0),
(19329, 15918, '2018-10-20', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'Contract#6000-010; Frozen-Alexxanderr', '21319', 231, 7, '2018-10-20', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19330, 1683, '2018-10-20', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15918', NULL, 231, 7, '2018-10-20', 19329, 1, '2018-11-06', 0, NULL, NULL, 0),
(19331, 1684, '2018-10-20', 'Credit', 1113.00, 0.00, 1113.00, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 231, 7, '2018-10-20', NULL, 1, '2018-11-06', 0, NULL, NULL, 0),
(19332, 1685, '2018-10-20', 'Credit', 56.50, 0.00, 56.50, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 224, 7, '2018-10-20', NULL, 1, '2018-11-06', 0, NULL, NULL, 0),
(19333, 15919, '2018-10-20', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '21320,21321,21322', 963, 7, '2018-10-20', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19334, 1686, '2018-10-20', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15919', NULL, 963, 7, '2018-10-20', 19333, 1, '2018-11-06', 0, NULL, NULL, 0),
(19335, 15920, '2018-10-20', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18469 System Generated Invoice', '', 963, 10, '2018-10-20', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19336, 15921, '2018-10-20', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, '', '21324', 160, 7, '2018-10-20', NULL, 0, '0000-00-00', 1, 7, '2018-10-20', 0),
(19337, 15922, '2018-10-20', 'Debit', 1333.40, 0.00, 1400.07, 66.67, 2, 0, 'invoice', NULL, NULL, 'Boarding 1-Oct to 20-Oct-2018 / Checkout ', '21326', 138, 6, '2018-10-20', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19338, 15923, '2018-10-20', 'Debit', 1333.40, 0.00, 1400.07, 66.67, 2, 0, 'invoice', NULL, NULL, 'Boarding 1-Oct to 20-Oct-2018 / Checkout ', '21325', 138, 6, '2018-10-20', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19339, 15924, '2018-10-21', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18470 System Generated Invoice', '', 959, 9, '2018-10-21', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19340, 15925, '2018-10-21', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18472 System Generated Invoice', '', 178, 9, '2018-10-21', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19341, 1537, '2018-10-21', 'Debit', -40035.90, 0.00, -40035.90, 0.00, 2, 0, 'charge', NULL, NULL, 'Transfer This Amount to Faisal Bin Sad  Al Otibi', NULL, 495, 11, '2018-10-21', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19342, 1538, '2018-10-21', 'Debit', 40035.90, 0.00, 40035.90, 0.00, 2, 0, 'charge', NULL, NULL, 'Balance Transferred from Faisal Bin Mutlaq Al Otibi', NULL, 849, 11, '2018-10-21', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19343, 15926, '2018-10-21', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18473 System Generated Invoice', '', 963, 9, '2018-10-21', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19344, 15927, '2018-10-21', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '21331,21332,21333', 963, 7, '2018-10-21', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19345, 1687, '2018-10-21', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15927', NULL, 963, 7, '2018-10-21', 19344, 1, '2018-11-06', 0, NULL, NULL, 0),
(19346, 15928, '2018-10-21', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18476 System Generated Invoice', '', 963, 9, '2018-10-21', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19347, 15929, '2018-10-21', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Rudel', '21335', 160, 7, '2018-10-21', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19348, 1688, '2018-10-21', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15929', NULL, 160, 7, '2018-10-21', 19347, 1, '2018-11-06', 0, NULL, NULL, 0),
(19349, 15930, '2018-10-21', 'Debit', 25000.00, 0.00, 26250.00, 1250.00, 2, 0, 'invoice', NULL, NULL, '25 Dozes Alexxanderr (Each dose 8 Straws) total 200 Straws', '21336', 964, 6, '2018-10-21', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19350, 15931, '2018-10-22', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18477 System Generated Invoice', '', 959, 9, '2018-10-22', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19351, 15932, '2018-10-22', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18480 System Generated Invoice', '', 178, 9, '2018-10-22', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19352, 1689, '2018-10-21', 'Credit', 10000.00, 0.00, 10000.00, 0.00, 2, 0, 'payment', 'cash', '', 'Paid Balances', NULL, 370, 7, '2018-10-22', NULL, 1, '2018-11-06', 0, NULL, NULL, 0),
(19353, 15933, '2018-10-21', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Transportation Horse from TADAWI to AL KHALYDIHA  ( Jauharat Al Wasil )', '21340', 298, 11, '2018-10-22', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19354, 15934, '2018-10-22', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Monir Hussain', '21341', 160, 7, '2018-10-22', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19355, 1690, '2018-10-22', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15934', NULL, 160, 7, '2018-10-22', 19354, 1, '2018-11-06', 0, NULL, NULL, 0),
(19356, 1691, '2018-10-22', 'Credit', 2684.92, 0.00, 2684.92, 0.00, 2, 0, 'payment', 'span', '', 'Paid Balances', NULL, 469, 7, '2018-10-22', NULL, 1, '2018-11-06', 0, NULL, NULL, 0),
(19357, 15935, '2018-10-22', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'Semen Provided by Client (Bought Already in Milad)', '21342,21343', 965, 7, '2018-10-22', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19358, 1692, '2018-10-22', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15935', NULL, 965, 7, '2018-10-22', 19357, 1, '2018-11-06', 0, NULL, NULL, 0),
(19359, 15936, '2018-10-22', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Cust Name: Bassam', '21344', 160, 7, '2018-10-22', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19360, 1693, '2018-10-22', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15936', NULL, 160, 7, '2018-10-22', 19359, 1, '2018-11-06', 0, NULL, NULL, 0),
(19361, 15937, '2018-10-22', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18483 System Generated Invoice', '', 152, 10, '2018-10-22', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19362, 15938, '2018-10-23', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18484 System Generated Invoice', '', 963, 10, '2018-10-23', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19363, 15939, '2018-10-23', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18485 System Generated Invoice', '', 963, 10, '2018-10-23', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19364, 15940, '2018-10-23', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18486 System Generated Invoice', '', 178, 10, '2018-10-23', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19365, 1694, '2018-10-23', 'Credit', 40000.00, 0.00, 40000.00, 0.00, 2, 0, 'payment', 'span', '', 'Down payment from Abdullah Al Abdulwahab ( 40000 in SAMBA ) ', NULL, 462, 11, '2018-10-23', NULL, 1, '2018-11-06', 0, NULL, NULL, 0),
(19366, 1695, '2018-10-23', 'Credit', 10000.00, 0.00, 10000.00, 0.00, 2, 0, 'payment', 'transfer', '', 'Wire Transfer to Al Rajhi Bank ( 10,000 )', NULL, 462, 11, '2018-10-23', NULL, 1, '2018-11-06', 0, NULL, NULL, 0),
(19367, 15941, '2018-10-23', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18489 System Generated Invoice', '', 183, 10, '2018-10-23', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19368, 15942, '2018-10-23', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18490 System Generated Invoice', '', 139, 10, '2018-10-23', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19369, 15943, '2018-10-23', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Stallion Semen Collection only', '21354', 966, 7, '2018-10-23', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19370, 1696, '2018-10-23', 'Credit', 525.00, 0.00, 525.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15943', NULL, 966, 7, '2018-10-23', 19369, 1, '2018-11-06', 0, NULL, NULL, 0),
(19371, 15944, '2018-10-23', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '21355,21356', 387, 7, '2018-10-23', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19372, 1697, '2018-10-23', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15944', NULL, 387, 7, '2018-10-23', 19371, 1, '2018-11-06', 0, NULL, NULL, 0),
(19373, 15945, '2018-10-24', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18493 System Generated Invoice', '', 963, 10, '2018-10-24', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19374, 15946, '2018-10-24', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18494 System Generated Invoice', '', 963, 10, '2018-10-24', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19375, 15947, '2018-10-24', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18496 System Generated Invoice', '', 178, 10, '2018-10-24', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19376, 15948, '2018-10-24', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 3, 0, 'invoice', NULL, NULL, 'Cust Name: Mohammad Neda', '21362', 160, 7, '2018-10-24', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19377, 1698, '2018-10-24', 'Credit', 1260.00, 0.00, 1260.00, 0.00, 3, 0, 'payment', 'cash', '', 'Reference Invoice #15948', NULL, 160, 7, '2018-10-24', 19376, 1, '2018-11-06', 0, NULL, NULL, 0),
(19378, 1539, '2018-10-24', 'Debit', -3439.28, 0.00, -3439.28, 0.00, 2, 0, 'charge', NULL, NULL, 'Difference in His Balance ( Victoria Principal ) Wrong Charge', NULL, 164, 11, '2018-10-24', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19379, 15949, '2018-10-24', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18499 System Generated Invoice', '', 961, 10, '2018-10-24', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19380, 15950, '2018-10-25', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18500 System Generated Invoice', '', 963, 10, '2018-10-25', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19381, 15951, '2018-10-25', 'Debit', 450.00, 0.00, 472.50, 22.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18501 System Generated Invoice', '', 963, 10, '2018-10-25', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19382, 15952, '2018-10-25', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18502 System Generated Invoice', '', 178, 10, '2018-10-25', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19383, 15953, '2018-10-25', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18504 System Generated Invoice', '', 965, 10, '2018-10-25', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19384, 1699, '2018-10-25', 'Credit', 69520.93, 0.00, 69520.93, 0.00, 2, 0, 'payment', 'cash', '', 'Check No 01  ( AL RAJHI BANK )', NULL, 621, 11, '2018-10-25', NULL, 1, '2018-11-06', 0, NULL, NULL, 0),
(19385, 1700, '2018-10-25', 'Credit', 35770.41, 0.00, 35770.41, 0.00, 2, 0, 'payment', 'cash', '', 'Chck No. ( 2 ) to AL RAJHI BANK ', NULL, 375, 11, '2018-10-25', NULL, 1, '2018-11-07', 0, NULL, NULL, 0),
(19386, 15954, '2018-10-25', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '21372,21373,21374', 967, 7, '2018-10-25', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19387, 1701, '2018-10-25', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #15954', NULL, 967, 7, '2018-10-25', 19386, 1, '2018-11-06', 0, NULL, NULL, 0),
(19388, 15955, '2018-10-25', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18507 System Generated Invoice', '', 967, 10, '2018-10-25', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19389, 15956, '2018-10-26', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18508 System Generated Invoice', '', 961, 10, '2018-10-26', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19390, 15957, '2018-10-26', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18509 System Generated Invoice', '', 231, 10, '2018-10-26', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19391, 15958, '2018-10-27', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18512 System Generated Invoice', '', 967, 10, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19392, 15959, '2018-10-27', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18513 System Generated Invoice', '', 231, 10, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19393, 15960, '2018-10-27', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #18514 System Generated Invoice', '', 963, 10, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19394, 15961, '2018-10-27', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '6000-017', '21386,21387,21388', 99, 7, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19395, 1702, '2018-10-27', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #15961', NULL, 99, 7, '2018-10-27', 19394, 1, '2018-12-12', 0, NULL, NULL, 0),
(19396, 15962, '2018-10-26', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'During in Auction in 26 OCT 2018', '21389', 160, 7, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0),
(19397, 1703, '2018-10-26', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '15962', 'During in Auction in 26 OCT 2018 (HORSE: PALPATION MARES )', NULL, 160, 7, '2018-10-27', NULL, 1, '2018-12-12', 0, NULL, NULL, 0),
(19398, 15963, '2018-10-27', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, '', '21390', 160, 7, '2018-10-27', NULL, 1, '2018-11-01', 0, NULL, NULL, 0);
