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
(13684, 1109, '2018-06-30', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #11983', NULL, 160, 5, '2018-06-30', 13683, 1, '2018-08-08', 0, NULL, NULL, 0),
(13685, 11984, '2018-04-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 ) CRISTAL', '16642', 470, 5, '2018-06-30', NULL, 1, '2018-07-01', 0, NULL, NULL, 0),
(13686, 11985, '2018-04-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 ) CRISTAL', '16643', 470, 5, '2018-06-30', NULL, 1, '2018-07-01', 0, NULL, NULL, 0),
(13687, 11986, '2018-04-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 ) CRISTAL', '16644', 470, 5, '2018-06-30', NULL, 1, '2018-07-01', 0, NULL, NULL, 0),
(13688, 11987, '2018-04-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) CRISTAL', '16645', 470, 5, '2018-06-30', NULL, 1, '2018-07-01', 0, NULL, NULL, 0),
(13689, 11988, '2018-05-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) CRISTAL', '16646', 470, 5, '2018-06-30', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13690, 11989, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) CRISTAL', '16647', 470, 5, '2018-06-30', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13691, 11990, '2018-05-31', 'Debit', 2700.00, 0.00, 2835.00, 135.00, 1, 0, 'invoice', NULL, NULL, 'Shoeing (May, 2018) in Milad- Ladoo Singh: Jawharat Al Sahra, RD Lorella, LR Era, Delight Dirab RB, Validoro, Paschal, Prespa, Prestic, Amal Al Khalediah', '16650', 138, 6, '2018-06-30', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13692, 11991, '2018-05-31', 'Debit', 2640.00, 0.00, 2772.00, 132.00, 2, 0, 'invoice', NULL, NULL, 'Trim (May 2018) in Milad- Ladoo Singh: Anilla, Colt of Anilla, Nayyar Al Sayed , Miss Bella Rose, Mirsal Al Sayed, Filly of Czateria, Nuzyrma Dinn, Adeeb Al Sayed, Durrah Al Sayed, Lujain, Mera Al Sayed, Villanova, Kubaira, Colt of Zana, Colt of Prespa, Colt of Mera, Colt of Nuzyrma, Filly of Villanova, Colt of Bint Seduction, Filly of Amal Khalediah, Filly of Prestic, Colt of Windawa', '16649', 138, 6, '2018-06-30', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13693, 11992, '2018-04-01', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 ) FARCELLA with Filly', '16655', 346, 5, '2018-06-30', NULL, 1, '2018-07-01', 0, NULL, NULL, 0),
(13694, 11993, '2018-04-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) FARCELLA with Filly', '16656', 346, 5, '2018-06-30', NULL, 1, '2018-07-01', 0, NULL, NULL, 0),
(13695, 11994, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) FARCELLA with Filly', '16657', 346, 5, '2018-06-30', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13696, 11995, '2018-06-30', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare: REEM', '16659', 160, 5, '2018-06-30', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13697, 1110, '2018-06-30', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #11995', NULL, 160, 5, '2018-06-30', 13696, 1, '2018-07-30', 0, NULL, NULL, 0),
(13698, 11996, '2018-04-19', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try', '16663', 346, 5, '2018-06-30', NULL, 1, '2018-07-01', 0, NULL, NULL, 0),
(13699, 11997, '2018-05-10', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '3rd Try', '16664', 346, 5, '2018-06-30', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13700, 11998, '2018-05-27', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '4th Try', '16665', 346, 5, '2018-06-30', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13701, 11999, '2018-06-13', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '5th Try', '16666', 346, 5, '2018-06-30', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13702, 12000, '2018-06-14', 'Debit', 1073.38, 0.00, 1127.05, 53.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 14 ) Jun-2018 FARCELLA with Filly', '16667', 346, 5, '2018-06-30', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13703, 12001, '2018-06-14', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 14-Jun-2018 ) Filly of FARCELLA', '16668', 346, 5, '2018-06-30', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13704, 12002, '2018-06-30', 'Debit', 1066.72, 0.00, 1120.06, 53.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 15 - 30 ) Jun-2018  FARCELLA', '16669', 346, 5, '2018-06-30', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13705, 12003, '2018-06-08', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15790 System Generated Invoice', '', 70, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13706, 12004, '2018-06-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15792 System Generated Invoice', '', 70, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13707, 12005, '2018-06-11', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15793 System Generated Invoice', '', 70, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13708, 12006, '2018-06-12', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15794 System Generated Invoice', '', 70, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13709, 12007, '2018-06-13', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15795 System Generated Invoice', '', 70, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13710, 12008, '2018-06-25', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15796 System Generated Invoice', '', 70, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13711, 12009, '2018-06-27', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15799 System Generated Invoice', '', 308, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13712, 12010, '2018-06-09', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15805 System Generated Invoice', '', 375, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13713, 12011, '2018-06-11', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15807 System Generated Invoice', '', 375, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13714, 12012, '2018-06-12', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15808 System Generated Invoice', '', 375, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13715, 12013, '2018-06-13', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15809 System Generated Invoice', '', 375, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13716, 12014, '2018-06-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15811 System Generated Invoice', '', 375, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13717, 12015, '2018-07-01', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15812 System Generated Invoice', '', 375, 12, '2018-07-01', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(13718, 12016, '2018-06-14', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15813 System Generated Invoice', '', 382, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13719, 12017, '2018-06-17', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15815 System Generated Invoice', '', 382, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13720, 12018, '2018-06-18', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15817 System Generated Invoice', '', 382, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13721, 12019, '2018-06-19', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15818 System Generated Invoice', '', 382, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13722, 12020, '2018-06-20', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15819 System Generated Invoice', '', 382, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13723, 12021, '2018-06-11', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15821 System Generated Invoice', '', 580, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13724, 12022, '2018-06-14', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15822 System Generated Invoice', '', 580, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13725, 12023, '2018-06-15', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15823 System Generated Invoice', '', 580, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13726, 12024, '2018-06-16', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15824 System Generated Invoice', '', 580, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13727, 12025, '2018-06-17', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15825 System Generated Invoice', '', 580, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13728, 12026, '2018-06-18', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15826 System Generated Invoice', '', 580, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13729, 12027, '2018-06-08', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15829 System Generated Invoice', '', 375, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13730, 12028, '2018-06-12', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15830 System Generated Invoice', '', 375, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13731, 12029, '2018-06-14', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15832 System Generated Invoice', '', 375, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13732, 12030, '2018-06-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15833 System Generated Invoice', '', 375, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13733, 12031, '2018-06-16', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15834 System Generated Invoice', '', 375, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13734, 12032, '2018-06-17', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15835 System Generated Invoice', '', 375, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13735, 12033, '2018-06-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15836 System Generated Invoice', '', 375, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13736, 12034, '2018-05-02', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15837 System Generated Invoice', '', 485, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13737, 12035, '2018-05-03', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15838 System Generated Invoice', '', 485, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13738, 12036, '2018-05-04', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15839 System Generated Invoice', '', 485, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13739, 12037, '2018-05-19', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15842 System Generated Invoice', '', 485, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13740, 12038, '2018-05-20', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15843 System Generated Invoice', '', 485, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13741, 12039, '2018-05-21', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15844 System Generated Invoice', '', 485, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13742, 12040, '2018-05-22', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15845 System Generated Invoice', '', 485, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13743, 12041, '2018-05-23', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15846 System Generated Invoice', '', 485, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13744, 12042, '2018-06-10', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15848 System Generated Invoice', '', 485, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13745, 12043, '2018-06-29', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15849 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13746, 12044, '2018-06-17', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15852 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13747, 12045, '2018-06-18', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15853 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13748, 12046, '2018-06-19', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15854 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13749, 12047, '2018-05-10', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15857 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13750, 12048, '2018-05-17', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15858 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13751, 12049, '2018-05-24', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15859 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13752, 12050, '2018-05-31', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15860 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13753, 12051, '2018-06-07', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15861 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13754, 12052, '2018-06-14', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15862 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13755, 12053, '2018-06-21', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15863 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13756, 12054, '2018-06-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15864 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13757, 12055, '2018-06-23', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15865 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13758, 12056, '2018-06-11', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15871 System Generated Invoice', '', 485, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13759, 12057, '2018-06-12', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15872 System Generated Invoice', '', 485, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13760, 12058, '2018-06-13', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15873 System Generated Invoice', '', 485, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13761, 12059, '2018-06-14', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15874 System Generated Invoice', '', 485, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13762, 12060, '2018-06-30', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15876 System Generated Invoice', '', 485, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13763, 12061, '2018-07-01', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15877 System Generated Invoice', '', 485, 12, '2018-07-01', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(13764, 12062, '2018-06-14', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15878 System Generated Invoice', '', 558, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13765, 12063, '2018-06-15', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15879 System Generated Invoice', '', 558, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13766, 12064, '2018-06-16', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15880 System Generated Invoice', '', 558, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13767, 12065, '2018-06-14', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15882 System Generated Invoice', '', 383, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13768, 12066, '2018-06-15', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15883 System Generated Invoice', '', 383, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13769, 12067, '2018-06-28', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15884 System Generated Invoice', '', 383, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13770, 12068, '2018-06-07', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15885 System Generated Invoice', '', 248, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13771, 12069, '2018-06-08', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15886 System Generated Invoice', '', 248, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13772, 12070, '2018-06-09', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15887 System Generated Invoice', '', 248, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13773, 12071, '2018-06-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15888 System Generated Invoice', '', 248, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13774, 12072, '2018-06-11', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15889 System Generated Invoice', '', 248, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13775, 12073, '2018-04-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 ) Filly of NASHWA EL SAFINAT', '16762', 81, 5, '2018-07-01', NULL, 1, '2018-07-01', 0, NULL, NULL, 0),
(13776, 12074, '2018-04-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 ) Filly of NASHWA EL SAFINAT', '16763', 81, 5, '2018-07-01', NULL, 1, '2018-07-01', 0, NULL, NULL, 0),
(13777, 12075, '2018-04-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 ) Filly of NASHWA EL SAFINAT', '16764', 81, 5, '2018-07-01', NULL, 1, '2018-07-01', 0, NULL, NULL, 0),
(13778, 12076, '2018-04-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) Filly of NASHWA EL SAFINAT', '16765', 81, 5, '2018-07-01', NULL, 1, '2018-07-01', 0, NULL, NULL, 0),
(13779, 12077, '2018-05-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) Filly of NASHWA EL SAFINAT', '16766', 81, 5, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13780, 12078, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) Filly of NASHWA EL SAFINAT', '16767', 81, 5, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13781, 400, '2017-12-31', 'Debit', 14010.94, 0.00, 14010.94, 0.00, 2, 0, 'charge', NULL, NULL, 'Beginning Balance ( Wise Option )', NULL, 81, 5, '2018-07-01', NULL, 1, '2018-07-01', 1, 13, '2018-07-12', 0),
(13782, 12079, '2018-05-21', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'Embryo Trans. ( SOPHIA ) ', '16768', 280, 5, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13783, 12080, '2018-06-29', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15893 System Generated Invoice', '', 280, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13784, 12081, '2018-06-30', 'Debit', 160.00, 0.00, 168.00, 8.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15894 System Generated Invoice', '', 280, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13785, 12082, '2018-07-01', 'Debit', 160.00, 0.00, 168.00, 8.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15895 System Generated Invoice', '', 280, 12, '2018-07-01', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(13786, 12083, '2018-06-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15896 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13787, 12084, '2018-06-19', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'Embryo Trans. ( SOPHIA ) ', '16776', 280, 5, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13788, 12085, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) SOPHIA with Colt', '16777', 280, 5, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13789, 12086, '2018-06-14', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15897 System Generated Invoice', '', 434, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13790, 12087, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) SOPHIA with Colt', '16778', 280, 5, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13791, 12088, '2018-06-15', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15898 System Generated Invoice', '', 434, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13792, 12089, '2018-05-18', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15900 System Generated Invoice', '', 135, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13793, 12090, '2018-04-30', 'Debit', 766.70, 0.00, 805.04, 38.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 21 - 30 ) Apr-2018  SOPHIA with Colt', '16781', 280, 5, '2018-07-01', NULL, 1, '2018-07-01', 0, NULL, NULL, 0),
(13794, 12091, '2018-05-20', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15902 System Generated Invoice', '', 135, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13795, 12092, '2018-05-21', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15903 System Generated Invoice', '', 135, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13796, 12093, '2018-05-22', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15904 System Generated Invoice', '', 135, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13797, 12094, '2018-05-23', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15905 System Generated Invoice', '', 135, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13798, 12095, '2018-06-10', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15907 System Generated Invoice', '', 135, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13799, 12096, '2018-06-11', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15908 System Generated Invoice', '', 135, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13800, 12097, '2018-06-12', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15909 System Generated Invoice', '', 135, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13801, 12098, '2018-06-13', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15910 System Generated Invoice', '', 135, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13802, 12099, '2018-06-26', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15911 System Generated Invoice', '', 135, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13803, 12100, '2018-05-22', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try', '16796', 527, 5, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13804, 1111, '2018-07-01', 'Credit', 1118.00, 0.00, 1118.00, 0.00, 2, 0, 'payment', 'cash', '', '', NULL, 527, 5, '2018-07-01', NULL, 1, '2018-08-08', 0, NULL, NULL, 0),
(13805, 12101, '2018-05-19', 'Debit', 1266.73, 0.00, 1330.07, 63.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 19 ) May-2018', '16797', 183, 5, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13806, 12102, '2018-05-19', 'Debit', 1456.73, 0.00, 1529.57, 72.84, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 19 ) May-2018', '16798', 183, 5, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13807, 12103, '2018-05-19', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 19-May-2018 )', '16799', 183, 5, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13808, 12104, '2018-05-19', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 19-May-2018 )', '16800', 183, 5, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13809, 12105, '2018-06-10', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15912 System Generated Invoice', '', 483, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13810, 12106, '2018-06-11', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15913 System Generated Invoice', '', 483, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13811, 12107, '2018-06-12', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15914 System Generated Invoice', '', 483, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13812, 12108, '2018-06-13', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15915 System Generated Invoice', '', 483, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13813, 12109, '2018-06-14', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15916 System Generated Invoice', '', 483, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13814, 12110, '2018-05-18', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15918 System Generated Invoice', '', 227, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13815, 12111, '2018-05-21', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15920 System Generated Invoice', '', 227, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13816, 12112, '2018-05-22', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15921 System Generated Invoice', '', 227, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13817, 12113, '2018-05-23', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15922 System Generated Invoice', '', 227, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13818, 12114, '2018-05-24', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15923 System Generated Invoice', '', 227, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13819, 12115, '2018-06-06', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15925 System Generated Invoice', '', 227, 12, '2018-07-01', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(13820, 12116, '2018-06-07', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15926 System Generated Invoice', '', 227, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13821, 12117, '2018-06-08', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15927 System Generated Invoice', '', 227, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13822, 12118, '2018-06-09', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15928 System Generated Invoice', '', 227, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13823, 12119, '2018-06-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15929 System Generated Invoice', '', 227, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13824, 12120, '2018-06-11', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15930 System Generated Invoice', '', 227, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13825, 12121, '2018-06-12', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15931 System Generated Invoice', '', 227, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13826, 12122, '2018-07-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '4000-731', '16825,16826,16827', 266, 5, '2018-07-01', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(13827, 1112, '2018-07-01', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #12122', NULL, 266, 5, '2018-07-01', 13826, 1, '2018-07-30', 0, NULL, NULL, 0),
(13828, 12123, '2018-07-01', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Owner: Mohammed Al Twejri', '16828', 160, 5, '2018-07-01', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(13829, 1113, '2018-07-01', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #12123', NULL, 160, 5, '2018-07-01', 13828, 1, '2018-07-30', 0, NULL, NULL, 0),
(13830, 12124, '2018-05-15', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15937 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13831, 12125, '2018-05-22', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15938 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13832, 12126, '2018-05-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15939 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13833, 12127, '2018-06-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15940 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(13834, 12128, '2018-06-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15941 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13835, 1114, '2018-07-01', 'Credit', 18283.00, 0.00, 18283.00, 0.00, 2, 0, 'payment', 'transfer', '', '', NULL, 140, 5, '2018-07-01', NULL, 1, '2018-07-30', 0, NULL, NULL, 0),
(13836, 12129, '2018-06-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15942 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(13837, 12130, '2018-06-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15943 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13838, 12131, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15944 System Generated Invoice', '', 83, 12, '2018-07-01', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(13839, 12132, '2018-05-13', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15945 System Generated Invoice', '', 246, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13840, 12133, '2018-05-20', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15946 System Generated Invoice', '', 246, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13841, 12134, '2018-05-27', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15947 System Generated Invoice', '', 246, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13842, 12135, '2018-06-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15948 System Generated Invoice', '', 246, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13843, 12136, '2018-06-10', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15949 System Generated Invoice', '', 246, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13844, 12137, '2018-06-17', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15950 System Generated Invoice', '', 246, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13845, 12138, '2018-06-24', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15951 System Generated Invoice', '', 246, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13846, 12139, '2018-06-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15956 System Generated Invoice', '', 238, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13847, 12140, '2018-06-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15957 System Generated Invoice', '', 238, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13848, 12141, '2018-06-10', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15969 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13849, 12142, '2018-06-13', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15979 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13850, 12143, '2018-06-10', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15983 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13851, 12144, '2018-06-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15984 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13852, 12145, '2018-06-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15985 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13853, 12146, '2018-06-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15986 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13854, 12147, '2018-05-07', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15987 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13855, 12148, '2018-05-14', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15988 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13856, 12149, '2018-05-19', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15989 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13857, 12150, '2018-05-26', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15990 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13858, 12151, '2018-06-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15991 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(13859, 12152, '2018-06-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15992 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13860, 12153, '2018-06-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15993 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13861, 12154, '2018-06-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15994 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13862, 12155, '2018-06-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15995 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13863, 401, '2018-07-01', 'Debit', -2940.00, 0.00, -2940.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Discount 10%', NULL, 203, 5, '2018-07-01', NULL, 1, '2018-07-01', 0, NULL, NULL, 0),
(13864, 12156, '2018-04-22', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15997 System Generated Invoice', '', 237, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13865, 12157, '2018-04-23', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15998 System Generated Invoice', '', 237, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13866, 12158, '2018-04-24', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #15999 System Generated Invoice', '', 237, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13867, 12159, '2018-04-25', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16000 System Generated Invoice', '', 237, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13868, 402, '2018-07-01', 'Debit', -8296.94, 0.00, -8296.94, 0.00, 2, 0, 'charge', NULL, NULL, 'Discount ( Mr. Nasir Approved )', NULL, 235, 5, '2018-07-01', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(13869, 12160, '2018-05-06', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16001 System Generated Invoice', '', 237, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13870, 12161, '2018-05-10', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16002 System Generated Invoice', '', 237, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13871, 12162, '2018-05-17', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16003 System Generated Invoice', '', 237, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13872, 12163, '2018-05-24', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16004 System Generated Invoice', '', 237, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13873, 12164, '2018-05-31', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16005 System Generated Invoice', '', 237, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13874, 12165, '2018-06-19', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16007 System Generated Invoice', '', 237, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13875, 12166, '2018-06-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16008 System Generated Invoice', '', 237, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13876, 12167, '2018-06-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16009 System Generated Invoice', '', 237, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13877, 12168, '2018-05-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16010 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13878, 12169, '2018-05-19', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16011 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13879, 12170, '2018-05-26', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16012 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13880, 12171, '2018-06-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16013 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(13881, 12172, '2018-06-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16014 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13882, 12173, '2018-06-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16015 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13883, 12174, '2018-06-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16016 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13884, 12175, '2018-06-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16017 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13885, 12176, '2018-07-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '4000-732', '16882,16883', 578, 5, '2018-07-01', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(13886, 12177, '2018-05-07', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16018 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13887, 12178, '2018-05-14', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16019 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13888, 12179, '2018-05-19', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16020 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13889, 12180, '2018-05-26', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16021 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13890, 12181, '2018-06-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16022 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(13891, 12182, '2018-06-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16023 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13892, 12183, '2018-06-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16024 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13893, 12184, '2018-06-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16025 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13894, 12185, '2018-06-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16026 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13895, 1115, '2018-07-01', 'Credit', 1575.00, 0.00, 1575.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #12176', NULL, 578, 5, '2018-07-01', 13885, 1, '2018-07-30', 0, NULL, NULL, 0),
(13896, 12186, '2018-05-12', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16027 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13897, 12187, '2018-05-26', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16028 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13898, 12188, '2018-06-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16029 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(13899, 12189, '2018-06-09', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16030 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13900, 12190, '2018-06-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16031 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13901, 12191, '2018-05-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16032 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13902, 12192, '2018-05-19', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16033 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13903, 12193, '2018-05-26', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16034 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13904, 12194, '2018-06-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16035 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(13905, 12195, '2018-06-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16036 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13906, 12196, '2018-06-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16037 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13907, 12197, '2018-06-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16038 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13908, 12198, '2018-06-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16039 System Generated Invoice', '', 176, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13909, 12199, '2018-05-02', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16041 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13910, 12200, '2018-05-03', 'Debit', 490.00, 0.00, 514.50, 24.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16042 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13911, 12201, '2018-05-04', 'Debit', 460.00, 0.00, 483.00, 23.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16043 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13912, 12202, '2018-05-05', 'Debit', 140.00, 0.00, 147.00, 7.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16044 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13913, 12203, '2018-05-06', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16045 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13914, 12204, '2018-05-17', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16046 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13915, 12205, '2018-05-21', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16047 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-02', 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
(13916, 12206, '2018-05-26', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16048 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13917, 12207, '2018-06-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16049 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(13918, 12208, '2018-06-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16050 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13919, 12209, '2018-06-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16051 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13920, 12210, '2018-06-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16052 System Generated Invoice', '', 327, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13921, 12211, '2018-05-07', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16053 System Generated Invoice', '', 230, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13922, 12212, '2018-05-14', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16054 System Generated Invoice', '', 230, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13923, 12213, '2018-05-21', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16055 System Generated Invoice', '', 230, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13924, 12214, '2018-05-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16056 System Generated Invoice', '', 230, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13925, 12215, '2018-06-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16057 System Generated Invoice', '', 230, 12, '2018-07-01', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(13926, 12216, '2018-06-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16058 System Generated Invoice', '', 230, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13927, 12217, '2018-06-18', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16059 System Generated Invoice', '', 230, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13928, 12218, '2018-05-12', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16061 System Generated Invoice', '', 157, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13929, 12219, '2018-05-19', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16062 System Generated Invoice', '', 157, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13930, 12220, '2018-05-26', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16063 System Generated Invoice', '', 157, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13931, 12221, '2018-06-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16064 System Generated Invoice', '', 157, 12, '2018-07-01', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(13932, 12222, '2018-06-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16065 System Generated Invoice', '', 157, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13933, 12223, '2018-06-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16066 System Generated Invoice', '', 157, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13934, 12224, '2018-06-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16067 System Generated Invoice', '', 157, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13935, 12225, '2018-06-16', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16069 System Generated Invoice', '', 230, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13936, 12226, '2018-06-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16070 System Generated Invoice', '', 230, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13937, 12227, '2018-06-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16071 System Generated Invoice', '', 230, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13938, 12228, '2018-05-12', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16072 System Generated Invoice', '', 221, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13939, 12229, '2018-06-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16073 System Generated Invoice', '', 221, 12, '2018-07-01', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(13940, 12230, '2018-06-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16074 System Generated Invoice', '', 221, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13941, 12231, '2018-06-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16075 System Generated Invoice', '', 221, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13942, 12232, '2018-06-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16076 System Generated Invoice', '', 221, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13943, 12233, '2018-06-29', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16077 System Generated Invoice', '', 390, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13944, 12234, '2018-06-10', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16078 System Generated Invoice', '', 187, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13945, 12235, '2018-05-19', 'Debit', 160.00, 0.00, 168.00, 8.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16080 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13946, 12236, '2018-06-13', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16081 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13947, 12237, '2018-06-20', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16082 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13948, 12238, '2018-06-27', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16083 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13949, 12239, '2018-06-14', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16084 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13950, 12240, '2018-06-21', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16085 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13951, 12241, '2018-06-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16086 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13952, 12242, '2018-06-18', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16087 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13953, 12243, '2018-06-25', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16088 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13954, 12244, '2018-05-16', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16089 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13955, 1116, '2018-07-01', 'Credit', 4000.00, 0.00, 4000.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 346, 5, '2018-07-01', NULL, 1, '2018-07-30', 0, NULL, NULL, 0),
(13956, 12245, '2018-06-07', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16090 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13957, 12246, '2018-06-14', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16091 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13958, 12247, '2018-06-21', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16092 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13959, 12248, '2018-06-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16093 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13960, 12249, '2018-05-15', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16095 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13961, 12250, '2018-05-16', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16096 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13962, 12251, '2018-05-17', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16097 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13963, 12252, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16100 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(13964, 12253, '2018-06-07', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16101 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13965, 12254, '2018-06-14', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16102 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13966, 12255, '2018-06-21', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16103 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13967, 12256, '2018-06-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16104 System Generated Invoice', '', 104, 12, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13968, 12257, '2018-05-05', 'Debit', 560.00, 0.00, 588.00, 28.00, 2, 0, 'invoice', NULL, NULL, 'Deworming Medicine for 14 horses', '16981', 138, 6, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13969, 12258, '2018-05-05', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Deworming - In Milad: SK Mudawi, SK Ruyuf, Nabil Al Sakab, Magic of Shwan, SK Mia, Ammar Al Sakab & Haifa ED', '16982', 153, 6, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13970, 403, '2018-06-30', 'Debit', 90.00, 0.00, 94.50, 4.50, 2, 0, 'charge', NULL, NULL, 'Halter for Recipients: 3 Noes Each SAR. 30/-', NULL, 395, 6, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13971, 12259, '2018-06-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Charges for Filling Nitrogen in Container (June - 2018) For month SAR. 1000/-', '16986', 138, 6, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13972, 404, '2018-05-31', 'Debit', 1300.00, 0.00, 1365.00, 65.00, 2, 0, 'charge', NULL, NULL, 'Montasar Al Khalediah - semen storage charges - 438 + 442 Straws - Monthly charges 1300 SAR FOR MAY - 2018', NULL, 501, 6, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13973, 405, '2018-06-30', 'Debit', 1300.00, 0.00, 1365.00, 65.00, 2, 0, 'charge', NULL, NULL, 'Montasar Al Khalediah - semen storage charges - 438 + 442 Straws - Monthly charges 1300 SAR FOR JUNE- 2018', NULL, 501, 6, '2018-07-01', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13974, 12260, '2018-05-14', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16105 System Generated Invoice', '', 282, 12, '2018-07-02', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13975, 12261, '2018-05-21', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16106 System Generated Invoice', '', 282, 12, '2018-07-02', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13976, 12262, '2018-05-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16107 System Generated Invoice', '', 282, 12, '2018-07-02', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13977, 12263, '2018-06-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16108 System Generated Invoice', '', 282, 12, '2018-07-02', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(13978, 12264, '2018-06-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16109 System Generated Invoice', '', 282, 12, '2018-07-02', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13979, 12265, '2018-06-18', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16110 System Generated Invoice', '', 282, 12, '2018-07-02', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(13980, 12266, '2018-06-25', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16111 System Generated Invoice', '', 282, 12, '2018-07-02', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13981, 12267, '2018-04-23', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '', '16994', 470, 5, '2018-07-02', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(13982, 12268, '2018-06-05', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'Embryo Trans. ( CRISTAL ) ', '16995', 470, 5, '2018-07-02', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(13983, 12269, '2018-07-14', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'ET Recipient Lease	( CRISTAL * AL KHATTAB AL THANI )', '16996', 470, 5, '2018-07-02', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(13984, 12270, '2018-07-14', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'ET 30 Days Pregnancy	( CRISTAL * AL KHATTAB AL THANI )', '16997', 470, 5, '2018-07-02', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(13985, 12271, '2018-06-08', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'Embryo Trans. ( MAHEEBAT AL JANADRIYAH )', '16998', 470, 5, '2018-07-02', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(13986, 12272, '2018-07-04', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'Embryo Trans. ( MAHEEBAT AL JANADRIYAH )', '16999', 470, 5, '2018-07-02', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(13987, 406, '2018-07-02', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'charge', NULL, NULL, '', NULL, 470, 5, '2018-07-02', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(13988, 407, '2018-07-02', 'Debit', 267800.89, 0.00, 267800.89, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 138, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(13989, 408, '2017-12-31', 'Debit', 267800.89, 0.00, 267800.89, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 138, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(13990, 409, '2017-12-31', 'Debit', 434266.70, 0.00, 434266.70, 0.00, 1, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 138, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(13991, 410, '2017-12-31', 'Debit', 30232.21, 0.00, 30232.21, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 153, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(13992, 411, '2017-12-31', 'Debit', 217800.60, 0.00, 217800.60, 0.00, 1, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 153, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(13993, 412, '2017-12-31', 'Debit', 61049.76, 0.00, 61049.76, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 145, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(13994, 413, '2017-12-31', 'Debit', 156348.00, 0.00, 156348.00, 0.00, 1, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 145, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(13995, 414, '2017-12-31', 'Debit', 138311.67, 0.00, 138311.67, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 139, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(13996, 415, '2017-12-31', 'Debit', 8502.00, 0.00, 8502.00, 0.00, 1, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 139, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(13997, 416, '2017-12-31', 'Debit', 84260.00, 0.00, 84260.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 408, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(13998, 417, '2017-12-31', 'Debit', 6200.00, 0.00, 6200.00, 0.00, 1, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 408, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(13999, 418, '2017-12-31', 'Debit', 26693.38, 0.00, 26693.38, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 468, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14000, 419, '2017-12-31', 'Debit', 60340.00, 0.00, 60340.00, 0.00, 1, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 468, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14001, 420, '2017-12-31', 'Debit', 66000.00, 0.00, 66000.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 327, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14002, 421, '2017-12-31', 'Debit', 62952.36, 0.00, 62952.36, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 150, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14003, 422, '2017-12-31', 'Debit', 2004.00, 0.00, 2004.00, 0.00, 1, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 150, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14004, 423, '2017-12-31', 'Debit', 15450.00, 0.00, 15450.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 427, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14005, 424, '2017-12-31', 'Debit', 35050.00, 0.00, 35050.00, 0.00, 1, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 427, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14006, 425, '2017-12-31', 'Debit', 46170.94, 0.00, 46170.94, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 71, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14007, 426, '2017-12-31', 'Debit', 43836.53, 0.00, 43836.53, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 164, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14008, 427, '2017-12-31', 'Debit', 21136.96, 0.00, 21136.96, 0.00, 2, 1, 'charge', NULL, NULL, 'Forwarded revenue as of December 31, 2017', NULL, 147, 13, '2018-07-02', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(14009, 428, '2017-12-31', 'Debit', 14800.00, 0.00, 14800.00, 0.00, 1, 1, 'charge', NULL, NULL, 'Forwarded revenue as of December 31, 2017', NULL, 147, 13, '2018-07-02', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(14010, 429, '2017-12-31', 'Debit', 36857.05, 0.00, 36857.05, 0.00, 1, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 422, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-17', 0),
(14011, 430, '2017-12-31', 'Debit', 10820.00, 0.00, 10820.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 146, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14012, 431, '2017-12-31', 'Debit', 23700.00, 0.00, 23700.00, 0.00, 1, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 146, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14013, 432, '2017-12-31', 'Debit', 29513.00, 0.00, 29513.00, 0.00, 1, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 280, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14014, 433, '2017-12-31', 'Debit', 27514.00, 0.00, 27514.00, 0.00, 1, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 409, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14015, 434, '2017-12-31', 'Debit', 1000.00, 0.00, 1000.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 258, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14016, 435, '2018-07-02', 'Debit', 23606.00, 0.00, 23606.00, 0.00, 1, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 258, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14017, 436, '2017-12-31', 'Debit', 23606.00, 0.00, 23606.00, 0.00, 1, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 258, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14018, 437, '2017-12-31', 'Debit', 4600.00, 0.00, 4600.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 440, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14019, 438, '2018-12-31', 'Debit', 17139.72, 0.00, 17139.72, 0.00, 1, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 440, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14020, 439, '2017-12-31', 'Debit', 17139.72, 0.00, 17139.72, 0.00, 1, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 440, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14021, 440, '2017-12-31', 'Debit', 18660.00, 0.00, 18660.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 357, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14022, 441, '2017-12-31', 'Debit', 18042.32, 0.00, 18042.32, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 495, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14023, 442, '2017-12-31', 'Debit', 16256.40, 0.00, 16256.40, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 168, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14024, 443, '2017-12-31', 'Debit', 15260.00, 0.00, 15260.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 479, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14025, 444, '2017-12-31', 'Debit', 13353.10, 0.00, 13353.10, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 360, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14026, 445, '2017-12-31', 'Debit', 12002.00, 0.00, 12002.00, 0.00, 1, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 139, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14027, 446, '2017-12-31', 'Debit', 11265.00, 0.00, 11265.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 95, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14028, 447, '2017-12-31', 'Debit', 10906.60, 0.00, 10906.60, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 81, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14029, 448, '2017-12-31', 'Debit', 10673.15, 0.00, 10673.15, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 413, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14030, 449, '2017-12-31', 'Debit', 7679.00, 0.00, 7679.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 498, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14031, 450, '2017-12-31', 'Debit', 5000.00, 0.00, 5000.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 527, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14032, 451, '2017-12-31', 'Debit', 4705.00, 0.00, 4705.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 477, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14033, 452, '2017-12-31', 'Debit', 4099.96, 0.00, 4099.96, 0.00, 1, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 155, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14034, 453, '2017-12-31', 'Debit', 4043.14, 0.00, 4043.14, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 167, 13, '2018-07-02', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14035, 454, '2017-12-31', 'Debit', 2600.00, 0.00, 2600.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 452, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14036, 455, '2017-12-31', 'Debit', 2549.82, 0.00, 2549.82, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 148, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14037, 456, '2017-12-31', 'Debit', 2376.70, 0.00, 2376.70, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 154, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14038, 457, '2017-12-31', 'Debit', 2300.00, 0.00, 2300.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 78, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14039, 458, '2017-12-31', 'Debit', 2185.00, 0.00, 2185.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 153, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14040, 459, '2017-12-31', 'Debit', 2000.00, 0.00, 2000.00, 0.00, 1, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 122, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14041, 460, '2017-12-31', 'Debit', 1445.00, 0.00, 1445.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 84, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14042, 461, '2017-12-31', 'Debit', 799.92, 0.00, 799.92, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 108, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14043, 462, '2017-12-31', 'Debit', 500.00, 0.00, 500.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 344, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14044, 463, '2017-12-31', 'Debit', 500.00, 0.00, 500.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 553, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14045, 464, '2017-12-31', 'Debit', 133.32, 0.00, 133.32, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 530, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14046, 465, '2017-12-31', 'Debit', 100.00, 0.00, 100.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Revenue from old system', NULL, 104, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14047, 12273, '2018-05-07', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 7-May-2018 ) MAHEEBAT AL JANADRIYAH', '17000', 470, 5, '2018-07-02', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14048, 12274, '2018-06-01', 'Debit', 1666.75, 0.00, 1750.09, 83.34, 2, 0, 'invoice', NULL, NULL, 'bOARDING ( 7 - 31 ) May-2018  MAHEEBAT AL JANADRIYAH', '17001', 470, 5, '2018-07-02', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14049, 12275, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 )  MAHEEBAT AL JANADRIYAH', '17002', 470, 5, '2018-07-02', NULL, 1, '2018-07-02', 0, NULL, NULL, 0),
(14050, 12276, '2018-07-02', 'Debit', 133.34, 0.00, 140.01, 6.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 2 ) Jul-2018  ANSTAZIA AL RMHA', '17003', 444, 5, '2018-07-02', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14051, 12277, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16112 System Generated Invoice', '', 444, 5, '2018-07-02', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14052, 12278, '2018-07-02', 'Debit', 1600.00, 0.00, 1680.00, 80.00, 2, 0, 'invoice', NULL, NULL, 'P4 Bottle', '17005', 444, 5, '2018-07-02', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14053, 1117, '2018-07-02', 'Credit', 8603.01, 0.00, 8603.01, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 444, 5, '2018-07-02', NULL, 1, '2018-07-31', 0, NULL, NULL, 0),
(14054, 12279, '2018-06-01', 'Debit', 306.68, 0.00, 322.01, 15.33, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 4 ) Jan-2018 	RASHIM AL SULAIMANIA', '17006', 470, 5, '2018-07-02', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14055, 12280, '2018-06-01', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 2, 0, 'invoice', NULL, NULL, 'Training ( Jan-2018 ) BARIZ AL KHALEDIAH', '17007', 470, 5, '2018-07-02', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14056, 1118, '2018-07-02', 'Credit', 59000.00, 0.00, 59000.00, 0.00, 2, 0, 'payment', 'transfer', '', '', NULL, 280, 5, '2018-07-02', NULL, 1, '2018-07-30', 0, NULL, NULL, 0),
(14057, 1119, '2017-12-31', 'Credit', 12785.00, 0.00, 12785.00, 0.00, 3, 1, 'payment', 'transfer', '', 'Payment', NULL, 280, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14058, 1120, '2018-07-02', 'Credit', 20000.00, 0.00, 20000.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 440, 5, '2018-07-02', NULL, 1, '2018-07-31', 0, NULL, NULL, 0),
(14059, 1121, '2018-07-02', 'Credit', 15209.76, 0.00, 15209.76, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 440, 5, '2018-07-02', NULL, 1, '2018-07-31', 0, NULL, NULL, 0),
(14060, 1122, '2018-06-27', 'Credit', 1386.00, 0.00, 1386.00, 0.00, 2, 0, 'payment', 'transfer', '', '', NULL, 210, 5, '2018-07-02', NULL, 1, '2018-07-09', 0, NULL, NULL, 0),
(14061, 1123, '2018-06-27', 'Credit', 8301.00, 0.00, 8301.00, 0.00, 2, 0, 'payment', 'transfer', '', '', NULL, 283, 5, '2018-07-02', NULL, 1, '2018-07-09', 0, NULL, NULL, 0),
(14062, 12281, '2018-06-01', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) Rec. 81', '17008', 470, 5, '2018-07-02', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14063, 466, '2017-09-30', 'Debit', 74262.00, 0.00, 74262.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Opening balance', NULL, 150, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14064, 467, '2017-12-31', 'Debit', 62952.36, 0.00, 62952.36, 0.00, 2, 0, 'charge', NULL, NULL, 'Wise option revenue', NULL, 150, 13, '2018-07-02', 14063, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14065, 468, '2018-07-02', 'Debit', 2004.00, 0.00, 2004.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Wise option revenue', NULL, 150, 13, '2018-07-02', 14064, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14066, 469, '2017-12-31', 'Debit', 2004.00, 0.00, 2004.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Wise option revenue', NULL, 150, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14067, 470, '2017-09-01', 'Debit', 408618.31, 0.00, 408618.31, 0.00, 2, 1, 'charge', NULL, NULL, 'Wise option revenue', NULL, 138, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14068, 471, '2017-09-01', 'Debit', 408618.31, 0.00, 408618.31, 0.00, 2, 1, 'charge', NULL, NULL, 'Wise option revenue/ Opening balance', NULL, 138, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-02', 0),
(14069, 472, '2017-12-31', 'Debit', 267800.89, 0.00, 267800.89, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 138, 13, '2018-07-02', NULL, 1, '2018-07-14', 0, NULL, NULL, 0),
(14070, 473, '2017-12-31', 'Debit', 16728.00, 0.00, 16728.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Beg. Balance (Wise option)', NULL, 280, 13, '2018-07-02', NULL, 0, '0000-00-00', 1, 13, '2018-07-12', 0),
(14071, 12282, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) Rec. 81', '17009', 470, 5, '2018-07-02', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14072, 12283, '2018-07-03', 'Debit', 230.01, 0.00, 241.51, 11.50, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 3 ) Jul-2018  SF GHAZALAH with Colt', '17010', 550, 5, '2018-07-02', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14073, 12284, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16113 System Generated Invoice', '', 550, 5, '2018-07-02', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14074, 12285, '2018-07-03', 'Debit', 1600.00, 0.00, 1680.00, 80.00, 2, 0, 'invoice', NULL, NULL, 'P4 Bottle', '17012', 550, 5, '2018-07-02', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14075, 1124, '2018-07-02', 'Credit', 9639.01, 0.00, 9639.01, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 550, 5, '2018-07-02', NULL, 1, '2018-07-31', 0, NULL, NULL, 0),
(14076, 12286, '2018-06-26', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16115 System Generated Invoice', '', 521, 12, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14077, 12287, '2018-07-02', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16116 System Generated Invoice', '', 521, 12, '2018-07-03', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14078, 12288, '2018-06-05', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16118 System Generated Invoice', '', 145, 12, '2018-07-03', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14079, 12289, '2018-06-06', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16119 System Generated Invoice', '', 145, 12, '2018-07-03', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14080, 12290, '2018-06-07', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16120 System Generated Invoice', '', 145, 12, '2018-07-03', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14081, 12291, '2018-06-08', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16121 System Generated Invoice', '', 145, 12, '2018-07-03', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14082, 12292, '2018-06-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16123 System Generated Invoice', '', 145, 12, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14083, 12293, '2018-05-15', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16124 System Generated Invoice', '', 80, 12, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14084, 12294, '2018-06-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16126 System Generated Invoice', '', 80, 12, '2018-07-03', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14085, 12295, '2018-06-08', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16127 System Generated Invoice', '', 80, 12, '2018-07-03', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14086, 12296, '2018-06-09', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16128 System Generated Invoice', '', 80, 12, '2018-07-03', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14087, 12297, '2018-06-10', 'Debit', 270.00, 0.00, 283.50, 13.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16129 System Generated Invoice', '', 80, 12, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14088, 12298, '2018-06-11', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16130 System Generated Invoice', '', 80, 12, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14089, 12299, '2018-06-12', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16131 System Generated Invoice', '', 80, 12, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14090, 12300, '2018-07-03', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16134 System Generated Invoice', '', 147, 12, '2018-07-03', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14091, 12301, '2018-06-29', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16135 System Generated Invoice', '', 80, 12, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14092, 12302, '2018-06-30', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16136 System Generated Invoice', '', 80, 12, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14093, 12303, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16137 System Generated Invoice', '', 80, 12, '2018-07-03', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14094, 12304, '2018-06-16', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16139 System Generated Invoice', '', 228, 12, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14095, 12305, '2018-06-18', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16141 System Generated Invoice', '', 228, 12, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14096, 12306, '2018-06-19', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16142 System Generated Invoice', '', 228, 12, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14097, 12307, '2018-06-20', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16143 System Generated Invoice', '', 228, 12, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14098, 12308, '2018-07-02', 'Debit', 350.00, 0.00, 367.50, 17.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16146 System Generated Invoice', '', 485, 12, '2018-07-03', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14099, 12309, '2018-07-03', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16147 System Generated Invoice', '', 485, 12, '2018-07-03', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14100, 12310, '2018-07-04', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16148 System Generated Invoice', '', 485, 12, '2018-07-03', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14101, 12311, '2018-06-09', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16150 System Generated Invoice', '', 415, 12, '2018-07-03', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14102, 12312, '2018-06-10', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16151 System Generated Invoice', '', 415, 12, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14103, 474, '2017-09-01', 'Debit', 74262.00, 0.00, 74262.00, 0.00, 2, 1, 'charge', NULL, NULL, '', NULL, 150, 13, '2018-07-03', NULL, 1, '2018-07-03', 1, 13, '2018-07-03', 0),
(14104, 12313, '2018-06-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16154 System Generated Invoice', '', 327, 12, '2018-07-03', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14105, 12314, '2018-06-08', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16155 System Generated Invoice', '', 327, 12, '2018-07-03', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14106, 12315, '2018-06-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16157 System Generated Invoice', '', 327, 12, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14107, 12316, '2018-06-11', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16158 System Generated Invoice', '', 327, 12, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14108, 12317, '2018-06-27', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16160 System Generated Invoice', '', 327, 12, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14109, 12318, '2018-06-30', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16161 System Generated Invoice', '', 327, 12, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14110, 12319, '2018-07-01', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16162 System Generated Invoice', '', 327, 12, '2018-07-03', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14111, 12320, '2018-07-02', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16163 System Generated Invoice', '', 327, 12, '2018-07-03', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14112, 12321, '2018-07-03', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16164 System Generated Invoice', '', 327, 12, '2018-07-03', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14113, 12322, '2018-07-02', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16165 System Generated Invoice', '', 327, 12, '2018-07-03', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14114, 12323, '2018-07-03', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16166 System Generated Invoice', '', 327, 12, '2018-07-03', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14115, 12324, '2018-04-12', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16169 System Generated Invoice', '', 181, 12, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14116, 12325, '2018-04-29', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16173 System Generated Invoice', '', 181, 12, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14117, 12326, '2018-05-01', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16175 System Generated Invoice', '', 181, 12, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14118, 12327, '2018-05-21', 'Debit', 310.00, 0.00, 325.50, 15.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16178 System Generated Invoice', '', 181, 12, '2018-07-03', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14119, 12328, '2018-05-22', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16179 System Generated Invoice', '', 181, 12, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14120, 12329, '2018-05-23', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16180 System Generated Invoice', '', 181, 12, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14121, 12330, '2018-05-01', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16186 System Generated Invoice', '', 181, 12, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14122, 12331, '2018-05-25', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16190 System Generated Invoice', '', 181, 12, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14123, 12332, '2018-05-26', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16191 System Generated Invoice', '', 181, 12, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14124, 12333, '2018-05-27', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16192 System Generated Invoice', '', 181, 12, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14125, 12334, '2018-05-28', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16193 System Generated Invoice', '', 181, 12, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14126, 12335, '2018-05-29', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16194 System Generated Invoice', '', 181, 12, '2018-07-03', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14127, 12336, '2018-05-31', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 1, 0, 'invoice', NULL, NULL, 'Training for April & May, 2018', '17088,17089', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14128, 12337, '2018-06-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of June, 2018', '17090', 138, 6, '2018-07-03', NULL, 1, '2018-07-10', 0, NULL, NULL, 0),
(14129, 12338, '2018-06-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 March, April, May, June 2018', '17091', 138, 6, '2018-07-03', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(14130, 12339, '2018-06-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 April, May, June 2018', '3267', 138, 6, '2018-07-03', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(14131, 12340, '2018-06-30', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Free - Breed stallion - No Boarding charges for the month of March, April, May, June 2018', '17092', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14132, 12341, '2018-06-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  April, May, June 2018', '17093', 138, 6, '2018-07-03', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(14133, 1125, '2018-06-13', 'Credit', 300000.00, 0.00, 300000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Transferred in Milad bank for balances', NULL, 138, 6, '2018-07-03', NULL, 1, '2018-07-08', 0, NULL, NULL, 0),
(14134, 475, '2018-06-01', 'Debit', 2398.00, 0.00, 2517.90, 119.90, 2, 0, 'charge', NULL, NULL, 'TADAWI invoice ( SALMA )', NULL, 470, 5, '2018-07-03', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(14135, 12342, '2018-04-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Apirl, 2018', '17094', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14136, 12343, '2018-05-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17095', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14137, 12344, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17096', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14138, 12345, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 ) THIS IZZATHYME TK', '17097', 470, 5, '2018-07-03', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14139, 12346, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 ) THIS IZZATHYME TK', '17098', 470, 5, '2018-07-03', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14140, 12347, '2018-06-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 28-Feb-2018 ) THIS IZZATHYME TK', '17099', 470, 5, '2018-07-03', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14141, 12348, '2018-04-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of April, 2018', '5242', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14142, 12349, '2018-05-31', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of  May, 2018', '17100', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14143, 12350, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17101', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14144, 476, '2018-07-03', 'Debit', 1941.50, 0.00, 2038.58, 97.08, 2, 0, 'charge', NULL, NULL, 'TADAWI invoice ( Filly of MORNING MIST )', NULL, 529, 5, '2018-07-03', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14145, 12351, '2018-04-11', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 11-Apr-2018 ) MORNING MIST NA with Filly', '17102', 529, 5, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14146, 12352, '2018-06-01', 'Debit', 1533.40, 0.00, 1610.07, 76.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 11 - 30 ) Apr-2018  MORNING MIST NA with Filly', '17103', 529, 5, '2018-07-03', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14147, 12353, '2018-06-01', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 )  MORNING MIST NA with Filly', '17104', 529, 5, '2018-07-03', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14148, 12354, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 )  MORNING MIST NA with Filly', '17105', 529, 5, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14149, 12355, '2018-07-04', 'Debit', 306.68, 0.00, 322.01, 15.33, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 4 ) Jul-2018   MORNING MIST NA with Filly', '17106', 529, 5, '2018-07-03', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14150, 12356, '2018-05-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16197 System Generated Invoice', '', 529, 5, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14151, 12357, '2018-06-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16198 System Generated Invoice', '', 529, 5, '2018-07-03', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14152, 12358, '2018-06-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16199 System Generated Invoice', '', 529, 5, '2018-07-03', NULL, 1, '2018-07-15', 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
(14153, 12359, '2018-06-18', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16200 System Generated Invoice', '', 529, 5, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14154, 12360, '2018-06-25', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16201 System Generated Invoice', '', 529, 5, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14155, 12361, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16202 System Generated Invoice', '', 529, 5, '2018-07-03', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14156, 12362, '2018-07-04', 'Debit', 1600.00, 0.00, 1680.00, 80.00, 2, 0, 'invoice', NULL, NULL, 'P4 Bottle', '17113', 529, 5, '2018-07-03', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14157, 12363, '2018-06-01', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 ) Rec. Sulaiman Al Salem ( 1 )', '17114', 470, 5, '2018-07-03', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14158, 12364, '2018-06-01', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 ) Rec. Sulaiman Al Salem ( 1 )', '17115', 470, 5, '2018-07-03', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14159, 12365, '2018-06-01', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 ) Rec. Sulaiman Al Salem ( 1 )', '17116', 470, 5, '2018-07-03', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14160, 12366, '2018-06-01', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) Rec. Sulaiman Al Salem ( 1 )', '17117', 470, 5, '2018-07-03', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14161, 12367, '2018-06-01', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) Rec. Sulaiman Al Salem ( 1 )', '17118', 470, 5, '2018-07-03', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14162, 12368, '2018-06-30', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) Rec. Sulaiman Al Salem ( 1 )', '17119', 470, 5, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14163, 12369, '2018-06-01', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 ) Rec. Sulaiman Al Salem ( 2 )', '17120', 470, 5, '2018-07-03', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14164, 12370, '2018-06-01', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 ) Rec. Sulaiman Al Salem ( 2 )', '17121', 470, 5, '2018-07-03', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14165, 12371, '2018-06-01', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 ) Rec. Sulaiman Al Salem ( 2 )', '17122', 470, 5, '2018-07-03', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14166, 12372, '2018-06-01', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) Rec. Sulaiman Al Salem ( 2 )', '17123', 470, 5, '2018-07-03', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14167, 12373, '2018-06-01', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) Rec. Sulaiman Al Salem ( 2 )', '17124', 470, 5, '2018-07-03', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14168, 12374, '2018-06-30', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) Rec. Sulaiman Al Salem ( 2 )', '17125', 470, 5, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14169, 12375, '2018-04-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of April, 2018', '17126', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14170, 12376, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17127', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14171, 12377, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17128', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14172, 12378, '2018-04-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of April, 2018', '17129', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14173, 12379, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17130', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14174, 12380, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17131', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14175, 12381, '2018-04-30', 'Debit', 2240.68, 0.00, 2352.71, 112.03, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of April, 2018', '10412,17132', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14176, 12382, '2018-04-06', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Foaled Colt', '4894', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14177, 12383, '2018-04-05', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Halter charges', '16984', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14178, 12384, '2018-06-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Halter Charges', '16983', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14179, 12385, '2018-05-31', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Special Shoeing Bint Seduction HBV', '16660', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14180, 12386, '2018-04-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of April, 2018', '17133', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14181, 12387, '2018-05-31', 'Debit', 2030.10, 0.00, 2131.60, 101.50, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17134,17136', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14182, 12388, '2018-05-27', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Foaled Filly', '17135', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14183, 12389, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17137', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14184, 12390, '2018-04-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of April, 2018', '17138', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14185, 12391, '2018-05-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17139', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14186, 12392, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June,2018', '17140', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14187, 12393, '2018-04-30', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'P4 for Apirl, 2018', '17141', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14188, 12394, '2018-05-31', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes for the month of May, 2018', '17142', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14189, 12395, '2018-06-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'P4 for June, 2018', '17143', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14190, 12396, '2018-04-30', 'Debit', 1150.05, 0.00, 1207.55, 57.50, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of April, 2018', '17144', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14191, 12397, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17145', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14192, 12398, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17146', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14193, 12399, '2018-04-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of April, 2018', '10336', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14194, 12400, '2018-05-31', 'Debit', 2150.10, 0.00, 2257.60, 107.50, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17147,17148', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14195, 12401, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of  June, 2018', '17149', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14196, 12402, '2018-05-31', 'Debit', 1000.05, 0.00, 1050.05, 50.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of  May, 2018', '17150', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14197, 12403, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of  June, 2018', '17151', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14198, 12404, '2018-05-31', 'Debit', 1000.05, 0.00, 1050.05, 50.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 15-31 May, 2018', '17155', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14199, 12405, '2018-05-31', 'Debit', 2073.43, 0.00, 2177.10, 103.67, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17152,17153', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14200, 12406, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17154', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14201, 12407, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17156', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14202, 12408, '2018-04-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of April, 2018', '17157', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14203, 12409, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17158', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14204, 12410, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17159', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14205, 12411, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of  June, 2018', '17160', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14206, 12412, '2018-04-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of April, 2018', '17161', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14207, 12413, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17162', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14208, 12414, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17163', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14209, 12415, '2018-04-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of April, 2018', '17164', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14210, 12416, '2018-05-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17165', 138, 6, '2018-07-03', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14211, 12417, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17166', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14212, 12418, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17167', 138, 6, '2018-07-03', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14213, 12419, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17168', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14214, 12420, '2018-04-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of April, 2018', '17169', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14215, 12421, '2018-05-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17170', 138, 6, '2018-07-03', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14216, 12422, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17171', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14217, 12423, '2018-04-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of April, 2018', '17172', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14218, 12424, '2018-05-31', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of May, 2018', '17173', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14219, 12425, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17174', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14220, 12426, '2018-04-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of April, 2018', '17175', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14221, 12427, '2018-05-31', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17176', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14222, 12428, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17177', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14223, 12429, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17178', 138, 6, '2018-07-03', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14224, 12430, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17179', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14225, 12431, '2018-04-30', 'Debit', 230.01, 0.00, 241.51, 11.50, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 28-30 April, 2018', '17180', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14226, 12432, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of  May, 2018', '17181', 138, 6, '2018-07-03', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14227, 12433, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17182', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14228, 12434, '2018-04-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training  for the month of April, 2018', '17183', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14229, 12435, '2018-05-12', 'Debit', 2000.04, 0.00, 2100.04, 100.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of 1-12 May, 2018  Checkout (Gone to Europe)', '17184', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14230, 12436, '2018-04-30', 'Debit', 1666.75, 0.00, 1750.09, 83.34, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 5-30 April, 2018', '17185', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14231, 12437, '2018-05-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17186', 138, 6, '2018-07-03', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14232, 12438, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17187', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14233, 12439, '2018-04-30', 'Debit', 1610.07, 0.00, 1690.57, 80.50, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 9-30 April, 2018', '17188', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14234, 12440, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17189', 138, 6, '2018-07-03', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14235, 12441, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17190', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14236, 12442, '2018-04-30', 'Debit', 2243.44, 0.00, 2355.61, 112.17, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of April, 2018', '17191,17192', 138, 6, '2018-07-03', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14237, 12443, '2018-05-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17193', 138, 6, '2018-07-03', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14238, 12444, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17194', 138, 6, '2018-07-03', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14239, 12445, '2018-06-27', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16206 System Generated Invoice', '', 375, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14240, 12446, '2018-06-06', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16207 System Generated Invoice', '', 375, 12, '2018-07-04', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14241, 12447, '2018-06-13', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16208 System Generated Invoice', '', 375, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14242, 12448, '2018-06-20', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16209 System Generated Invoice', '', 375, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14243, 12449, '2018-06-27', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16210 System Generated Invoice', '', 375, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14244, 12450, '2018-06-13', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16211 System Generated Invoice', '', 357, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14245, 12451, '2018-06-20', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16212 System Generated Invoice', '', 357, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14246, 12452, '2018-06-27', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16213 System Generated Invoice', '', 357, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14247, 12453, '2018-07-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16214 System Generated Invoice', '', 357, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14248, 12454, '2018-06-07', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16216 System Generated Invoice', '', 104, 12, '2018-07-04', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14249, 12455, '2018-06-08', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16217 System Generated Invoice', '', 104, 12, '2018-07-04', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14250, 12456, '2018-07-04', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Care of Ashoq', '17208', 160, 5, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14251, 12457, '2018-06-09', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16218 System Generated Invoice', '', 104, 12, '2018-07-04', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14252, 1126, '2018-07-04', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #12456', NULL, 160, 5, '2018-07-04', 14250, 1, '2018-08-08', 0, NULL, NULL, 0),
(14253, 12458, '2018-06-10', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16219 System Generated Invoice', '', 104, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14254, 12459, '2018-06-26', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16221 System Generated Invoice', '', 104, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14255, 12460, '2018-06-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16222 System Generated Invoice', '', 104, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14256, 12461, '2018-06-30', 'Debit', 340.00, 0.00, 357.00, 17.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16223 System Generated Invoice', '', 104, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14257, 12462, '2018-07-01', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16224 System Generated Invoice', '', 104, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14258, 12463, '2018-07-02', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16225 System Generated Invoice', '', 104, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14259, 12464, '2018-07-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16226 System Generated Invoice', '', 104, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14260, 12465, '2018-07-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16227 System Generated Invoice', '', 104, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14261, 12466, '2018-07-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16228 System Generated Invoice', '', 104, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14262, 12467, '2018-07-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16229 System Generated Invoice', '', 104, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14263, 12468, '2018-07-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16230 System Generated Invoice', '', 104, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14264, 12469, '2018-05-19', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16231 System Generated Invoice', '', 95, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14265, 12470, '2018-05-30', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16233 System Generated Invoice', '', 95, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14266, 12471, '2018-05-31', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16234 System Generated Invoice', '', 95, 12, '2018-07-04', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14267, 12472, '2018-06-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16235 System Generated Invoice', '', 95, 12, '2018-07-04', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14268, 12473, '2018-06-02', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16236 System Generated Invoice', '', 95, 12, '2018-07-04', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14269, 12474, '2018-06-18', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16238 System Generated Invoice', '', 95, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14270, 12475, '2018-06-25', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16239 System Generated Invoice', '', 95, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14271, 12476, '2018-07-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16240 System Generated Invoice', '', 95, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14272, 12477, '2018-06-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16241 System Generated Invoice', '', 423, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14273, 12478, '2018-07-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16242 System Generated Invoice', '', 423, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14274, 12479, '2018-04-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16244 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14275, 12480, '2018-04-01', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16245 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14276, 12481, '2018-04-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16246 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14277, 12482, '2018-04-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16247 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14278, 12483, '2018-04-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16248 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14279, 12484, '2018-04-01', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16249 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14280, 12485, '2018-04-01', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16251 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14281, 12486, '2018-04-01', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16252 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14282, 12487, '2018-04-01', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16253 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14283, 12488, '2018-04-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16254 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14284, 12489, '2018-04-16', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16256 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14285, 12490, '2018-04-22', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16257 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14286, 12491, '2018-04-23', 'Debit', 130.00, 0.00, 136.50, 6.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16258 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14287, 12492, '2018-04-24', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16259 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14288, 12493, '2018-05-14', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16262 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14289, 12494, '2018-05-15', 'Debit', 255.00, 0.00, 267.75, 12.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16263 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14290, 12495, '2018-05-16', 'Debit', 35.00, 0.00, 36.75, 1.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16264 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14291, 12496, '2018-05-17', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16265 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14292, 12497, '2018-05-18', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16266 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14293, 12498, '2018-06-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16268 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14294, 12499, '2018-06-09', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16269 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14295, 12500, '2018-06-10', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16270 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14296, 12501, '2018-06-11', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16271 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14297, 12502, '2018-06-12', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16272 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14298, 12503, '2018-06-13', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16273 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14299, 12504, '2018-07-01', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16276 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14300, 12505, '2018-07-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16278 System Generated Invoice', '', 277, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14301, 12506, '2018-07-04', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16279 System Generated Invoice', '', 327, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14302, 12507, '2018-05-26', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16281 System Generated Invoice', '', 122, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14303, 12508, '2018-06-01', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16282 System Generated Invoice', '', 122, 12, '2018-07-04', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14304, 12509, '2018-06-06', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16284 System Generated Invoice', '', 122, 12, '2018-07-04', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14305, 12510, '2018-06-17', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16285 System Generated Invoice', '', 122, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14306, 12511, '2018-06-19', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16287 System Generated Invoice', '', 122, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14307, 12512, '2018-06-20', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16288 System Generated Invoice', '', 122, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14308, 12513, '2018-05-29', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16289 System Generated Invoice', '', 370, 12, '2018-07-04', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14309, 12514, '2018-06-03', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16290 System Generated Invoice', '', 370, 12, '2018-07-04', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14310, 12515, '2018-06-04', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16291 System Generated Invoice', '', 370, 12, '2018-07-04', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14311, 12516, '2018-06-05', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16292 System Generated Invoice', '', 370, 12, '2018-07-04', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14312, 12517, '2018-06-06', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16293 System Generated Invoice', '', 370, 12, '2018-07-04', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14313, 12518, '2018-06-07', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16294 System Generated Invoice', '', 370, 12, '2018-07-04', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14314, 12519, '2018-06-08', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16295 System Generated Invoice', '', 370, 12, '2018-07-04', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14315, 12520, '2018-06-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16298 System Generated Invoice', '', 207, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14316, 12521, '2018-06-30', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16299 System Generated Invoice', '', 207, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14317, 12522, '2018-07-04', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16300 System Generated Invoice', '', 207, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14318, 12523, '2018-05-15', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16301 System Generated Invoice', '', 207, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14319, 12524, '2018-05-19', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16302 System Generated Invoice', '', 207, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14320, 12525, '2018-05-20', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16303 System Generated Invoice', '', 207, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14321, 12526, '2018-05-21', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16304 System Generated Invoice', '', 207, 12, '2018-07-04', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14322, 12527, '2018-05-22', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16305 System Generated Invoice', '', 207, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14323, 12528, '2018-05-23', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16306 System Generated Invoice', '', 207, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14324, 12529, '2018-05-24', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16307 System Generated Invoice', '', 207, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14325, 12530, '2018-06-11', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16309 System Generated Invoice', '', 207, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14326, 12531, '2018-06-13', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16310 System Generated Invoice', '', 207, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14327, 12532, '2018-05-02', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16316 System Generated Invoice', '', 255, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14328, 12533, '2018-05-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16317 System Generated Invoice', '', 255, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14329, 12534, '2018-05-04', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16318 System Generated Invoice', '', 255, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14330, 12535, '2018-05-05', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16319 System Generated Invoice', '', 255, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14331, 12536, '2018-05-06', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16320 System Generated Invoice', '', 255, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14332, 12537, '2018-05-21', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16322 System Generated Invoice', '', 255, 12, '2018-07-04', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14333, 12538, '2018-05-22', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16323 System Generated Invoice', '', 255, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14334, 12539, '2018-05-24', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16325 System Generated Invoice', '', 255, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14335, 12540, '2018-05-25', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16326 System Generated Invoice', '', 255, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14336, 12541, '2018-05-26', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16327 System Generated Invoice', '', 255, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14337, 12542, '2018-06-14', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16329 System Generated Invoice', '', 255, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14338, 12543, '2018-06-15', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16330 System Generated Invoice', '', 255, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14339, 12544, '2018-06-16', 'Debit', 450.00, 0.00, 472.50, 22.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16331 System Generated Invoice', '', 255, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14340, 12545, '2018-06-17', 'Debit', 440.00, 0.00, 462.00, 22.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16332 System Generated Invoice', '', 255, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14341, 12546, '2018-06-18', 'Debit', 440.00, 0.00, 462.00, 22.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16333 System Generated Invoice', '', 255, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14342, 12547, '2018-06-19', 'Debit', 140.00, 0.00, 147.00, 7.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16334 System Generated Invoice', '', 255, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14343, 12548, '2018-06-20', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16335 System Generated Invoice', '', 255, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14344, 12549, '2018-04-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of April, 2018', '17348', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14345, 12550, '2018-05-02', 'Debit', 332.67, 0.00, 349.30, 16.63, 1, 0, 'invoice', NULL, NULL, 'Training for the month of 1-2 May, 2018 Checkout ', '17349', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14346, 12551, '2018-04-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Training for the month of April, 2018 Checkout 1-May-2018', '17350', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14347, 12552, '2018-04-30', 'Debit', 1610.07, 0.00, 1690.57, 80.50, 2, 0, 'invoice', NULL, NULL, 'Training for the month of April, 2018', '17351', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14348, 12553, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Training for the month of May, 2018', '17352', 138, 6, '2018-07-04', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14349, 12554, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Training for the month of June, 2018', '17353', 138, 6, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14350, 12555, '2018-05-15', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 15-May-2018 ) BUSHRA AL WASHM', '17354', 583, 5, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14351, 12556, '2018-06-01', 'Debit', 2833.39, 0.00, 2975.06, 141.67, 1, 0, 'invoice', NULL, NULL, 'Training ( 15 - 31 ) May-2018  BUSHRA AL WASHM', '17355', 583, 5, '2018-07-04', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14352, 12557, '2018-06-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training ( Jun-2018 ) BUSHRA AL WASHM', '17356', 583, 5, '2018-07-04', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(14353, 12558, '2018-07-04', 'Debit', 666.68, 0.00, 700.01, 33.33, 1, 0, 'invoice', NULL, NULL, 'Training ( 1 - 4 ) Jul-2018  BUSHRA AL WASHM', '17357', 583, 5, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14354, 477, '2018-06-10', 'Debit', 781.00, 0.00, 820.05, 39.05, 2, 0, 'charge', NULL, NULL, 'TADAWI invoice ( BUSHRA AL WASHM )', NULL, 583, 5, '2018-07-04', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(14355, 1127, '2018-05-17', 'Credit', 5000.00, 0.00, 5000.00, 0.00, 1, 0, 'payment', 'transfer', '', '', NULL, 583, 5, '2018-07-04', NULL, 1, '2018-07-08', 0, NULL, NULL, 0),
(14356, 12559, '2018-06-29', 'Debit', 510.00, 0.00, 535.50, 25.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16337 System Generated Invoice', '', 156, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14357, 12560, '2018-06-30', 'Debit', 450.00, 0.00, 472.50, 22.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16338 System Generated Invoice', '', 156, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14358, 12561, '2018-07-01', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16339 System Generated Invoice', '', 156, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14359, 12562, '2018-07-02', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16340 System Generated Invoice', '', 156, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14360, 12563, '2018-07-03', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16341 System Generated Invoice', '', 156, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14361, 12564, '2018-06-30', 'Debit', 160.00, 0.00, 168.00, 8.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16342 System Generated Invoice', '', 155, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14362, 12565, '2018-07-04', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, '4 Dozes P4', '17376', 282, 5, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14363, 12566, '2018-07-03', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16344 System Generated Invoice', '', 155, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14364, 12567, '2018-07-04', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16345 System Generated Invoice', '', 155, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14365, 12568, '2018-07-02', 'Debit', 255.00, 0.00, 267.75, 12.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16346 System Generated Invoice', '', 529, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14366, 12569, '2018-07-03', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16347 System Generated Invoice', '', 529, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14367, 1128, '2018-07-04', 'Credit', 504.00, 0.00, 504.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #12565', NULL, 282, 5, '2018-07-04', 14362, 1, '2018-08-08', 0, NULL, NULL, 0),
(14368, 12570, '2018-06-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16349 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14369, 12571, '2018-07-02', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16350 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14370, 12572, '2018-06-29', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16351 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14371, 12573, '2018-06-30', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16352 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14372, 12574, '2018-06-29', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16353 System Generated Invoice', '', 470, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14373, 12575, '2018-06-30', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16354 System Generated Invoice', '', 470, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14374, 12576, '2018-07-01', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16355 System Generated Invoice', '', 470, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14375, 12577, '2018-07-02', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16356 System Generated Invoice', '', 470, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14376, 12578, '2018-07-03', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16357 System Generated Invoice', '', 470, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14377, 12579, '2018-07-04', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16358 System Generated Invoice', '', 470, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14378, 12580, '2018-06-29', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16359 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14379, 12581, '2018-06-30', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16360 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14380, 12582, '2018-07-01', 'Debit', 460.00, 0.00, 483.00, 23.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16361 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14381, 12583, '2018-07-02', 'Debit', 460.00, 0.00, 483.00, 23.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16362 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14382, 12584, '2018-07-03', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16363 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14383, 12585, '2018-07-04', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16364 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14384, 12586, '2018-06-29', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16365 System Generated Invoice', '', 147, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14385, 12587, '2018-07-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16366 System Generated Invoice', '', 147, 12, '2018-07-04', NULL, 1, '2018-08-19', 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
(14386, 12588, '2018-07-02', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16368 System Generated Invoice', '', 542, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14387, 12589, '2018-06-29', 'Debit', 255.00, 0.00, 267.75, 12.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16370 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14388, 12590, '2018-06-30', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16371 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14389, 12591, '2018-06-30', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16372 System Generated Invoice', '', 346, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14390, 12592, '2018-06-29', 'Debit', 470.00, 0.00, 493.50, 23.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16373 System Generated Invoice', '', 362, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14391, 12593, '2018-06-30', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16374 System Generated Invoice', '', 362, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14392, 12594, '2018-06-28', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16375 System Generated Invoice', '', 470, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14393, 12595, '2018-06-29', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16376 System Generated Invoice', '', 470, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14394, 12596, '2018-06-29', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16377 System Generated Invoice', '', 152, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14395, 12597, '2018-06-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16378 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14396, 12598, '2018-06-29', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16380 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14397, 12599, '2018-06-30', 'Debit', 400.00, 0.00, 420.00, 20.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16381 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14398, 12600, '2018-06-30', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16382 System Generated Invoice', '', 71, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14399, 12601, '2018-06-18', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16383 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14400, 12602, '2018-07-02', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16384 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14401, 12603, '2018-07-03', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16385 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14402, 12604, '2018-06-29', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16386 System Generated Invoice', '', 560, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14403, 12605, '2018-06-30', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16387 System Generated Invoice', '', 560, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14404, 12606, '2018-06-30', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16389 System Generated Invoice', '', 553, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14405, 12607, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16390 System Generated Invoice', '', 553, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14406, 12608, '2018-06-29', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16391 System Generated Invoice', '', 348, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14407, 12609, '2018-06-30', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16392 System Generated Invoice', '', 348, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14408, 12610, '2018-06-29', 'Debit', 470.00, 0.00, 493.50, 23.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16397 System Generated Invoice', '', 502, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14409, 12611, '2018-06-30', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16398 System Generated Invoice', '', 502, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14410, 12612, '2018-07-01', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16399 System Generated Invoice', '', 502, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14411, 12613, '2018-07-01', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16402 System Generated Invoice', '', 263, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14412, 12614, '2018-07-02', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16403 System Generated Invoice', '', 535, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14413, 12615, '2018-06-30', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16405 System Generated Invoice', '', 431, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14414, 12616, '2018-06-30', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16406 System Generated Invoice', '', 535, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14415, 12617, '2018-07-01', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16407 System Generated Invoice', '', 535, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14416, 12618, '2018-07-02', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16408 System Generated Invoice', '', 535, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14417, 12619, '2018-06-29', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16409 System Generated Invoice', '', 71, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14418, 12620, '2018-06-16', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16412 System Generated Invoice', '', 347, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14419, 12621, '2018-06-20', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16413 System Generated Invoice', '', 347, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14420, 12622, '2018-06-22', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16414 System Generated Invoice', '', 347, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14421, 1129, '2018-07-04', 'Credit', 4750.00, 0.00, 4750.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 583, 5, '2018-07-04', NULL, 1, '2018-08-08', 0, NULL, NULL, 0),
(14422, 12623, '2018-06-23', 'Debit', 350.00, 0.00, 367.50, 17.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16415 System Generated Invoice', '', 347, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14423, 12624, '2018-06-24', 'Debit', 340.00, 0.00, 357.00, 17.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16416 System Generated Invoice', '', 347, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14424, 12625, '2018-06-25', 'Debit', 340.00, 0.00, 357.00, 17.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16417 System Generated Invoice', '', 347, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14425, 12626, '2018-06-26', 'Debit', 340.00, 0.00, 357.00, 17.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16418 System Generated Invoice', '', 347, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14426, 12627, '2018-06-27', 'Debit', 140.00, 0.00, 147.00, 7.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16419 System Generated Invoice', '', 347, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14427, 12628, '2018-06-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16420 System Generated Invoice', '', 347, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14428, 12629, '2018-06-16', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16422 System Generated Invoice', '', 489, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14429, 12630, '2018-06-17', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16423 System Generated Invoice', '', 489, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14430, 12631, '2018-06-18', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16424 System Generated Invoice', '', 489, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14431, 12632, '2018-06-19', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16425 System Generated Invoice', '', 489, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14432, 12633, '2018-06-30', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16427 System Generated Invoice', '', 139, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14433, 12634, '2018-07-01', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16428 System Generated Invoice', '', 139, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14434, 12635, '2018-07-02', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16429 System Generated Invoice', '', 139, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14435, 12636, '2018-07-03', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16430 System Generated Invoice', '', 139, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14436, 12637, '2018-07-04', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16431 System Generated Invoice', '', 139, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14437, 12638, '2018-06-29', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16436 System Generated Invoice', '', 360, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14438, 12639, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16437 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14439, 12640, '2018-07-02', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16438 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14440, 12641, '2018-07-03', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16439 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14441, 12642, '2018-07-02', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16440 System Generated Invoice', '', 346, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14442, 12643, '2018-07-03', 'Debit', 330.00, 0.00, 346.50, 16.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16441 System Generated Invoice', '', 346, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14443, 12644, '2018-07-04', 'Debit', 140.00, 0.00, 147.00, 7.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16442 System Generated Invoice', '', 346, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14444, 12645, '2018-07-01', 'Debit', 340.00, 0.00, 357.00, 17.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16444 System Generated Invoice', '', 362, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14445, 12646, '2018-07-02', 'Debit', 460.00, 0.00, 483.00, 23.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16445 System Generated Invoice', '', 362, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14446, 12647, '2018-07-03', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16446 System Generated Invoice', '', 362, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14447, 12648, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16449 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14448, 12649, '2018-06-07', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16457 System Generated Invoice', '', 559, 12, '2018-07-04', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14449, 12650, '2018-06-08', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16458 System Generated Invoice', '', 559, 12, '2018-07-04', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14450, 12651, '2018-06-14', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16460 System Generated Invoice', '', 559, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14451, 12652, '2018-06-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16461 System Generated Invoice', '', 559, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14452, 12653, '2018-07-03', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16463 System Generated Invoice', '', 559, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14453, 12654, '2018-07-04', 'Debit', 266.68, 0.00, 280.01, 13.33, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 4 ) Jul-2018 FARCELLA', '17555', 346, 5, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14454, 12655, '2018-07-04', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16465 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14455, 1130, '2018-07-04', 'Credit', 9365.00, 0.00, 9365.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 346, 5, '2018-07-04', NULL, 1, '2018-08-08', 0, NULL, NULL, 0),
(14456, 12656, '2018-07-03', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16470 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14457, 12657, '2018-07-04', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16471 System Generated Invoice', '', 138, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14458, 12658, '2018-07-02', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16472 System Generated Invoice', '', 502, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14459, 12659, '2018-07-03', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16473 System Generated Invoice', '', 502, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14460, 12660, '2018-07-02', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16474 System Generated Invoice', '', 263, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14461, 12661, '2018-07-03', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16475 System Generated Invoice', '', 263, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14462, 12662, '2018-07-04', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16476 System Generated Invoice', '', 263, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14463, 12663, '2018-07-03', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16477 System Generated Invoice', '', 535, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14464, 12664, '2018-07-04', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16478 System Generated Invoice', '', 535, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14465, 12665, '2018-07-03', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16479 System Generated Invoice', '', 535, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14466, 12666, '2018-07-04', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16480 System Generated Invoice', '', 535, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14467, 12667, '2018-07-05', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16481 System Generated Invoice', '', 535, 12, '2018-07-04', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14468, 12668, '2018-05-19', 'Debit', 255.00, 0.00, 267.75, 12.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16482 System Generated Invoice', '', 176, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14469, 12669, '2018-05-24', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16483 System Generated Invoice', '', 176, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14470, 12670, '2018-05-28', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16484 System Generated Invoice', '', 176, 12, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14471, 12671, '2018-05-29', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16485 System Generated Invoice', '', 176, 12, '2018-07-04', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14472, 12672, '2018-06-05', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16486 System Generated Invoice', '', 176, 12, '2018-07-04', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14473, 12673, '2018-06-08', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16487 System Generated Invoice', '', 176, 12, '2018-07-04', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14474, 12674, '2018-06-17', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16488 System Generated Invoice', '', 176, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14475, 12675, '2018-06-18', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16489 System Generated Invoice', '', 176, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14476, 12676, '2018-06-19', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16490 System Generated Invoice', '', 176, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14477, 12677, '2018-06-20', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16491 System Generated Invoice', '', 176, 12, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14478, 12678, '2018-05-06', 'Debit', 600.00, 0.00, 630.00, 30.00, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17374', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14479, 12679, '2018-05-06', 'Debit', 560.00, 0.00, 588.00, 28.00, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17441', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14480, 12680, '2018-05-06', 'Debit', 1080.00, 0.00, 1134.00, 54.00, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17520', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14481, 12681, '2018-05-06', 'Debit', 750.00, 0.00, 787.50, 37.50, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17529', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14482, 12682, '2018-05-06', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17532', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14483, 12683, '2018-05-06', 'Debit', 1480.00, 0.00, 1554.00, 74.00, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17533', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14484, 12684, '2018-06-10', 'Debit', 1590.00, 0.00, 1669.50, 79.50, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17541,17597', 138, 6, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14485, 12685, '2018-05-10', 'Debit', 765.00, 0.00, 803.25, 38.25, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17545', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14486, 12686, '2018-05-10', 'Debit', 470.00, 0.00, 493.50, 23.50, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17547', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14487, 12687, '2018-05-21', 'Debit', 640.00, 0.00, 672.00, 32.00, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17548', 138, 6, '2018-07-04', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14488, 12688, '2018-05-31', 'Debit', 1755.00, 0.00, 1842.75, 87.75, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17590,17591', 138, 6, '2018-07-04', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14489, 12689, '2018-05-31', 'Debit', 1100.00, 0.00, 1155.00, 55.00, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17592', 138, 6, '2018-07-04', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14490, 12690, '2018-05-31', 'Debit', 1320.00, 0.00, 1386.00, 66.00, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17593', 138, 6, '2018-07-04', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14491, 12691, '2018-06-10', 'Debit', 720.00, 0.00, 756.00, 36.00, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17603', 138, 6, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14492, 12692, '2018-06-21', 'Debit', 2725.00, 0.00, 2861.25, 136.25, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17594,17602', 138, 6, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14493, 12693, '2018-06-21', 'Debit', 1740.00, 0.00, 1827.00, 87.00, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17596,17600', 138, 6, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14494, 12694, '2018-06-10', 'Debit', 1940.00, 0.00, 2037.00, 97.00, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17601', 138, 6, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14495, 12695, '2018-06-10', 'Debit', 1250.00, 0.00, 1312.50, 62.50, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17595', 138, 6, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14496, 12696, '2018-06-10', 'Debit', 1230.00, 0.00, 1291.50, 61.50, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17599', 138, 6, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14497, 12697, '2018-06-21', 'Debit', 490.00, 0.00, 514.50, 24.50, 2, 0, 'invoice', NULL, NULL, 'Tadawi Hospital Invoice ', '17598', 138, 6, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14498, 12698, '2018-06-30', 'Debit', 2040.00, 0.00, 2142.00, 102.00, 2, 0, 'invoice', NULL, NULL, 'Trim (Al Sayed Stud) in Milad for June, 2018: Maram AM, Windawa, Mattyln, Dasha Arabco, Zana, Mera Al Sayed, RD Capella, Psydalic Mist, Mirsal Al Sayed, Filly of Dasha Arabco, Colt of Justina Al Sayed, Colt of Delight\'s Divav, Colt of Kubarai, Filly of RD Lorella, Anilla, Saden Al Sayed & Usaila', '17604', 138, 6, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14499, 12699, '2018-06-30', 'Debit', 900.00, 0.00, 945.00, 45.00, 1, 0, 'invoice', NULL, NULL, 'Shoeing (Al Sayed Stud) in Milad Ladoo Singh for June, 2018: Alexxanderr, Al Aseel, Delight\'s Divah,	\r\n', '17605', 138, 6, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14500, 12700, '2018-04-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Apirl, 2018', '17606', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14501, 12701, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17607', 138, 6, '2018-07-04', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14502, 12702, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June,  2018', '17608', 138, 6, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14503, 12703, '2018-04-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Apirl, 2018', '17609', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14504, 12704, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17610', 138, 6, '2018-07-04', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14505, 12705, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of  June, 2018', '17611', 138, 6, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14506, 12706, '2018-05-31', 'Debit', 133.67, 0.00, 140.35, 6.68, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 29-31 May, 2018', '17612', 138, 6, '2018-07-04', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14507, 12707, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of  June, 2018', '17613', 138, 6, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14508, 12708, '2018-05-31', 'Debit', 920.04, 0.00, 966.04, 46.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 18-31 May, 2018', '17614', 138, 6, '2018-07-04', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14509, 12709, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of  June, 2018', '17615', 138, 6, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14510, 12710, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of  June, 2018', '17621', 138, 6, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14511, 12711, '2018-04-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training  for the month of Apirl, 2018', '17619', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14512, 12712, '2018-05-31', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of May, 2018', '17620', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14513, 12713, '2018-04-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of Apirl, 2018', '17616', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14514, 12714, '2018-05-31', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of May, 2018', '17617', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14515, 12715, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17618', 138, 6, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14516, 12716, '2018-04-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Apirl, 2018', '17622', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14517, 12717, '2018-05-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018 / Checkout', '17623', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14518, 12718, '2018-04-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of Apirl, 2018', '17624', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14519, 12719, '2018-05-22', 'Debit', 3666.74, 0.00, 3850.08, 183.34, 1, 0, 'invoice', NULL, NULL, 'Training  for the month of 1-22 May, 2018', '17625', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14520, 12720, '2018-04-30', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of Apirl, 2018', '17626', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14521, 12721, '2018-05-12', 'Debit', 2000.04, 0.00, 2100.04, 100.00, 1, 0, 'invoice', NULL, NULL, 'Boarding for the month of 1-12 May, 2018 / Checkout ', '17627', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14522, 12722, '2018-04-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Apirl, 2018', '17628', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14523, 12723, '2018-05-09', 'Debit', 690.03, 0.00, 724.53, 34.50, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of  1-9 May, 2018', '17629', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14524, 12724, '2018-05-31', 'Debit', 3500.07, 0.00, 3675.07, 175.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of 10-31 May, 2018', '17630', 138, 6, '2018-07-04', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14525, 12725, '2018-06-28', 'Debit', 1866.76, 0.00, 1960.10, 93.34, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 1-28 June, 2018 (Checkout)', '17631', 138, 6, '2018-07-04', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14526, 12726, '2018-07-05', 'Debit', 225.00, 0.00, 236.25, 11.25, 2, 0, 'invoice', NULL, NULL, 'c/o Ashok', '17632', 160, 7, '2018-07-05', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14527, 1131, '2018-07-05', 'Credit', 236.25, 0.00, 236.25, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #12726', NULL, 160, 7, '2018-07-05', 14526, 1, '2018-08-08', 0, NULL, NULL, 0),
(14528, 12727, '2018-05-14', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16494 System Generated Invoice', '', 399, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14529, 12728, '2018-05-21', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16495 System Generated Invoice', '', 399, 12, '2018-07-05', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14530, 12729, '2018-05-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16496 System Generated Invoice', '', 399, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14531, 12730, '2018-06-22', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16497 System Generated Invoice', '', 399, 12, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14532, 12731, '2018-07-27', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16498 System Generated Invoice', '', 399, 12, '2018-07-05', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14533, 12732, '2018-05-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16499 System Generated Invoice', '', 129, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14534, 12733, '2018-06-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16500 System Generated Invoice', '', 129, 12, '2018-07-05', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14535, 12734, '2018-06-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16501 System Generated Invoice', '', 129, 12, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14536, 12735, '2018-06-18', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16502 System Generated Invoice', '', 129, 12, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14537, 12736, '2018-06-05', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16513 System Generated Invoice', '', 323, 12, '2018-07-05', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14538, 12737, '2018-06-06', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16514 System Generated Invoice', '', 323, 12, '2018-07-05', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14539, 12738, '2018-06-07', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16515 System Generated Invoice', '', 323, 12, '2018-07-05', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14540, 12739, '2018-06-08', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16516 System Generated Invoice', '', 323, 12, '2018-07-05', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14541, 12740, '2018-06-09', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16517 System Generated Invoice', '', 323, 12, '2018-07-05', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14542, 12741, '2018-06-10', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16518 System Generated Invoice', '', 323, 12, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14543, 12742, '2018-06-27', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16520 System Generated Invoice', '', 323, 12, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14544, 12743, '2018-06-18', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16529 System Generated Invoice', '', 176, 12, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14545, 12744, '2018-06-19', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16530 System Generated Invoice', '', 176, 12, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14546, 12745, '2018-06-22', 'Debit', 280.00, 0.00, 294.00, 14.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16531 System Generated Invoice', '', 176, 12, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14547, 12746, '2018-04-24', 'Debit', 2080.08, 0.00, 2184.08, 104.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 1-24 Apirl, 2018 and P4 dozes / Checkout ', '17656,17658', 138, 6, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14548, 12747, '2018-04-13', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16535 System Generated Invoice', '', 394, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14549, 12748, '2018-04-14', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16536 System Generated Invoice', '', 394, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14550, 12749, '2018-05-10', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16543 System Generated Invoice', '', 71, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14551, 12750, '2018-05-17', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16544 System Generated Invoice', '', 71, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14552, 12751, '2018-04-05', 'Debit', 333.35, 0.00, 350.02, 16.67, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 1-5  Apirl, 2018 / Checkout ', '17664', 138, 6, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14553, 12752, '2018-04-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16551 System Generated Invoice', '', 178, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14554, 12753, '2018-04-02', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Foaled Filly', '17667', 138, 6, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14555, 12754, '2018-04-30', 'Debit', 2279.76, 0.00, 2393.75, 113.99, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month Apirl, 2018', '17668,17672', 138, 6, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14556, 12755, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month May, 2018', '17670', 138, 6, '2018-07-05', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14557, 12756, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month June, 2018', '17671', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14558, 12757, '2018-05-25', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16555 System Generated Invoice', '', 375, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14559, 12758, '2018-05-27', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16557 System Generated Invoice', '', 375, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14560, 12759, '2018-05-28', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16558 System Generated Invoice', '', 375, 12, '2018-07-05', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14561, 12760, '2018-05-29', 'Debit', 350.00, 0.00, 367.50, 17.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16559 System Generated Invoice', '', 375, 12, '2018-07-05', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14562, 12761, '2018-05-30', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16560 System Generated Invoice', '', 375, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14563, 12762, '2018-05-31', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16561 System Generated Invoice', '', 375, 12, '2018-07-05', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14564, 12763, '2018-06-26', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16563 System Generated Invoice', '', 375, 12, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14565, 12764, '2018-04-15', 'Debit', 70.00, 0.00, 73.50, 3.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16566 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14566, 12765, '2018-04-16', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16567 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14567, 12766, '2018-04-17', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16568 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14568, 12767, '2018-04-18', 'Debit', 30.00, 0.00, 31.50, 1.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16569 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14569, 12768, '2018-05-03', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16571 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14570, 12769, '2018-05-05', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16572 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14571, 12770, '2018-05-06', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16573 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14572, 12771, '2018-05-07', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16574 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14573, 12772, '2018-05-22', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16576 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14574, 12773, '2018-05-24', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16577 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14575, 12774, '2018-05-27', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16578 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14576, 12775, '2018-05-28', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16579 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14577, 12776, '2018-05-29', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16580 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14578, 12777, '2018-05-30', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16581 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14579, 12778, '2018-05-31', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16582 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14580, 12779, '2018-06-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16583 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14581, 12780, '2018-06-14', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16584 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14582, 12781, '2018-06-21', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16585 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14583, 12782, '2018-06-28', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16586 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14584, 12783, '2018-07-05', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16587 System Generated Invoice', '', 146, 12, '2018-07-05', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14585, 12784, '2018-04-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Apirl, 2018', '17673', 138, 6, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14586, 12785, '2018-05-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17674', 138, 6, '2018-07-05', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14587, 12786, '2018-06-11', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Foaled Filly', '17722', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14588, 12787, '2018-06-30', 'Debit', 2190.10, 0.00, 2299.61, 109.51, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17676,17721', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14589, 12788, '2018-04-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Apirl, 2018', '17652', 138, 6, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14590, 12789, '2018-05-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17653', 138, 6, '2018-07-05', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14591, 12790, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17654', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14592, 12791, '2018-06-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'P4 Dozes (Month of May 1 Doze )', '17723', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14593, 12792, '2018-06-30', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'P4 Dozes (Month of June 2 dozes)', '17724', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14594, 12793, '2018-06-30', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'P4 Dozes (Month of May 2 Doze)', '17725', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14595, 12794, '2018-06-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'P4 Dozes (Month of June 1 doze)', '17726', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14596, 12795, '2018-06-30', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'P4 Dozes (Month of  June 3 dozes)', '17727', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14597, 12796, '2018-04-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'P4 doze', '17728', 138, 6, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14598, 12797, '2018-06-30', 'Debit', 1440.00, 0.00, 1512.00, 72.00, 2, 0, 'invoice', NULL, NULL, 'P4 Dozes (Weekly once) Month of April 4 dozes, May 4 dozes & June 4 dozes', '17546', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14599, 12798, '2018-05-31', 'Debit', 960.00, 0.00, 1008.00, 48.00, 2, 0, 'invoice', NULL, NULL, 'P4 Dozes (Weekly once) Month of April 4 dozes & May 4 dozes ', '17729', 138, 6, '2018-07-05', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14600, 12799, '2018-04-30', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'P4 Dozes (Weekly once) Month of April 3 dozes', '17730', 138, 6, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14601, 12800, '2018-06-30', 'Debit', 1440.00, 0.00, 1512.00, 72.00, 2, 0, 'invoice', NULL, NULL, 'P4 Dozes (Weekly once) Month of April 4 dozes, May 4 dozes & June 4 dozes', '17731', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14602, 12801, '2018-06-30', 'Debit', 720.00, 0.00, 756.00, 36.00, 2, 0, 'invoice', NULL, NULL, 'P4 Dozes (Weekly once) Month of  May 2 dozes & June 4 dozes', '17732', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14603, 12802, '2018-06-30', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'P4 Dozes (Weekly once) Month of  June 4 dozes', '17733', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14604, 12803, '2018-06-30', 'Debit', 480.00, 0.00, 504.00, 24.00, 2, 0, 'invoice', NULL, NULL, 'P4 Dozes (Weekly once) Month of June 4 dozes', '17734', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14605, 12804, '2018-05-31', 'Debit', 153.34, 0.00, 161.01, 7.67, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 29-31 May, 2018', '17738', 138, 6, '2018-07-05', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14606, 12805, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17739', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14607, 12806, '2018-05-17', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'Embryo for Al Sayed Stud', '17740', 138, 6, '2018-07-05', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14608, 12807, '2018-06-13', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'Embryo for Mr. Nasir Al Fozan ', '17741', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14609, 12808, '2018-05-31', 'Debit', 1000.05, 0.00, 1050.05, 50.00, 2, 0, 'invoice', NULL, NULL, 'Boarding 15-31 May, 2018', '17735', 138, 6, '2018-07-05', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14610, 12809, '2018-06-30', 'Debit', 2840.00, 0.00, 2982.00, 142.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018 + P4 dozes', '17736,17737', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14611, 12810, '2018-05-29', 'Debit', 20000.00, 0.00, 21000.00, 1000.00, 2, 0, 'invoice', NULL, NULL, 'Emb: Alexxanderr - prestic (Recp. lease + 30 days pregnancy charges)', '17742,17743', 138, 6, '2018-07-05', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14612, 12811, '2018-06-30', 'Debit', 2480.00, 0.00, 2604.00, 124.00, 2, 0, 'invoice', NULL, NULL, 'Boarding charges for the month of June, 2018 + P4 dozes', '17744,17745', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14613, 12812, '2018-06-29', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of May & June, 2018', '17753', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14614, 12813, '2018-06-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of June, 2018', '17752', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14615, 12814, '2018-06-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of June, 2018', '17751', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14616, 12815, '2018-06-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of June, 2018', '17750', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14617, 12816, '2018-06-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of June, 2018', '17749', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 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
(14618, 12817, '2018-06-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of June, 2018', '17748', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14619, 12818, '2018-06-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Special feed charges for the month of June, 2018', '17747', 138, 6, '2018-07-05', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14620, 12819, '2018-06-02', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Alexxanderr - Insemination done : 2-Jun-2018', '17754', 138, 6, '2018-07-05', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14621, 12820, '2018-06-05', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Alexxanderr - Insemination done : 5-Jun-2018', '17756', 138, 6, '2018-07-05', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14622, 12821, '2018-06-05', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Alexxanderr - Insemination done : 5-Jun-2018', '17755', 138, 6, '2018-07-05', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14623, 1132, '2018-06-30', 'Credit', 10132.40, 0.00, 10132.40, 0.00, 1, 0, 'payment', 'cash', '', 'Dis. 10% (1-Apr to 30-Jun-2018) for Training Center Invoices', NULL, 138, 6, '2018-07-05', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(14624, 1133, '2018-06-30', 'Credit', 54027.00, 0.00, 54027.00, 0.00, 2, 0, 'payment', 'cash', '', 'Dis. 20% (1-Apr to 30-Jun-2018) for Re Prod.  Invoices', NULL, 138, 6, '2018-07-05', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(14625, 1134, '2018-06-30', 'Credit', 14007.00, 0.00, 14007.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reduced charges Prestic Emb. for Mr. Nasir ', NULL, 138, 6, '2018-07-05', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(14626, 12822, '2018-05-13', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 13-May-2018 ) GR ARRIANNA with Filly', '17757', 437, 5, '2018-07-07', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14627, 12823, '2018-06-01', 'Debit', 1456.73, 0.00, 1529.57, 72.84, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 13 - 31 ) May-2018  GR ARRIANNA with Filly', '17758', 437, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14628, 12824, '2018-06-01', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '3000-271', '11240,11241', 437, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14629, 12825, '2018-07-07', 'Debit', 600.00, 0.00, 630.00, 30.00, 2, 0, 'invoice', NULL, NULL, 'c/o MD Sadik', '17759', 160, 7, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14630, 1135, '2018-07-07', 'Credit', 630.00, 0.00, 630.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #12825', NULL, 160, 7, '2018-07-07', 14629, 1, '2018-08-08', 0, NULL, NULL, 0),
(14631, 12826, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) GR ARRIANNA with Filly', '17760', 437, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14632, 12827, '2018-07-07', 'Debit', 536.69, 0.00, 563.52, 26.83, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 7 ) Jul-2018  GR ARRIANNA with Filly', '17761', 437, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14633, 12828, '2018-06-18', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16588 System Generated Invoice', '', 437, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14634, 12829, '2018-06-25', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16589 System Generated Invoice', '', 437, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14635, 12830, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16590 System Generated Invoice', '', 437, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14636, 12831, '2018-07-07', 'Debit', 1600.00, 0.00, 1680.00, 80.00, 2, 0, 'invoice', NULL, NULL, 'P4 Bottle', '17765', 437, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14637, 12832, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16591 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14638, 12833, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16592 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14639, 12834, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16593 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14640, 12835, '2018-06-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16594 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14641, 12836, '2018-06-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16595 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14642, 12837, '2018-06-18', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16596 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14643, 12838, '2018-06-25', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16597 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14644, 12839, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16598 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14645, 12840, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16599 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14646, 12841, '2018-07-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16600 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14647, 12842, '2018-07-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16601 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14648, 12843, '2018-07-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16602 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14649, 12844, '2018-05-09', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 9-May-2018 ) KTARA AL SHAQAB', '17778', 559, 5, '2018-07-07', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14650, 12845, '2018-06-01', 'Debit', 1533.41, 0.00, 1610.08, 76.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 9 - 31 ) May-2018  KTARA AL SHAQAB', '17779', 559, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14651, 12846, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) KTARA AL SHAQAB', '17780', 559, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14652, 12847, '2018-05-09', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 9-May-2018 ) HALA NM with Colt', '17781', 559, 5, '2018-07-07', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14653, 12848, '2018-06-01', 'Debit', 1763.41, 0.00, 1851.58, 88.17, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 9 - 31 ) May-2018  HALA NM with Colt', '17782', 559, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14654, 12849, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) HALA NM with Colt', '17783', 559, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14655, 12850, '2018-06-03', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 3-Jun-2018 ) MARCELLA BFA', '17784', 559, 5, '2018-07-07', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14656, 12851, '2018-06-30', 'Debit', 1866.76, 0.00, 1960.10, 93.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 3 - 30 ) Jun-2018  MARCELLA BFA', '17785', 559, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14657, 478, '2017-09-01', 'Debit', 64495.00, 0.00, 64495.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance ', NULL, 95, 13, '2018-07-07', NULL, 1, '2018-07-07', 1, 13, '2018-07-07', 0),
(14658, 479, '2017-09-01', 'Debit', 64495.00, 0.00, 64495.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 95, 13, '2018-07-07', NULL, 1, '2018-07-07', 0, NULL, NULL, 0),
(14659, 480, '2018-03-31', 'Debit', 11265.00, 0.00, 11265.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Charges from Sept. 23 2017 to Sept. 24 2017', NULL, 95, 13, '2018-07-07', NULL, 1, '2018-07-08', 1, 13, '2018-07-08', 0),
(14660, 12852, '2018-06-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '3000-267', '17786,17787,17788', 559, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14661, 12853, '2018-06-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '3000-266', '17789,17790,17791', 559, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14662, 12854, '2018-06-04', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '3000-291', '17792,17793,17794', 559, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14663, 12855, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16603 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14664, 12856, '2018-06-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16604 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14665, 12857, '2018-06-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16605 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14666, 12858, '2018-06-18', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16606 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14667, 12859, '2018-06-25', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16607 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14668, 12860, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16608 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14669, 12861, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16609 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14670, 12862, '2018-07-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16610 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14671, 12863, '2018-07-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16611 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14672, 12864, '2018-07-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16612 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14673, 12865, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16613 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14674, 12866, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16614 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14675, 12867, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16615 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14676, 12868, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16616 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14677, 12869, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16617 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14678, 12870, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16618 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14679, 12871, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16619 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14680, 12872, '2018-06-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16620 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14681, 12873, '2018-06-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16621 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14682, 12874, '2018-06-18', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16622 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14683, 12875, '2018-06-25', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16623 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14684, 12876, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16624 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14685, 12877, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16625 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14686, 12878, '2018-07-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16626 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14687, 12879, '2018-07-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16627 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14688, 12880, '2018-07-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16628 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14689, 12881, '2018-06-25', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16629 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14690, 12882, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16630 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14691, 12883, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16631 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14692, 12884, '2018-07-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16632 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14693, 12885, '2018-07-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16633 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14694, 12886, '2018-07-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16634 System Generated Invoice', '', 183, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14695, 12887, '2018-06-30', 'Debit', 466.69, 0.00, 490.02, 23.33, 2, 0, 'invoice', NULL, NULL, 'Boarding charges for the month 23 - 30June, 2018', '17828', 153, 6, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14696, 12888, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) MVA IMPERIAL MIST', '17829', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14697, 12889, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) MVA IMPERIAL MIST', '17830', 183, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14698, 12890, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) MVA IMPERIAL MIST', '17831', 183, 5, '2018-07-07', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(14699, 12891, '2018-06-01', 'Debit', 667.00, 0.00, 700.35, 33.35, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 10 ) Apr-2018  ALEGRA', '17832', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14700, 12892, '2018-06-01', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) ALEGRA with Colt', '17833', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14701, 12893, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) ALEGRA with Colt', '17834', 183, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14702, 12894, '2018-07-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) ALEGRA with Colt', '17835', 183, 5, '2018-07-07', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(14703, 12895, '2018-06-30', 'Debit', 1763.41, 0.00, 1851.58, 88.17, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of  1-23 June, 2018', '17827', 153, 6, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14704, 12896, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) Filly Of ALEGRA', '17836', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14705, 12897, '2018-06-01', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 15 ) May-2018  Filly Of ALEGRA', '17837', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14706, 12898, '2018-06-30', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, '', '17838', 183, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14707, 12899, '2018-07-31', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, '', '17839', 183, 5, '2018-07-07', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(14708, 12900, '2018-04-30', 'Debit', 420.00, 0.00, 441.00, 21.00, 2, 0, 'invoice', NULL, NULL, 'Sakab Stables - Shoeing & Trim horses for Apirl, 2018', '14611,14612', 153, 6, '2018-07-07', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14709, 12901, '2018-05-31', 'Debit', 1080.00, 0.00, 1134.00, 54.00, 2, 0, 'invoice', NULL, NULL, 'Sakab Stables - Shoeing & Trim horses for May, 2018', '16653,16654', 153, 6, '2018-07-07', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14710, 12902, '2018-05-05', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Deworming medicine charges', '13826', 153, 6, '2018-07-07', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14711, 12903, '2018-07-07', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Owner: Faisal Al Ojairy', '17840', 160, 5, '2018-07-07', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14712, 1136, '2018-07-07', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #12903', NULL, 160, 5, '2018-07-07', 14711, 1, '2018-08-08', 0, NULL, NULL, 0),
(14713, 12904, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) CATERINA FM', '17841', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14714, 12905, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) CATERINA FM', '17842', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14715, 12906, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) CATERINA FM', '17843', 183, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14716, 12907, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) CATERINA FM', '17844', 183, 5, '2018-07-07', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(14717, 12908, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) REEF BHM', '17845', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14718, 12909, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) REEF BHM', '17846', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14719, 12910, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) REEF BHM', '17847', 183, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14720, 12911, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) REEF BHM', '17848', 183, 5, '2018-07-07', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(14721, 12912, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  ( Apr-2018 ) SARA BHM', '17849', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14722, 12913, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  ( May-2018 ) SARA BHM', '17850', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14723, 12914, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  ( Jun-2018 ) SARA BHM', '17851', 183, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14724, 12915, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding  ( Jul-2018 ) SARA BHM', '17852', 183, 5, '2018-07-07', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(14725, 12916, '2018-06-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 14-May-2018 )', '17853', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14726, 12917, '2018-06-04', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '3rd Try', '17854', 183, 5, '2018-07-07', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14727, 12918, '2018-06-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 24-Mar-2018 )', '17855', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14728, 12919, '2018-06-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 27-Apr-2018 )', '17856', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14729, 12920, '2018-06-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 10-May-2018 )', '17857', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14730, 12921, '2018-06-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 29-Apr-2018 )', '17858', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14731, 12922, '2018-06-10', 'Debit', 858.00, 0.00, 900.90, 42.90, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( MVA IMPERIAL MIST )', '17859', 183, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14732, 12923, '2018-06-10', 'Debit', 616.00, 0.00, 646.80, 30.80, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( MVA IMPERIAL MIST )', '17860', 183, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14733, 12924, '2018-06-01', 'Debit', 726.00, 0.00, 762.30, 36.30, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Filly of MVA IMPERIAL MIST ) 17-May-2018', '17861', 183, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14734, 12925, '2018-06-22', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ', '17862', 183, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14735, 12926, '2018-06-10', 'Debit', 1232.00, 0.00, 1293.60, 61.60, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Baby of Rec. )', '17863', 375, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14736, 12927, '2018-06-10', 'Debit', 616.00, 0.00, 646.80, 30.80, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( CCA MAHREENA )', '17864', 152, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14737, 12928, '2018-06-10', 'Debit', 627.00, 0.00, 658.35, 31.35, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( ABHA SHAHINAZ )', '17865', 164, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14738, 12929, '2018-06-10', 'Debit', 572.00, 0.00, 600.60, 28.60, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Colt of FARAH AJMAN )', '17866', 495, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14739, 12930, '2018-06-10', 'Debit', 660.00, 0.00, 693.00, 33.00, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( ANSTAZIA AL RMHA )', '17867', 444, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14740, 12931, '2018-06-10', 'Debit', 456.50, 0.00, 479.33, 22.83, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( WARSHA )', '17868', 347, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14741, 12932, '2018-06-10', 'Debit', 3866.50, 0.00, 4059.83, 193.33, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Colt Of DANILLA )', '17869', 164, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14742, 12933, '2018-06-10', 'Debit', 7188.50, 0.00, 7547.93, 359.43, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( SATIEAH )', '17870', 505, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14743, 12934, '2018-06-01', 'Debit', 616.00, 0.00, 646.80, 30.80, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Colt of FARAH AJMAN ) 22-May-2018', '17871', 495, 5, '2018-07-07', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14744, 12935, '2018-06-21', 'Debit', 489.50, 0.00, 513.98, 24.48, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( SHAHAD AL BAROUD ) ', '17872', 348, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14745, 12936, '2018-06-21', 'Debit', 4988.50, 0.00, 5237.93, 249.43, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( RYAANH AL MUAWD ) ', '17873', 537, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14746, 12937, '2018-06-21', 'Debit', 1540.00, 0.00, 1617.00, 77.00, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( HARMAH ) ', '17874', 158, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14747, 12938, '2018-06-21', 'Debit', 1870.00, 0.00, 1963.50, 93.50, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( ZAFEER AL SHGAIR ) ', '17875', 489, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14748, 12939, '2018-06-10', 'Debit', 715.00, 0.00, 750.75, 35.75, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( DF HARISSA ) ', '17876', 443, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14749, 12940, '2018-06-10', 'Debit', 676.50, 0.00, 710.33, 33.83, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( FARAH AJMAN )', '17877', 495, 5, '2018-07-07', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14750, 12941, '2018-06-23', 'Debit', 891.00, 0.00, 935.55, 44.55, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( JR GHAZALA )', '17878', 354, 5, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14751, 481, '2018-06-14', 'Debit', 1347.50, 0.00, 1414.88, 67.38, 2, 0, 'charge', NULL, NULL, 'TADAWI invoice ( GALLIAR B )', NULL, 104, 5, '2018-07-08', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(14752, 12942, '2018-06-01', 'Debit', 737.00, 0.00, 773.85, 36.85, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Filly of QUE SYRAH ) 10-May-2018', '17879', 521, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14753, 12943, '2018-06-01', 'Debit', 1188.00, 0.00, 1247.40, 59.40, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Colt of DANILLA ) 10-May-2018', '17880', 164, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14754, 12944, '2018-06-01', 'Debit', 440.00, 0.00, 462.00, 22.00, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Rec. ) 17-May-2018', '17881', 375, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14755, 12945, '2018-06-01', 'Debit', 1199.00, 0.00, 1258.95, 59.95, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( ABHA SHAHINAZ ) 17-May-2018', '17882', 164, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14756, 12946, '2018-06-01', 'Debit', 1661.00, 0.00, 1744.05, 83.05, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( AL CAZARA ) 19-May-2018', '17883', 471, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14757, 12947, '2018-06-01', 'Debit', 5461.50, 0.00, 5734.58, 273.08, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( AL CAZARA ) 19-May-2018', '17884', 471, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14758, 482, '2018-06-01', 'Debit', 539.00, 0.00, 565.95, 26.95, 2, 0, 'charge', NULL, NULL, 'TADAWI invoice ( Baby of Rec. 60 ) 21-May-2018', NULL, 400, 5, '2018-07-08', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(14759, 12948, '2018-06-01', 'Debit', 687.50, 0.00, 721.88, 34.38, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Colt of SHAHAD AL BAROUD ) 21-May-2018', '17885', 348, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14760, 12949, '2018-06-03', 'Debit', 627.00, 0.00, 658.35, 31.35, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( OFW ANA ) ', '17886', 347, 5, '2018-07-08', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14761, 12950, '2018-04-05', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month January, 2018', '17895', 153, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14762, 12951, '2018-02-28', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of February, 2018', '17896', 153, 6, '2018-07-08', NULL, 1, '2018-07-10', 0, NULL, NULL, 0),
(14763, 12952, '2018-06-30', 'Debit', 3000.00, 0.00, 3150.00, 150.00, 1, 0, 'invoice', NULL, NULL, 'Training feed for the month of April, May & June 2018', '17894', 153, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14764, 12953, '2018-04-30', 'Debit', 1666.75, 0.00, 1750.09, 83.34, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 5-30 April, 2018', '17891', 153, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14765, 12954, '2018-05-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17892', 153, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14766, 12955, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17893', 153, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14767, 12956, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17889', 153, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14768, 12957, '2018-06-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Training feed charges for the month of June, 2018', '17890', 153, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14769, 12958, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17887', 153, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14770, 12959, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17897', 153, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14771, 12960, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17898', 150, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14772, 12961, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 1, 0, 'invoice', NULL, NULL, 'Training feed charges for the month of May & June, 2018', '17900', 150, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14773, 12962, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17899', 150, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14774, 12963, '2018-05-31', 'Debit', 420.00, 0.00, 441.00, 21.00, 2, 0, 'invoice', NULL, NULL, 'Shoeing and Trim charges for the month May, 2018 (In Milad)', '16661,16662', 150, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14775, 12964, '2018-05-31', 'Debit', 466.69, 0.00, 490.02, 23.33, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month 23-31 May, 2018', '17901', 150, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14776, 12965, '2018-06-24', 'Debit', 1600.08, 0.00, 1680.08, 80.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 1-24 June, 2018', '17902', 150, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14777, 12966, '2018-03-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 1-Mar-2018 ) MARIA AL YAH', '17905', 534, 5, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14778, 12967, '2018-06-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '3000-148', '17906,17907,17908', 534, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14779, 12968, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 ) MARIA AL YAH', '17909', 534, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14780, 12969, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) MARIA AL YAH', '17910', 534, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14781, 12970, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) MARIA AL YAH', '17911', 534, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14782, 12971, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) MARIA AL YAH', '17912', 534, 5, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14783, 12972, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) MARIA AL YAH', '17913', 534, 5, '2018-07-08', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(14784, 12973, '2018-03-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 1-Mar-2018 ) MIZNA AL YAH', '17914', 534, 5, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14785, 12974, '2018-06-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '3000-149', '17915,17916,17917', 534, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14786, 12975, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 ) MIZNA AL YAH', '17918', 534, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14787, 12976, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) MIZNA AL YAH', '17919', 534, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14788, 12977, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) MIZNA AL YAH', '17920', 534, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14789, 12978, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) MIZNA AL YAH', '17921', 534, 5, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14790, 12979, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) MIZNA AL YAH', '17922', 534, 5, '2018-07-08', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(14791, 12980, '2018-07-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16635 System Generated Invoice', '', 534, 5, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14792, 12981, '2018-06-20', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16636 System Generated Invoice', '', 534, 5, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14793, 12982, '2018-06-25', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16637 System Generated Invoice', '', 534, 5, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14794, 12983, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16638 System Generated Invoice', '', 534, 5, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14795, 12984, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16639 System Generated Invoice', '', 534, 5, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14796, 12985, '2018-07-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16640 System Generated Invoice', '', 534, 5, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14797, 12986, '2018-07-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16641 System Generated Invoice', '', 534, 5, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14798, 12987, '2018-07-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16642 System Generated Invoice', '', 534, 5, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14799, 12988, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16643 System Generated Invoice', '', 534, 5, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14800, 12989, '2018-07-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16644 System Generated Invoice', '', 534, 5, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14801, 12990, '2018-07-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16645 System Generated Invoice', '', 534, 5, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14802, 12991, '2018-07-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16646 System Generated Invoice', '', 534, 5, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14803, 12992, '2018-06-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 17-May-2018 )', '17935', 534, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14804, 12993, '2018-06-04', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '3rd Try ', '17936', 534, 5, '2018-07-08', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14805, 12994, '2018-06-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 25-May-2018 )', '17937', 534, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14806, 12995, '2018-06-17', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '3rd Try', '17938', 534, 5, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14807, 12996, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17939', 153, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14808, 12997, '2018-06-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Training Center feed charges  for the month of June, 2018', '17940', 153, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14809, 12998, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17941', 153, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14810, 12999, '2018-06-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Training feed for the month of June, 2018', '17942', 153, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14811, 13000, '2018-05-31', 'Debit', 600.03, 0.00, 630.03, 30.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of  21-31 May, 2018', '17943', 153, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14812, 13001, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17944', 153, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14813, 13002, '2018-06-30', 'Debit', 720.00, 0.00, 756.00, 36.00, 2, 0, 'invoice', NULL, NULL, 'P4 dozes for the month of June, 2018', '17945', 153, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14814, 13003, '2018-04-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, 'Services and semen collection (Jan-2018)', '341,342', 153, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14815, 13004, '2018-06-01', 'Debit', 1686.74, 0.00, 1771.08, 84.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 9 - 30 ) Apr-2018  with Filly', '17946', 486, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14816, 13005, '2018-06-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '5295,5296,5297', 486, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14817, 13006, '2018-06-01', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) with Filly', '17947', 486, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14818, 13007, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) with Filly', '17948', 486, 5, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14819, 13008, '2018-07-08', 'Debit', 613.36, 0.00, 644.03, 30.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 8 ) Jul-2018  with Filly', '17949', 486, 5, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14820, 13009, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16647 System Generated Invoice', '', 486, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14821, 13010, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16648 System Generated Invoice', '', 486, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14822, 13011, '2018-07-08', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16649 System Generated Invoice', '', 486, 5, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14823, 13012, '2018-06-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16650 System Generated Invoice', '', 486, 5, '2018-07-08', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14824, 13013, '2018-06-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16651 System Generated Invoice', '', 486, 5, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14825, 13014, '2018-06-18', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16652 System Generated Invoice', '', 486, 5, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14826, 13015, '2018-06-25', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16653 System Generated Invoice', '', 486, 5, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14827, 13016, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16654 System Generated Invoice', '', 486, 5, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14828, 13017, '2018-07-08', 'Debit', 1600.00, 0.00, 1680.00, 80.00, 2, 0, 'invoice', NULL, NULL, 'P4 Bottle', '17958', 486, 5, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14829, 1137, '2018-07-08', 'Credit', 8655.00, 0.00, 8655.00, 0.00, 2, 0, 'payment', 'cash', '', '', NULL, 486, 5, '2018-07-08', NULL, 1, '2018-08-08', 0, NULL, NULL, 0),
(14830, 13018, '2018-07-08', 'Debit', 55.00, 0.00, 57.75, 2.75, 2, 0, 'invoice', NULL, NULL, '', '17959', 486, 5, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14831, 1138, '2018-07-08', 'Credit', 58.00, 0.00, 58.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #13018', NULL, 486, 5, '2018-07-08', 14830, 1, '2018-08-08', 0, NULL, NULL, 0),
(14832, 1139, '2018-07-08', 'Credit', 5000.00, 0.00, 5000.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 437, 5, '2018-07-08', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(14833, 1140, '2018-07-08', 'Credit', 15069.00, 0.00, 15069.00, 0.00, 2, 0, 'payment', 'transfer', '', '', NULL, 529, 5, '2018-07-08', NULL, 1, '2018-08-08', 0, NULL, NULL, 0),
(14834, 1141, '2018-07-08', 'Credit', 6554.00, 0.00, 6554.00, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 437, 5, '2018-07-08', NULL, 1, '2018-08-12', 0, NULL, NULL, 0),
(14835, 13019, '2018-07-08', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'From KHALEDIYAH to TADAWI', '17960', 421, 5, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14836, 13020, '2018-06-01', 'Debit', 250.00, 0.00, 262.50, 12.50, 2, 0, 'invoice', NULL, NULL, 'From Client Stable To MILAD', '17961', 421, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14837, 13021, '2018-05-31', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'Monthly service charges (Milad Vet) for May, 2018', '17962', 150, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14838, 13022, '2018-06-30', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'Monthly service charges (Milad Vet) for June, 2018', '17963', 150, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14839, 13023, '2018-05-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of  May, 2018', '17964', 150, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14840, 13024, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17965', 150, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14841, 13025, '2018-05-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Training horses feed for the month of May, 2018', '17966', 150, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14842, 13026, '2018-06-30', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Training horses feed  for the month of June, 2018', '17967', 150, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14843, 13027, '2018-05-31', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim service charges in Milad', '17903', 150, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14844, 13028, '2018-05-31', 'Debit', 600.00, 0.00, 630.00, 30.00, 2, 0, 'invoice', NULL, NULL, 'Farrier service charges in Milad ', '17904', 150, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14845, 13029, '2018-06-30', 'Debit', 2280.00, 0.00, 2394.00, 114.00, 2, 0, 'invoice', NULL, NULL, 'Trim (In Fala Stud) 16 Horses: Requested by Ricky (Confirmed the services by Raheel) for June-2018', '17968', 150, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14846, 13030, '2018-06-30', 'Debit', 1200.00, 0.00, 1260.00, 60.00, 2, 0, 'invoice', NULL, NULL, 'Shoeing  (In Fala Stud) 4Horses: Requested by Ricky (Confirmed the services by Raheel) for June-2018 (Wahida, Silla, Senorita & Farasha)', '17969', 150, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14847, 13031, '2018-05-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17970', 150, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14848, 13032, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17971', 150, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14849, 13033, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17977', 150, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14850, 13034, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17978', 150, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14851, 13035, '2018-07-02', 'Debit', 153.34, 0.00, 161.01, 7.67, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 1-2 July 2018 / Checkout ', '17979', 150, 6, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14852, 13036, '2018-05-31', 'Debit', 466.69, 0.00, 490.02, 23.33, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 23-31 May, 2018', '17980', 150, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14853, 13037, '2018-05-31', 'Debit', 466.69, 0.00, 490.02, 23.33, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 23-31 May, 2018', '17981', 150, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14854, 13038, '2018-06-23', 'Debit', 1533.41, 0.00, 1610.08, 76.67, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 1-23 June, 2018 / Checkout ', '17982', 150, 6, '2018-07-08', NULL, 1, '2018-07-15', 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
(14855, 13039, '2018-06-23', 'Debit', 1533.41, 0.00, 1610.08, 76.67, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 1-23 June, 2018 / Checkout ', '17983', 150, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14856, 13040, '2018-05-29', 'Debit', 1933.43, 0.00, 2030.10, 96.67, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 1-29 May, 2018 / Checkout', '17972', 150, 6, '2018-07-08', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(14857, 13041, '2018-05-01', 'Debit', 66.67, 0.00, 70.00, 3.33, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 1st May / Checkout', '17973', 150, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14858, 13042, '2018-05-31', 'Debit', 600.69, 0.00, 630.72, 30.03, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 21 - 31 May, 2018', '17974', 150, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14859, 13043, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17975', 150, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14860, 13044, '2018-07-02', 'Debit', 66.67, 0.00, 70.00, 3.33, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 1-5 July 2018 / Checkout', '17976', 150, 6, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14861, 13045, '2018-05-31', 'Debit', 1150.05, 0.00, 1207.55, 57.50, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 15-31 May, 2018', '17984', 150, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14862, 13046, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17985', 150, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14863, 13047, '2018-07-02', 'Debit', 153.34, 0.00, 161.01, 7.67, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 1-2 July 2018 / Checkout', '17986', 150, 6, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14864, 13048, '2018-05-05', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of March & Apirl 2018', '17987', 150, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14865, 13049, '2018-05-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17988', 150, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14866, 13050, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of  June, 2018', '17989', 150, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14867, 13051, '2018-07-02', 'Debit', 133.34, 0.00, 140.01, 6.67, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of 1-2 July, 2018', '17990', 150, 6, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14868, 13052, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17991', 150, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14869, 13053, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17992', 150, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14870, 13054, '2018-05-31', 'Debit', 766.70, 0.00, 805.04, 38.34, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '17997', 153, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14871, 13055, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '17998', 153, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14872, 13056, '2018-04-30', 'Debit', 8000.00, 0.00, 8400.00, 400.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Jan, Feb, Mar & Apir, 2018', '17999,18000,18001,18002', 153, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14873, 13057, '2018-05-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '18003', 153, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14874, 13058, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '18004', 153, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14875, 13059, '2018-04-30', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 1, 0, 'invoice', NULL, NULL, 'Training feed for the month of Jan, Feb, Mar & Apirl 2018', '18005', 153, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14876, 13060, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 1, 0, 'invoice', NULL, NULL, 'Training feed for the month of May & June 2018', '18006', 153, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14877, 13061, '2018-06-01', 'Debit', 847.00, 0.00, 889.35, 42.35, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( LEXUS ) 31-May-2018', '18010', 147, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14878, 13062, '2018-04-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Apirl, 2018', '18007', 153, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14879, 13063, '2018-05-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '18008', 153, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14880, 13064, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '18009', 153, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14881, 13065, '2018-06-30', 'Debit', 3000.00, 0.00, 3150.00, 150.00, 1, 0, 'invoice', NULL, NULL, 'Training feed for the month of  April, May & June, 2018', '18011', 153, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14882, 13066, '2018-06-01', 'Debit', 1182.50, 0.00, 1241.63, 59.13, 2, 0, 'invoice', NULL, NULL, 'TADAWI invoice ( Colt Of VIENNA ) 31-May-2018', '18012', 71, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14883, 13067, '2018-04-03', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Foaled Colt', '18013,18014', 139, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14884, 13068, '2018-06-18', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Foaled Colt ', '18015,18016', 139, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14885, 13069, '2018-03-08', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Foaled Colt ', '18017,18018', 139, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14886, 13070, '2018-04-04', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Foaled Filly', '18019,18020', 139, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14887, 13071, '2018-07-06', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Free - No Boarding charges for Mr. Nasir horses ', '18021,18022', 139, 6, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14888, 483, '2018-06-13', 'Debit', 14007.00, 0.00, 14007.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Embryo services + medicine charges (Alexxanderr - Prestic - Recp. 71)', NULL, 139, 6, '2018-07-08', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(14889, 484, '2018-06-13', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'charge', NULL, NULL, 'Sexyng semen done (Alexxanderr - Prestic - Recp. 71)', NULL, 139, 6, '2018-07-08', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(14890, 13072, '2018-04-30', 'Debit', 8466.76, 0.00, 8890.10, 423.34, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Jan, Feb, Mar & Apirl 2018', '18023,18024,18026,18027,18028', 468, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14891, 13073, '2018-04-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Foaling date: 26-Feb-2018 (Filly)', '18025', 468, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14892, 13074, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '18029', 468, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14893, 13075, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '18030', 468, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14894, 13076, '2018-04-05', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of Jan, 2018', '18031', 468, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14895, 13077, '2018-04-30', 'Debit', 6900.00, 0.00, 7245.00, 345.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of Feb, Mar & April 2018', '18032,18033,18034', 468, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14896, 13078, '2018-05-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of May, 2018', '18035', 468, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14897, 13079, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding for the month of June, 2018', '18036', 468, 6, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14898, 13080, '2018-04-30', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 1, 0, 'invoice', NULL, NULL, 'Training feed for the month of Jan, Feb, Mar & April 2018', '18037', 468, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14899, 13081, '2018-05-31', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 1, 0, 'invoice', NULL, NULL, 'Training feed for the month of May, 2018', '18038', 468, 6, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14900, 13082, '2018-05-13', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 13-May-2018 ) KHALEDIAT AL JANADRIYAH with Colt', '18039', 563, 5, '2018-07-08', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(14901, 13083, '2018-06-01', 'Debit', 1456.73, 0.00, 1529.57, 72.84, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 13 - 31 ) May-2018  KHALEDIAT AL JANADRIYAH with Colt', '18040', 563, 5, '2018-07-08', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14902, 13084, '2018-06-30', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) KHALEDIAT AL JANADRIYAH with Colt', '18041', 563, 5, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14903, 13085, '2018-07-13', 'Debit', 997.00, 0.00, 1046.85, 49.85, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 13 ) Jul-2018  KHALEDIAT AL JANADRIYAH with Colt', '18042', 563, 5, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14904, 13086, '2018-06-20', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16655 System Generated Invoice', '', 563, 5, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14905, 13087, '2018-06-25', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16656 System Generated Invoice', '', 563, 5, '2018-07-08', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14906, 13088, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16657 System Generated Invoice', '', 563, 5, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14907, 13089, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16658 System Generated Invoice', '', 563, 5, '2018-07-08', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14908, 13090, '2018-06-24', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim ( Colt of KHALEDIAT AL JANADRIYAH )', '18047', 563, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14909, 13091, '2018-07-13', 'Debit', 1600.00, 0.00, 1680.00, 80.00, 2, 0, 'invoice', NULL, NULL, 'P4 Bottle', '18048', 563, 5, '2018-07-09', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14910, 1142, '2018-07-09', 'Credit', 2517.25, 0.00, 2517.25, 0.00, 2, 0, 'payment', 'transfer', '', '', NULL, 421, 5, '2018-07-09', NULL, 1, '2018-08-08', 0, NULL, NULL, 0),
(14911, 485, '2018-01-01', 'Debit', 139218.36, 0.00, 139218.36, 0.00, 2, 0, 'charge', NULL, NULL, 'Opening Balance - ( from Wise Option )', NULL, 150, 11, '2018-07-09', NULL, 1, '2018-07-11', 1, 13, '2018-07-11', 0),
(14912, 13092, '2018-07-01', 'Debit', 2500.00, 0.00, 2625.00, 125.00, 2, 0, 'invoice', NULL, NULL, 'Charged for test semen for Freeze (Abha Qatar)', '18049', 408, 6, '2018-07-09', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14913, 13093, '2018-07-01', 'Debit', 40000.00, 0.00, 42000.00, 2000.00, 2, 0, 'invoice', NULL, NULL, 'Charges for freezing semen: Available Straws 1040 (130 Dozes) 1 doze = 8 Straws Total 16 collections (Each Collection SAR. 2500 & around 65 Straws)', '18050', 408, 6, '2018-07-09', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14914, 13094, '0000-00-00', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, '', '18051', 408, 6, '2018-07-09', NULL, 0, '0000-00-00', 1, 6, '2018-07-09', 0),
(14915, 13095, '2018-07-01', 'Debit', 1000.00, 0.00, 1050.00, 50.00, 2, 0, 'invoice', NULL, NULL, 'Monthly frozen semen storage charges per container SAR. 1000/- for the month of July, 2018	\r\n', '18052', 408, 6, '2018-07-09', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14916, 13096, '2018-07-01', 'Debit', 7500.00, 0.00, 7875.00, 375.00, 2, 0, 'invoice', NULL, NULL, 'Charges for freezing semen: Available Straws 160 (20 Dozes) 1 doze = 8 Straws Total 3 collections (Each Collection SAR. 2500)', '18053', 327, 6, '2018-07-09', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14917, 13097, '2018-07-09', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare: CADO', '18054', 160, 5, '2018-07-09', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14918, 1143, '2018-07-09', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #13097', NULL, 160, 5, '2018-07-09', 14917, 1, '2018-08-08', 0, NULL, NULL, 0),
(14919, 13098, '2018-06-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '3000-066', '18055,18056,18057', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14920, 13099, '2018-06-01', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 ) ABHA SHAHINAZ with Filly', '18058', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14921, 13100, '2018-06-01', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 ) ABHA SHAHINAZ with Filly', '18059', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14922, 13101, '2018-06-01', 'Debit', 1993.42, 0.00, 2093.09, 99.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 26 ) Mar-2018  ABHA SHAHINAZ with Filly', '18060', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14923, 13102, '2018-06-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Separate  Filly of ABHA SHAHINAZ ( 26-Mar-2018 )', '18061', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14924, 13103, '2018-06-01', 'Debit', 333.35, 0.00, 350.02, 16.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 27 - 31 ) Mar-2018 ABHA SHAHINAZ', '18062', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14925, 13104, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) ABHA SHAHINAZ', '18063', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14926, 13105, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) ABHA SHAHINAZ', '18064', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14927, 13106, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) ABHA SHAHINAZ	\r\n', '18065', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14928, 13107, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) ABHA SHAHINAZ	', '18066', 164, 5, '2018-07-09', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(14929, 13108, '2018-07-10', 'Debit', 766.70, 0.00, 805.04, 38.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 10 ) Jul-2018  ERIE with Filly	\r\n', '18067', 407, 5, '2018-07-09', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14930, 13109, '2018-07-10', 'Debit', 766.70, 0.00, 805.04, 38.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 10 ) Jul-2018  ESTORJA PS with Filly', '18068', 407, 5, '2018-07-09', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14931, 13110, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16659 System Generated Invoice', '', 407, 5, '2018-07-09', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14932, 13111, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16660 System Generated Invoice', '', 407, 5, '2018-07-09', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14933, 13112, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16661 System Generated Invoice', '', 407, 5, '2018-07-09', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14934, 13113, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16662 System Generated Invoice', '', 407, 5, '2018-07-09', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14935, 13114, '2018-07-10', 'Debit', 1600.00, 0.00, 1680.00, 80.00, 2, 0, 'invoice', NULL, NULL, 'P4 Bottle', '18073', 407, 5, '2018-07-09', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14936, 13115, '2018-07-10', 'Debit', 1600.00, 0.00, 1680.00, 80.00, 2, 0, 'invoice', NULL, NULL, 'P4 Bottle', '18074', 407, 5, '2018-07-09', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14937, 13116, '2018-06-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Separate Filly of ABHA SHAHINAZ ( 26-Mar-2018 )', '18075', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14938, 13117, '2018-06-01', 'Debit', 333.35, 0.00, 350.02, 16.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 27 - 31 ) Mar-2018 Filly of ABHA SHAHINAZ', '18076', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14939, 13118, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) Filly of ABHA SHAHINAZ', '18077', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14940, 13119, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) Filly of ABHA SHAHINAZ', '18078', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14941, 13120, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) Filly of ABHA SHAHINAZ', '18079', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14942, 13121, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) Filly of ABHA SHAHINAZ', '18080', 164, 5, '2018-07-09', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(14943, 13122, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16663 System Generated Invoice', '', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14944, 13123, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16664 System Generated Invoice', '', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14945, 13124, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16665 System Generated Invoice', '', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14946, 13125, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16666 System Generated Invoice', '', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14947, 13126, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16667 System Generated Invoice', '', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14948, 13127, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16668 System Generated Invoice', '', 164, 5, '2018-07-09', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14949, 13128, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16669 System Generated Invoice', '', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14950, 13129, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16670 System Generated Invoice', '', 164, 5, '2018-07-09', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14951, 13130, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16671 System Generated Invoice', '', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14952, 13131, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16672 System Generated Invoice', '', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14953, 13132, '2018-06-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16673 System Generated Invoice', '', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14954, 13133, '2018-06-04', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16674 System Generated Invoice', '', 164, 5, '2018-07-09', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(14955, 13134, '2018-06-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16675 System Generated Invoice', '', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14956, 13135, '2018-06-18', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16676 System Generated Invoice', '', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14957, 13136, '2018-06-25', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16677 System Generated Invoice', '', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14958, 13137, '2018-06-01', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 ) DANILLA with Colt', '18096', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14959, 13138, '2018-06-01', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 ) DANILLA with Colt', '18097', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14960, 13139, '2018-06-01', 'Debit', 1610.07, 0.00, 1690.57, 80.50, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 21 ) Mar-2018 DANILLA with Colt	', '18098', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14961, 13140, '2018-06-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Separate Colt of DANILLA ( 21-Mar-2018 ) ', '18099', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14962, 13141, '2018-06-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Separate Colt of DANILLA ( 21-Mar-2018 )	\r\n', '18100', 164, 5, '2018-07-09', NULL, 1, '2018-07-17', 0, NULL, NULL, 0),
(14963, 13142, '2018-06-01', 'Debit', 666.70, 0.00, 700.04, 33.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 22 - 31 ) Mar-2018 DANILLA', '18101', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14964, 13143, '2018-06-01', 'Debit', 666.70, 0.00, 700.04, 33.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 22 - 31 ) Mar-2018 Colt of DANILLA', '18102', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14965, 13144, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) DANILLA', '18103', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14966, 13145, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) DANILLA', '18104', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14967, 13146, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) DANILLA', '18105', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14968, 13147, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) DANILLA', '18106', 164, 5, '2018-07-09', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(14969, 13148, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) Colt of DANILLA', '18107', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14970, 13149, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) Colt of DANILLA', '18108', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14971, 13150, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) Colt of DANILLA', '18109', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14972, 13151, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) Colt of DANILLA', '18110', 164, 5, '2018-07-09', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(14973, 13152, '2018-06-01', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 ) HS ESTWFANIA with Filly', '18111', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14974, 13153, '2018-06-01', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 ) HS ESTWFANIA with Filly', '18112', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14975, 13154, '2018-06-01', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 ) HS ESTWFANIA with Filly', '18113', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14976, 13155, '2018-06-01', 'Debit', 383.35, 0.00, 402.52, 19.17, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 5 ) Apr-2018  HS ESTWFANIA with Filly', '18114', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14977, 13156, '2018-06-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Separate Filly of HS ESTWFANIA ( 5-Apr-2018 )', '18115', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14978, 13157, '2018-06-01', 'Debit', 1666.75, 0.00, 1750.09, 83.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 6 - 30 ) Apr-2018 HS ESTWFANIA', '18116', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14979, 13158, '2018-06-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) HS ESTWFANIA', '18117', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14980, 13159, '2018-06-30', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) HS ESTWFANIA', '18118', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14981, 13160, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) HS ESTWFANIA', '18119', 164, 5, '2018-07-09', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(14982, 13161, '2018-06-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '3000-064', '18120,18121,18122', 164, 5, '2018-07-09', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14983, 13162, '2018-06-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '3000-065', '18123,18124,18125', 164, 5, '2018-07-10', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14984, 13163, '2018-06-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 11-Apr-2018 )', '18126', 164, 5, '2018-07-10', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14985, 13164, '2018-06-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '3rd Try ( 12-May-2018 )', '18127', 164, 5, '2018-07-10', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14986, 13165, '2018-07-10', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, '', '18128', 160, 7, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14987, 1144, '2018-07-10', 'Credit', 157.50, 0.00, 157.50, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #13165', NULL, 160, 7, '2018-07-10', 14986, 1, '2018-08-09', 0, NULL, NULL, 0),
(14988, 486, '2017-09-01', 'Debit', 764624.98, 0.00, 764624.98, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 153, 13, '2018-07-10', NULL, 1, '2018-07-10', 0, NULL, NULL, 0),
(14989, 487, '2018-12-31', 'Debit', 30232.21, 0.00, 30232.21, 0.00, 2, 0, 'charge', NULL, NULL, 'Revenue from September 1, 2017 to December 31, 2017', NULL, 153, 13, '2018-07-10', NULL, 0, '0000-00-00', 1, 13, '2018-07-10', 0),
(14990, 488, '2017-12-31', 'Debit', 30232.21, 0.00, 30232.21, 0.00, 2, 0, 'charge', NULL, NULL, 'Revenue from Sept. 1, 2017 to Dec. 31, 2017', NULL, 153, 13, '2018-07-10', NULL, 1, '2018-07-10', 0, NULL, NULL, 0),
(14991, 489, '2017-12-31', 'Debit', 217800.60, 0.00, 217800.60, 0.00, 1, 0, 'charge', NULL, NULL, 'Revenue from Sept. 1, 2017 to Dec. 31, 2017', NULL, 153, 13, '2018-07-10', 14990, 1, '2018-07-10', 0, NULL, NULL, 0),
(14992, 1145, '2017-10-08', 'Credit', 110000.00, 0.00, 110000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Transferred M/S through Mr. Nasir Account', NULL, 153, 13, '2018-07-10', 14991, 1, '2018-07-10', 0, NULL, NULL, 0),
(14993, 1146, '2018-07-10', 'Credit', 15000.00, 0.00, 15000.00, 0.00, 2, 0, 'payment', 'transfer', '', '', NULL, 81, 5, '2018-07-10', NULL, 1, '2018-08-08', 0, NULL, NULL, 0),
(14994, 13166, '2018-06-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 16-May-2018 )', '18129', 338, 5, '2018-07-10', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(14995, 490, '2017-09-01', 'Debit', 174920.98, 0.00, 174920.98, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 468, 13, '2018-07-10', NULL, 1, '2018-07-10', 1, 13, '2018-08-28', 0),
(14996, 13167, '2018-07-01', 'Debit', 1600.00, 0.00, 1680.00, 80.00, 2, 0, 'invoice', NULL, NULL, 'P4 Bottle ( While Check out ) ', '18130', 235, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(14997, 491, '2017-12-31', 'Debit', 26693.38, 0.00, 26693.38, 0.00, 2, 0, 'charge', NULL, NULL, 'Reference Invoice #00490/ Revenue from September 1, 2017 to December 31, 2017', NULL, 468, 13, '2018-07-10', 14995, 1, '2018-07-10', 0, NULL, NULL, 0),
(14998, 492, '2018-07-10', 'Debit', 60340.00, 0.00, 60340.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Reference Invoice #00491/ Revenue from September 1, 2017 to December 31, 2017', NULL, 468, 13, '2018-07-10', 14997, 0, '0000-00-00', 1, 13, '2018-07-10', 0),
(14999, 493, '2017-12-31', 'Debit', 60340.00, 0.00, 60340.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Revenue from September 1, 2017 to December 31, 2017', NULL, 468, 13, '2018-07-10', NULL, 1, '2018-07-10', 0, NULL, NULL, 0),
(15000, 1147, '2018-02-21', 'Credit', 27000.00, 0.00, 27000.00, 0.00, 3, 0, 'payment', 'cash', '', 'Reference Invoice #00493/ Paid balance: RV 2959 (cash c/o Mr. Nasir thru Mr. Khaled', NULL, 468, 13, '2018-07-10', 14999, 1, '2018-07-10', 0, NULL, NULL, 0),
(15001, 13168, '2018-07-10', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Owner: Al Haqbani', '18131', 160, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15002, 1148, '2018-07-10', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #13168', NULL, 160, 5, '2018-07-10', 15001, 1, '2018-08-09', 0, NULL, NULL, 0),
(15003, 13169, '2018-04-01', 'Debit', 5000.00, 0.00, 5250.00, 250.00, 1, 0, 'invoice', NULL, NULL, 'Training for the month of  Jan, 2018', '18132', 468, 6, '2018-07-10', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(15004, 13170, '2018-04-02', 'Debit', 1993.42, 0.00, 2093.09, 99.67, 2, 0, 'invoice', NULL, NULL, 'Boarding 1-26 Feb, 2018 Checkout / Sold', '18133', 468, 6, '2018-07-10', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(15005, 13171, '2018-06-24', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Round trip Al Fala - Milad ', '18138,18139', 150, 6, '2018-07-10', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15006, 13172, '2018-06-23', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Round trip Al Fala - Milad ', '18134,18135', 150, 6, '2018-07-10', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15007, 494, '2017-09-01', 'Debit', 239920.06, 0.00, 239920.06, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 139, 13, '2018-07-10', NULL, 1, '2018-07-10', 1, 13, '2018-08-28', 0),
(15008, 13173, '2018-06-23', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Round trip Al Fala - Milad ', '18136,18137', 150, 6, '2018-07-10', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15009, 13174, '2018-07-02', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Transportation Milad -> Al Fala', '17996', 150, 6, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15010, 495, '2017-12-31', 'Debit', 138311.67, 0.00, 138311.67, 0.00, 2, 0, 'charge', NULL, NULL, 'Reference Invoice #00494/ Revenue from September 1, 2017 to December 31, 2017', NULL, 139, 13, '2018-07-10', 15007, 1, '2018-07-10', 0, NULL, NULL, 0),
(15011, 496, '2017-12-31', 'Debit', 8502.00, 0.00, 8502.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Reference Invoice #00495/ Revenue from September 1, 2017 to December 31, 2017', NULL, 139, 13, '2018-07-10', 15010, 1, '2018-07-10', 0, NULL, NULL, 0),
(15012, 13175, '2018-07-02', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Transportation Milad -> Al Fala', '17995', 150, 6, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15013, 13176, '2018-05-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Transportation Milad -> Al Fala', '17994', 150, 6, '2018-07-10', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(15014, 13177, '2018-05-29', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Transportation Milad -> Al Fala', '17993', 150, 6, '2018-07-10', NULL, 1, '2018-08-17', 0, NULL, NULL, 0),
(15015, 13178, '2018-07-10', 'Debit', 1600.00, 0.00, 1680.00, 80.00, 2, 0, 'invoice', NULL, NULL, 'P4 Bottle', '18140', 104, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15016, 497, '2017-09-01', 'Debit', 485997.16, 0.00, 485997.16, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 164, 13, '2018-07-10', NULL, 1, '2018-07-10', 0, NULL, NULL, 0),
(15017, 498, '2017-12-31', 'Debit', 43836.53, 0.00, 43836.53, 0.00, 2, 0, 'charge', NULL, NULL, 'Reference Invoice #00497/ Revenue from September 1, 2017 to December 31, 2017', NULL, 164, 13, '2018-07-10', 15016, 1, '2018-07-10', 0, NULL, NULL, 0),
(15018, 1149, '2017-12-31', 'Credit', 300000.00, 0.00, 300000.00, 0.00, 3, 0, 'payment', 'cash', '', 'Reference Invoice #00498/ Sold Victoria Principal to Nasir 11-1-2018/ Sold 4 recipients to Milad', NULL, 164, 13, '2018-07-10', 15017, 1, '2018-07-10', 0, NULL, NULL, 0),
(15019, 499, '2017-09-01', 'Debit', 358984.04, 0.00, 358984.04, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 408, 13, '2018-07-10', NULL, 1, '2018-07-10', 0, NULL, NULL, 0),
(15020, 500, '2017-12-10', 'Debit', 84260.00, 0.00, 84260.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Reference Invoice #00499/ Revenue from September 1, 2017 to December 31, 2017', NULL, 408, 13, '2018-07-10', 15019, 1, '2018-07-10', 0, NULL, NULL, 0),
(15021, 501, '2017-12-10', 'Debit', 6200.00, 0.00, 6200.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Reference Invoice #00500/ Revenue from September 1, 2017 to December 31, 2017', NULL, 408, 13, '2018-07-10', 15020, 1, '2018-07-10', 0, NULL, NULL, 0),
(15022, 1150, '2018-01-23', 'Credit', 251500.00, 0.00, 251500.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Reference Invoice #00501', NULL, 408, 13, '2018-07-10', 15021, 1, '2018-07-10', 1, 13, '2018-07-10', 0),
(15023, 13179, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 ) JADORE', '18141', 164, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15024, 13180, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 ) JADORE', '18142', 164, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15025, 13181, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 ) JADORE', '18143', 164, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15026, 13182, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) JADORE', '18144', 164, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15027, 13183, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) JADORE', '18145', 164, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15028, 13184, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) JADORE', '18146', 164, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15029, 13185, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) JADORE', '18147', 164, 5, '2018-07-10', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15030, 13186, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 ) Little Miss Priss', '18148', 164, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15031, 13187, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 ) Little Miss Priss', '18149', 164, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15032, 13188, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 ) Little Miss Priss', '18150', 164, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15033, 13189, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) Little Miss Priss', '18151', 164, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15034, 13190, '2018-07-10', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, 'c/o MD Sadik', '18152', 160, 7, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15035, 1151, '2018-07-10', 'Credit', 157.50, 0.00, 157.50, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #13190', NULL, 160, 7, '2018-07-10', 15034, 1, '2018-08-09', 0, NULL, NULL, 0),
(15036, 13191, '2018-07-09', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Transport ( Horse ) from TADAWI to KHALEDIYAH', '18153', 298, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15037, 13192, '2018-07-01', 'Debit', 1600.08, 0.00, 1680.08, 80.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 24 ) May-2018 LITTLE MISS PRISS', '18154', 164, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15038, 13193, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Birth Colt ( 25-May-2018 )  LITTLE MISS PRISS', '18155', 164, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15039, 13194, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 27-Mar-2018 ) LAYAN AL MOHAMADIA', '18156', 483, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15040, 13195, '2018-07-01', 'Debit', 333.35, 0.00, 350.02, 16.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 27 - 31 ) Mar-2018  LAYAN AL MOHAMADIA', '18157', 483, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15041, 13196, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 )  LAYAN AL MOHAMADIA', '18158', 483, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15042, 13197, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 )  LAYAN AL MOHAMADIA', '18159', 483, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15043, 13198, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 )  LAYAN AL MOHAMADIA', '18160', 483, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15044, 13199, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 27-Mar-2018 ) PETRA WW', '18161', 536, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15045, 1152, '2017-12-17', 'Credit', 89500.00, 0.00, 89500.00, 0.00, 3, 0, 'payment', 'cash', '', 'Payment made on Dec. 17, 2017 (Thoug AM sold)', NULL, 408, 13, '2018-07-10', NULL, 1, '2018-08-13', 0, NULL, NULL, 0),
(15046, 1153, '2017-12-28', 'Credit', 122000.00, 0.00, 122000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Reference Invoice #01152/ Payment made on Dec. 28, 2017 (Settled payment in Mr. Nasir account)', NULL, 408, 13, '2018-07-10', 15045, 1, '2018-08-13', 0, NULL, NULL, 0),
(15047, 1154, '2018-01-23', 'Credit', 25000.00, 0.00, 25000.00, 0.00, 3, 0, 'payment', 'cash', '', 'Payment made on Jan. 23, 2018 (Truck sold settlement)', NULL, 408, 13, '2018-07-10', NULL, 1, '2018-08-13', 0, NULL, NULL, 0),
(15048, 1155, '2017-09-30', 'Credit', 15000.00, 0.00, 15000.00, 0.00, 3, 0, 'payment', 'cash', '', 'Reference Invoice #01154/ Adjustment Najm AM Winning Prize', NULL, 408, 13, '2018-07-10', 15047, 1, '2018-08-13', 0, NULL, NULL, 0),
(15049, 13200, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 29-May-2018 )', '18162', 483, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15050, 13201, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '3rd Try ( 20-Jun-2018 )', '18163', 483, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15051, 13202, '2018-07-01', 'Debit', 333.35, 0.00, 350.02, 16.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 27 - 31 ) Mar-2018  PETRA WW	', '18164', 536, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15052, 13203, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) PETRA WW	', '18165', 536, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15053, 13204, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) PETRA WW	', '18166', 536, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15054, 13205, '2018-07-01', 'Debit', 867.00, 0.00, 910.35, 43.35, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 13 ) Jun-2018  PETRA WW	', '18167', 536, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15055, 13206, '2018-07-01', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '3000-204', '18168,18169', 536, 5, '2018-07-10', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15056, 502, '2017-09-01', 'Debit', 148571.41, 0.00, 148571.41, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 71, 13, '2018-07-11', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(15057, 503, '2017-12-31', 'Debit', 46170.94, 0.00, 46170.94, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 71, 13, '2018-07-11', 15056, 1, '2018-07-11', 0, NULL, NULL, 0),
(15058, 504, '2017-09-01', 'Debit', 155794.84, 0.00, 155794.84, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 113, 13, '2018-07-11', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(15059, 505, '2017-09-01', 'Debit', 135770.41, 0.00, 135770.41, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 477, 13, '2018-07-11', NULL, 1, '2018-07-11', 1, 13, '2018-07-16', 0),
(15060, 506, '2017-10-01', 'Debit', 4705.00, 0.00, 4705.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 477, 13, '2018-07-11', NULL, 1, '2018-07-11', 1, 13, '2018-07-16', 0),
(15061, 13207, '2018-07-01', 'Debit', 536.69, 0.00, 563.52, 26.83, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 25 - 31 ) May-2018 LITTLE MISS PRISS with Colt', '18170', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15062, 13208, '2018-07-01', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) LITTLE MISS PRISS with Colt', '18171', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15063, 13209, '2018-07-01', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) LITTLE MISS PRISS with Colt', '18172', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15064, 13210, '2017-11-29', 'Debit', 4000.00, 0.00, 4000.00, 0.00, 2, 0, 'invoice', NULL, NULL, '3000-031', '18173,18174', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15065, 13211, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 ) MARVANNA', '18175', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15066, 13212, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 ) MARVANNA', '18176', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15067, 13213, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 ) MARVANNA', '18177', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15068, 13214, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) MARVANNA', '18178', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15069, 13215, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) MARVANNA', '18179', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15070, 13216, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) MARVANNA', '18180', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15071, 13217, '2018-07-31', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) MARVANNA', '18181', 164, 5, '2018-07-11', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15072, 507, '2017-09-01', 'Debit', 74262.00, 0.00, 74262.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 150, 13, '2018-07-11', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(15073, 508, '2017-12-31', 'Debit', 62952.36, 0.00, 62952.36, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 150, 13, '2018-07-11', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(15074, 509, '2017-12-31', 'Debit', 2004.00, 0.00, 2004.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 150, 13, '2018-07-11', 15073, 1, '2018-07-11', 0, NULL, NULL, 0),
(15075, 510, '2017-09-01', 'Debit', 72572.91, 0.00, 72572.91, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 145, 13, '2018-07-11', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(15076, 511, '2017-12-31', 'Debit', 61049.76, 0.00, 61049.76, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 145, 13, '2018-07-11', 15075, 1, '2018-07-11', 0, NULL, NULL, 0),
(15077, 512, '2017-12-31', 'Debit', 156348.00, 0.00, 156348.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 145, 13, '2018-07-11', 15076, 1, '2018-07-11', 0, NULL, NULL, 0),
(15078, 1156, '2017-12-31', 'Credit', 180378.00, 0.00, 180378.00, 0.00, 3, 0, 'payment', 'cash', '', 'Forwarded total payment as of December 31, 2017', NULL, 145, 13, '2018-07-11', 15077, 1, '2018-08-13', 0, NULL, NULL, 0),
(15079, 1157, '2017-12-31', 'Credit', 10000.00, 0.00, 10000.00, 0.00, 3, 0, 'payment', 'cash', '', 'SAR10,000.00 discount approved by Mr. Nasir', NULL, 145, 13, '2018-07-11', 15078, 1, '2018-08-13', 0, NULL, NULL, 0),
(15080, 13218, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jan-2018 ) Filly of LITTLE MISS PRISS', '18182', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15081, 13219, '2018-07-01', 'Debit', 400.35, 0.00, 420.37, 20.02, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 6 ) Feb-2018  Filly of LITTLE MISS PRISS', '18183', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15082, 513, '2017-09-01', 'Debit', 57004.54, 0.00, 57004.54, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 147, 13, '2018-07-11', 14009, 1, '2018-07-11', 0, NULL, NULL, 0),
(15083, 1158, '2017-12-31', 'Credit', 10420.00, 0.00, 10420.00, 0.00, 3, 0, 'payment', 'cash', '', 'Reduced charges lexus embryo (Mr. Nasir)', NULL, 147, 13, '2018-07-11', 14009, 1, '2018-08-13', 0, NULL, NULL, 0),
(15084, 13220, '2018-07-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '', '18184,18185,18186', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15085, 13221, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Trim for Little Miss Priss	\r\n', '7605', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15086, 13222, '2018-07-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '3000-032', '18187,18188', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15087, 13223, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 15-Feb-2018 )', '18189', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15088, 13224, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '3rd Try ( 03-May-2018 )', '18190', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 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
(15089, 13225, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '4th Try ( 22-May-2018 )', '18191', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15090, 13226, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16678 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15091, 13227, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16679 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15092, 13228, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16680 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15093, 13229, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16681 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15094, 13230, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16682 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15095, 13231, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16683 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15096, 13232, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16684 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15097, 13233, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16685 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15098, 13234, '2018-07-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16686 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15099, 13235, '2018-07-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16687 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15100, 13236, '2018-07-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16688 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15101, 13237, '2018-07-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16689 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15102, 13238, '2018-07-11', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16690 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15103, 514, '2017-09-01', 'Debit', 31428.18, 0.00, 31428.18, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 479, 13, '2018-07-11', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(15104, 13239, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16691 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15105, 515, '2017-12-31', 'Debit', 15260.00, 0.00, 15260.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 479, 13, '2018-07-11', 15103, 1, '2018-07-11', 0, NULL, NULL, 0),
(15106, 13240, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16692 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15107, 13241, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16693 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15108, 13242, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16694 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15109, 13243, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16695 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15110, 13244, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16696 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15111, 13245, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16697 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15112, 13246, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16698 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15113, 13247, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16699 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15114, 13248, '2018-07-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16700 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15115, 13249, '2018-07-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16701 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15116, 13250, '2018-07-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16702 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15117, 516, '2017-09-01', 'Debit', 43804.05, 0.00, 43804.05, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 78, 13, '2018-07-11', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(15118, 13251, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16704 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15119, 13252, '2018-07-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16705 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15120, 13253, '2018-07-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16706 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15121, 517, '2017-09-19', 'Debit', 2300.00, 0.00, 2300.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 78, 13, '2018-07-11', 15117, 1, '2018-07-11', 0, NULL, NULL, 0),
(15122, 13254, '2018-07-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16707 System Generated Invoice', '', 164, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15123, 13255, '2018-07-04', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16708 System Generated Invoice', '', 362, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15124, 13256, '2018-07-05', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16709 System Generated Invoice', '', 362, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15125, 13257, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 11-Mar-2018 ) GHAZLAN VI', '18225', 362, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15126, 13258, '2018-07-01', 'Debit', 1400.07, 0.00, 1470.07, 70.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 11 - 31 ) Mar-2018  GHAZLAN VI', '5919', 362, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15127, 13259, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) GHAZLAN VI', '18226', 362, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15128, 13260, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) GHAZLAN VI', '18227', 362, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15129, 13261, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) GHAZLAN VI', '18228', 362, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15130, 13262, '2018-07-11', 'Debit', 733.37, 0.00, 770.04, 36.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 11 ) Jul-2018  GHAZLAN VI', '18229', 362, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15131, 518, '2017-09-01', 'Debit', 30074.98, 0.00, 30074.98, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 360, 13, '2018-07-11', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(15132, 519, '2017-12-31', 'Debit', 13353.10, 0.00, 13353.10, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 360, 13, '2018-07-11', 15131, 1, '2018-07-11', 0, NULL, NULL, 0),
(15133, 13263, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 22-May-2018 )', '18230', 362, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15134, 13264, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '3rd Try ( 30-Jun-2018 )', '18231', 362, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15135, 520, '2017-09-01', 'Debit', 71936.77, 0.00, 71936.77, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 155, 13, '2018-07-11', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(15136, 521, '2017-12-31', 'Debit', 4099.96, 0.00, 4099.96, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 155, 13, '2018-07-11', 15135, 1, '2018-07-11', 0, NULL, NULL, 0),
(15137, 1159, '2017-10-07', 'Credit', 49780.00, 0.00, 49780.00, 0.00, 3, 0, 'payment', 'cash', '', 'Reduced embryo services 3 try 10+10=20/ Reduced recp. 60 (Emb. Eden C-Yara Al Khaled)', NULL, 155, 13, '2018-07-11', 15136, 1, '2018-08-13', 0, NULL, NULL, 0),
(15138, 522, '2017-09-01', 'Debit', 28335.00, 0.00, 28335.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 427, 13, '2018-07-11', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(15139, 523, '2017-12-31', 'Debit', 15450.00, 0.00, 15450.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 427, 13, '2018-07-11', 15138, 1, '2018-07-11', 0, NULL, NULL, 0),
(15140, 1160, '2018-01-14', 'Credit', 45000.00, 0.00, 45000.00, 0.00, 3, 0, 'payment', 'cash', '', 'Paid balance: SOL CR Samba account', NULL, 427, 13, '2018-07-11', 15139, 1, '2018-08-13', 0, NULL, NULL, 0),
(15141, 1161, '2018-01-15', 'Credit', 7673.00, 0.00, 7673.00, 0.00, 3, 0, 'payment', 'cash', '', 'Paid balance: SOL CR Samba account', NULL, 427, 13, '2018-07-11', 15140, 1, '2018-08-13', 0, NULL, NULL, 0),
(15142, 524, '2017-09-01', 'Debit', 38095.66, 0.00, 38095.66, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 495, 13, '2018-07-11', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(15143, 525, '2017-12-31', 'Debit', 18042.32, 0.00, 18042.32, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 495, 13, '2018-07-11', 15142, 1, '2018-07-11', 0, NULL, NULL, 0),
(15144, 1162, '2017-12-24', 'Credit', 30000.00, 0.00, 30000.00, 0.00, 3, 0, 'payment', 'cash', '', 'Paid balance: Check #00000229 Samba bank/ RV# 2853 23/12/2017', NULL, 495, 13, '2018-07-11', 15143, 1, '2018-08-13', 0, NULL, NULL, 0),
(15145, 526, '2017-09-01', 'Debit', 23171.75, 0.00, 23171.75, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 542, 13, '2018-07-11', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(15146, 13265, '2018-07-11', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '4000-733', '18232,18233,18234', 584, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15147, 1163, '2018-07-11', 'Credit', 1075.00, 0.00, 1075.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #13265', NULL, 584, 5, '2018-07-11', 15146, 1, '2018-08-09', 0, NULL, NULL, 0),
(15148, 1164, '2018-07-11', 'Credit', 500.00, 0.00, 500.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #13265', NULL, 584, 5, '2018-07-11', 15146, 1, '2018-08-09', 0, NULL, NULL, 0),
(15149, 527, '2017-09-01', 'Debit', 25713.37, 0.00, 25713.37, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 357, 13, '2018-07-11', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(15150, 528, '2017-12-20', 'Debit', 18660.00, 0.00, 18660.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 357, 13, '2018-07-11', 15149, 1, '2018-07-11', 0, NULL, NULL, 0),
(15151, 1165, '2017-10-09', 'Credit', 22678.37, 0.00, 22678.37, 0.00, 3, 0, 'payment', 'cash', '', 'Payment for remaining balance', NULL, 357, 13, '2018-07-11', 15150, 1, '2018-08-13', 0, NULL, NULL, 0),
(15152, 529, '2017-09-01', 'Debit', 37720.04, 0.00, 37720.04, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 440, 13, '2018-07-11', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(15153, 530, '2017-12-31', 'Debit', 4600.00, 0.00, 4600.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 440, 13, '2018-07-11', 15152, 1, '2018-07-11', 0, NULL, NULL, 0),
(15154, 531, '2017-12-31', 'Debit', 17139.72, 0.00, 17139.72, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 440, 13, '2018-07-11', 15153, 1, '2018-07-11', 0, NULL, NULL, 0),
(15155, 1166, '2017-10-01', 'Credit', 40000.00, 0.00, 40000.00, 0.00, 3, 0, 'payment', 'cash', '', 'Payment/ RV# 2683 & 2682', NULL, 440, 13, '2018-07-11', 15154, 1, '2018-08-13', 0, NULL, NULL, 0),
(15156, 13266, '2018-07-11', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Care of Ashoq', '18235', 160, 5, '2018-07-11', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15157, 1167, '2018-07-11', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #13266', NULL, 160, 5, '2018-07-11', 15156, 1, '2018-08-09', 0, NULL, NULL, 0),
(15158, 532, '2017-09-01', 'Debit', 306.68, 0.00, 306.68, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 146, 13, '2018-07-11', NULL, 1, '2018-07-11', 0, NULL, NULL, 0),
(15159, 533, '2017-12-31', 'Debit', 10820.00, 0.00, 10820.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 146, 13, '2018-07-11', 15158, 1, '2018-07-11', 0, NULL, NULL, 0),
(15160, 534, '2017-12-31', 'Debit', 23700.00, 0.00, 23700.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 146, 13, '2018-07-11', 15159, 1, '2018-07-11', 0, NULL, NULL, 0),
(15161, 1168, '2017-12-31', 'Credit', 18006.68, 0.00, 18006.68, 0.00, 3, 0, 'payment', 'transfer', '', 'Sarie transfer', NULL, 146, 13, '2018-07-11', 15160, 1, '2018-08-13', 0, NULL, NULL, 0),
(15162, 535, '2017-12-31', 'Debit', 29513.00, 0.00, 29513.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 280, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15163, 1169, '2018-01-07', 'Credit', 12785.00, 0.00, 12785.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment for balance/ Sarie Transfer', NULL, 280, 13, '2018-07-12', 15162, 1, '2018-08-13', 0, NULL, NULL, 0),
(15164, 536, '2017-09-01', 'Debit', 14460.00, 0.00, 14460.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 395, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15165, 13267, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16710 System Generated Invoice', '', 476, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15166, 13268, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16711 System Generated Invoice', '', 476, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15167, 537, '2017-09-01', 'Debit', 28104.34, 0.00, 28104.34, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 81, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15168, 13269, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16712 System Generated Invoice', '', 476, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15169, 13270, '2018-07-05', 'Debit', 25.00, 0.00, 26.25, 1.25, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16713 System Generated Invoice', '', 476, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15170, 538, '2017-12-31', 'Debit', 10906.60, 0.00, 10906.60, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 81, 13, '2018-07-12', 15167, 1, '2018-07-12', 0, NULL, NULL, 0),
(15171, 13271, '2018-07-06', 'Debit', 255.00, 0.00, 267.75, 12.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16714 System Generated Invoice', '', 476, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15172, 1170, '2017-12-31', 'Credit', 25000.00, 0.00, 25000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Forwarded balance as of December 31, 2017', NULL, 81, 13, '2018-07-12', 15170, 1, '2018-08-13', 0, NULL, NULL, 0),
(15173, 13272, '2018-07-01', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16717 System Generated Invoice', '', 525, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15174, 13273, '2018-07-01', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16718 System Generated Invoice', '', 525, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15175, 13274, '2018-07-01', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16719 System Generated Invoice', '', 525, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15176, 13275, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16720 System Generated Invoice', '', 525, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15177, 13276, '2018-07-03', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16722 System Generated Invoice', '', 525, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15178, 539, '2017-09-01', 'Debit', 5523.35, 0.00, 5523.35, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 498, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15179, 540, '2017-12-06', 'Debit', 7679.00, 0.00, 7679.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 498, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15180, 13277, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16739 System Generated Invoice', '', 122, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15181, 13278, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16740 System Generated Invoice', '', 122, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15182, 13279, '2018-07-01', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16741 System Generated Invoice', '', 122, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15183, 13280, '2018-07-08', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16743 System Generated Invoice', '', 122, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15184, 13281, '2018-07-01', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16744 System Generated Invoice', '', 333, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15185, 13282, '2018-07-01', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16746 System Generated Invoice', '', 333, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15186, 13283, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16747 System Generated Invoice', '', 333, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15187, 13284, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16748 System Generated Invoice', '', 333, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15188, 13285, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16749 System Generated Invoice', '', 333, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15189, 13286, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16752 System Generated Invoice', '', 554, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15190, 541, '2017-09-01', 'Debit', 14008.42, 0.00, 14008.42, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 259, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15191, 1171, '2018-01-23', 'Credit', 2000.00, 0.00, 2000.00, 0.00, 3, 0, 'payment', 'cash', '', 'Forwarded balance as of December 31, 2017', NULL, 259, 13, '2018-07-12', 15190, 1, '2018-08-13', 0, NULL, NULL, 0),
(15192, 542, '2017-09-24', 'Debit', 11265.00, 0.00, 11265.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 95, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15193, 1172, '2017-11-09', 'Credit', 65760.00, 0.00, 65760.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Balance payment/ Sarie Transfer', NULL, 95, 13, '2018-07-12', 15192, 1, '2018-08-13', 0, NULL, NULL, 0),
(15194, 543, '2017-09-01', 'Debit', 9563.40, 0.00, 9563.40, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 471, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15195, 544, '2017-09-01', 'Debit', 9393.23, 0.00, 9393.23, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 199, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15196, 1173, '2017-12-25', 'Credit', 535.00, 0.00, 535.00, 0.00, 3, 0, 'payment', 'cash', '', 'Forwarded balance as of December 31, 2017', NULL, 199, 13, '2018-07-12', 15195, 1, '2018-08-13', 0, NULL, NULL, 0),
(15197, 545, '2017-09-01', 'Debit', 6165.32, 0.00, 6165.32, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 301, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15198, 546, '2017-12-31', 'Debit', 12027.00, 0.00, 12027.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 301, 13, '2018-07-12', 15197, 1, '2018-07-12', 0, NULL, NULL, 0),
(15199, 1174, '2018-01-02', 'Credit', 7000.00, 0.00, 7000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Forwarded balance: Payment', NULL, 301, 13, '2018-07-12', 15198, 1, '2018-08-13', 0, NULL, NULL, 0),
(15200, 1175, '2018-02-01', 'Credit', 3000.00, 0.00, 3000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Forwarded balance: Payment', NULL, 301, 13, '2018-07-12', 15199, 1, '2018-08-13', 0, NULL, NULL, 0),
(15201, 13287, '2018-07-01', 'Debit', 320.00, 0.00, 336.00, 16.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16784 System Generated Invoice', '', 255, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15202, 13288, '2018-07-01', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16785 System Generated Invoice', '', 255, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15203, 13289, '2018-07-01', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16786 System Generated Invoice', '', 255, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15204, 13290, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16787 System Generated Invoice', '', 255, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15205, 13291, '2018-07-01', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16789 System Generated Invoice', '', 255, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15206, 13292, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16791 System Generated Invoice', '', 255, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15207, 13293, '2018-07-01', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16792 System Generated Invoice', '', 255, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15208, 13294, '2018-07-01', 'Debit', 60.00, 0.00, 63.00, 3.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16794 System Generated Invoice', '', 255, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15209, 13295, '2018-07-01', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16795 System Generated Invoice', '', 255, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15210, 13296, '2018-07-01', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16796 System Generated Invoice', '', 255, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15211, 13297, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16798 System Generated Invoice', '', 255, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15212, 13298, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16799 System Generated Invoice', '', 255, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15213, 13299, '2018-07-01', 'Debit', 255.00, 0.00, 267.75, 12.75, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16800 System Generated Invoice', '', 255, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15214, 13300, '2018-07-01', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16808 System Generated Invoice', '', 272, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15215, 13301, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16809 System Generated Invoice', '', 272, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15216, 13302, '2018-07-01', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16810 System Generated Invoice', '', 272, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15217, 547, '2017-09-01', 'Debit', 6856.00, 0.00, 6856.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 80, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15218, 548, '2017-09-01', 'Debit', 6681.80, 0.00, 6681.80, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 221, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15219, 13303, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16813 System Generated Invoice', '', 146, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15220, 13304, '2018-07-01', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16814 System Generated Invoice', '', 146, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15221, 13305, '2018-07-01', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16815 System Generated Invoice', '', 146, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15222, 13306, '2018-07-02', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16816 System Generated Invoice', '', 146, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15223, 13307, '2018-07-01', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16817 System Generated Invoice', '', 178, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15224, 13308, '2018-07-01', 'Debit', 510.00, 0.00, 535.50, 25.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16819 System Generated Invoice', '', 178, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15225, 13309, '2018-07-01', 'Debit', 460.00, 0.00, 483.00, 23.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16820 System Generated Invoice', '', 178, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15226, 13310, '2018-07-01', 'Debit', 370.00, 0.00, 388.50, 18.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16821 System Generated Invoice', '', 178, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15227, 13311, '2018-07-01', 'Debit', 140.00, 0.00, 147.00, 7.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16822 System Generated Invoice', '', 178, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15228, 13312, '2018-07-01', 'Debit', 600.00, 0.00, 630.00, 30.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16829 System Generated Invoice', '', 178, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15229, 13313, '2018-07-01', 'Debit', 600.00, 0.00, 630.00, 30.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16830 System Generated Invoice', '', 178, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15230, 13314, '2018-07-01', 'Debit', 320.00, 0.00, 336.00, 16.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16831 System Generated Invoice', '', 178, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15231, 13315, '2018-07-01', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16834 System Generated Invoice', '', 258, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15232, 13316, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16835 System Generated Invoice', '', 272, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15233, 13317, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16836 System Generated Invoice', '', 272, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15234, 13318, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16839 System Generated Invoice', '', 578, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15235, 13319, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16840 System Generated Invoice', '', 578, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15236, 13320, '2018-07-07', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16841 System Generated Invoice', '', 578, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15237, 13321, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16842 System Generated Invoice', '', 366, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15238, 13322, '2018-07-01', 'Debit', 160.00, 0.00, 168.00, 8.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16844 System Generated Invoice', '', 366, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15239, 13323, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16845 System Generated Invoice', '', 366, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15240, 13324, '2018-07-01', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16846 System Generated Invoice', '', 366, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15241, 13325, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16848 System Generated Invoice', '', 366, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15242, 13326, '2018-07-01', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16849 System Generated Invoice', '', 366, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15243, 13327, '2018-07-01', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16851 System Generated Invoice', '', 366, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15244, 13328, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16852 System Generated Invoice', '', 366, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15245, 13329, '2018-07-01', 'Debit', 90.00, 0.00, 94.50, 4.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16853 System Generated Invoice', '', 366, 12, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15246, 1176, '2018-07-12', 'Credit', 11854.87, 0.00, 11854.87, 0.00, 2, 0, 'payment', 'transfer', '', '', NULL, 536, 5, '2018-07-12', NULL, 1, '2018-08-08', 0, NULL, NULL, 0),
(15247, 1177, '2018-07-12', 'Credit', 22332.25, 0.00, 22332.25, 0.00, 2, 0, 'payment', 'transfer', '', '', NULL, 409, 5, '2018-07-12', NULL, 1, '2018-08-09', 0, NULL, NULL, 0),
(15248, 549, '2017-09-30', 'Debit', 5000.00, 0.00, 5000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 527, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15249, 550, '2017-09-01', 'Debit', 4590.00, 0.00, 4590.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 567, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15250, 551, '2017-12-07', 'Debit', 3500.00, 0.00, 3500.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Payment/ POS', NULL, 167, 13, '2018-07-12', NULL, 0, '0000-00-00', 1, 13, '2018-07-12', 0),
(15251, 1178, '2017-12-07', 'Credit', 3500.00, 0.00, 3500.00, 0.00, 3, 0, 'payment', 'span', '', 'Payment/ POS', NULL, 167, 13, '2018-07-12', NULL, 1, '2018-08-13', 0, NULL, NULL, 0),
(15252, 552, '2017-09-01', 'Debit', 4000.00, 0.00, 4000.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 368, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15253, 553, '2017-09-01', 'Debit', 4000.00, 0.00, 4000.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 504, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15254, 554, '2017-09-01', 'Debit', 3555.00, 0.00, 3555.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 213, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15255, 555, '2017-12-31', 'Debit', 1000.00, 0.00, 1000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 178, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15256, 556, '2017-12-31', 'Debit', 12471.00, 0.00, 12471.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 178, 13, '2018-07-12', 15255, 1, '2018-07-12', 0, NULL, NULL, 0),
(15257, 1179, '2018-01-22', 'Credit', 10000.00, 0.00, 10000.00, 0.00, 3, 0, 'payment', 'span', '', 'Forwarded balance as of December 31, 2017', NULL, 178, 13, '2018-07-12', 15256, 1, '2018-08-13', 0, NULL, NULL, 0),
(15258, 557, '2017-09-01', 'Debit', 2500.00, 0.00, 2500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 553, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15259, 558, '2017-12-31', 'Debit', 500.00, 0.00, 500.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 553, 13, '2018-07-12', 15258, 1, '2018-07-12', 0, NULL, NULL, 0),
(15260, 13330, '2018-07-12', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Owner: Sultan Al Mutairi', '18342', 160, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15261, 1180, '2018-07-12', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #13330', NULL, 160, 5, '2018-07-12', 15260, 1, '2018-08-09', 0, NULL, NULL, 0),
(15262, 559, '2017-12-12', 'Debit', 2600.00, 0.00, 2600.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 452, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15263, 13331, '2018-06-12', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 12-Jun-2018 ) ALUNA with Colt', '18343', 581, 5, '2018-07-12', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15264, 13332, '2018-07-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '3000-294', '14906,14907,14908', 581, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15265, 13333, '2018-07-01', 'Debit', 1456.73, 0.00, 1529.57, 72.84, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 12 - 30 ) Jun-2018  ALUNA with Colt', '18344', 581, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15266, 13334, '2018-07-13', 'Debit', 996.71, 0.00, 1046.55, 49.84, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 13 ) Jul-2018  ALUNA with Colt', '18345', 581, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15267, 13335, '2018-07-03', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16855 System Generated Invoice', '', 581, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15268, 13336, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16856 System Generated Invoice', '', 581, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15269, 560, '2017-09-01', 'Debit', 2481.36, 0.00, 2481.36, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 94, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15270, 561, '2017-12-31', 'Debit', 2376.70, 0.00, 2376.70, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 154, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15271, 562, '2017-09-01', 'Debit', 2320.00, 0.00, 2320.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 396, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15272, 563, '2017-09-01', 'Debit', 2244.86, 0.00, 2244.86, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 362, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15273, 564, '2017-09-01', 'Debit', 2035.00, 0.00, 2035.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 534, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, 13, '2018-07-31', 1),
(15274, 1181, '2018-07-12', 'Credit', 3281.12, 0.00, 3281.12, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 581, 5, '2018-07-12', NULL, 1, '2018-08-09', 0, NULL, NULL, 0),
(15275, 565, '2017-09-01', 'Debit', 2030.00, 0.00, 2030.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 320, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15276, 566, '2017-09-01', 'Debit', 1145.00, 0.00, 1145.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 108, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15277, 567, '2017-12-31', 'Debit', 799.92, 0.00, 799.92, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 108, 13, '2018-07-12', 15276, 1, '2018-07-12', 0, NULL, NULL, 0),
(15278, 13337, '2018-05-29', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 29-May-2018 ) SHEIKHA AL EZEED', '18348', 200, 5, '2018-07-12', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(15279, 13338, '2018-07-01', 'Debit', 200.01, 0.00, 210.01, 10.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 29 - 31 ) May-2018  SHEIKHA AL EZEED', '18349', 200, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15280, 13339, '2018-07-01', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '3000-287', '13434,13435', 200, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15281, 13340, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 )  SHEIKHA AL EZEED', '18350', 200, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15282, 13341, '2018-07-14', 'Debit', 933.38, 0.00, 980.05, 46.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 14 ) Jul-2018   SHEIKHA AL EZEED', '18351', 200, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15283, 13342, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16857 System Generated Invoice', '', 200, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15284, 13343, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16858 System Generated Invoice', '', 200, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15285, 13344, '2018-07-14', 'Debit', 1600.00, 0.00, 1680.00, 80.00, 2, 0, 'invoice', NULL, NULL, 'P4 Bottle', '18354', 200, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15286, 568, '2017-09-01', 'Debit', 1665.00, 0.00, 1665.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 512, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15287, 13345, '2018-07-01', 'Debit', 133.34, 0.00, 140.01, 6.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 8 - 9 ) Jun-2018 SATEEN LNJ', '18355', 448, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15288, 13346, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check out from MILAD ( 9-Jun-2018 )  SATEEN LNJ', '18356', 448, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15289, 569, '2017-09-01', 'Debit', 1610.00, 0.00, 1610.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 315, 13, '2018-07-12', NULL, 1, '2018-07-12', 0, NULL, NULL, 0),
(15290, 13347, '2018-07-14', 'Debit', 933.38, 0.00, 980.05, 46.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 14 ) Jul-2018  MAHAYA LNJ', '18357', 448, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15291, 13348, '2018-07-14', 'Debit', 933.38, 0.00, 980.05, 46.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 14 ) Jul-2018  Rec. 49', '18358', 448, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15292, 13349, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16859 System Generated Invoice', '', 448, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15293, 13350, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16860 System Generated Invoice', '', 448, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15294, 13351, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16861 System Generated Invoice', '', 448, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15295, 13352, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16862 System Generated Invoice', '', 448, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15296, 13353, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 21-Apr-2018 ) NADA GULFA', '18363', 514, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15297, 13354, '2018-07-01', 'Debit', 666.70, 0.00, 700.04, 33.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 21 - 30 ) Apr-2018  NADA GULFA', '18364', 514, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15298, 13355, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) NADA GULFA', '18365', 514, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15299, 13356, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) NADA GULFA', '18366', 514, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15300, 13357, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 16-Jan-2018 ) PSYMPATICA VF', '18367', 502, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15301, 13358, '2018-07-01', 'Debit', 1066.72, 0.00, 1120.06, 53.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 16 - 31 ) Jan-2018  PSYMPATICA VF', '18368', 502, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15302, 13359, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Feb-2018 ) PSYMPATICA VF', '18369', 502, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15303, 13360, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Mar-2018 ) PSYMPATICA VF', '18370', 502, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15304, 13361, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) PSYMPATICA VF', '18371', 502, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15305, 13362, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) PSYMPATICA VF', '18372', 502, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15306, 13363, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) PSYMPATICA VF', '18373', 502, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15307, 13364, '2018-07-01', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 29-Apr-2018 ) ENNORRAH with Colt', '18374', 542, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15308, 13365, '2018-07-01', 'Debit', 153.34, 0.00, 161.01, 7.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 29 - 30 ) Apr-2018  ENNORRAH with Colt', '18375', 542, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15309, 13366, '2018-07-01', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( May-2018 ) ENNORRAH with Colt', '18376', 542, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15310, 13367, '2018-07-01', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) ENNORRAH with Colt', '18377', 542, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15311, 13368, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Birth Colt ( 11-Apr-2018 ) ALEGRA', '18378', 183, 1, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15312, 13369, '2018-07-01', 'Debit', 1533.40, 0.00, 1610.07, 76.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 11 - 30 ) Apr-2018 ALEGRA with Colt', '18379', 183, 5, '2018-07-12', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15313, 13370, '2018-07-14', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Transport Horse ( from TADAWI to KHALEDIYAH )', '18380', 298, 5, '2018-07-13', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15314, 13371, '2018-07-01', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16863 System Generated Invoice', '', 176, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15315, 13372, '2018-07-01', 'Debit', 140.00, 0.00, 147.00, 7.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16864 System Generated Invoice', '', 176, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15316, 13373, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16865 System Generated Invoice', '', 176, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15317, 13374, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16866 System Generated Invoice', '', 176, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15318, 13375, '2018-07-03', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Wrong Entry - Deleted', '', 398, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15319, 13376, '2018-07-14', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'c/o William', '18391', 160, 7, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15320, 1182, '2018-07-14', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #13376', NULL, 160, 7, '2018-07-14', 15319, 1, '2018-08-09', 0, NULL, NULL, 0),
(15321, 13377, '2018-07-03', 'Debit', 470.00, 0.00, 493.50, 23.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16868 System Generated Invoice', '', 176, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15322, 13378, '2018-07-04', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16869 System Generated Invoice', '', 176, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15323, 13379, '2018-07-05', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16870 System Generated Invoice', '', 176, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15324, 13380, '2018-07-06', 'Debit', 320.00, 0.00, 336.00, 16.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16871 System Generated Invoice', '', 176, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15325, 13381, '2018-07-07', 'Debit', 420.00, 0.00, 441.00, 21.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16872 System Generated Invoice', '', 176, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15326, 13382, '2018-07-08', 'Debit', 450.00, 0.00, 472.50, 22.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16873 System Generated Invoice', '', 176, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15327, 13383, '2018-07-09', 'Debit', 420.00, 0.00, 441.00, 21.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16874 System Generated Invoice', '', 176, 12, '2018-07-14', NULL, 1, '2018-08-19', 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
(15328, 13384, '2018-07-10', 'Debit', 140.00, 0.00, 147.00, 7.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16875 System Generated Invoice', '', 176, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15329, 13385, '2018-07-13', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16876 System Generated Invoice', '', 176, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15330, 570, '2017-09-01', 'Debit', 408618.31, 0.00, 408618.31, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 138, 13, '2018-07-14', NULL, 1, '2018-07-14', 0, NULL, NULL, 0),
(15331, 571, '2017-12-31', 'Debit', 434266.70, 0.00, 434266.70, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 138, 13, '2018-07-14', NULL, 1, '2018-07-14', 0, NULL, NULL, 0),
(15332, 1183, '2017-12-31', 'Credit', 303533.90, 0.00, 303533.90, 0.00, 3, 0, 'payment', 'cash', '', 'Total payment as of December 31, 2017', NULL, 138, 13, '2018-07-14', 15331, 1, '2018-08-13', 0, NULL, NULL, 0),
(15333, 13386, '2018-07-01', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16878 System Generated Invoice', '', 420, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15334, 13387, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16879 System Generated Invoice', '', 420, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15335, 13388, '2018-07-01', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16881 System Generated Invoice', '', 420, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15336, 1184, '2018-02-01', 'Credit', 100000.00, 0.00, 100000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Forwarded balance (Sarie transfer)', NULL, 138, 13, '2018-07-14', 15332, 1, '2018-08-13', 0, NULL, NULL, 0),
(15337, 1185, '2018-03-04', 'Credit', 705549.00, 0.00, 705549.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Forwarded balance (Sarie transfer)', NULL, 138, 13, '2018-07-14', 15336, 1, '2018-08-13', 0, NULL, NULL, 0),
(15338, 13389, '2018-07-01', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16884 System Generated Invoice', '', 420, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15339, 13390, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16885 System Generated Invoice', '', 420, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15340, 13391, '2018-07-01', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16887 System Generated Invoice', '', 420, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15341, 13392, '2018-07-01', 'Debit', 210.00, 0.00, 220.50, 10.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16889 System Generated Invoice', '', 420, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15342, 13393, '2018-07-02', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16890 System Generated Invoice', '', 420, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15343, 13394, '2018-07-02', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16891 System Generated Invoice', '', 420, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15344, 13395, '2018-07-01', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16907 System Generated Invoice', '', 406, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15345, 13396, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16908 System Generated Invoice', '', 406, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15346, 13397, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16912 System Generated Invoice', '', 406, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15347, 13398, '2018-07-02', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16914 System Generated Invoice', '', 406, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15348, 13399, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16918 System Generated Invoice', '', 268, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15349, 13400, '2018-07-01', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16919 System Generated Invoice', '', 268, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15350, 13401, '2018-07-01', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16920 System Generated Invoice', '', 268, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15351, 13402, '2018-07-01', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16922 System Generated Invoice', '', 268, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15352, 13403, '2018-07-01', 'Debit', 670.00, 0.00, 703.50, 33.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16925 System Generated Invoice', '', 95, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15353, 13404, '2018-07-01', 'Debit', 820.00, 0.00, 861.00, 41.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16926 System Generated Invoice', '', 95, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15354, 13405, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16927 System Generated Invoice', '', 95, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15355, 13406, '2018-07-01', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16928 System Generated Invoice', '', 95, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15356, 13407, '2018-07-01', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16930 System Generated Invoice', '', 95, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15357, 13408, '2018-07-01', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16932 System Generated Invoice', '', 95, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15358, 13409, '2018-07-01', 'Debit', 90.00, 0.00, 94.50, 4.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16933 System Generated Invoice', '', 95, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15359, 13410, '2018-07-02', 'Debit', 20.00, 0.00, 21.00, 1.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16934 System Generated Invoice', '', 95, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15360, 13411, '2018-07-14', 'Debit', 220.00, 0.00, 231.00, 11.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16935 System Generated Invoice', '', 95, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15361, 13412, '2018-07-01', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16936 System Generated Invoice', '', 327, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15362, 13413, '2018-07-01', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16939 System Generated Invoice', '', 575, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15363, 13414, '2018-07-05', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16943 System Generated Invoice', '', 155, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15364, 13415, '2018-07-05', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16944 System Generated Invoice', '', 529, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15365, 13416, '2018-07-06', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16945 System Generated Invoice', '', 529, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15366, 13417, '2018-07-05', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16946 System Generated Invoice', '', 138, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15367, 13418, '2018-07-06', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16947 System Generated Invoice', '', 138, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15368, 13419, '2018-07-07', 'Debit', 490.00, 0.00, 514.50, 24.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16948 System Generated Invoice', '', 138, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15369, 13420, '2018-07-08', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16949 System Generated Invoice', '', 138, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15370, 13421, '2018-07-09', 'Debit', 460.00, 0.00, 483.00, 23.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16950 System Generated Invoice', '', 138, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15371, 13422, '2018-07-10', 'Debit', 460.00, 0.00, 483.00, 23.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16951 System Generated Invoice', '', 138, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15372, 13423, '2018-07-11', 'Debit', 460.00, 0.00, 483.00, 23.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16952 System Generated Invoice', '', 138, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15373, 13424, '2018-07-12', 'Debit', 260.00, 0.00, 273.00, 13.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16953 System Generated Invoice', '', 138, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15374, 13425, '2018-07-13', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16954 System Generated Invoice', '', 138, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15375, 13426, '2018-07-11', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16955 System Generated Invoice', '', 249, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15376, 13427, '2018-07-12', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16956 System Generated Invoice', '', 249, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15377, 13428, '2018-07-14', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16957 System Generated Invoice', '', 249, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15378, 13429, '2018-07-05', 'Debit', 160.00, 0.00, 168.00, 8.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16958 System Generated Invoice', '', 470, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15379, 13430, '2018-07-09', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16959 System Generated Invoice', '', 470, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15380, 13431, '2018-07-05', 'Debit', 100.00, 0.00, 105.00, 5.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16961 System Generated Invoice', '', 138, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15381, 13432, '2018-07-10', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16962 System Generated Invoice', '', 542, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15382, 572, '2017-09-01', 'Debit', 1500.00, 0.00, 1500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 277, 13, '2018-07-14', NULL, 1, '2018-07-14', 0, NULL, NULL, 0),
(15383, 13433, '2018-07-05', 'Debit', 140.00, 0.00, 147.00, 7.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16964 System Generated Invoice', '', 346, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15384, 13434, '2018-07-06', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16965 System Generated Invoice', '', 346, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15385, 13435, '2018-07-08', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16966 System Generated Invoice', '', 154, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15386, 13436, '2018-07-14', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16967 System Generated Invoice', '', 154, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15387, 13437, '2018-07-04', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16970 System Generated Invoice', '', 470, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15388, 13438, '2018-07-06', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16971 System Generated Invoice', '', 470, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15389, 13439, '2018-07-07', 'Debit', 470.00, 0.00, 493.50, 23.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16972 System Generated Invoice', '', 470, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15390, 13440, '2018-07-08', 'Debit', 240.00, 0.00, 252.00, 12.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16973 System Generated Invoice', '', 470, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15391, 13441, '2018-07-09', 'Debit', 510.00, 0.00, 535.50, 25.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16974 System Generated Invoice', '', 470, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15392, 13442, '2018-07-10', 'Debit', 460.00, 0.00, 483.00, 23.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16975 System Generated Invoice', '', 470, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15393, 573, '2017-09-01', 'Debit', 1500.00, 0.00, 1500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 361, 13, '2018-07-14', NULL, 1, '2018-07-14', 0, NULL, NULL, 0),
(15394, 13443, '2018-07-05', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16978 System Generated Invoice', '', 559, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15395, 13444, '2018-07-10', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Transport ( Horse ) from TADAWI to KHALEDIYAH ', '18528', 298, 5, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15396, 13445, '2018-07-11', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Transport ( Horse ) from TADAWI to KHALEDIYAH ', '18529', 298, 5, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15397, 13446, '2018-07-07', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16980 System Generated Invoice', '', 71, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15398, 13447, '2018-07-14', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16982 System Generated Invoice', '', 71, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15399, 13448, '2018-07-07', 'Debit', 230.00, 0.00, 241.50, 11.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16985 System Generated Invoice', '', 514, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15400, 13449, '2018-07-09', 'Debit', 10.00, 0.00, 10.50, 0.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16986 System Generated Invoice', '', 514, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15401, 13450, '2018-07-07', 'Debit', 360.00, 0.00, 378.00, 18.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16989 System Generated Invoice', '', 489, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15402, 13451, '2018-07-07', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16991 System Generated Invoice', '', 348, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15403, 13452, '2018-07-01', 'Debit', -2625.00, 0.00, -2756.25, -131.25, 2, 0, 'invoice', NULL, NULL, 'Change ( FROZEN to FRESH ) 4-Jan-2018', '18536', 108, 5, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15404, 13453, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '3rd Try ( 4-Mar-2018 )', '18538', 108, 5, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15405, 13454, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '4th Try ( 27-Apr-2018 )', '18539', 108, 5, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15406, 13455, '2018-07-06', 'Debit', 110.00, 0.00, 115.50, 5.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16995 System Generated Invoice', '', 407, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15407, 13456, '2018-07-07', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16996 System Generated Invoice', '', 407, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15408, 13457, '2018-07-08', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16997 System Generated Invoice', '', 407, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15409, 13458, '2018-07-05', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #16999 System Generated Invoice', '', 263, 12, '2018-07-14', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15410, 13459, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 10-Jan-2018 )', '18544', 108, 5, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15411, 13460, '2018-07-06', 'Debit', 40.00, 0.00, 42.00, 2.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17000 System Generated Invoice', '', 263, 12, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15412, 13461, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 7-Apr-2018 )', '18546', 108, 5, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15413, 13462, '2018-07-06', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17004 System Generated Invoice', '', 489, 12, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15414, 13463, '2018-07-14', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17006 System Generated Invoice', '', 489, 12, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15415, 13464, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 12-Mar-2018 )', '18549', 108, 5, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15416, 13465, '2018-07-14', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'c/o MD Sadik', '18550', 160, 7, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15417, 13466, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '3rd Try ( 09-Apr-2018 )', '18551', 108, 5, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15418, 1186, '2018-07-14', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #13465', NULL, 160, 7, '2018-07-14', 15416, 1, '2018-08-09', 0, NULL, NULL, 0),
(15419, 13467, '2018-07-05', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17014 System Generated Invoice', '', 431, 12, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15420, 13468, '2018-07-05', 'Debit', 50.00, 0.00, 52.50, 2.50, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17016 System Generated Invoice', '', 71, 12, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15421, 13469, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 25-May-2018 )', '18554', 249, 5, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15422, 13470, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '3rd Try ( 25-Jun-2018 )', '18555', 249, 5, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15423, 13471, '2018-07-05', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17020 System Generated Invoice', '', 138, 12, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15424, 13472, '2018-07-01', 'Debit', 80.00, 0.00, 84.00, 4.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17022 System Generated Invoice', '', 489, 12, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15425, 13473, '2018-07-19', 'Debit', 1456.73, 0.00, 1529.57, 72.84, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 19 ) Jul-2018  ZK CLARRISSA R with Colt', '18558', 249, 5, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15426, 13474, '2018-07-05', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17024 System Generated Invoice', '', 138, 12, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15427, 13475, '2018-07-05', 'Debit', 200.00, 0.00, 210.00, 10.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17026 System Generated Invoice', '', 535, 12, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15428, 574, '2017-09-01', 'Debit', 1500.00, 0.00, 1500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 92, 13, '2018-07-14', NULL, 1, '2018-07-14', 0, NULL, NULL, 0),
(15429, 13476, '2018-07-14', 'Debit', 400.00, 0.00, 420.00, 20.00, 2, 0, 'invoice', NULL, NULL, '2 Pieces RUBBER SHEET', '18561', 160, 5, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15430, 13477, '2018-07-14', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Mare: MAMLOUHA', '18562', 160, 5, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15431, 1187, '2018-07-14', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #13477', NULL, 160, 5, '2018-07-14', 15430, 1, '2018-08-09', 0, NULL, NULL, 0),
(15432, 1188, '2018-07-14', 'Credit', 420.00, 0.00, 420.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #13476', NULL, 160, 5, '2018-07-14', 15429, 1, '2018-08-09', 0, NULL, NULL, 0),
(15433, 13478, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 29-May-2018 )', '18563', 178, 5, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15434, 13479, '2018-07-01', 'Debit', 2625.00, 0.00, 2756.25, 131.25, 2, 0, 'invoice', NULL, NULL, 'Change ( Fresh to Frozen ) 16-Mar-2018 ', '18564', 178, 5, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15435, 13480, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '4th Try ( 10-May-2018 ) Fresh Semen', '18565', 178, 5, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15436, 575, '2017-12-06', 'Debit', 1440.00, 0.00, 1440.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 469, 13, '2018-07-14', NULL, 1, '2018-07-14', 0, NULL, NULL, 0),
(15437, 576, '2017-09-01', 'Debit', 1430.00, 0.00, 1430.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 462, 13, '2018-07-14', NULL, 1, '2018-07-14', 0, NULL, NULL, 0),
(15438, 13481, '2018-06-10', 'Debit', 0.00, 0.00, 0.00, 0.00, 1, 0, 'invoice', NULL, NULL, 'Check in to MILAD ( 10-Jun-2018 ) JR GHAZALA', '18566', 354, 5, '2018-07-14', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15439, 13482, '2018-07-01', 'Debit', 1400.07, 0.00, 1470.07, 70.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 10 - 30 ) Jun-2018  JR GHAZALA', '18567', 354, 5, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15440, 13483, '2018-07-04', 'Debit', 266.68, 0.00, 280.01, 13.33, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 4 ) Jul-2018  JR GHAZALA', '18568', 354, 5, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15441, 13484, '2018-07-15', 'Debit', 1833.37, 0.00, 1925.04, 91.67, 1, 0, 'invoice', NULL, NULL, 'Training ( 5 - 15 ) Jul-2018  JR GHAZALA', '18569', 354, 5, '2018-07-14', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15442, 1189, '2018-07-14', 'Credit', 1610.67, 0.00, 1610.67, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 354, 5, '2018-07-14', NULL, 1, '2018-08-09', 0, NULL, NULL, 0),
(15443, 577, '2017-09-01', 'Debit', 1390.00, 0.00, 1390.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 379, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15444, 578, '2017-09-01', 'Debit', 1285.00, 0.00, 1285.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 549, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15445, 579, '2017-09-01', 'Debit', 1280.00, 0.00, 1280.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 425, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15446, 580, '2017-09-01', 'Debit', 1188.38, 0.00, 1188.38, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 525, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15447, 13485, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Apr-2018 ) MALAK AL AL RASHEDIAH', '18570', 479, 5, '2018-07-15', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15448, 13486, '2018-07-01', 'Debit', 133.34, 0.00, 140.01, 6.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 2 ) May-2018  MALAK AL AL RASHEDIAH', '18571', 479, 5, '2018-07-15', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15449, 13487, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Birth Colt ( 3-May-2018 )', '18572', 479, 5, '2018-07-15', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15450, 13488, '2018-07-01', 'Debit', 2223.43, 0.00, 2334.60, 111.17, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 3 - 31 ) May-2018 MALAK AL RASHEDIAH with Colt', '18573', 479, 5, '2018-07-15', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15451, 13489, '2018-07-01', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) MALAK AL RASHEDIAH with Colt', '18574', 479, 5, '2018-07-15', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15452, 13490, '2018-07-31', 'Debit', 2300.00, 0.00, 2415.00, 115.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jul-2018 ) MALAK AL RASHEDIAH with Colt', '18575', 479, 5, '2018-07-15', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15453, 13491, '2018-07-01', 'Debit', 1500.00, 0.00, 1575.00, 75.00, 2, 0, 'invoice', NULL, NULL, '3000-263', '18576,18577,18578', 479, 5, '2018-07-15', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15454, 13492, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 31-May-2018 )', '18579', 479, 5, '2018-07-15', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15455, 13493, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17030 System Generated Invoice', '', 479, 5, '2018-07-15', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15456, 13494, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17031 System Generated Invoice', '', 479, 5, '2018-07-15', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15457, 13495, '2018-07-02', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17032 System Generated Invoice', '', 479, 5, '2018-07-15', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15458, 13496, '2018-07-09', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17033 System Generated Invoice', '', 479, 5, '2018-07-15', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15459, 13497, '2018-07-16', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17034 System Generated Invoice', '', 479, 5, '2018-07-15', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15460, 13498, '2018-07-23', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17035 System Generated Invoice', '', 479, 5, '2018-07-15', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15461, 13499, '2018-07-30', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17036 System Generated Invoice', '', 479, 5, '2018-07-15', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15462, 1190, '2018-07-15', 'Credit', 1603.00, 0.00, 1603.00, 0.00, 2, 0, 'payment', 'cash', '', 'Deduction - Nishath Muzakkir Insurance renewal charges ', NULL, 138, 6, '2018-07-15', NULL, 1, '2018-09-12', 0, NULL, NULL, 0),
(15463, 581, '2017-09-01', 'Debit', 1085.00, 0.00, 1085.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 297, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15464, 582, '2017-09-01', 'Debit', 1080.00, 0.00, 1080.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginnnig balance', NULL, 389, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15465, 583, '2017-09-01', 'Debit', 1070.00, 0.00, 1070.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 316, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15466, 13500, '2018-07-15', 'Debit', 4000.00, 0.00, 4200.00, 200.00, 2, 0, 'invoice', NULL, NULL, '20 Pieces RUBBER SHEET\r\nClient: Sultan Al Kubaidan', '18587', 160, 5, '2018-07-15', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15467, 1191, '2018-07-15', 'Credit', 4200.00, 0.00, 4200.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #13500', NULL, 160, 5, '2018-07-15', 15466, 1, '2018-08-09', 0, NULL, NULL, 0),
(15468, 584, '2017-09-01', 'Debit', 1015.00, 0.00, 1015.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 303, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15469, 585, '2017-09-01', 'Debit', 1040.00, 0.00, 1040.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 84, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15470, 586, '2017-11-13', 'Debit', 1445.00, 0.00, 1445.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 84, 13, '2018-07-15', 15469, 1, '2018-07-15', 0, NULL, NULL, 0),
(15471, 1192, '2017-11-13', 'Credit', 1485.00, 0.00, 1485.00, 0.00, 3, 0, 'payment', 'cash', '', 'Payment/ RV# 2764', NULL, 84, 13, '2018-07-15', 15470, 1, '2018-08-13', 0, NULL, NULL, 0),
(15472, 587, '2017-09-01', 'Debit', 925.00, 0.00, 925.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 240, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15473, 588, '2017-09-01', 'Debit', 880.00, 0.00, 880.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 307, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15474, 589, '2017-12-31', 'Debit', 10673.15, 0.00, 10673.15, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 413, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15475, 1193, '2018-03-22', 'Credit', 9833.15, 0.00, 9833.15, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment/ Sarie transfer', NULL, 413, 13, '2018-07-15', 15474, 1, '2018-08-13', 0, NULL, NULL, 0),
(15476, 590, '2017-09-01', 'Debit', 815.00, 0.00, 815.00, 0.00, 3, 0, 'charge', NULL, NULL, 'Beginning balance', NULL, 246, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15477, 591, '2017-09-01', 'Debit', 785.00, 0.00, 785.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 313, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15478, 592, '2017-09-01', 'Debit', 740.00, 0.00, 740.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 73, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15479, 593, '2017-09-01', 'Debit', 645.00, 0.00, 645.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 550, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15480, 594, '2017-09-01', 'Debit', 600.00, 0.00, 600.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 366, 13, '2018-07-15', NULL, 1, '2018-07-15', 1, 13, '2018-07-16', 0),
(15481, 595, '2017-09-01', 'Debit', 580.00, 0.00, 580.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 415, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15482, 596, '2017-09-01', 'Debit', 455.00, 0.00, 455.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 104, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15483, 597, '2017-11-06', 'Debit', 100.00, 0.00, 100.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 104, 13, '2018-07-15', 15482, 1, '2018-07-15', 0, NULL, NULL, 0),
(15484, 598, '2017-09-01', 'Debit', 520.00, 0.00, 520.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 243, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15485, 599, '2017-09-01', 'Debit', 515.00, 0.00, 515.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 159, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15486, 600, '2017-09-01', 'Debit', 500.00, 0.00, 500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 501, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15487, 601, '2017-09-01', 'Debit', 500.00, 0.00, 500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 68, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15488, 602, '2017-09-01', 'Debit', 500.00, 0.00, 500.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 287, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15489, 603, '2017-09-01', 'Debit', 460.00, 0.00, 460.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 485, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15490, 604, '2017-09-01', 'Debit', 415.00, 0.00, 415.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 494, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15491, 605, '2017-09-01', 'Debit', 385.00, 0.00, 385.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 266, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15492, 606, '2017-09-01', 'Debit', 372.00, 0.00, 372.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 521, 13, '2018-07-15', NULL, 1, '2018-07-15', 1, 13, '2018-07-16', 0),
(15493, 13501, '2018-07-17', 'Debit', 133.34, 0.00, 140.01, 6.67, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 16 - 17 ) Jul-2018 JR GHAZALA', '18588', 354, 5, '2018-07-15', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15494, 1194, '2018-07-15', 'Credit', 140.01, 0.00, 140.01, 0.00, 2, 0, 'payment', 'span', '', '', NULL, 354, 5, '2018-07-15', NULL, 1, '2018-08-09', 0, NULL, NULL, 0),
(15495, 13502, '2018-07-15', 'Debit', 75.00, 0.00, 78.75, 3.75, 2, 0, 'invoice', NULL, NULL, 'Care Of Ali', '18589', 160, 5, '2018-07-15', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15496, 1195, '2018-07-15', 'Credit', 78.75, 0.00, 78.75, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #13502', NULL, 160, 5, '2018-07-15', 15495, 1, '2018-08-09', 0, NULL, NULL, 0),
(15497, 607, '2017-09-01', 'Debit', 305.00, 0.00, 305.00, 0.00, 2, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 523, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15498, 608, '2018-07-15', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'charge', NULL, NULL, 'Dr. Deigo Check Horse Outside', NULL, 160, 5, '2018-07-15', NULL, 1, '2018-08-19', 0, NULL, NULL, 0),
(15499, 1196, '2018-07-15', 'Credit', 157.50, 0.00, 157.50, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #00608', NULL, 160, 5, '2018-07-15', 15498, 1, '2018-08-09', 0, NULL, NULL, 0),
(15500, 609, '2017-09-01', 'Debit', 265.00, 0.00, 265.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 566, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15501, 610, '2017-09-01', 'Debit', 240.00, 0.00, 240.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 283, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15502, 611, '2017-09-01', 'Debit', 235.00, 0.00, 235.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 100, 13, '2018-07-15', NULL, 1, '2018-07-15', 0, NULL, NULL, 0),
(15503, 13503, '2018-05-29', 'Debit', 0.00, 0.00, 0.00, 0.00, 2, 0, 'invoice', NULL, NULL, 'Re Enter to MILAD ( 29-May-2018 ) NAYFAH AL ASAYEL', '18590', 553, 5, '2018-07-15', NULL, 1, '2018-08-16', 0, NULL, NULL, 0),
(15504, 13504, '2018-07-01', 'Debit', 200.01, 0.00, 210.01, 10.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 29 - 31 ) May-2018 NAYFAH AL ASAYEL', '18591', 553, 5, '2018-07-15', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15505, 13505, '2018-07-01', 'Debit', 2000.00, 0.00, 2100.00, 100.00, 2, 0, 'invoice', NULL, NULL, 'Boarding ( Jun-2018 ) NAYFAH AL ASAYEL', '18592', 553, 5, '2018-07-15', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15506, 13506, '2018-07-16', 'Debit', 1066.72, 0.00, 1120.06, 53.34, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 16 ) Jul-2018  NAYFAH AL ASAYEL', '18593', 553, 5, '2018-07-15', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15507, 612, '2017-12-31', 'Debit', 4485.00, 0.00, 4485.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Beginning Balance ( Wise Optinon )  ', NULL, 553, 5, '2018-07-15', NULL, 0, '0000-00-00', 1, 13, '2018-07-16', 0),
(15508, 13507, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 7-Jun-2018 )', '18594', 553, 5, '2018-07-15', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15509, 13508, '2018-07-01', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, '2nd Try ( 28-Jun-2018 )', '18595', 553, 5, '2018-07-15', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15510, 13509, '2018-07-01', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'Embryo Trans. ( GHAZALAT AL MOHAMADIA ) 6-Apr-2018', '18596', 327, 5, '2018-07-15', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15511, 613, '2017-09-01', 'Debit', 205.00, 0.00, 205.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 350, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15512, 614, '2017-09-01', 'Debit', 205.00, 0.00, 205.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 387, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15513, 615, '2017-09-01', 'Debit', 155.00, 0.00, 155.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 568, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15514, 616, '2017-09-01', 'Debit', 155.00, 0.00, 155.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 352, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15515, 617, '2017-12-31', 'Debit', 133.32, 0.00, 133.32, 0.00, 2, 1, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 530, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15516, 618, '2017-09-01', 'Debit', 9061.62, 0.00, 9061.62, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 122, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15517, 619, '2017-09-15', 'Debit', 2000.00, 0.00, 2000.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 122, 13, '2018-07-16', 15516, 1, '2018-07-16', 0, NULL, NULL, 0),
(15518, 1197, '2018-01-09', 'Credit', 11000.00, 0.00, 11000.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment (wise option)', NULL, 122, 13, '2018-07-16', NULL, 1, '2018-08-13', 0, NULL, NULL, 0),
(15519, 620, '2017-09-01', 'Debit', 460.00, 0.00, 460.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 258, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15520, 621, '2017-12-31', 'Debit', 1000.00, 0.00, 1000.00, 0.00, 2, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 258, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15521, 622, '2017-12-31', 'Debit', 23606.00, 0.00, 23606.00, 0.00, 1, 0, 'charge', NULL, NULL, 'Forwarded balance as of December 31, 2017', NULL, 258, 13, '2018-07-16', 15520, 1, '2018-07-16', 0, NULL, NULL, 0),
(15522, 1198, '2017-12-18', 'Credit', 12665.00, 0.00, 12665.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment (wise option)', NULL, 258, 13, '2018-07-16', 15521, 1, '2018-08-13', 0, NULL, NULL, 0),
(15523, 1199, '2018-01-29', 'Credit', 12400.00, 0.00, 12400.00, 0.00, 3, 0, 'payment', 'transfer', '', 'Payment (wise option)', NULL, 258, 13, '2018-07-16', 15522, 1, '2018-08-13', 0, NULL, NULL, 0),
(15524, 623, '2017-09-01', 'Debit', 475.00, 0.00, 475.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 399, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15525, 1200, '2017-12-31', 'Credit', 475.00, 0.00, 475.00, 0.00, 3, 0, 'payment', 'cash', '', 'Payment', NULL, 399, 13, '2018-07-16', 15524, 1, '2018-08-13', 0, NULL, NULL, 0),
(15526, 13510, '2018-07-16', 'Debit', 500.00, 0.00, 525.00, 25.00, 2, 0, 'invoice', NULL, NULL, 'Transport Horse from KHALEDIYAH to TADAWI', '18597', 160, 5, '2018-07-16', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15527, 1201, '2018-07-16', 'Credit', 525.00, 0.00, 525.00, 0.00, 2, 0, 'payment', 'cash', '', 'Reference Invoice #13510', NULL, 160, 5, '2018-07-16', 15526, 1, '2018-08-09', 0, NULL, NULL, 0),
(15528, 624, '2017-09-01', 'Debit', 760.00, 0.00, 760.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 270, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15529, 1202, '2017-12-31', 'Credit', 760.00, 0.00, 760.00, 0.00, 3, 0, 'payment', 'cash', '', 'Payment ', NULL, 270, 13, '2018-07-16', 15528, 1, '2018-08-13', 0, NULL, NULL, 0),
(15530, 625, '2017-09-01', 'Debit', 6837.00, 0.00, 6837.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 473, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15531, 1203, '2017-12-31', 'Credit', 6837.00, 0.00, 6837.00, 0.00, 3, 0, 'payment', 'cash', '', 'Payment', NULL, 473, 13, '2018-07-16', 15530, 1, '2018-08-13', 0, NULL, NULL, 0),
(15532, 626, '2017-09-01', 'Debit', 655.00, 0.00, 655.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 443, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15533, 1204, '2017-12-31', 'Credit', 655.00, 0.00, 655.00, 0.00, 3, 0, 'payment', 'cash', '', 'Payment', NULL, 443, 13, '2018-07-16', 15532, 1, '2018-08-13', 0, NULL, NULL, 0),
(15534, 627, '2017-09-01', 'Debit', 30903.44, 0.00, 30903.44, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 443, 13, '2018-07-16', 15533, 0, '0000-00-00', 1, 13, '2018-07-16', 0),
(15535, 628, '2017-09-01', 'Debit', 30903.44, 0.00, 30903.44, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 502, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15536, 1205, '2017-12-31', 'Credit', 30903.44, 0.00, 30903.44, 0.00, 3, 0, 'payment', 'cash', '', 'Payment', NULL, 502, 13, '2018-07-16', 15535, 1, '2018-08-13', 0, NULL, NULL, 0),
(15537, 629, '2017-09-01', 'Debit', 3038.28, 0.00, 3038.28, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 249, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15538, 1206, '2017-12-31', 'Credit', 3038.28, 0.00, 3038.28, 0.00, 3, 0, 'payment', 'cash', '', 'Payment', NULL, 249, 13, '2018-07-16', 15537, 1, '2018-08-13', 0, NULL, NULL, 0),
(15539, 630, '2017-09-01', 'Debit', 285.00, 0.00, 285.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 490, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15540, 1207, '2017-12-31', 'Credit', 285.00, 0.00, 285.00, 0.00, 3, 0, 'payment', 'cash', '', 'Payment', NULL, 490, 13, '2018-07-16', 15539, 1, '2018-08-13', 0, NULL, NULL, 0),
(15541, 631, '2017-09-01', 'Debit', 240.52, 0.00, 240.52, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 252, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15542, 1208, '2017-12-31', 'Credit', 240.52, 0.00, 240.52, 0.00, 3, 0, 'payment', 'cash', '', 'Payment', NULL, 252, 13, '2018-07-16', 15541, 1, '2018-08-13', 0, NULL, NULL, 0),
(15543, 632, '2017-09-01', 'Debit', 24065.00, 0.00, 24065.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 319, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15544, 1209, '2017-12-31', 'Credit', 27075.94, 0.00, 27075.94, 0.00, 3, 0, 'payment', 'cash', '', 'Payment', NULL, 319, 13, '2018-07-16', 15543, 1, '2018-08-13', 0, NULL, NULL, 0),
(15545, 633, '2017-09-01', 'Debit', 29319.84, 0.00, 29319.84, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 183, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15546, 1210, '2017-12-31', 'Credit', 29319.84, 0.00, 29319.84, 0.00, 3, 0, 'payment', 'cash', '', 'Payment', NULL, 183, 13, '2018-07-16', 15545, 1, '2018-08-13', 0, NULL, NULL, 0),
(15547, 634, '2017-09-01', 'Debit', 6173.40, 0.00, 6173.40, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 430, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15548, 1211, '2017-12-31', 'Credit', 6173.40, 0.00, 6173.40, 0.00, 3, 0, 'payment', 'cash', '', 'Payment', NULL, 430, 13, '2018-07-16', 15547, 1, '2018-08-13', 0, NULL, NULL, 0),
(15549, 635, '2017-09-01', 'Debit', 20633.21, 0.00, 20633.21, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 489, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15550, 1212, '2017-12-31', 'Credit', 20633.21, 0.00, 20633.21, 0.00, 3, 0, 'payment', 'cash', '', 'Payment', NULL, 489, 13, '2018-07-16', 15549, 1, '2018-08-13', 0, NULL, NULL, 0),
(15551, 636, '2017-09-01', 'Debit', 510.00, 0.00, 510.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 75, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15552, 1213, '2017-12-31', 'Credit', 510.00, 0.00, 510.00, 0.00, 3, 0, 'payment', 'cash', '', 'Payment', NULL, 75, 13, '2018-07-16', 15551, 1, '2018-08-13', 0, NULL, NULL, 0),
(15553, 637, '2017-09-01', 'Debit', 125.00, 0.00, 125.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 212, 13, '2018-07-16', NULL, 1, '2018-07-16', 1, 13, '2018-07-16', 0),
(15554, 1214, '2017-12-31', 'Credit', 125.00, 0.00, 125.00, 0.00, 3, 0, 'payment', 'cash', '', 'Payment', NULL, 212, 13, '2018-07-16', NULL, 0, '0000-00-00', 1, 13, '2018-07-16', 0),
(15555, 638, '2017-09-01', 'Debit', 2305.00, 0.00, 2305.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 129, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15556, 1215, '2017-12-31', 'Credit', 2305.00, 0.00, 2305.00, 0.00, 3, 0, 'payment', 'cash', '', 'Payment', NULL, 129, 13, '2018-07-16', 15555, 1, '2018-08-13', 0, NULL, NULL, 0),
(15557, 639, '2017-09-01', 'Debit', 415.00, 0.00, 415.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 212, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15558, 1216, '2017-12-31', 'Credit', 415.00, 0.00, 415.00, 0.00, 3, 0, 'payment', 'cash', '', 'Payment', NULL, 212, 13, '2018-07-16', 15557, 1, '2018-08-13', 0, NULL, NULL, 0),
(15559, 1217, '2018-07-16', 'Credit', 5800.00, 0.00, 5800.00, 0.00, 2, 0, 'payment', 'cash', '', '', NULL, 563, 5, '2018-07-16', NULL, 1, '2018-08-09', 0, NULL, NULL, 0),
(15560, 13511, '2018-07-16', 'Debit', 150.00, 0.00, 157.50, 7.50, 2, 0, 'invoice', NULL, NULL, '2 Mares\r\nOwner: Faisal Al Ogairy', '18598', 160, 5, '2018-07-16', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15561, 13512, '2018-07-31', 'Debit', 1267.00, 0.00, 1330.35, 63.35, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 19 ) Jul-2018  CRISTAL', '18599', 470, 5, '2018-07-16', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15562, 1218, '2018-07-16', 'Credit', 157.50, 0.00, 157.50, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #13511', NULL, 160, 5, '2018-07-16', 15560, 1, '2018-08-10', 0, NULL, NULL, 0),
(15563, 13513, '2018-07-16', 'Debit', 8000.00, 0.00, 8400.00, 400.00, 2, 0, 'invoice', NULL, NULL, 'Owner: Abdul Rahman Al Loqmani', '18600', 160, 5, '2018-07-16', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15564, 1219, '2018-07-16', 'Credit', 8400.00, 0.00, 8400.00, 0.00, 2, 0, 'payment', 'span', '', 'Reference Invoice #13513', NULL, 160, 5, '2018-07-16', 15563, 1, '2018-08-10', 0, NULL, NULL, 0),
(15565, 640, '2017-09-01', 'Debit', 770.00, 0.00, 770.00, 0.00, 3, 1, 'charge', NULL, NULL, 'Beginning balance', NULL, 477, 13, '2018-07-16', NULL, 1, '2018-07-16', 0, NULL, NULL, 0),
(15566, 1220, '2017-12-31', 'Credit', 770.00, 0.00, 770.00, 0.00, 3, 0, 'payment', 'cash', '', 'Payment', NULL, 477, 13, '2018-07-16', NULL, 1, '2018-08-13', 0, NULL, NULL, 0),
(15567, 1221, '2018-07-16', 'Credit', 21588.00, 0.00, 21588.00, 0.00, 2, 0, 'payment', 'transfer', '', '', NULL, 448, 5, '2018-07-16', NULL, 1, '2018-08-09', 0, NULL, NULL, 0),
(15568, 13514, '2018-07-31', 'Debit', 1267.00, 0.00, 1330.35, 63.35, 2, 0, 'invoice', NULL, NULL, 'Boarding ( 1 - 19 ) Jul-2018  MAHEEBAT AL JANADRIYAH', '18601', 470, 5, '2018-07-16', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15569, 13515, '2018-07-01', 'Debit', 10000.00, 0.00, 10500.00, 500.00, 2, 0, 'invoice', NULL, NULL, 'Embryo Trans. ( CRISTAL )', '18602', 470, 5, '2018-07-16', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15570, 13516, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17073 System Generated Invoice', '', 470, 5, '2018-07-16', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15571, 13517, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17074 System Generated Invoice', '', 470, 5, '2018-07-16', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15572, 13518, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17075 System Generated Invoice', '', 470, 5, '2018-07-16', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15573, 13519, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17076 System Generated Invoice', '', 470, 5, '2018-07-16', NULL, 1, '2018-08-18', 0, NULL, NULL, 0),
(15574, 13520, '2018-07-01', 'Debit', 120.00, 0.00, 126.00, 6.00, 2, 0, 'invoice', NULL, NULL, 'Checkup Reference #17077 System Generated Invoice', '', 470, 5, '2018-07-16', NULL, 1, '2018-08-18', 0, NULL, NULL, 0);
