INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10890,7146,10890,10874,NULL,0,NULL,'2023-04-26 19:11:57','2023-04-26 19:11:57',NULL),(10891,7146,10891,10875,NULL,0,NULL,'2023-04-26 19:11:57','2023-04-26 19:11:57',NULL),(10892,7146,10892,10876,NULL,0,NULL,'2023-04-26 19:11:57','2023-04-26 19:11:57',NULL),(10893,7146,10893,10877,NULL,0,NULL,'2023-04-26 19:11:57','2023-04-26 19:11:57',NULL),(10894,7146,10894,10878,NULL,0,NULL,'2023-04-26 19:11:57','2023-04-26 19:11:57',NULL),(10895,7146,10895,10879,NULL,0,NULL,'2023-04-26 19:11:57','2023-04-26 19:11:57',NULL),(10896,7146,10896,10880,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10897,7146,10897,10881,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10898,7146,10898,10882,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10899,7146,10899,10883,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10900,7146,10900,10884,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10901,7146,10901,10885,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10902,7146,10902,10886,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10903,7146,10903,10887,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10904,7146,10904,10888,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10905,7146,10905,10889,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10906,7146,10906,10890,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10907,7146,10907,10891,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10908,7146,10908,10892,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10909,7146,10909,10893,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10910,7146,10910,10894,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10911,7146,10911,10895,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10912,7146,10912,10896,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10913,7146,10913,10897,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10914,7146,10914,10898,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10915,7146,10915,10899,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10916,7146,10916,10900,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10917,7146,10917,10901,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10918,7146,10918,10902,NULL,0,NULL,'2023-04-26 19:11:58','2023-04-26 19:11:58',NULL),(10919,7146,10919,10903,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10920,7146,10920,10904,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10921,7146,10921,10905,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10922,7146,10922,10906,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10923,7146,10923,10907,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10924,7146,10924,10908,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10925,7146,10925,10909,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10926,7146,10926,10910,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10927,7146,10927,10911,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10928,7146,10928,10912,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10929,7146,10929,10913,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10930,7146,10930,10914,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10931,7146,10931,10915,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10932,7146,10932,10916,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10933,7146,10933,10917,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10934,7146,10934,10918,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10935,7146,10935,10919,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10936,7146,10936,10920,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10937,7146,10937,10921,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10938,7146,10938,10922,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10939,7146,10939,10923,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10940,7146,10940,10924,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10941,7146,10941,10925,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10942,7146,10942,10926,NULL,0,NULL,'2023-04-26 19:11:59','2023-04-26 19:11:59',NULL),(10943,7146,10943,10927,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10944,7146,10944,10928,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10945,7146,10945,10929,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10946,7146,10946,10930,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10947,7146,10947,10931,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10948,7146,10948,10932,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10949,7146,10949,10933,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10950,7146,10950,10934,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10951,7146,10951,10935,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10952,7146,10952,10936,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10953,7146,10953,10937,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10954,7146,10954,10938,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10955,7146,10955,10939,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10956,7146,10956,10940,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10957,7146,10957,10941,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10958,7146,10958,10942,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10959,7146,10959,10943,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10960,7146,10960,10944,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10961,7146,10961,10945,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10962,7146,10962,10946,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10963,7146,10963,10947,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10964,7146,10964,10948,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10965,7146,10965,10949,NULL,0,NULL,'2023-04-26 19:12:00','2023-04-26 19:12:00',NULL),(10966,7146,10966,10950,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10967,7146,10967,10951,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10968,7146,10968,10952,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10969,7146,10969,10953,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10970,7146,10970,10954,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10971,7146,10971,10955,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10972,7146,10972,10956,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10973,7146,10973,10957,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10974,7146,10974,10958,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10975,7146,10975,10959,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10976,7146,10976,10960,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10977,7146,10977,10961,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10978,7146,10978,10962,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10979,7146,10979,10963,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10980,7146,10980,10964,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10981,7146,10981,10965,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10982,7146,10982,10966,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10983,7146,10983,10967,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10984,7146,10984,10968,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10985,7146,10985,10969,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10986,7146,10986,10970,NULL,0,NULL,'2023-04-26 19:12:01','2023-04-26 19:12:01',NULL),(10987,7146,10987,10971,NULL,0,NULL,'2023-04-26 19:12:02','2023-04-26 19:12:02',NULL),(10988,7146,10988,10972,NULL,0,NULL,'2023-04-26 19:12:02','2023-04-26 19:12:02',NULL),(10989,7146,10989,10973,NULL,0,NULL,'2023-04-26 19:12:02','2023-04-26 19:12:02',NULL),(10990,7146,10990,10974,NULL,0,NULL,'2023-04-26 19:12:02','2023-04-26 19:12:02',NULL),(10991,7146,10991,10975,NULL,0,NULL,'2023-04-26 19:12:02','2023-04-26 19:12:02',NULL),(10992,7146,10992,10976,NULL,0,NULL,'2023-04-26 19:12:02','2023-04-26 19:12:02',NULL),(10993,7146,10993,10977,NULL,0,NULL,'2023-04-26 19:12:02','2023-04-26 19:12:02',NULL),(10994,7146,10994,10978,NULL,0,NULL,'2023-04-26 19:12:02','2023-04-26 19:12:02',NULL),(10995,7146,10995,10979,NULL,0,NULL,'2023-04-26 19:12:02','2023-04-26 19:12:02',NULL),(10996,7146,10996,10980,NULL,0,NULL,'2023-04-26 19:12:02','2023-04-26 19:12:02',NULL),(10997,7146,10997,10981,NULL,0,NULL,'2023-04-26 19:12:02','2023-04-26 19:12:02',NULL),(10998,7146,10998,10982,NULL,0,NULL,'2023-04-26 19:12:02','2023-04-26 19:12:02',NULL),(10999,7146,10999,10983,NULL,0,NULL,'2023-04-26 19:12:02','2023-04-26 19:12:02',NULL),(11000,7146,11000,10984,NULL,0,NULL,'2023-04-26 19:12:02','2023-04-26 19:12:02',NULL),(11001,7146,11001,10985,NULL,0,NULL,'2023-04-26 19:12:02','2023-04-26 19:12:02',NULL),(11002,7146,11002,10986,NULL,0,NULL,'2023-04-26 19:12:02','2023-04-26 19:12:02',NULL),(11003,7146,11003,10987,NULL,0,NULL,'2023-04-26 19:12:24','2023-04-26 19:12:24',NULL),(11004,7146,11004,10988,NULL,0,NULL,'2023-04-26 19:12:24','2023-04-26 19:12:24',NULL),(11005,7146,11005,10989,NULL,0,NULL,'2023-04-26 19:12:24','2023-04-26 19:12:24',NULL),(11006,7146,11006,10990,NULL,0,NULL,'2023-04-26 19:12:24','2023-04-26 19:12:24',NULL),(11007,7146,11007,10991,NULL,0,NULL,'2023-04-26 19:12:24','2023-04-26 19:12:24',NULL),(11008,7146,11008,10992,NULL,0,NULL,'2023-04-26 19:12:24','2023-04-26 19:12:24',NULL),(11009,7146,11009,10993,NULL,0,NULL,'2023-04-26 19:12:24','2023-04-26 19:12:24',NULL),(11010,7146,11010,10994,NULL,0,NULL,'2023-04-26 19:12:24','2023-04-26 19:12:24',NULL),(11011,7146,11011,10995,NULL,0,NULL,'2023-04-26 19:12:24','2023-04-26 19:12:24',NULL),(11012,7146,11012,10996,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11013,7146,11013,10997,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11014,7146,11014,10998,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11015,7146,11015,10999,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11016,7146,11016,11000,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11017,7146,11017,11001,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11018,7146,11018,11002,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11019,7146,11019,11003,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11020,7146,11020,11004,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11021,7146,11021,11005,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11022,7146,11022,11006,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11023,7146,11023,11007,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11024,7146,11024,11008,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11025,7146,11025,11009,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11026,7146,11026,11010,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11027,7146,11027,11011,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11028,7146,11028,11012,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11029,7146,11029,11013,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11030,7146,11030,11014,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11031,7146,11031,11015,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11032,7146,11032,11016,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11033,7146,11033,11017,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11034,7146,11034,11018,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11035,7146,11035,11019,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11036,7146,11036,11020,NULL,0,NULL,'2023-04-26 19:12:25','2023-04-26 19:12:25',NULL),(11037,7146,11037,11021,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11038,7146,11038,11022,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11039,7146,11039,11023,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11040,7146,11040,11024,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11041,7146,11041,11025,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11042,7146,11042,11026,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11043,7146,11043,11027,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11044,7146,11044,11028,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11045,7146,11045,11029,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11046,7146,11046,11030,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11047,7146,11047,11031,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11048,7146,11048,11032,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11049,7146,11049,11033,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11050,7146,11050,11034,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11051,7146,11051,11035,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11052,7146,11052,11036,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11053,7146,11053,11037,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11054,7146,11054,11038,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11055,7146,11055,11039,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11056,7146,11056,11040,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11057,7146,11057,11041,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11058,7146,11058,11042,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11059,7146,11059,11043,NULL,0,NULL,'2023-04-26 19:12:26','2023-04-26 19:12:26',NULL),(11060,7146,11060,11044,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11061,7146,11061,11045,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11062,7146,11062,11046,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11063,7146,11063,11047,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11064,7146,11064,11048,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11065,7146,11065,11049,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11066,7146,11066,11050,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11067,7146,11067,11051,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11068,7146,11068,11052,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11069,7146,11069,11053,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11070,7146,11070,11054,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11071,7146,11071,11055,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11072,7146,11072,11056,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11073,7146,11073,11057,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11074,7146,11074,11058,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11075,7146,11075,11059,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11076,7146,11076,11060,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11077,7146,11077,11061,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11078,7146,11078,11062,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11079,7146,11079,11063,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11080,7146,11080,11064,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11081,7146,11081,11065,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11082,7146,11082,11066,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11083,7146,11083,11067,NULL,0,NULL,'2023-04-26 19:12:27','2023-04-26 19:12:27',NULL),(11084,7146,11084,11068,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11085,7146,11085,11069,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11086,7146,11086,11070,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11087,7146,11087,11071,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11088,7146,11088,11072,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11089,7146,11089,11073,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11090,7146,11090,11074,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11091,7146,11091,11075,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11092,7146,11092,11076,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11093,7146,11093,11077,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11094,7146,11094,11078,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11095,7146,11095,11079,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11096,7146,11096,11080,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11097,7146,11097,11081,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11098,7146,11098,11082,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11099,7146,11099,11083,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11100,7146,11100,11084,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11101,7146,11101,11085,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11102,7146,11102,11086,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11103,7146,11103,11087,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11104,7146,11104,11088,NULL,0,NULL,'2023-04-26 19:12:28','2023-04-26 19:12:28',NULL),(11105,7146,11105,11089,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11106,7146,11106,11090,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11107,7146,11107,11091,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11108,7146,11108,11092,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11109,7146,11109,11093,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11110,7146,11110,11094,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11111,7146,11111,11095,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11112,7146,11112,11096,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11113,7146,11113,11097,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11114,7146,11114,11098,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11115,7146,11115,11099,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11116,7146,11116,11100,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11117,7146,11117,11101,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11118,7146,11118,11102,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11119,7146,11119,11103,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11120,7146,11120,11104,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11121,7146,11121,11105,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11122,7146,11122,11106,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11123,7146,11123,11107,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11124,7146,11124,11108,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11125,7146,11125,11109,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11126,7146,11126,11110,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11127,7146,11127,11111,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11128,7146,11128,11112,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11129,7146,11129,11113,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11130,7146,11130,11114,NULL,0,NULL,'2023-04-26 19:12:29','2023-04-26 19:12:29',NULL),(11131,7146,11131,11115,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11132,7146,11132,11116,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11133,7146,11133,11117,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11134,7146,11134,11118,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11135,7146,11135,11119,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11136,7146,11136,11120,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11137,7146,11137,11121,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11138,7146,11138,11122,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11139,7146,11139,11123,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11140,7146,11140,11124,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11141,7146,11141,11125,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11142,7146,11142,11126,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11143,7146,11143,11127,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11144,7146,11144,11128,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11145,7146,11145,11129,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11146,7146,11146,11130,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11147,7146,11147,11131,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11148,7146,11148,11132,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11149,7146,11149,11133,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11150,7146,11150,11134,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11151,7146,11151,11135,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11152,7146,11152,11136,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11153,7146,11153,11137,NULL,0,NULL,'2023-04-26 19:12:30','2023-04-26 19:12:30',NULL),(11154,7146,11154,11138,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11155,7146,11155,11139,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11156,7146,11156,11140,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11157,7146,11157,11141,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11158,7146,11158,11142,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11159,7146,11159,11143,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11160,7146,11160,11144,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11161,7146,11161,11145,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11162,7146,11162,11146,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11163,7146,11163,11147,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11164,7146,11164,11148,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11165,7146,11165,11149,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11166,7146,11166,11150,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11167,7146,11167,11151,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11168,7146,11168,11152,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11169,7146,11169,11153,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11170,7146,11170,11154,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11171,7146,11171,11155,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11172,7146,11172,11156,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11173,7146,11173,11157,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11174,7146,11174,11158,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11175,7146,11175,11159,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11176,7146,11176,11160,NULL,0,NULL,'2023-04-26 19:12:31','2023-04-26 19:12:31',NULL),(11177,7146,11177,11161,NULL,0,NULL,'2023-04-26 19:12:32','2023-04-26 19:12:32',NULL),(11178,7146,11178,11162,NULL,0,NULL,'2023-04-26 19:12:32','2023-04-26 19:12:32',NULL),(11179,7146,11179,11163,NULL,0,NULL,'2023-04-26 19:12:32','2023-04-26 19:12:32',NULL),(11180,7146,11180,11164,NULL,0,NULL,'2023-04-26 19:12:32','2023-04-26 19:12:32',NULL),(11181,7146,11181,11165,NULL,0,NULL,'2023-04-26 19:12:32','2023-04-26 19:12:32',NULL),(11182,7146,11182,11166,NULL,0,NULL,'2023-04-26 19:12:32','2023-04-26 19:12:32',NULL),(11183,7146,11183,11167,NULL,0,NULL,'2023-04-26 19:12:32','2023-04-26 19:12:32',NULL),(11184,7146,11184,11168,NULL,0,NULL,'2023-04-26 19:12:32','2023-04-26 19:12:32',NULL),(11185,7146,11185,11169,NULL,0,NULL,'2023-04-26 19:12:32','2023-04-26 19:12:32',NULL),(11186,7146,11186,11170,NULL,0,NULL,'2023-04-26 19:12:32','2023-04-26 19:12:32',NULL),(11187,7146,11187,11171,NULL,0,NULL,'2023-04-26 19:12:32','2023-04-26 19:12:32',NULL),(11188,7146,11188,11172,NULL,0,NULL,'2023-04-26 19:12:32','2023-04-26 19:12:32',NULL),(11189,7146,11189,11173,NULL,0,NULL,'2023-04-26 19:12:32','2023-04-26 19:12:32',NULL),(11190,7146,11190,11174,NULL,0,NULL,'2023-04-26 19:12:32','2023-04-26 19:12:32',NULL),(11191,7146,11191,11175,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11192,7146,11192,11176,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11193,7146,11193,11177,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11194,7146,11194,11178,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11195,7146,11195,11179,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11196,7146,11196,11180,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11197,7146,11197,11181,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11198,7146,11198,11182,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11199,7146,11199,11183,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11200,7146,11200,11184,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11201,7146,11201,11185,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11202,7146,11202,11186,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11203,7146,11203,11187,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11204,7146,11204,11188,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11205,7146,11205,11189,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11206,7146,11206,11190,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11207,7146,11207,11191,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11208,7146,11208,11192,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11209,7146,11209,11193,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11210,7146,11210,11194,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11211,7146,11211,11195,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11212,7146,11212,11196,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11213,7146,11213,11197,NULL,0,NULL,'2023-04-26 19:12:33','2023-04-26 19:12:33',NULL),(11214,7146,11214,11198,NULL,0,NULL,'2023-04-26 19:12:34','2023-04-26 19:12:34',NULL),(11215,7146,11215,11199,NULL,0,NULL,'2023-04-26 19:12:34','2023-04-26 19:12:34',NULL),(11216,7146,11216,11200,NULL,0,NULL,'2023-04-26 19:12:34','2023-04-26 19:12:34',NULL),(11217,7146,11217,11201,NULL,0,NULL,'2023-04-26 19:12:34','2023-04-26 19:12:34',NULL),(11218,7146,11218,11202,NULL,0,NULL,'2023-04-26 19:12:34','2023-04-26 19:12:34',NULL),(11219,7146,11219,11203,NULL,0,NULL,'2023-04-26 19:12:34','2023-04-26 19:12:34',NULL),(11220,7146,11220,11204,NULL,0,NULL,'2023-04-26 19:12:56','2023-04-26 19:12:56',NULL),(11221,7146,11221,11205,NULL,0,NULL,'2023-04-26 19:12:56','2023-04-26 19:12:56',NULL),(11222,7146,11222,11206,NULL,0,NULL,'2023-04-26 19:12:56','2023-04-26 19:12:56',NULL),(11223,7146,11223,11207,NULL,0,NULL,'2023-04-26 19:12:56','2023-04-26 19:12:56',NULL),(11224,7146,11224,11208,NULL,0,NULL,'2023-04-26 19:12:56','2023-04-26 19:12:56',NULL),(11225,7146,11225,11209,NULL,0,NULL,'2023-04-26 19:12:56','2023-04-26 19:12:56',NULL),(11226,7146,11226,11210,NULL,0,NULL,'2023-04-26 19:12:56','2023-04-26 19:12:56',NULL),(11227,7146,11227,11211,NULL,0,NULL,'2023-04-26 19:12:56','2023-04-26 19:12:56',NULL),(11228,7146,11228,11212,NULL,0,NULL,'2023-04-26 19:12:56','2023-04-26 19:12:56',NULL),(11229,7146,11229,11213,NULL,0,NULL,'2023-04-26 19:12:56','2023-04-26 19:12:56',NULL),(11230,7146,11230,11214,NULL,0,NULL,'2023-04-26 19:12:57','2023-04-26 19:12:57',NULL),(11231,7146,11231,11215,NULL,0,NULL,'2023-04-26 19:12:57','2023-04-26 19:12:57',NULL),(11232,7146,11232,11216,NULL,0,NULL,'2023-04-26 19:12:57','2023-04-26 19:12:57',NULL),(11233,7146,11233,11217,NULL,0,NULL,'2023-04-26 19:12:57','2023-04-26 19:12:57',NULL),(11234,7146,11234,11218,NULL,0,NULL,'2023-04-26 19:12:57','2023-04-26 19:12:57',NULL),(11235,7146,11235,11219,NULL,0,NULL,'2023-04-26 19:12:57','2023-04-26 19:12:57',NULL),(11236,7146,11236,11220,NULL,0,NULL,'2023-04-26 19:12:57','2023-04-26 19:12:57',NULL),(11237,7146,11237,11221,NULL,0,NULL,'2023-04-26 19:12:57','2023-04-26 19:12:57',NULL),(11238,7146,11238,11222,NULL,0,NULL,'2023-04-26 19:12:57','2023-04-26 19:12:57',NULL),(11239,7146,11239,11223,NULL,0,NULL,'2023-04-26 19:12:57','2023-04-26 19:12:57',NULL),(11240,7146,11240,11224,NULL,0,NULL,'2023-04-26 19:12:57','2023-04-26 19:12:57',NULL),(11241,7146,11241,11225,NULL,0,NULL,'2023-04-26 19:12:57','2023-04-26 19:12:57',NULL),(11242,7146,11242,11226,NULL,0,NULL,'2023-04-26 19:12:57','2023-04-26 19:12:57',NULL),(11243,7146,11243,11227,NULL,0,NULL,'2023-04-26 19:12:57','2023-04-26 19:12:57',NULL),(11244,7146,11244,11228,NULL,0,NULL,'2023-04-26 19:12:57','2023-04-26 19:12:57',NULL),(11245,7146,11245,11229,NULL,0,NULL,'2023-04-26 19:12:57','2023-04-26 19:12:57',NULL),(11246,7146,11246,11230,NULL,0,NULL,'2023-04-26 19:12:57','2023-04-26 19:12:57',NULL),(11247,7146,11247,11231,NULL,0,NULL,'2023-04-26 19:12:57','2023-04-26 19:12:57',NULL),(11248,7146,11248,11232,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11249,7146,11249,11233,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11250,7146,11250,11234,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11251,7146,11251,11235,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11252,7146,11252,11236,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11253,7146,11253,11237,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11254,7146,11254,11238,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11255,7146,11255,11239,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11256,7146,11256,11240,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11257,7146,11257,11241,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11258,7146,11258,11242,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11259,7146,11259,11243,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11260,7146,11260,11244,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11261,7146,11261,11245,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11262,7146,11262,11246,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11263,7146,11263,11247,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11264,7146,11264,11248,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11265,7146,11265,11249,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11266,7146,11266,11250,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11267,7146,11267,11251,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11268,7146,11268,11252,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11269,7146,11269,11253,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11270,7146,11270,11254,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11271,7146,11271,11255,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11272,7146,11272,11256,NULL,0,NULL,'2023-04-26 19:12:58','2023-04-26 19:12:58',NULL),(11273,7146,11273,11257,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11274,7146,11274,11258,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11275,7146,11275,11259,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11276,7146,11276,11260,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11277,7146,11277,11261,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11278,7146,11278,11262,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11279,7146,11279,11263,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11280,7146,11280,11264,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11281,7146,11281,11265,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11282,7146,11282,11266,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11283,7146,11283,11267,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11284,7146,11284,11268,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11285,7146,11285,11269,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11286,7146,11286,11270,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11287,7146,11287,11271,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11288,7146,11288,11272,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11289,7146,11289,11273,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11290,7146,11290,11274,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11291,7146,11291,11275,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11292,7146,11292,11276,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11293,7146,11293,11277,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11294,7146,11294,11278,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11295,7146,11295,11279,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11296,7146,11296,11280,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11297,7146,11297,11281,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11298,7146,11298,11282,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11299,7146,11299,11283,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11300,7146,11300,11284,NULL,0,NULL,'2023-04-26 19:12:59','2023-04-26 19:12:59',NULL),(11301,7146,11301,11285,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11302,7146,11302,11286,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11303,7146,11303,11287,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11304,7146,11304,11288,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11305,7146,11305,11289,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11306,7146,11306,11290,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11307,7146,11307,11291,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11308,7146,11308,11292,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11309,7146,11309,11293,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11310,7146,11310,11294,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11311,7146,11311,11295,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11312,7146,11312,11296,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11313,7146,11313,11297,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11314,7146,11314,11298,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11315,7146,11315,11299,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11316,7146,11316,11300,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11317,7146,11317,11301,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11318,7146,11318,11302,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11319,7146,11319,11303,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11320,7146,11320,11304,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11321,7146,11321,11305,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11322,7146,11322,11306,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11323,7146,11323,11307,NULL,0,NULL,'2023-04-26 19:13:00','2023-04-26 19:13:00',NULL),(11324,7146,11324,11308,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11325,7146,11325,11309,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11326,7146,11326,11310,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11327,7146,11327,11311,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11328,7146,11328,11312,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11329,7146,11329,11313,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11330,7146,11330,11314,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11331,7146,11331,11315,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11332,7146,11332,11316,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11333,7146,11333,11317,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11334,7146,11334,11318,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11335,7146,11335,11319,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11336,7146,11336,11320,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11337,7146,11337,11321,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11338,7146,11338,11322,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11339,7146,11339,11323,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11340,7146,11340,11324,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11341,7146,11341,11325,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11342,7146,11342,11326,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11343,7146,11343,11327,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11344,7146,11344,11328,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11345,7146,11345,11329,NULL,0,NULL,'2023-04-26 19:13:01','2023-04-26 19:13:01',NULL),(11346,7146,11346,11330,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11347,7146,11347,11331,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11348,7146,11348,11332,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11349,7146,11349,11333,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11350,7146,11350,11334,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11351,7146,11351,11335,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11352,7146,11352,11336,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11353,7146,11353,11337,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11354,7146,11354,11338,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11355,7146,11355,11339,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11356,7146,11356,11340,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11357,7146,11357,11341,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11358,7146,11358,11342,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11359,7146,11359,11343,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11360,7146,11360,11344,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11361,7146,11361,11345,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11362,7146,11362,11346,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11363,7146,11363,11347,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11364,7146,11364,11348,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11365,7146,11365,11349,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11366,7146,11366,11350,NULL,0,NULL,'2023-04-26 19:13:02','2023-04-26 19:13:02',NULL),(11367,7146,11367,11351,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11368,7146,11368,11352,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11369,7146,11369,11353,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11370,7146,11370,11354,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11371,7146,11371,11355,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11372,7146,11372,11356,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11373,7146,11373,11357,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11374,7146,11374,11358,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11375,7146,11375,11359,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11376,7146,11376,11360,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11377,7146,11377,11361,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11378,7146,11378,11362,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11379,7146,11379,11363,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11380,7146,11380,11364,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11381,7146,11381,11365,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11382,7146,11382,11366,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11383,7146,11383,11367,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11384,7146,11384,11368,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11385,7146,11385,11369,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11386,7146,11386,11370,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11387,7146,11387,11371,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11388,7146,11388,11372,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11389,7146,11389,11373,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11390,7146,11390,11374,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11391,7146,11391,11375,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11392,7146,11392,11376,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11393,7146,11393,11377,NULL,0,NULL,'2023-04-26 19:13:25','2023-04-26 19:13:25',NULL),(11394,7146,11394,11378,NULL,0,NULL,'2023-04-26 19:13:26','2023-04-26 19:13:26',NULL),(11395,7146,11395,11379,NULL,0,NULL,'2023-04-26 19:13:26','2023-04-26 19:13:26',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11396,7146,11396,11380,NULL,0,NULL,'2023-04-26 19:13:26','2023-04-26 19:13:26',NULL),(11397,7146,11397,11381,NULL,0,NULL,'2023-04-26 19:13:26','2023-04-26 19:13:26',NULL),(11398,7146,11398,11382,NULL,0,NULL,'2023-04-26 19:13:26','2023-04-26 19:13:26',NULL),(11399,7146,11399,11383,NULL,0,NULL,'2023-04-26 19:13:26','2023-04-26 19:13:26',NULL),(11400,7146,11400,11384,NULL,0,NULL,'2023-04-26 19:13:26','2023-04-26 19:13:26',NULL),(11401,7146,11401,11385,NULL,0,NULL,'2023-04-26 19:13:26','2023-04-26 19:13:26',NULL),(11402,7146,11402,11386,NULL,0,NULL,'2023-04-26 19:13:26','2023-04-26 19:13:26',NULL),(11403,7146,11403,11387,NULL,0,NULL,'2023-04-26 19:13:26','2023-04-26 19:13:26',NULL),(11404,7146,11404,11388,NULL,0,NULL,'2023-04-26 19:13:26','2023-04-26 19:13:26',NULL),(11405,7146,11405,11389,NULL,0,NULL,'2023-04-26 19:13:26','2023-04-26 19:13:26',NULL),(11406,7146,11406,11390,NULL,0,NULL,'2023-04-26 19:13:26','2023-04-26 19:13:26',NULL),(11407,7146,11407,11391,NULL,0,NULL,'2023-04-26 19:13:26','2023-04-26 19:13:26',NULL),(11408,7146,11408,11392,NULL,0,NULL,'2023-04-26 19:13:26','2023-04-26 19:13:26',NULL),(11409,7146,11409,11393,NULL,0,NULL,'2023-04-26 19:13:26','2023-04-26 19:13:26',NULL),(11410,7146,11410,11394,NULL,0,NULL,'2023-04-26 19:13:26','2023-04-26 19:13:26',NULL),(11411,7146,11411,11395,NULL,0,NULL,'2023-04-26 19:13:26','2023-04-26 19:13:26',NULL),(11412,7146,11412,11396,NULL,0,NULL,'2023-05-06 17:10:01','2023-05-06 17:10:01',NULL),(11413,7146,11413,11397,NULL,0,NULL,'2023-05-06 18:02:22','2023-05-06 18:02:22',NULL),(11414,7146,11414,11398,NULL,0,NULL,'2023-05-06 18:11:49','2023-05-06 18:11:49',NULL),(11415,7146,11415,11399,NULL,0,NULL,'2023-05-06 18:24:19','2023-05-06 18:24:19',NULL),(11416,7146,11416,11400,NULL,0,NULL,'2023-05-06 18:36:31','2023-05-06 18:36:31',NULL),(11417,7146,11417,11401,NULL,0,NULL,'2023-05-06 18:43:18','2023-05-06 18:43:18',NULL),(11418,7146,11418,11402,NULL,0,NULL,'2023-05-06 18:46:31','2023-05-06 18:46:31',NULL),(11419,7146,11419,11403,NULL,0,NULL,'2023-05-06 18:52:29','2023-05-06 18:52:29',NULL),(11420,7146,11420,11404,NULL,0,NULL,'2023-05-06 18:55:16','2023-05-06 18:55:16',NULL),(11421,7146,11421,11405,NULL,0,NULL,'2023-05-06 18:57:20','2023-05-06 18:57:20',NULL),(11422,7146,11422,11406,NULL,0,NULL,'2023-05-06 19:05:14','2023-05-06 19:05:14',NULL),(11423,7146,11423,11408,NULL,0,NULL,'2023-05-08 16:11:11','2023-05-08 16:11:11',NULL),(11424,7146,11424,11409,NULL,0,NULL,'2023-05-17 15:34:38','2023-05-17 15:34:38',NULL),(11425,7146,11425,11410,NULL,0,NULL,'2023-05-17 15:34:38','2023-05-17 15:34:38',NULL),(11426,7146,11426,11411,NULL,0,NULL,'2023-05-17 15:34:38','2023-05-17 15:34:38',NULL),(11427,7146,11427,11412,NULL,0,NULL,'2023-05-17 15:34:38','2023-05-17 15:34:38',NULL),(11428,7146,11428,11413,NULL,0,NULL,'2023-05-17 15:34:38','2023-05-17 15:34:38',NULL),(11429,7146,11429,11414,NULL,0,NULL,'2023-05-17 15:34:38','2023-05-17 15:34:38',NULL),(11430,7146,11430,11415,NULL,0,NULL,'2023-05-17 17:23:36','2023-05-17 17:23:36',NULL),(11431,7146,11431,11416,NULL,0,NULL,'2023-05-17 17:23:36','2023-05-17 17:23:36',NULL),(11432,7146,11432,11417,NULL,0,NULL,'2023-05-17 17:23:36','2023-05-17 17:23:36',NULL),(11433,7146,11433,11418,NULL,0,NULL,'2023-05-17 17:23:36','2023-05-17 17:23:36',NULL),(11434,7146,11434,11419,NULL,0,NULL,'2023-05-17 17:23:36','2023-05-17 17:23:36',NULL),(11435,7146,11435,11420,NULL,0,NULL,'2023-05-17 17:24:11','2023-05-17 17:24:11',NULL),(11436,7146,11436,11421,NULL,0,NULL,'2023-05-17 17:24:11','2023-05-17 17:24:11',NULL),(11437,7146,11437,11422,NULL,0,NULL,'2023-05-17 17:24:11','2023-05-17 17:24:11',NULL),(11438,7146,11438,11423,NULL,0,NULL,'2023-05-17 17:24:12','2023-05-17 17:24:12',NULL),(11439,7146,11439,11424,NULL,0,NULL,'2023-05-17 17:24:12','2023-05-17 17:24:12',NULL),(11440,7146,11440,11425,NULL,0,NULL,'2023-05-17 17:24:12','2023-05-17 17:24:12',NULL),(11441,7146,11441,11426,NULL,0,NULL,'2023-05-17 17:24:12','2023-05-17 17:24:12',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11442,7146,11442,11427,NULL,0,NULL,'2023-05-17 17:24:12','2023-05-17 17:24:12',NULL),(11443,7146,11443,11428,NULL,0,NULL,'2023-05-17 17:24:12','2023-05-17 17:24:12',NULL),(11444,7146,11444,11429,NULL,0,NULL,'2023-05-17 17:26:37','2023-05-17 17:26:37',NULL),(11445,7146,11445,11430,NULL,0,NULL,'2023-05-17 17:26:37','2023-05-17 17:26:37',NULL),(11446,7146,11446,11431,NULL,0,NULL,'2023-05-17 17:26:37','2023-05-17 17:26:37',NULL),(11447,7146,11447,11432,NULL,0,NULL,'2023-05-17 17:26:37','2023-05-17 17:26:37',NULL),(11448,7146,11448,11433,NULL,0,NULL,'2023-05-17 17:26:37','2023-05-17 17:26:37',NULL),(11449,7146,11449,11434,NULL,0,NULL,'2023-05-17 17:26:37','2023-05-17 17:26:37',NULL),(11450,7146,11450,11435,NULL,0,NULL,'2023-05-17 17:26:37','2023-05-17 17:26:37',NULL),(11451,7146,11451,11436,NULL,0,NULL,'2023-05-17 17:26:37','2023-05-17 17:26:37',NULL),(11452,7146,11452,11437,NULL,0,NULL,'2023-05-17 17:26:37','2023-05-17 17:26:37',NULL),(11453,7146,11453,11438,NULL,0,NULL,'2023-05-17 17:26:38','2023-05-17 17:26:38',NULL),(11454,7146,11454,11439,NULL,0,NULL,'2023-05-17 17:26:38','2023-05-17 17:26:38',NULL),(11455,7146,11455,11440,NULL,0,NULL,'2023-05-17 17:26:38','2023-05-17 17:26:38',NULL),(11456,7146,11456,11441,NULL,0,NULL,'2023-05-17 17:26:38','2023-05-17 17:26:38',NULL),(11457,7146,11457,11442,NULL,0,NULL,'2023-05-17 17:27:36','2023-05-17 17:27:36',NULL),(11458,7146,11458,11443,NULL,0,NULL,'2023-05-17 17:27:36','2023-05-17 17:27:36',NULL),(11459,7146,11459,11444,NULL,0,NULL,'2023-05-17 17:27:36','2023-05-17 17:27:36',NULL),(11460,7146,11460,11445,NULL,0,NULL,'2023-05-17 17:27:36','2023-05-17 17:27:36',NULL),(11461,7146,11461,11446,NULL,0,NULL,'2023-05-17 17:27:36','2023-05-17 17:27:36',NULL),(11462,7146,11462,11447,NULL,0,NULL,'2023-05-17 17:27:36','2023-05-17 17:27:36',NULL),(11463,7146,11463,11448,NULL,0,NULL,'2023-05-17 17:27:36','2023-05-17 17:27:36',NULL),(11464,7146,11464,11449,NULL,0,NULL,'2023-05-17 17:27:36','2023-05-17 17:27:36',NULL),(11465,7146,11465,11450,NULL,0,NULL,'2023-05-17 17:30:46','2023-05-17 17:30:46',NULL),(11466,7146,11466,11451,NULL,0,NULL,'2023-05-17 17:30:46','2023-05-17 17:30:46',NULL),(11467,7146,11467,11452,NULL,0,NULL,'2023-05-17 17:30:46','2023-05-17 17:30:46',NULL),(11468,7146,11468,11453,NULL,0,NULL,'2023-05-17 17:30:46','2023-05-17 17:30:46',NULL),(11469,7146,11469,11454,NULL,0,NULL,'2023-05-17 17:30:46','2023-05-17 17:30:46',NULL),(11470,7146,11470,11455,NULL,0,NULL,'2023-05-17 17:30:47','2023-05-17 17:30:47',NULL),(11471,7146,11471,11456,NULL,0,NULL,'2023-05-17 17:30:47','2023-05-17 17:30:47',NULL),(11472,7146,11472,11457,NULL,0,NULL,'2023-05-17 17:30:47','2023-05-17 17:30:47',NULL),(11473,7146,11473,11458,NULL,0,NULL,'2023-05-17 17:30:47','2023-05-17 17:30:47',NULL),(11474,7146,11474,11459,NULL,0,NULL,'2023-05-17 17:31:50','2023-05-17 17:31:50',NULL),(11475,7146,11475,11460,NULL,0,NULL,'2023-05-17 17:31:50','2023-05-17 17:31:50',NULL),(11476,7146,11476,11461,NULL,0,NULL,'2023-05-17 17:31:50','2023-05-17 17:31:50',NULL),(11477,7146,11477,11462,NULL,0,NULL,'2023-05-17 17:31:50','2023-05-17 17:31:50',NULL),(11478,7146,11478,11463,NULL,0,NULL,'2023-05-17 17:31:50','2023-05-17 17:31:50',NULL),(11479,7146,11479,11464,NULL,0,NULL,'2023-05-17 17:31:50','2023-05-17 17:31:50',NULL),(11480,7146,11480,11465,NULL,0,NULL,'2023-05-17 17:31:50','2023-05-17 17:31:50',NULL),(11481,7146,11481,11466,NULL,0,NULL,'2023-05-17 17:31:51','2023-05-17 17:31:51',NULL),(11482,7146,11482,11467,NULL,0,NULL,'2023-05-17 17:31:51','2023-05-17 17:31:51',NULL),(11483,7146,11483,11468,NULL,0,NULL,'2023-05-17 17:31:51','2023-05-17 17:31:51',NULL),(11484,7146,11484,11469,NULL,0,NULL,'2023-05-17 17:31:51','2023-05-17 17:31:51',NULL),(11485,7146,11485,11470,NULL,0,NULL,'2023-05-17 17:31:51','2023-05-17 17:31:51',NULL),(11486,7146,11486,11471,NULL,0,NULL,'2023-05-17 17:31:51','2023-05-17 17:31:51',NULL),(11487,7146,11487,11472,NULL,0,NULL,'2023-05-17 17:32:22','2023-05-17 17:32:22',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11488,7146,11488,11473,NULL,0,NULL,'2023-05-17 17:32:22','2023-05-17 17:32:22',NULL),(11489,7146,11489,11474,NULL,0,NULL,'2023-05-17 17:32:22','2023-05-17 17:32:22',NULL),(11490,7146,11490,11475,NULL,0,NULL,'2023-05-17 17:32:22','2023-05-17 17:32:22',NULL),(11491,7146,11491,11476,NULL,0,NULL,'2023-05-17 17:32:22','2023-05-17 17:32:22',NULL),(11492,7146,11492,11477,NULL,0,NULL,'2023-05-17 17:32:22','2023-05-17 17:32:22',NULL),(11493,7146,11493,11478,NULL,0,NULL,'2023-05-17 17:32:22','2023-05-17 17:32:22',NULL),(11494,7146,11494,11479,NULL,0,NULL,'2023-05-17 17:32:22','2023-05-17 17:32:22',NULL),(11495,7146,11495,11480,NULL,0,NULL,'2023-05-17 17:32:52','2023-05-17 17:32:52',NULL),(11496,7146,11496,11481,NULL,0,NULL,'2023-05-17 17:32:53','2023-05-17 17:32:53',NULL),(11497,7146,11497,11482,NULL,0,NULL,'2023-05-17 17:32:53','2023-05-17 17:32:53',NULL),(11498,7146,11498,11483,NULL,0,NULL,'2023-05-17 17:32:53','2023-05-17 17:32:53',NULL),(11499,7146,11499,11484,NULL,0,NULL,'2023-05-17 17:32:53','2023-05-17 17:32:53',NULL),(11500,7146,11500,11485,NULL,0,NULL,'2023-05-17 17:32:53','2023-05-17 17:32:53',NULL),(11501,7146,11501,11486,NULL,0,NULL,'2023-05-17 17:33:26','2023-05-17 17:33:26',NULL),(11502,7146,11502,11487,NULL,0,NULL,'2023-05-17 17:33:26','2023-05-17 17:33:26',NULL),(11503,7146,11503,11488,NULL,0,NULL,'2023-05-17 17:33:26','2023-05-17 17:33:26',NULL),(11504,7146,11504,11489,NULL,0,NULL,'2023-05-17 17:33:27','2023-05-17 17:33:27',NULL),(11505,7146,11505,11490,NULL,0,NULL,'2023-05-17 17:33:27','2023-05-17 17:33:27',NULL),(11506,7146,11506,11491,NULL,0,NULL,'2023-05-17 17:33:27','2023-05-17 17:33:27',NULL),(11507,7146,11507,11492,NULL,0,NULL,'2023-05-17 17:33:27','2023-05-17 17:33:27',NULL),(11508,7146,11508,11493,NULL,0,NULL,'2023-05-17 17:33:27','2023-05-17 17:33:27',NULL),(11509,7146,11509,11494,NULL,0,NULL,'2023-05-17 17:33:27','2023-05-17 17:33:27',NULL),(11510,7146,11510,11495,NULL,0,NULL,'2023-05-17 17:33:27','2023-05-17 17:33:27',NULL),(11511,7146,11511,11496,NULL,0,NULL,'2023-05-17 17:33:27','2023-05-17 17:33:27',NULL),(11512,7146,11512,11497,NULL,0,NULL,'2023-05-17 17:34:00','2023-05-17 17:34:00',NULL),(11513,7146,11513,11498,NULL,0,NULL,'2023-05-17 17:34:00','2023-05-17 17:34:00',NULL),(11514,7146,11514,11499,NULL,0,NULL,'2023-05-17 17:34:00','2023-05-17 17:34:00',NULL),(11515,7146,11515,11500,NULL,0,NULL,'2023-05-17 17:34:00','2023-05-17 17:34:00',NULL),(11516,7146,11516,11501,NULL,0,NULL,'2023-05-17 17:34:00','2023-05-17 17:34:00',NULL),(11517,7146,11517,11502,NULL,0,NULL,'2023-05-17 17:34:00','2023-05-17 17:34:00',NULL),(11518,7146,11518,11503,NULL,0,NULL,'2023-05-17 17:34:00','2023-05-17 17:34:00',NULL),(11519,7146,11519,11504,NULL,0,NULL,'2023-05-17 17:34:00','2023-05-17 17:34:00',NULL),(11520,7146,11520,11505,NULL,0,NULL,'2023-05-17 17:34:00','2023-05-17 17:34:00',NULL),(11521,7146,11521,11506,NULL,0,NULL,'2023-05-17 17:34:00','2023-05-17 17:34:00',NULL),(11522,7146,11522,11507,NULL,0,NULL,'2023-05-17 17:34:00','2023-05-17 17:34:00',NULL),(11523,7146,11523,11508,NULL,0,NULL,'2023-05-17 17:34:00','2023-05-17 17:34:00',NULL),(11524,7146,11524,11509,NULL,0,NULL,'2023-05-29 13:01:43','2023-05-29 13:01:43',NULL),(11525,7146,11525,11510,NULL,0,NULL,'2023-06-05 12:21:01','2023-06-05 12:21:01',NULL),(11526,7146,11526,11511,NULL,0,NULL,'2023-06-05 12:21:01','2023-06-05 12:21:01',NULL),(11527,7146,11527,11512,NULL,0,NULL,'2023-06-05 12:21:01','2023-06-05 12:21:01',NULL),(11528,7146,11528,11513,NULL,0,NULL,'2023-06-05 12:21:01','2023-06-05 12:21:01',NULL),(11529,7146,11529,11514,NULL,0,NULL,'2023-06-05 12:21:01','2023-06-05 12:21:01',NULL),(11530,7146,11530,11515,NULL,0,NULL,'2023-06-05 12:21:01','2023-06-05 12:21:01',NULL),(11531,7146,11531,11516,NULL,0,NULL,'2023-06-05 12:21:01','2023-06-05 12:21:01',NULL),(11532,7146,11532,11517,NULL,0,NULL,'2023-06-05 12:21:02','2023-06-05 12:21:02',NULL),(11533,7146,11533,11518,NULL,0,NULL,'2023-06-05 12:21:02','2023-06-05 12:21:02',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11534,7146,11534,11519,NULL,0,NULL,'2023-06-05 12:21:35','2023-06-05 12:21:35',NULL),(11535,7146,11535,11520,NULL,0,NULL,'2023-06-05 12:21:35','2023-06-05 12:21:35',NULL),(11536,7146,11536,11521,NULL,0,NULL,'2023-06-05 12:21:35','2023-06-05 12:21:35',NULL),(11537,7146,11537,11522,NULL,0,NULL,'2023-06-05 12:21:35','2023-06-05 12:21:35',NULL),(11538,7146,11538,11523,NULL,0,NULL,'2023-06-05 12:21:35','2023-06-05 12:21:35',NULL),(11539,7146,11539,11524,NULL,0,NULL,'2023-06-05 12:21:35','2023-06-05 12:21:35',NULL),(11540,7146,11540,11525,NULL,0,NULL,'2023-06-05 12:21:35','2023-06-05 12:21:35',NULL),(11541,7146,11541,11526,NULL,0,NULL,'2023-06-05 12:21:35','2023-06-05 12:21:35',NULL),(11542,7146,11542,11527,NULL,0,NULL,'2023-06-05 12:21:35','2023-06-05 12:21:35',NULL),(11543,7146,11543,11528,NULL,0,NULL,'2023-06-05 12:21:35','2023-06-05 12:21:35',NULL),(11544,7146,11544,11529,NULL,0,NULL,'2023-06-05 12:21:35','2023-06-05 12:21:35',NULL),(11545,7146,11545,11530,NULL,0,NULL,'2023-06-05 12:21:35','2023-06-05 12:21:35',NULL),(11546,7146,11546,11531,NULL,0,NULL,'2023-06-05 12:22:07','2023-06-05 12:22:07',NULL),(11547,7146,11547,11532,NULL,0,NULL,'2023-06-05 12:22:07','2023-06-05 12:22:07',NULL),(11548,7146,11548,11533,NULL,0,NULL,'2023-06-05 12:22:07','2023-06-05 12:22:07',NULL),(11549,7146,11549,11534,NULL,0,NULL,'2023-06-05 12:22:07','2023-06-05 12:22:07',NULL),(11550,7146,11550,11535,NULL,0,NULL,'2023-06-05 12:22:07','2023-06-05 12:22:07',NULL),(11551,7146,11551,11536,NULL,0,NULL,'2023-06-05 12:22:07','2023-06-05 12:22:07',NULL),(11552,7146,11552,11537,NULL,0,NULL,'2023-06-05 12:22:07','2023-06-05 12:22:07',NULL),(11553,7146,11553,11538,NULL,0,NULL,'2023-06-05 12:22:07','2023-06-05 12:22:07',NULL),(11554,7146,11554,11539,NULL,0,NULL,'2023-06-05 12:22:07','2023-06-05 12:22:07',NULL),(11555,7146,11555,11540,NULL,0,NULL,'2023-06-05 12:22:07','2023-06-05 12:22:07',NULL),(11556,7146,11556,11541,NULL,0,NULL,'2023-06-05 12:22:07','2023-06-05 12:22:07',NULL),(11557,7146,11557,11542,NULL,0,NULL,'2023-06-05 17:15:01','2023-06-05 17:15:01',NULL),(11558,7146,11558,11543,NULL,0,NULL,'2023-06-05 17:21:50','2023-06-05 17:21:50',NULL),(11559,7146,11559,11544,NULL,0,NULL,'2023-06-05 17:22:45','2023-06-05 17:22:45',NULL),(11560,7146,11560,11545,NULL,0,NULL,'2023-06-05 17:23:36','2023-06-05 17:23:36',NULL),(11561,7146,11561,11546,NULL,0,NULL,'2023-06-05 17:24:27','2023-06-05 17:24:27',NULL),(11562,7146,11562,11547,NULL,0,NULL,'2023-06-05 17:25:28','2023-06-05 17:25:28',NULL),(11563,7146,11563,11548,NULL,0,NULL,'2023-06-05 17:26:29','2023-06-05 17:26:29',NULL),(11564,7146,11564,11549,NULL,0,NULL,'2023-06-05 17:27:10','2023-06-05 17:27:10',NULL),(11565,7146,11565,11550,NULL,0,NULL,'2023-06-05 17:27:49','2023-06-05 17:27:49',NULL),(11566,7146,11566,11551,NULL,0,NULL,'2023-06-05 17:28:31','2023-06-05 17:28:31',NULL),(11567,7146,11567,11552,NULL,0,NULL,'2023-06-05 17:30:54','2023-06-05 17:30:54',NULL),(11568,7146,11568,11553,NULL,0,NULL,'2023-06-05 17:33:29','2023-06-05 17:33:29',NULL),(11569,7146,11569,11554,NULL,0,NULL,'2023-06-05 17:37:03','2023-06-05 17:37:03',NULL),(11570,7146,11570,11555,NULL,0,NULL,'2023-06-12 20:13:01','2023-06-12 20:13:01',NULL),(11571,7146,11571,11556,NULL,0,NULL,'2023-06-13 22:46:25','2023-06-13 22:46:25',NULL),(11572,7146,11572,11557,NULL,0,NULL,'2023-06-13 22:46:25','2023-06-13 22:46:25',NULL),(11573,7146,11573,11558,NULL,0,NULL,'2023-06-13 22:46:25','2023-06-13 22:46:25',NULL),(11574,7146,11574,11559,NULL,0,NULL,'2023-06-13 22:46:25','2023-06-13 22:46:25',NULL),(11575,7146,11575,11560,NULL,0,NULL,'2023-06-13 22:46:25','2023-06-13 22:46:25',NULL),(11576,7146,11576,11561,NULL,0,NULL,'2023-06-13 22:46:25','2023-06-13 22:46:25',NULL),(11577,7146,11577,11562,NULL,0,NULL,'2023-06-13 22:46:25','2023-06-13 22:46:25',NULL),(11578,7146,11578,11563,NULL,0,NULL,'2023-06-13 22:46:40','2023-06-13 22:46:40',NULL),(11579,7146,11579,11564,NULL,0,NULL,'2023-06-13 22:46:40','2023-06-13 22:46:40',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11580,7146,11580,11565,NULL,0,NULL,'2023-06-13 22:46:53','2023-06-13 22:46:53',NULL),(11581,7146,11581,11566,NULL,0,NULL,'2023-06-13 22:46:53','2023-06-13 22:46:53',NULL),(11582,7146,11582,11567,NULL,0,NULL,'2023-06-13 22:46:53','2023-06-13 22:46:53',NULL),(11583,7146,11583,11568,NULL,0,NULL,'2023-06-13 22:46:53','2023-06-13 22:46:53',NULL),(11584,7146,11584,11569,NULL,0,NULL,'2023-06-13 22:46:53','2023-06-13 22:46:53',NULL),(11585,7146,11585,11570,NULL,0,NULL,'2023-06-13 22:46:53','2023-06-13 22:46:53',NULL),(11586,7146,11586,11571,NULL,0,NULL,'2023-06-13 22:46:53','2023-06-13 22:46:53',NULL),(11587,7146,11587,11572,NULL,0,NULL,'2023-06-13 22:47:09','2023-06-13 22:47:09',NULL),(11588,7146,11588,11573,NULL,0,NULL,'2023-06-13 22:47:09','2023-06-13 22:47:09',NULL),(11589,7146,11589,11574,NULL,0,NULL,'2023-06-13 22:47:23','2023-06-13 22:47:23',NULL),(11590,7146,11590,11575,NULL,0,NULL,'2023-06-13 22:47:23','2023-06-13 22:47:23',NULL),(11591,7146,11591,11576,NULL,0,NULL,'2023-06-13 22:47:23','2023-06-13 22:47:23',NULL),(11592,7146,11592,11577,NULL,0,NULL,'2023-06-13 22:47:23','2023-06-13 22:47:23',NULL),(11593,7146,11593,11578,NULL,0,NULL,'2023-06-13 22:47:23','2023-06-13 22:47:23',NULL),(11594,7146,11594,11579,NULL,0,NULL,'2023-06-13 22:50:45','2023-06-13 22:50:45',NULL),(11595,7146,11595,11580,NULL,0,NULL,'2023-06-13 22:50:55','2023-06-13 22:50:55',NULL),(11596,7146,11596,11581,NULL,0,NULL,'2023-06-13 22:50:55','2023-06-13 22:50:55',NULL),(11597,7146,11597,11582,NULL,0,NULL,'2023-06-13 22:50:55','2023-06-13 22:50:55',NULL),(11598,7146,11598,11583,NULL,0,NULL,'2023-06-13 22:51:08','2023-06-13 22:51:08',NULL),(11599,7146,11599,11584,NULL,0,NULL,'2023-06-13 22:51:08','2023-06-13 22:51:08',NULL),(11600,7146,11600,11585,NULL,0,NULL,'2023-06-13 22:51:18','2023-06-13 22:51:18',NULL),(11601,7146,11601,11586,NULL,0,NULL,'2023-06-13 22:51:28','2023-06-13 22:51:28',NULL),(11602,7146,11602,11587,NULL,0,NULL,'2023-06-13 22:51:28','2023-06-13 22:51:28',NULL),(11603,7146,11603,11588,NULL,0,NULL,'2023-06-14 12:24:14','2023-06-14 12:24:14',NULL),(11604,7146,11604,11589,NULL,0,NULL,'2023-06-14 12:24:14','2023-06-14 12:24:14',NULL),(11605,7146,11605,11590,NULL,0,NULL,'2023-06-14 12:24:14','2023-06-14 12:24:14',NULL),(11606,7146,11606,11591,NULL,0,NULL,'2023-06-14 12:24:15','2023-06-14 12:24:15',NULL),(11607,7146,11607,11592,NULL,0,NULL,'2023-06-14 12:26:55','2023-06-14 12:26:55',NULL),(11608,7146,11608,11593,NULL,0,NULL,'2023-06-14 12:26:55','2023-06-14 12:26:55',NULL),(11609,7146,11609,11594,NULL,0,NULL,'2023-06-14 12:26:55','2023-06-14 12:26:55',NULL),(11610,7146,11610,11595,NULL,0,NULL,'2023-06-14 12:26:55','2023-06-14 12:26:55',NULL),(11611,7146,11611,11596,NULL,0,NULL,'2023-06-14 12:26:55','2023-06-14 12:26:55',NULL),(11612,7146,11612,11597,NULL,0,NULL,'2023-06-14 12:26:55','2023-06-14 12:26:55',NULL),(11613,7146,11613,11598,NULL,0,NULL,'2023-06-14 12:26:55','2023-06-14 12:26:55',NULL),(11614,7146,11614,11599,NULL,0,NULL,'2023-06-14 12:26:55','2023-06-14 12:26:55',NULL),(11615,7146,11615,11600,NULL,0,NULL,'2023-06-14 12:27:06','2023-06-14 12:27:06',NULL),(11616,7146,11616,11601,NULL,0,NULL,'2023-06-14 12:27:06','2023-06-14 12:27:06',NULL),(11617,7146,11617,11602,NULL,0,NULL,'2023-06-14 12:27:07','2023-06-14 12:27:07',NULL),(11618,7146,11618,11603,NULL,0,NULL,'2023-06-14 12:27:07','2023-06-14 12:27:07',NULL),(11619,7146,11619,11604,NULL,0,NULL,'2023-06-14 12:27:07','2023-06-14 12:27:07',NULL),(11620,7146,11620,11605,NULL,0,NULL,'2023-06-14 12:27:07','2023-06-14 12:27:07',NULL),(11621,7146,11621,11606,NULL,0,NULL,'2023-06-14 12:27:07','2023-06-14 12:27:07',NULL),(11622,7146,11622,11607,NULL,0,NULL,'2023-06-14 12:27:07','2023-06-14 12:27:07',NULL),(11623,7146,11623,11608,NULL,0,NULL,'2023-06-14 12:27:07','2023-06-14 12:27:07',NULL),(11624,7146,11624,11609,NULL,0,NULL,'2023-06-14 12:27:07','2023-06-14 12:27:07',NULL),(11625,7146,11625,11610,NULL,0,NULL,'2023-06-14 12:27:21','2023-06-14 12:27:21',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11626,7146,11626,11611,NULL,0,NULL,'2023-06-14 12:27:21','2023-06-14 12:27:21',NULL),(11627,7146,11627,11612,NULL,0,NULL,'2023-06-14 12:27:21','2023-06-14 12:27:21',NULL),(11628,7146,11628,11613,NULL,0,NULL,'2023-06-14 12:27:21','2023-06-14 12:27:21',NULL),(11629,7146,11629,11614,NULL,0,NULL,'2023-06-14 12:27:21','2023-06-14 12:27:21',NULL),(11630,7146,11630,11615,NULL,0,NULL,'2023-06-14 12:27:21','2023-06-14 12:27:21',NULL),(11631,7146,11631,11616,NULL,0,NULL,'2023-06-14 12:27:21','2023-06-14 12:27:21',NULL),(11632,7146,11632,11617,NULL,0,NULL,'2023-06-14 12:27:21','2023-06-14 12:27:21',NULL),(11633,7146,11633,11618,NULL,0,NULL,'2023-06-14 12:27:21','2023-06-14 12:27:21',NULL),(11634,7146,11634,11619,NULL,0,NULL,'2023-06-14 12:27:21','2023-06-14 12:27:21',NULL),(11635,7146,11635,11620,NULL,0,NULL,'2023-06-14 12:27:21','2023-06-14 12:27:21',NULL),(11636,7146,11636,11621,NULL,0,NULL,'2023-06-14 12:27:21','2023-06-14 12:27:21',NULL),(11637,7146,11637,11622,NULL,0,NULL,'2023-06-14 12:27:22','2023-06-14 12:27:22',NULL),(11638,7146,11638,11623,NULL,0,NULL,'2023-06-14 12:27:22','2023-06-14 12:27:22',NULL),(11639,7146,11639,11624,NULL,0,NULL,'2023-06-14 12:27:22','2023-06-14 12:27:22',NULL),(11640,7146,11640,11625,NULL,0,NULL,'2023-06-14 12:27:22','2023-06-14 12:27:22',NULL),(11641,7146,11641,11626,NULL,0,NULL,'2023-06-14 12:27:33','2023-06-14 12:27:33',NULL),(11642,7146,11642,11627,NULL,0,NULL,'2023-06-14 12:27:33','2023-06-14 12:27:33',NULL),(11643,7146,11643,11628,NULL,0,NULL,'2023-06-14 12:27:33','2023-06-14 12:27:33',NULL),(11644,7146,11644,11629,NULL,0,NULL,'2023-06-14 12:27:33','2023-06-14 12:27:33',NULL),(11645,7146,11645,11630,NULL,0,NULL,'2023-06-14 12:27:34','2023-06-14 12:27:34',NULL),(11646,7146,11646,11631,NULL,0,NULL,'2023-06-14 12:27:34','2023-06-14 12:27:34',NULL),(11647,7146,11647,11632,NULL,0,NULL,'2023-06-14 12:27:34','2023-06-14 12:27:34',NULL),(11648,7146,11648,11633,NULL,0,NULL,'2023-06-14 12:27:34','2023-06-14 12:27:34',NULL),(11649,7146,11649,11634,NULL,0,NULL,'2023-06-14 12:27:34','2023-06-14 12:27:34',NULL),(11650,7146,11650,11635,NULL,0,NULL,'2023-06-14 12:27:34','2023-06-14 12:27:34',NULL),(11651,7146,11651,11636,NULL,0,NULL,'2023-06-14 12:27:34','2023-06-14 12:27:34',NULL),(11652,7146,11652,11637,NULL,0,NULL,'2023-06-14 12:27:34','2023-06-14 12:27:34',NULL),(11653,7146,11653,11638,NULL,0,NULL,'2023-06-14 12:27:44','2023-06-14 12:27:44',NULL),(11654,7146,11654,11639,NULL,0,NULL,'2023-06-14 12:27:44','2023-06-14 12:27:44',NULL),(11655,7146,11655,11640,NULL,0,NULL,'2023-06-14 12:27:44','2023-06-14 12:27:44',NULL),(11656,7146,11656,11641,NULL,0,NULL,'2023-06-14 12:27:44','2023-06-14 12:27:44',NULL),(11657,7146,11657,11642,NULL,0,NULL,'2023-06-14 12:27:44','2023-06-14 12:27:44',NULL),(11658,7146,11658,11643,NULL,0,NULL,'2023-06-14 12:27:44','2023-06-14 12:27:44',NULL),(11659,7146,11659,11644,NULL,0,NULL,'2023-06-14 12:27:45','2023-06-14 12:27:45',NULL),(11660,7146,11660,11645,NULL,0,NULL,'2023-06-14 12:27:45','2023-06-14 12:27:45',NULL),(11661,7146,11661,11646,NULL,0,NULL,'2023-06-14 12:27:45','2023-06-14 12:27:45',NULL),(11662,7146,11662,11647,NULL,0,NULL,'2023-07-06 20:50:10','2023-07-06 20:50:10',NULL),(11663,7146,11663,11648,NULL,0,NULL,'2023-07-06 20:50:11','2023-07-06 20:50:11',NULL),(11664,7146,11664,11649,NULL,0,NULL,'2023-07-06 20:50:12','2023-07-06 20:50:12',NULL),(11665,7146,11665,11650,NULL,0,NULL,'2023-07-06 20:50:13','2023-07-06 20:50:13',NULL),(11666,7146,11666,11651,NULL,0,NULL,'2023-07-06 20:50:14','2023-07-06 20:50:14',NULL),(11667,7146,11667,11652,NULL,0,NULL,'2023-07-06 20:50:15','2023-07-06 20:50:15',NULL),(11668,7146,11668,11653,NULL,0,NULL,'2023-07-06 21:04:03','2023-07-06 21:04:03',NULL),(11669,7146,11669,11654,NULL,0,NULL,'2023-07-06 21:05:47','2023-07-06 21:05:47',NULL),(11670,7146,11670,11655,NULL,0,NULL,'2023-07-06 21:07:13','2023-07-06 21:07:13',NULL),(11671,7146,11671,11656,NULL,0,NULL,'2023-07-06 21:08:09','2023-07-06 21:08:09',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11672,7146,11672,11657,NULL,0,NULL,'2023-07-06 21:09:31','2023-07-06 21:09:31',NULL),(11673,7146,11673,11658,NULL,0,NULL,'2023-07-06 21:10:40','2023-07-06 21:10:40',NULL),(11674,7146,11674,11659,NULL,0,NULL,'2023-07-06 21:12:17','2023-07-06 21:12:17',NULL),(11675,7146,11675,11660,NULL,0,NULL,'2023-08-04 07:45:29','2023-08-04 07:45:29',NULL),(11676,7146,11676,11661,NULL,0,NULL,'2023-08-04 07:45:29','2023-08-04 07:45:29',NULL),(11677,7146,11677,11662,NULL,0,NULL,'2023-08-04 07:45:30','2023-08-04 07:45:30',NULL),(11678,7146,11678,11663,NULL,0,NULL,'2023-08-04 07:45:30','2023-08-04 07:45:30',NULL),(11679,7146,11679,11664,NULL,0,NULL,'2023-08-04 07:45:31','2023-08-04 07:45:31',NULL),(11680,7146,11680,11665,NULL,0,NULL,'2023-08-04 07:45:32','2023-08-04 07:45:32',NULL),(11681,7146,11681,11666,NULL,0,NULL,'2023-08-04 07:49:03','2023-08-04 07:49:03',NULL),(11682,7146,11682,11667,NULL,0,NULL,'2023-08-04 07:49:07','2023-08-04 07:49:07',NULL),(11683,7146,11683,11668,NULL,0,NULL,'2023-08-04 07:50:52','2023-08-04 07:50:52',NULL),(11684,7146,11684,11669,NULL,0,NULL,'2023-08-04 07:52:30','2023-08-04 07:52:30',NULL),(11685,7146,11685,11670,NULL,0,NULL,'2023-08-04 07:54:51','2023-08-04 07:54:51',NULL),(11686,7146,11686,11671,NULL,0,NULL,'2023-08-04 07:56:10','2023-08-04 07:56:10',NULL),(11687,7146,11687,11672,NULL,0,NULL,'2023-08-31 09:33:50','2023-08-31 09:33:50',NULL),(11688,7146,11688,11673,NULL,0,NULL,'2023-08-31 09:34:34','2023-08-31 09:34:34',NULL),(11689,7146,11689,11674,NULL,0,NULL,'2023-08-31 09:36:44','2023-08-31 09:36:44',NULL),(11690,7146,11690,11675,NULL,0,NULL,'2023-09-04 15:12:31','2023-09-04 15:12:31',NULL),(11691,7146,11691,11676,NULL,0,NULL,'2023-09-04 15:21:22','2023-09-04 15:21:22',NULL),(11692,7146,11692,11677,NULL,0,NULL,'2023-09-04 15:24:08','2023-09-04 15:24:08',NULL),(11693,7146,11693,11678,NULL,0,NULL,'2023-09-04 15:27:25','2023-09-04 15:27:25',NULL),(11694,7146,11694,11679,NULL,0,NULL,'2023-09-04 15:29:53','2023-09-04 15:29:53',NULL),(11695,7146,11695,11680,NULL,0,NULL,'2023-09-04 15:32:45','2023-09-04 15:32:45',NULL),(11696,7146,11696,11681,NULL,0,NULL,'2023-09-04 15:44:53','2023-09-04 15:44:53',NULL),(11697,7146,11697,11682,NULL,0,NULL,'2023-09-04 15:46:34','2023-09-04 15:46:34',NULL),(11698,7146,11698,11683,NULL,0,NULL,'2023-09-04 15:48:26','2023-09-04 15:48:26',NULL),(11699,7146,11699,11684,NULL,0,NULL,'2023-09-04 15:50:29','2023-09-04 15:50:29',NULL),(11700,7146,11700,11685,NULL,0,NULL,'2023-09-04 16:00:15','2023-09-04 16:00:15',NULL),(11701,7146,11701,11686,NULL,0,NULL,'2023-09-04 16:20:46','2023-09-04 16:20:46',NULL),(11702,7146,11702,11687,NULL,0,NULL,'2023-10-05 13:43:09','2023-10-05 13:43:09',NULL),(11703,7146,11703,11688,NULL,0,NULL,'2023-10-05 13:48:26','2023-10-05 13:48:26',NULL),(11704,7146,11704,11689,NULL,0,NULL,'2023-10-05 13:50:13','2023-10-05 13:50:13',NULL),(11705,7146,11705,11690,NULL,0,NULL,'2023-10-05 13:55:59','2023-10-05 13:55:59',NULL),(11706,7146,11706,11691,NULL,0,NULL,'2023-10-05 13:57:31','2023-10-05 13:57:31',NULL),(11707,7146,11707,11692,NULL,0,NULL,'2023-10-05 13:59:27','2023-10-05 13:59:27',NULL),(11708,7146,11708,11693,NULL,0,NULL,'2023-10-05 14:00:51','2023-10-05 14:00:51',NULL),(11709,7146,11709,11694,NULL,0,NULL,'2023-10-05 14:02:17','2023-10-05 14:02:17',NULL),(11710,7146,11710,11695,NULL,0,NULL,'2023-10-05 14:03:58','2023-10-05 14:03:58',NULL),(11711,7146,11711,11696,NULL,0,NULL,'2023-10-05 14:07:19','2023-10-05 14:07:19',NULL),(11712,7146,11712,11697,NULL,0,NULL,'2023-10-05 14:08:59','2023-10-05 14:08:59',NULL),(11713,7146,11713,11698,NULL,0,NULL,'2023-10-05 14:24:08','2023-10-05 14:24:08',NULL),(11714,7146,11714,11699,NULL,0,NULL,'2023-11-07 11:23:50','2023-11-07 11:23:50',NULL),(11715,7146,11715,11700,NULL,0,NULL,'2023-11-07 11:25:37','2023-11-07 11:25:37',NULL),(11716,7146,11716,11701,NULL,0,NULL,'2023-11-07 11:27:24','2023-11-07 11:27:24',NULL),(11717,7146,11717,11702,NULL,0,NULL,'2023-11-07 11:28:52','2023-11-07 11:28:52',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11718,7146,11718,11703,NULL,0,NULL,'2023-11-07 11:30:12','2023-11-07 11:30:12',NULL),(11719,7146,11719,11704,NULL,0,NULL,'2023-11-07 11:32:10','2023-11-07 11:32:10',NULL),(11720,7146,11720,11705,NULL,0,NULL,'2023-11-07 11:34:14','2023-11-07 11:34:14',NULL),(11721,7146,11721,11706,NULL,0,NULL,'2023-11-07 11:35:34','2023-11-07 11:35:34',NULL),(11722,7146,11722,11707,NULL,0,NULL,'2023-11-07 11:37:00','2023-11-07 11:37:00',NULL),(11723,7146,11723,11708,NULL,0,NULL,'2023-11-07 11:38:27','2023-11-07 11:38:27',NULL),(11724,7146,11724,11709,NULL,0,NULL,'2023-11-07 11:41:06','2023-11-07 11:41:06',NULL),(11725,7146,11725,11710,NULL,0,NULL,'2023-11-07 11:43:57','2023-11-07 11:43:57',NULL),(11726,7146,11726,11711,NULL,0,NULL,'2023-11-07 11:46:31','2023-11-07 11:46:31',NULL),(11727,7146,11727,11712,NULL,0,NULL,'2023-11-07 11:49:57','2023-11-07 11:49:57',NULL),(11728,7146,11728,11713,NULL,0,NULL,'2023-11-07 17:29:52','2023-11-07 17:29:52',NULL),(11729,7146,11729,11714,NULL,0,NULL,'2023-11-07 17:31:02','2023-11-07 17:31:02',NULL),(11730,7146,11730,11715,NULL,0,NULL,'2023-11-07 17:47:47','2023-11-07 17:47:47',NULL),(11731,7146,11731,11716,NULL,0,NULL,'2023-12-05 09:50:59','2023-12-05 09:50:59',NULL),(11732,7146,11732,11717,NULL,0,NULL,'2023-12-05 09:59:59','2023-12-05 09:59:59',NULL),(11733,7146,11733,11718,NULL,0,NULL,'2023-12-05 10:04:23','2023-12-05 10:04:23',NULL),(11734,7146,11734,11719,NULL,0,NULL,'2023-12-05 10:07:22','2023-12-05 10:07:22',NULL),(11735,7146,11735,11720,NULL,0,NULL,'2023-12-05 10:11:08','2023-12-05 10:11:08',NULL),(11736,7146,11736,11721,NULL,0,NULL,'2023-12-05 10:17:17','2023-12-05 10:17:17',NULL),(11737,7146,11737,11722,NULL,0,NULL,'2023-12-05 10:24:22','2023-12-05 10:24:22',NULL),(11738,7146,11738,11723,NULL,0,NULL,'2023-12-05 10:26:53','2023-12-05 10:26:53',NULL),(11739,7146,11739,11724,NULL,0,NULL,'2023-12-05 10:29:34','2023-12-05 10:29:34',NULL),(11740,7146,11740,11725,NULL,0,NULL,'2023-12-05 10:33:09','2023-12-05 10:33:09',NULL),(11741,7146,11741,11726,NULL,0,NULL,'2023-12-05 10:39:55','2023-12-05 10:39:55',NULL),(11742,7146,11742,11727,NULL,0,NULL,'2023-12-05 10:43:56','2023-12-05 10:43:56',NULL),(11743,7146,11743,11728,NULL,0,NULL,'2023-12-05 10:47:34','2023-12-05 10:47:34',NULL),(11744,7146,11744,11729,NULL,0,NULL,'2023-12-05 10:50:56','2023-12-05 10:50:56',NULL),(11745,7146,11745,11730,NULL,0,NULL,'2023-12-05 10:53:22','2023-12-05 10:53:22',NULL),(11746,7146,11746,11731,NULL,0,NULL,'2023-12-05 11:00:00','2023-12-05 11:00:00',NULL),(11747,7146,11747,11732,NULL,0,NULL,'2024-01-06 13:49:50','2024-01-06 13:49:50',NULL),(11748,7146,11748,11733,NULL,0,NULL,'2024-01-06 13:53:20','2024-01-06 13:53:20',NULL),(11749,7146,11749,11734,NULL,0,NULL,'2024-01-06 13:55:10','2024-01-06 13:55:10',NULL),(11750,7146,11750,11735,NULL,0,NULL,'2024-01-06 13:56:38','2024-01-06 13:56:38',NULL),(11751,7146,11751,11736,NULL,0,NULL,'2024-01-06 13:59:53','2024-01-06 13:59:53',NULL),(11752,7146,11752,11737,NULL,0,NULL,'2024-01-06 14:01:27','2024-01-06 14:01:27',NULL),(11753,7146,11753,11738,NULL,0,NULL,'2024-01-06 14:03:07','2024-01-06 14:03:07',NULL),(11754,7146,11754,11739,NULL,0,NULL,'2024-01-06 14:05:09','2024-01-06 14:05:09',NULL),(11755,7146,11755,11740,NULL,0,NULL,'2024-01-06 14:06:54','2024-01-06 14:06:54',NULL),(11756,7146,11756,11741,NULL,0,NULL,'2024-01-06 14:08:20','2024-01-06 14:08:20',NULL),(11757,7146,11757,11742,NULL,0,NULL,'2024-01-06 14:10:10','2024-01-06 14:10:10',NULL),(11758,7146,11758,11743,NULL,0,NULL,'2024-01-06 14:14:07','2024-01-06 14:14:07',NULL),(11759,7146,11759,11744,NULL,0,NULL,'2024-01-06 14:15:46','2024-01-06 14:15:46',NULL),(11760,7146,11760,11745,NULL,0,NULL,'2024-01-06 14:17:14','2024-01-06 14:17:14',NULL),(11761,7146,11761,11746,NULL,0,NULL,'2024-02-05 09:30:17','2024-02-05 09:30:17',NULL),(11762,7146,11762,11747,NULL,0,NULL,'2024-02-05 09:32:19','2024-02-05 09:32:19',NULL),(11763,7146,11763,11748,NULL,0,NULL,'2024-02-05 09:35:10','2024-02-05 09:35:10',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11764,7146,11764,11749,NULL,0,NULL,'2024-02-05 09:37:26','2024-02-05 09:37:26',NULL),(11765,7146,11765,11750,NULL,0,NULL,'2024-02-05 09:38:56','2024-02-05 09:38:56',NULL),(11766,7146,11766,11751,NULL,0,NULL,'2024-02-05 09:41:04','2024-02-05 09:41:04',NULL),(11767,7146,11767,11752,NULL,0,NULL,'2024-02-05 09:43:41','2024-02-05 09:43:41',NULL),(11768,7146,11768,11753,NULL,0,NULL,'2024-02-05 09:45:45','2024-02-05 09:45:45',NULL),(11769,7146,11769,11754,NULL,0,NULL,'2024-02-05 09:47:32','2024-02-05 09:47:32',NULL),(11770,7146,11770,11755,NULL,0,NULL,'2024-02-05 09:56:51','2024-02-05 09:56:51',NULL),(11771,7146,11771,11756,NULL,0,NULL,'2024-02-05 09:58:46','2024-02-05 09:58:46',NULL),(11772,7146,11772,11757,NULL,0,NULL,'2024-02-05 10:00:10','2024-02-05 10:00:10',NULL),(11773,7146,11773,11758,NULL,0,NULL,'2024-02-05 10:02:31','2024-02-05 10:02:31',NULL),(11774,7146,11774,11759,NULL,0,NULL,'2024-02-05 10:04:19','2024-02-05 10:04:19',NULL),(11775,7146,11775,11760,NULL,0,NULL,'2024-03-04 11:06:31','2024-03-04 11:06:31',NULL),(11776,7146,11776,11761,NULL,0,NULL,'2024-03-04 11:11:36','2024-03-04 11:11:36',NULL),(11777,7146,11777,11762,NULL,0,NULL,'2024-03-04 11:14:17','2024-03-04 11:14:17',NULL),(11778,7146,11778,11763,NULL,0,NULL,'2024-03-04 11:16:25','2024-03-04 11:16:25',NULL),(11779,7146,11779,11764,NULL,0,NULL,'2024-03-04 11:38:56','2024-03-04 11:38:56',NULL),(11780,7146,11780,11765,NULL,0,NULL,'2024-03-04 11:41:23','2024-03-04 11:41:23',NULL),(11781,7146,11781,11766,NULL,0,NULL,'2024-03-06 09:43:35','2024-03-06 09:43:35',NULL),(11782,7146,11782,11767,NULL,0,NULL,'2024-03-06 09:45:56','2024-03-06 09:45:56',NULL),(11783,7146,11783,11768,NULL,0,NULL,'2024-03-06 09:47:59','2024-03-06 09:47:59',NULL),(11784,7146,11784,11769,NULL,0,NULL,'2024-03-06 09:51:40','2024-03-06 09:51:40',NULL),(11785,7146,11785,11770,NULL,0,NULL,'2024-03-06 09:58:44','2024-03-06 09:58:44',NULL),(11786,7146,11786,11771,NULL,0,NULL,'2024-03-06 10:00:33','2024-03-06 10:00:33',NULL),(11787,7146,11787,11772,NULL,0,NULL,'2024-03-06 10:04:06','2024-03-06 10:04:06',NULL),(11788,7146,11788,11773,NULL,0,NULL,'2024-03-06 10:06:09','2024-03-06 10:06:09',NULL),(11789,7146,11789,11774,NULL,0,NULL,'2024-03-12 20:32:59','2024-03-12 20:32:59',NULL),(11790,7146,11790,11775,NULL,0,NULL,'2024-03-12 20:37:29','2024-03-12 20:37:29',NULL),(11791,7146,11791,11776,NULL,0,NULL,'2024-03-12 20:43:33','2024-03-12 20:43:33',NULL),(11792,7146,11792,11777,NULL,0,NULL,'2024-03-12 21:03:23','2024-03-12 21:03:23',NULL),(11793,7146,11793,11778,NULL,0,NULL,'2024-03-21 13:29:26','2024-03-21 13:29:26',NULL),(11794,7146,11794,11779,NULL,0,NULL,'2024-04-03 19:12:50','2024-04-03 19:12:50',NULL),(11795,7146,11795,11780,NULL,0,NULL,'2024-04-03 19:15:12','2024-04-03 19:15:12',NULL),(11796,7146,11796,11781,NULL,0,NULL,'2024-04-03 19:23:23','2024-04-03 19:23:23',NULL),(11797,7146,11797,11782,NULL,0,NULL,'2024-04-03 19:24:55','2024-04-03 19:24:55',NULL),(11798,7146,11798,11783,NULL,0,NULL,'2024-04-03 19:26:38','2024-04-03 19:26:38',NULL),(11799,7146,11799,11784,NULL,0,NULL,'2024-04-03 19:28:49','2024-04-03 19:28:49',NULL),(11800,7146,11800,11785,NULL,0,NULL,'2024-04-03 19:30:49','2024-04-03 19:30:49',NULL),(11801,7146,11801,11786,NULL,0,NULL,'2024-04-03 19:32:22','2024-04-03 19:32:22',NULL),(11802,7146,11802,11787,NULL,0,NULL,'2024-04-03 19:32:39','2024-04-03 19:32:39',NULL),(11803,7146,11803,11788,NULL,0,NULL,'2024-04-03 19:34:32','2024-04-03 19:34:32',NULL),(11804,7146,11804,11789,NULL,0,NULL,'2024-04-03 19:35:24','2024-04-03 19:35:24',NULL),(11805,7146,11805,11790,NULL,0,NULL,'2024-04-03 19:38:09','2024-04-03 19:38:09',NULL),(11806,7146,11806,11791,NULL,0,NULL,'2024-04-03 19:41:59','2024-04-03 19:41:59',NULL),(11807,7146,11807,11792,NULL,0,NULL,'2024-04-03 19:43:57','2024-04-03 19:43:57',NULL),(11808,7146,11808,11793,NULL,0,NULL,'2024-04-03 19:46:26','2024-04-03 19:46:26',NULL),(11809,7146,11809,11794,NULL,0,NULL,'2024-04-03 19:48:06','2024-04-03 19:48:06',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11810,7146,11810,11795,NULL,0,NULL,'2024-04-03 20:11:46','2024-04-03 20:11:46',NULL),(11811,7146,11811,11796,NULL,0,NULL,'2024-04-03 20:14:15','2024-04-03 20:14:15',NULL),(11812,7146,11812,11797,NULL,0,NULL,'2024-05-07 08:36:28','2024-05-07 08:36:28',NULL),(11813,7146,11813,11798,NULL,0,NULL,'2024-05-07 08:37:55','2024-05-07 08:37:55',NULL),(11814,7146,11814,11799,NULL,0,NULL,'2024-05-07 08:38:50','2024-05-07 08:38:50',NULL),(11815,7146,11815,11800,NULL,0,NULL,'2024-05-07 08:39:58','2024-05-07 08:39:58',NULL),(11816,7146,11816,11801,NULL,0,NULL,'2024-05-07 08:41:22','2024-05-07 08:41:22',NULL),(11817,7146,11817,11802,NULL,0,NULL,'2024-05-07 08:42:14','2024-05-07 08:42:14',NULL),(11818,7146,11818,11803,NULL,0,NULL,'2024-05-07 08:42:59','2024-05-07 08:42:59',NULL),(11819,7146,11819,11804,NULL,0,NULL,'2024-05-07 08:43:44','2024-05-07 08:43:44',NULL),(11820,7146,11820,11805,NULL,0,NULL,'2024-05-07 08:44:54','2024-05-07 08:44:54',NULL),(11821,7146,11821,11806,NULL,0,NULL,'2024-05-07 08:45:31','2024-05-07 08:45:31',NULL),(11822,7146,11822,11807,NULL,0,NULL,'2024-05-07 08:46:09','2024-05-07 08:46:09',NULL),(11823,7146,11823,11808,NULL,0,NULL,'2024-05-07 08:46:52','2024-05-07 08:46:52',NULL),(11824,7146,11824,11809,NULL,0,NULL,'2024-05-07 08:47:35','2024-05-07 08:47:35',NULL),(11825,7146,11825,11810,NULL,0,NULL,'2024-05-07 08:48:25','2024-05-07 08:48:25',NULL),(11826,7146,11826,11811,NULL,0,NULL,'2024-05-07 09:09:21','2024-05-07 09:09:21',NULL),(11827,7146,11827,11812,NULL,0,NULL,'2024-06-05 19:26:12','2024-06-05 19:26:12',NULL),(11828,7146,11828,11813,NULL,0,NULL,'2024-06-05 19:28:48','2024-06-05 19:28:48',NULL),(11829,7146,11829,11814,NULL,0,NULL,'2024-06-05 19:34:25','2024-06-05 19:34:25',NULL),(11830,7146,11830,11815,NULL,0,NULL,'2024-06-05 19:37:42','2024-06-05 19:37:42',NULL),(11831,7146,11831,11816,NULL,0,NULL,'2024-06-05 19:38:56','2024-06-05 19:38:56',NULL),(11832,7146,11832,11817,NULL,0,NULL,'2024-06-05 19:42:03','2024-06-05 19:42:03',NULL),(11833,7146,11833,11818,NULL,0,NULL,'2024-06-05 19:45:14','2024-06-05 19:45:14',NULL),(11834,7146,11834,11819,NULL,0,NULL,'2024-06-05 19:46:31','2024-06-05 19:46:31',NULL),(11835,7146,11835,11820,NULL,0,NULL,'2024-06-05 19:47:48','2024-06-05 19:47:48',NULL),(11836,7146,11836,11821,NULL,0,NULL,'2024-06-05 19:50:05','2024-06-05 19:50:05',NULL),(11837,7146,11837,11822,NULL,0,NULL,'2024-06-05 19:51:25','2024-06-05 19:51:25',NULL),(11838,7146,11838,11823,NULL,0,NULL,'2024-06-05 19:52:44','2024-06-05 19:52:44',NULL),(11839,7146,11839,11824,NULL,0,NULL,'2024-06-05 19:55:15','2024-06-05 19:55:15',NULL),(11840,7146,11840,11825,NULL,0,NULL,'2024-06-05 19:58:20','2024-06-05 19:58:20',NULL),(11841,7146,11841,11826,NULL,0,NULL,'2024-06-05 20:00:09','2024-06-05 20:00:09',NULL),(11842,7146,11842,11830,NULL,0,NULL,'2024-06-05 20:12:31','2024-06-05 20:12:31',NULL),(11843,7146,11843,11831,NULL,0,NULL,'2024-06-19 16:35:50','2024-06-19 16:35:50',NULL),(11844,7146,11844,11832,NULL,0,NULL,'2024-06-26 19:13:42','2024-06-26 19:13:42',NULL),(11845,7146,11845,11833,NULL,0,NULL,'2024-07-05 11:02:54','2024-07-05 11:02:54',NULL),(11846,7146,11846,11834,NULL,0,NULL,'2024-07-05 11:05:09','2024-07-05 11:05:09',NULL),(11847,7146,11847,11835,NULL,0,NULL,'2024-07-05 11:06:56','2024-07-05 11:06:56',NULL),(11848,7146,11848,11836,NULL,0,NULL,'2024-07-05 11:36:35','2024-07-05 11:36:35',NULL),(11849,7146,11849,11837,NULL,0,NULL,'2024-07-05 11:38:02','2024-07-05 11:38:02',NULL),(11850,7146,11850,11838,NULL,0,NULL,'2024-07-05 11:39:37','2024-07-05 11:39:37',NULL),(11851,7146,11851,11839,NULL,0,NULL,'2024-07-05 11:41:09','2024-07-05 11:41:09',NULL),(11852,7146,11852,11840,NULL,0,NULL,'2024-07-05 11:42:31','2024-07-05 11:42:31',NULL),(11853,7146,11853,11841,NULL,0,NULL,'2024-07-05 11:43:46','2024-07-05 11:43:46',NULL),(11854,7146,11854,11842,NULL,0,NULL,'2024-07-05 11:44:40','2024-07-05 11:44:40',NULL),(11855,7146,11855,11843,NULL,0,NULL,'2024-07-05 11:49:28','2024-07-05 11:49:28',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11856,7146,11856,11844,NULL,0,NULL,'2024-07-05 11:51:52','2024-07-05 11:51:52',NULL),(11857,7146,11857,11845,NULL,0,NULL,'2024-07-05 11:53:13','2024-07-05 11:53:13',NULL),(11858,7146,11858,11846,NULL,0,NULL,'2024-07-05 11:56:15','2024-07-05 11:56:15',NULL),(11859,7146,11859,11847,NULL,0,NULL,'2024-07-05 11:57:21','2024-07-05 11:57:21',NULL),(11860,7146,11860,11848,NULL,0,NULL,'2024-07-05 11:58:11','2024-07-05 11:58:11',NULL),(11861,7146,11861,11849,NULL,0,NULL,'2024-07-05 12:00:16','2024-07-05 12:00:16',NULL),(11862,7146,11862,11850,NULL,0,NULL,'2024-07-05 12:22:55','2024-07-05 12:22:55',NULL),(11863,7146,11863,11851,NULL,0,NULL,'2024-07-05 20:04:30','2024-07-05 20:04:30',NULL),(11864,7146,11864,11852,NULL,0,NULL,'2024-07-05 20:31:22','2024-07-05 20:31:22',NULL),(11865,7146,11865,11853,NULL,0,NULL,'2024-08-05 09:59:52','2024-08-05 09:59:52',NULL),(11866,7146,11866,11854,NULL,0,NULL,'2024-08-05 10:01:46','2024-08-05 10:01:46',NULL),(11867,7146,11867,11855,NULL,0,NULL,'2024-08-05 10:02:31','2024-08-05 10:02:31',NULL),(11868,7146,11868,11856,NULL,0,NULL,'2024-08-05 10:03:39','2024-08-05 10:03:39',NULL),(11869,7146,11869,11857,NULL,0,NULL,'2024-08-05 10:04:46','2024-08-05 10:04:46',NULL),(11870,7146,11870,11858,NULL,0,NULL,'2024-08-05 10:08:53','2024-08-05 10:08:53',NULL),(11871,7146,11871,11859,NULL,0,NULL,'2024-08-05 10:10:53','2024-08-05 10:10:53',NULL),(11872,7146,11872,11860,NULL,0,NULL,'2024-08-05 10:12:35','2024-08-05 10:12:35',NULL),(11873,7146,11873,11861,NULL,0,NULL,'2024-08-05 10:13:29','2024-08-05 10:13:29',NULL),(11874,7146,11874,11862,NULL,0,NULL,'2024-08-05 10:14:19','2024-08-05 10:14:19',NULL),(11875,7146,11875,11863,NULL,0,NULL,'2024-08-05 10:15:21','2024-08-05 10:15:21',NULL),(11876,7146,11876,11864,NULL,0,NULL,'2024-08-05 10:16:21','2024-08-05 10:16:21',NULL),(11877,7146,11877,11865,NULL,0,NULL,'2024-08-05 10:17:45','2024-08-05 10:17:45',NULL),(11878,7146,11878,11866,NULL,0,NULL,'2024-08-05 10:20:30','2024-08-05 10:20:30',NULL),(11879,7146,11879,11867,NULL,0,NULL,'2024-08-05 10:21:22','2024-08-05 10:21:22',NULL),(11880,7146,11880,11868,NULL,0,NULL,'2024-08-05 10:22:05','2024-08-05 10:22:05',NULL),(11881,7146,11881,11869,NULL,0,NULL,'2024-08-05 10:23:13','2024-08-05 10:23:13',NULL),(11882,7146,11882,11870,NULL,0,NULL,'2024-08-05 10:31:45','2024-08-05 10:31:45',NULL),(11883,7146,11883,11871,NULL,0,NULL,'2024-09-06 15:23:05','2024-09-06 15:23:05',NULL),(11884,7146,11884,11872,NULL,0,NULL,'2024-09-06 15:24:36','2024-09-06 15:24:36',NULL),(11885,7146,11885,11873,NULL,0,NULL,'2024-09-06 15:25:54','2024-09-06 15:25:54',NULL),(11886,7146,11886,11874,NULL,0,NULL,'2024-09-06 15:26:49','2024-09-06 15:26:49',NULL),(11887,7146,11887,11875,NULL,0,NULL,'2024-09-06 15:27:54','2024-09-06 15:27:54',NULL),(11888,7146,11888,11876,NULL,0,NULL,'2024-09-06 15:29:12','2024-09-06 15:29:12',NULL),(11889,7146,11889,11877,NULL,0,NULL,'2024-09-06 15:30:02','2024-09-06 15:30:02',NULL),(11890,7146,11890,11878,NULL,0,NULL,'2024-09-06 15:30:45','2024-09-06 15:30:45',NULL),(11891,7146,11891,11879,NULL,0,NULL,'2024-09-06 15:31:36','2024-09-06 15:31:36',NULL),(11892,7146,11892,11880,NULL,0,NULL,'2024-09-06 15:35:32','2024-09-06 15:35:32',NULL),(11893,7146,11893,11881,NULL,0,NULL,'2024-09-06 15:38:00','2024-09-06 15:38:00',NULL),(11894,7146,11894,11882,NULL,0,NULL,'2024-09-06 15:39:07','2024-09-06 15:39:07',NULL),(11895,7146,11895,11883,NULL,0,NULL,'2024-09-06 15:41:04','2024-09-06 15:41:04',NULL),(11896,7146,11896,11884,NULL,0,NULL,'2024-09-06 15:42:14','2024-09-06 15:42:14',NULL),(11897,7146,11897,11885,NULL,0,NULL,'2024-09-06 15:43:03','2024-09-06 15:43:03',NULL),(11898,7146,11898,11886,NULL,0,NULL,'2024-09-06 15:43:57','2024-09-06 15:43:57',NULL),(11899,7146,11899,11887,NULL,0,NULL,'2024-09-06 15:50:11','2024-09-06 15:50:11',NULL),(11900,7146,11900,11888,NULL,0,NULL,'2024-09-06 15:58:35','2024-09-06 15:58:35',NULL),(11901,7146,11901,11889,NULL,0,NULL,'2024-09-18 10:18:38','2024-09-18 10:18:38',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11902,7146,11902,11890,NULL,0,NULL,'2024-09-18 10:22:01','2024-09-18 10:22:01',NULL),(11903,7146,11903,11891,NULL,0,NULL,'2024-10-03 21:07:57','2024-10-03 21:07:57',NULL),(11904,7146,11904,11892,NULL,0,NULL,'2024-10-03 21:08:56','2024-10-03 21:08:56',NULL),(11905,7146,11905,11893,NULL,0,NULL,'2024-10-03 21:10:02','2024-10-03 21:10:02',NULL),(11906,7146,11906,11894,NULL,0,NULL,'2024-10-03 21:11:19','2024-10-03 21:11:19',NULL),(11907,7146,11907,11895,NULL,0,NULL,'2024-10-03 21:15:15','2024-10-03 21:15:15',NULL),(11908,7146,11908,11896,NULL,0,NULL,'2024-10-03 21:16:47','2024-10-03 21:16:47',NULL),(11909,7146,11909,11897,NULL,0,NULL,'2024-10-03 21:17:55','2024-10-03 21:17:55',NULL),(11910,7146,11910,11898,NULL,0,NULL,'2024-10-03 21:18:29','2024-10-03 21:18:29',NULL),(11911,7146,11911,11899,NULL,0,NULL,'2024-10-03 21:19:20','2024-10-03 21:19:20',NULL),(11912,7146,11912,11900,NULL,0,NULL,'2024-10-03 21:19:55','2024-10-03 21:19:55',NULL),(11913,7146,11913,11901,NULL,0,NULL,'2024-10-03 21:20:59','2024-10-03 21:20:59',NULL),(11914,7146,11914,11902,NULL,0,NULL,'2024-10-03 21:21:32','2024-10-03 21:21:32',NULL),(11915,7146,11915,11903,NULL,0,NULL,'2024-10-03 21:22:31','2024-10-03 21:22:31',NULL),(11916,7146,11916,11904,NULL,0,NULL,'2024-10-03 21:27:50','2024-10-03 21:27:50',NULL),(11917,7146,11917,11905,NULL,0,NULL,'2024-10-03 21:29:00','2024-10-03 21:29:00',NULL),(11918,7146,11918,11906,NULL,0,NULL,'2024-10-03 21:29:38','2024-10-03 21:29:38',NULL),(11919,7146,11919,11907,NULL,0,NULL,'2024-10-03 21:30:13','2024-10-03 21:30:13',NULL),(11920,7146,11920,11908,NULL,0,NULL,'2024-10-04 10:33:28','2024-10-04 10:33:28',NULL),(11921,7146,11921,11909,NULL,0,NULL,'2024-11-04 10:32:25','2024-11-04 10:32:25',NULL),(11922,7146,11922,11910,NULL,0,NULL,'2024-11-04 10:34:50','2024-11-04 10:34:50',NULL),(11923,7146,11923,11911,NULL,0,NULL,'2024-11-04 10:35:47','2024-11-04 10:35:47',NULL),(11924,7146,11924,11912,NULL,0,NULL,'2024-11-04 10:38:01','2024-11-04 10:38:01',NULL),(11925,7146,11925,11913,NULL,0,NULL,'2024-11-04 10:39:31','2024-11-04 10:39:31',NULL),(11926,7146,11926,11914,NULL,0,NULL,'2024-11-04 10:40:30','2024-11-04 10:40:30',NULL),(11927,7146,11927,11915,NULL,0,NULL,'2024-11-04 10:41:36','2024-11-04 10:41:36',NULL),(11928,7146,11928,11916,NULL,0,NULL,'2024-11-04 10:42:22','2024-11-04 10:42:22',NULL),(11929,7146,11929,11917,NULL,0,NULL,'2024-11-04 10:43:24','2024-11-04 10:43:24',NULL),(11930,7146,11930,11918,NULL,0,NULL,'2024-11-04 10:44:35','2024-11-04 10:44:35',NULL),(11931,7146,11931,11919,NULL,0,NULL,'2024-11-04 10:45:29','2024-11-04 10:45:29',NULL),(11932,7146,11932,11920,NULL,0,NULL,'2024-11-04 10:46:23','2024-11-04 10:46:23',NULL),(11933,7146,11933,11921,NULL,0,NULL,'2024-11-04 10:49:07','2024-11-04 10:49:07',NULL),(11934,7146,11934,11922,NULL,0,NULL,'2024-11-04 10:51:03','2024-11-04 10:51:03',NULL),(11935,7146,11935,11923,NULL,0,NULL,'2024-11-04 10:52:17','2024-11-04 10:52:17',NULL),(11936,7146,11936,11924,NULL,0,NULL,'2024-11-04 10:53:04','2024-11-04 10:53:04',NULL),(11937,7146,11937,11925,NULL,0,NULL,'2024-11-04 10:53:53','2024-11-04 10:53:53',NULL),(11938,7146,11938,11926,NULL,0,NULL,'2024-11-04 11:05:03','2024-11-04 11:05:03',NULL),(11939,7146,11939,11927,NULL,0,NULL,'2024-12-04 10:18:21','2024-12-04 10:18:21',NULL),(11940,7146,11940,11928,NULL,0,NULL,'2024-12-04 10:19:41','2024-12-04 10:19:41',NULL),(11941,7146,11941,11929,NULL,0,NULL,'2024-12-04 10:35:51','2024-12-04 10:35:51',NULL),(11942,7146,11942,11930,NULL,0,NULL,'2024-12-04 10:37:27','2024-12-04 10:37:27',NULL),(11943,7146,11943,11931,NULL,0,NULL,'2024-12-04 10:38:43','2024-12-04 10:38:43',NULL),(11944,7146,11944,11932,NULL,0,NULL,'2024-12-04 10:39:38','2024-12-04 10:39:38',NULL),(11945,7146,11945,11933,NULL,0,NULL,'2024-12-04 10:40:33','2024-12-04 10:40:33',NULL),(11946,7146,11946,11934,NULL,0,NULL,'2024-12-04 10:41:30','2024-12-04 10:41:30',NULL),(11947,7146,11947,11935,NULL,0,NULL,'2024-12-04 10:43:08','2024-12-04 10:43:08',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11948,7146,11948,11936,NULL,0,NULL,'2024-12-04 10:44:01','2024-12-04 10:44:01',NULL),(11949,7146,11949,11937,NULL,0,NULL,'2024-12-04 10:46:17','2024-12-04 10:46:17',NULL),(11950,7146,11950,11938,NULL,0,NULL,'2024-12-04 10:51:44','2024-12-04 10:51:44',NULL),(11951,7146,11951,11939,NULL,0,NULL,'2024-12-04 10:52:33','2024-12-04 10:52:33',NULL),(11952,7146,11952,11940,NULL,0,NULL,'2024-12-04 10:55:03','2024-12-04 10:55:03',NULL),(11953,7146,11953,11941,NULL,0,NULL,'2024-12-04 10:57:55','2024-12-04 10:57:55',NULL),(11954,7146,11954,11942,NULL,0,NULL,'2024-12-04 10:59:01','2024-12-04 10:59:01',NULL),(11955,7146,11955,11943,NULL,0,NULL,'2024-12-04 10:59:44','2024-12-04 10:59:44',NULL),(11956,7146,11956,11944,NULL,0,NULL,'2024-12-04 11:00:30','2024-12-04 11:00:30',NULL),(11957,7146,11957,11945,NULL,0,NULL,'2024-12-04 11:10:55','2024-12-04 11:10:55',NULL),(11958,7146,11958,11946,NULL,0,NULL,'2025-01-02 10:32:56','2025-01-02 10:32:56',NULL),(11959,7146,11959,11947,NULL,0,NULL,'2025-01-02 10:34:42','2025-01-02 10:34:42',NULL),(11960,7146,11960,11948,NULL,0,NULL,'2025-01-02 10:36:02','2025-01-02 10:36:02',NULL),(11961,7146,11961,11949,NULL,0,NULL,'2025-01-02 10:37:00','2025-01-02 10:37:00',NULL),(11962,7146,11962,11950,NULL,0,NULL,'2025-01-02 10:38:12','2025-01-02 10:38:12',NULL),(11963,7146,11963,11951,NULL,0,NULL,'2025-01-02 10:39:44','2025-01-02 10:39:44',NULL),(11964,7146,11964,11952,NULL,0,NULL,'2025-01-02 10:40:52','2025-01-02 10:40:52',NULL),(11965,7146,11965,11953,NULL,0,NULL,'2025-01-02 10:42:10','2025-01-02 10:42:10',NULL),(11966,7146,11966,11954,NULL,0,NULL,'2025-01-02 10:43:08','2025-01-02 10:43:08',NULL),(11967,7146,11967,11955,NULL,0,NULL,'2025-01-02 10:44:06','2025-01-02 10:44:06',NULL),(11968,7146,11968,11956,NULL,0,NULL,'2025-01-02 10:45:14','2025-01-02 10:45:14',NULL),(11969,7146,11969,11957,NULL,0,NULL,'2025-01-02 10:46:08','2025-01-02 10:46:08',NULL),(11970,7146,11970,11958,NULL,0,NULL,'2025-01-02 10:47:10','2025-01-02 10:47:10',NULL),(11971,7146,11971,11959,NULL,0,NULL,'2025-01-02 10:48:18','2025-01-02 10:48:18',NULL),(11972,7146,11972,11960,NULL,0,NULL,'2025-01-02 10:50:42','2025-01-02 10:50:42',NULL),(11973,7146,11973,11961,NULL,0,NULL,'2025-01-02 10:51:44','2025-01-02 10:51:44',NULL),(11974,7146,11974,11962,NULL,0,NULL,'2025-01-02 10:53:27','2025-01-02 10:53:27',NULL),(11975,7146,11975,11963,NULL,0,NULL,'2025-01-02 10:54:15','2025-01-02 10:54:15',NULL),(11976,7146,11976,11964,NULL,0,NULL,'2025-01-02 11:10:12','2025-01-02 11:10:12',NULL),(11977,7146,11977,11965,NULL,0,NULL,'2025-01-03 13:52:27','2025-01-03 13:52:27',NULL),(11978,7146,11978,11966,NULL,0,NULL,'2025-01-03 13:53:57','2025-01-03 13:53:57',NULL),(11979,7146,11979,11967,NULL,0,NULL,'2025-02-03 10:08:03','2025-02-03 10:08:03',NULL),(11980,7146,11980,11968,NULL,0,NULL,'2025-02-04 11:36:43','2025-02-04 11:36:43',NULL),(11981,7146,11981,11969,NULL,0,NULL,'2025-02-04 11:37:56','2025-02-04 11:37:56',NULL),(11982,7146,11982,11970,NULL,0,NULL,'2025-02-04 11:39:27','2025-02-04 11:39:27',NULL),(11983,7146,11983,11971,NULL,0,NULL,'2025-02-04 11:40:24','2025-02-04 11:40:24',NULL),(11984,7146,11984,11972,NULL,0,NULL,'2025-02-04 11:44:04','2025-02-04 11:44:04',NULL),(11985,7146,11985,11973,NULL,0,NULL,'2025-02-04 11:44:51','2025-02-04 11:44:51',NULL),(11986,7146,11986,11974,NULL,0,NULL,'2025-02-04 11:45:54','2025-02-04 11:45:54',NULL),(11987,7146,11987,11975,NULL,0,NULL,'2025-02-04 11:47:18','2025-02-04 11:47:18',NULL),(11988,7146,11988,11976,NULL,0,NULL,'2025-02-04 11:48:47','2025-02-04 11:48:47',NULL),(11989,7146,11989,11977,NULL,0,NULL,'2025-02-04 11:50:37','2025-02-04 11:50:37',NULL),(11990,7146,11990,11978,NULL,0,NULL,'2025-02-04 11:52:27','2025-02-04 11:52:27',NULL),(11991,7146,11991,11979,NULL,0,NULL,'2025-02-04 11:55:57','2025-02-04 11:55:57',NULL),(11992,7146,11992,11980,NULL,0,NULL,'2025-02-04 11:58:32','2025-02-04 11:58:32',NULL),(11993,7146,11993,11981,NULL,0,NULL,'2025-02-04 11:59:52','2025-02-04 11:59:52',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (11994,7146,11994,11982,NULL,0,NULL,'2025-02-04 12:02:20','2025-02-04 12:02:20',NULL),(11995,7146,11995,11983,NULL,0,NULL,'2025-02-04 12:03:14','2025-02-04 12:03:14',NULL),(11996,7146,11996,11984,NULL,0,NULL,'2025-02-04 12:04:06','2025-02-04 12:04:06',NULL),(11997,7146,11997,11985,NULL,0,NULL,'2025-02-04 12:18:56','2025-02-04 12:18:56',NULL),(11998,7146,11998,11986,NULL,0,NULL,'2025-02-05 09:29:44','2025-02-05 09:29:44',NULL);

--
-- Table structure for table `cta_cte_tesoreria`
--

CREATE TABLE `cta_cte_tesoreria` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `bind_apibank_movement_id` bigint(20) unsigned DEFAULT NULL COMMENT 'FK soft a bind_apibank_movements (movimiento que originó este registro)',
  `bind_apibank_transfer_id` bigint(20) unsigned DEFAULT NULL COMMENT 'FK soft a bind_apibank_transfers (transferencia que originó este registro)',
  `bind_sync_status` enum('pending','synced','error') COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Estado de sincronización: pending=pendiente, synced=sincronizado, error=error al sincronizar',
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `nf_cta_cte_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `fecha` date DEFAULT NULL,
  `total` decimal(16,2) NOT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(9,2) NOT NULL DEFAULT '1.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `ticket_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_cta_cte_cliente_id_foreign` (`cta_cte_cliente_id`),
  KEY `cta_cte_tesoreria_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cta_cte_tesoreria_period_id_foreign` (`period_id`),
  KEY `cta_cte_tesoreria_nf_cta_cte_id_foreign` (`nf_cta_cte_id`),
  KEY `cta_cte_tesoreria_moneda_id_foreign` (`moneda_id`),
  KEY `cta_cte_tesoreria_ticket_id_foreign` (`ticket_id`),
  KEY `idx_cct_bind_apibank_mov` (`bind_apibank_movement_id`),
  KEY `idx_cct_bind_apibank_trf` (`bind_apibank_transfer_id`),
  KEY `idx_cct_bind_sync_status` (`bind_sync_status`),
  CONSTRAINT `cta_cte_tesoreria_cta_cte_cliente_id_foreign` FOREIGN KEY (`cta_cte_cliente_id`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `cta_cte_tesoreria_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_nf_cta_cte_id_foreign` FOREIGN KEY (`nf_cta_cte_id`) REFERENCES `nf_cta_cte` (`id`),
  CONSTRAINT `cta_cte_tesoreria_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `cta_cte_tesoreria_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `tickets` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria`
--


--
-- Table structure for table `cta_cte_tesoreria_banco_cheq`
--

CREATE TABLE `cta_cte_tesoreria_banco_cheq` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_banco_id` int(10) unsigned NOT NULL,
  `chequera_tipo_id` int(10) unsigned NOT NULL,
  `serie` text COLLATE utf8mb4_unicode_ci,
  `numero_cheque` int(11) DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_banco_cheq_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_banco_cheq_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cta_cte_tesoreria_banco_cheq_cta_cte_tesoreria_banco_id_foreign` (`cta_cte_tesoreria_banco_id`),
  KEY `cta_cte_tesoreria_banco_cheq_chequera_tipo_id_foreign` (`chequera_tipo_id`),
  CONSTRAINT `cta_cte_tesoreria_banco_cheq_chequera_tipo_id_foreign` FOREIGN KEY (`chequera_tipo_id`) REFERENCES `chequeras_tipos` (`id`),
  CONSTRAINT `cta_cte_tesoreria_banco_cheq_cta_cte_tesoreria_banco_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_banco_id`) REFERENCES `cta_cte_tesoreria_bancos` (`id`),
  CONSTRAINT `cta_cte_tesoreria_banco_cheq_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_banco_cheq_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_banco_cheq`
--


--
-- Table structure for table `cta_cte_tesoreria_banco_claves`
--

CREATE TABLE `cta_cte_tesoreria_banco_claves` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_banco_id` int(10) unsigned NOT NULL,
  `descripcion_name` text COLLATE utf8mb4_unicode_ci,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_banco_claves_person_id_foreign` (`person_id`),
  KEY `ct_cuenta_id` (`cta_cte_tesoreria_cuenta_id`),
  KEY `ct_banco_id` (`cta_cte_tesoreria_banco_id`),
  CONSTRAINT `ct_banco_id` FOREIGN KEY (`cta_cte_tesoreria_banco_id`) REFERENCES `cta_cte_tesoreria_bancos` (`id`),
  CONSTRAINT `ct_cuenta_id` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_banco_claves_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_banco_claves`
--


--
-- Table structure for table `cta_cte_tesoreria_banco_comentarios`
--

CREATE TABLE `cta_cte_tesoreria_banco_comentarios` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_banco_id` int(10) unsigned NOT NULL,
  `fecha` datetime NOT NULL,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_banco_comentarios_person_id_foreign` (`person_id`),
  KEY `ct_cuentas_id` (`cta_cte_tesoreria_cuenta_id`),
  KEY `ct_bancos_id` (`cta_cte_tesoreria_banco_id`),
  CONSTRAINT `ct_bancos_id` FOREIGN KEY (`cta_cte_tesoreria_banco_id`) REFERENCES `cta_cte_tesoreria_bancos` (`id`),
  CONSTRAINT `ct_cuentas_id` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_banco_comentarios_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_banco_comentarios`
--


--
-- Table structure for table `cta_cte_tesoreria_banco_estados`
--

CREATE TABLE `cta_cte_tesoreria_banco_estados` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_banco_estados`
--

INSERT INTO `cta_cte_tesoreria_banco_estados` VALUES (1,NULL,'Habilitado',0,NULL,NULL,NULL),(2,NULL,'En Proceso',0,NULL,NULL,NULL),(3,NULL,'Bloqueado',0,NULL,NULL,NULL),(4,NULL,'Reconocimiento',0,NULL,NULL,NULL),(5,NULL,'Inhabilitado',0,NULL,NULL,NULL);

--
-- Table structure for table `cta_cte_tesoreria_bancos`
--

CREATE TABLE `cta_cte_tesoreria_bancos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `ctacte_banco_id` int(10) unsigned NOT NULL,
  `persona_empresa` int(11) NOT NULL DEFAULT '1',
  `zone_id` int(10) unsigned NOT NULL,
  `cuenta_contable_id` int(10) unsigned NOT NULL,
  `cuenta_contable_id_diferido` int(10) unsigned DEFAULT NULL,
  `cuenta_contable_id_pend_acred` int(10) unsigned DEFAULT NULL,
  `numero_cuenta` text COLLATE utf8mb4_unicode_ci,
  `cbu` text COLLATE utf8mb4_unicode_ci,
  `alias` text COLLATE utf8mb4_unicode_ci,
  `cta_cte_tesoreria_banco_estado_id` int(10) unsigned DEFAULT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_bancos_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_bancos_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cta_cte_tesoreria_bancos_ctacte_banco_id_foreign` (`ctacte_banco_id`),
  KEY `cta_cte_tesoreria_bancos_zone_id_foreign` (`zone_id`),
  KEY `cta_cte_tesoreria_bancos_cuenta_contable_id_foreign` (`cuenta_contable_id`),
  KEY `cta_cte_tesoreria_bancos_cuenta_contable_id_diferido_foreign` (`cuenta_contable_id_diferido`),
  KEY `cta_cte_tesoreria_bancos_cuenta_contable_id_pend_acred_foreign` (`cuenta_contable_id_pend_acred`),
  KEY `cta_cte_tesoreria_bancos_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `ct_banco_estado_id` (`cta_cte_tesoreria_banco_estado_id`),
  CONSTRAINT `ct_banco_estado_id` FOREIGN KEY (`cta_cte_tesoreria_banco_estado_id`) REFERENCES `cta_cte_tesoreria_banco_estados` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_ctacte_banco_id_foreign` FOREIGN KEY (`ctacte_banco_id`) REFERENCES `ctacte_bancos` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_cuenta_contable_id_diferido_foreign` FOREIGN KEY (`cuenta_contable_id_diferido`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_cuenta_contable_id_foreign` FOREIGN KEY (`cuenta_contable_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_cuenta_contable_id_pend_acred_foreign` FOREIGN KEY (`cuenta_contable_id_pend_acred`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_bancos`
--


--
-- Table structure for table `cta_cte_tesoreria_cuenta_tipos`
--

CREATE TABLE `cta_cte_tesoreria_cuenta_tipos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_cuenta_tipos`
--

INSERT INTO `cta_cte_tesoreria_cuenta_tipos` VALUES (1,NULL,'CAJA',1,NULL,NULL,NULL),(2,NULL,'BANCOS',1,NULL,NULL,NULL),(3,NULL,'CHEQUES',1,NULL,NULL,NULL),(4,NULL,'RETENCIONES EFECTUADAS',1,NULL,'2024-05-26 20:58:07',NULL),(5,NULL,'PERCEPCIONES EFECTUADAS',1,NULL,'2024-05-26 20:58:07',NULL),(6,NULL,'RESULTADO NEGATIVO',1,NULL,NULL,NULL),(7,NULL,'RESULTADO POSITIVO',1,NULL,NULL,NULL),(8,NULL,'MOVIMIENTO',1,NULL,NULL,NULL),(9,NULL,'RETENCIONES SUFRIDAS',1,NULL,NULL,NULL),(10,NULL,'PERCEPCIONES SUFRIDAS',1,NULL,NULL,NULL);

--
-- Table structure for table `cta_cte_tesoreria_cuentas`
--

CREATE TABLE `cta_cte_tesoreria_cuentas` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `bind_apibank_enabled` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Tiene Bind APIBank habilitado?',
  `bind_account_id` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'ID de cuenta en Bind APIBank (obtenido al configurar)',
  `user_id` int(10) unsigned DEFAULT NULL,
  `is_no_fiscal` tinyint(1) DEFAULT '0',
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `plan_cuenta_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_tipo_id` int(10) unsigned NOT NULL DEFAULT '8',
  `retention_type_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `cuit` text COLLATE utf8mb4_unicode_ci,
  `cheque3ros` tinyint(1) NOT NULL DEFAULT '0',
  `cheque_emitidos` tinyint(1) NOT NULL DEFAULT '0',
  `tes_cta_cte` tinyint(1) NOT NULL DEFAULT '0',
  `tes_cuenta_origen` tinyint(1) NOT NULL DEFAULT '0',
  `tes_cuenta_destino` tinyint(1) NOT NULL DEFAULT '0',
  `conta_asientos` tinyint(1) NOT NULL DEFAULT '0',
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_cuentas_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_cuentas_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  KEY `cta_tes_tipo_id_foreign` (`cta_cte_tesoreria_cuenta_tipo_id`),
  KEY `cta_cte_tesoreria_cuentas_moneda_id_foreign` (`moneda_id`),
  KEY `cta_cte_tesoreria_cuentas_retention_type_id_foreign` (`retention_type_id`),
  KEY `idx_cctc_bind_apibank_enabled` (`bind_apibank_enabled`),
  KEY `idx_cctc_bind_account_id` (`bind_account_id`),
  CONSTRAINT `cta_cte_tesoreria_cuentas_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_cuentas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_cuentas_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `cta_cte_tesoreria_cuentas_retention_type_id_foreign` FOREIGN KEY (`retention_type_id`) REFERENCES `retention_types` (`id`),
  CONSTRAINT `cta_tes_tipo_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_tipo_id`) REFERENCES `cta_cte_tesoreria_cuenta_tipos` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=757 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_cuentas`
--

INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (13,0,NULL,NULL,0,1,13,NULL,8,NULL,'Clientes - Deudores',NULL,0,0,0,0,0,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(20,0,NULL,NULL,0,1,20,NULL,8,NULL,'Anticipos Impuesto a las Ganancias',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(23,0,NULL,NULL,0,1,23,NULL,4,NULL,'Retenciones Impuesto a las Ganancias',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(25,0,NULL,NULL,0,1,25,NULL,4,NULL,'Retenciones de IVA',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(57,0,NULL,NULL,0,1,57,NULL,8,NULL,'Proveedores en Cta. Cte. locales',NULL,0,0,0,0,0,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(60,0,NULL,NULL,0,1,60,NULL,3,NULL,'Cheques emitidos ',NULL,0,1,1,1,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(62,0,NULL,NULL,0,1,62,NULL,8,NULL,'Sueldos y Jornales a pagar',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(140,0,NULL,NULL,0,1,140,NULL,6,NULL,'Intereses y Gastos bancarios',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(162,0,NULL,NULL,0,1,162,NULL,4,NULL,'Retenciones SUSS',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(176,0,NULL,NULL,0,1,176,NULL,3,NULL,'Cheques en Cartera',NULL,1,0,1,1,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(201,0,NULL,NULL,0,1,201,NULL,6,NULL,'Monotributo',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(203,0,NULL,NULL,0,1,203,NULL,6,NULL,'Autonomos',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(219,0,NULL,NULL,0,1,219,NULL,8,NULL,'Pagos AFIP',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(251,0,NULL,NULL,0,1,251,NULL,4,NULL,'Retenciones de IIBB Buenos Aires',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(252,0,NULL,NULL,0,1,252,NULL,4,NULL,'Retenciones de IIBB Capital Federal',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(253,0,NULL,NULL,0,1,253,NULL,4,NULL,'Retenciones de IIBB Catamarca',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(254,0,NULL,NULL,0,1,254,NULL,4,NULL,'Retenciones de IIBB Chaco',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(255,0,NULL,NULL,0,1,255,NULL,4,NULL,'Retenciones de IIBB Chubut',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(256,0,NULL,NULL,0,1,256,NULL,4,NULL,'Retenciones de IIBB Córdoba',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(257,0,NULL,NULL,0,1,257,NULL,4,NULL,'Retenciones de IIBB Corrientes',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(258,0,NULL,NULL,0,1,258,NULL,4,NULL,'Retenciones de IIBB Entre Ríos',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(259,0,NULL,NULL,0,1,259,NULL,4,NULL,'Retenciones de IIBB Formosa',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(260,0,NULL,NULL,0,1,260,NULL,4,NULL,'Retenciones de IIBB Jujuy',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(261,0,NULL,NULL,0,1,261,NULL,4,NULL,'Retenciones de IIBB La Pampa',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(262,0,NULL,NULL,0,1,262,NULL,4,NULL,'Retenciones de IIBB La Rioja',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(263,0,NULL,NULL,0,1,263,NULL,4,NULL,'Retenciones de IIBB Mendoza',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(264,0,NULL,NULL,0,1,264,NULL,4,NULL,'Retenciones de IIBB Misiones',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(265,0,NULL,NULL,0,1,265,NULL,4,NULL,'Retenciones de IIBB Neuquén',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(266,0,NULL,NULL,0,1,266,NULL,4,NULL,'Retenciones de IIBB Pascua Lama',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (267,0,NULL,NULL,0,1,267,NULL,4,NULL,'Retenciones de IIBB Río Negro',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(268,0,NULL,NULL,0,1,268,NULL,4,NULL,'Retenciones de IIBB Salta',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(269,0,NULL,NULL,0,1,269,NULL,4,NULL,'Retenciones de IIBB San Juan',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(270,0,NULL,NULL,0,1,270,NULL,4,NULL,'Retenciones de IIBB San Luis',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(271,0,NULL,NULL,0,1,271,NULL,4,NULL,'Retenciones de IIBB Santa Cruz',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(272,0,NULL,NULL,0,1,272,NULL,4,NULL,'Retenciones de IIBB Santa Fe',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(273,0,NULL,NULL,0,1,273,NULL,4,NULL,'Retenciones de IIBB Santiago del Estero',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(274,0,NULL,NULL,0,1,274,NULL,4,NULL,'Retenciones de IIBB Tierra del Fuego',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(275,0,NULL,NULL,0,1,275,NULL,4,NULL,'Retenciones de IIBB Tucuman',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(351,0,NULL,NULL,0,1,351,NULL,8,NULL,'BANCO SIRCREB',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(359,0,NULL,NULL,0,1,359,NULL,8,NULL,'Caja en Pesos',NULL,0,0,1,1,1,0,1,'2019-10-19 02:10:24','2023-03-20 23:17:00','2023-03-20 23:17:00'),(360,0,NULL,NULL,0,1,360,NULL,8,NULL,'Retenciones Bancarias de Ganancias a Favor',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(364,0,NULL,NULL,0,1,364,NULL,8,NULL,'Anticipo de Clientes',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(384,0,NULL,NULL,0,1,384,NULL,8,NULL,'Caja en Dolares',NULL,0,0,1,1,1,0,1,'2019-10-19 02:10:24','2023-03-20 23:17:00','2023-03-20 23:17:00'),(409,0,NULL,NULL,0,1,409,NULL,6,NULL,'IVA Crédito Fiscal No computable',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(418,0,NULL,NULL,0,1,418,NULL,8,NULL,'Deudas Bancarias',NULL,0,0,0,1,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(433,0,NULL,NULL,0,1,433,NULL,8,NULL,'Préstamo',NULL,0,0,0,1,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(441,0,NULL,NULL,0,1,441,NULL,8,NULL,'Leasing',NULL,0,0,0,1,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(448,0,NULL,NULL,0,1,448,NULL,8,NULL,'Planes de Pagos AFIP',NULL,0,0,0,1,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(450,0,NULL,NULL,0,1,450,NULL,3,NULL,'Cheques Rechazados',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(467,0,NULL,NULL,0,1,467,NULL,6,NULL,'Interés',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:25:15',NULL),(468,0,NULL,NULL,0,1,14,NULL,8,NULL,'Deudores por ventas comunes',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(469,0,NULL,NULL,0,1,15,NULL,8,NULL,'Deudores por ventas morosos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(470,0,NULL,NULL,0,1,16,NULL,8,NULL,'Deudores en gestión judicial',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(471,0,NULL,NULL,0,1,17,NULL,8,NULL,'Previsión deudores incobrables',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(472,0,NULL,NULL,0,1,22,NULL,8,NULL,'Anticipo Impto.Ganancia Mínima Presunta',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(473,0,NULL,NULL,0,1,24,NULL,4,NULL,'Impuesto a las Ganancias (Saldo a favor)',NULL,0,0,0,0,0,1,0,'2020-02-06 17:23:07','2023-06-02 07:57:19',NULL),(474,0,NULL,NULL,0,1,27,NULL,8,NULL,'Anticipos de proveedores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(475,0,NULL,NULL,0,1,28,NULL,8,NULL,'Depósito en garantía alquileres',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (476,0,NULL,NULL,0,1,29,NULL,8,NULL,'Derechos adquiridos a devengar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(477,0,NULL,NULL,0,1,30,NULL,8,NULL,'Intereses a devengar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(478,0,NULL,NULL,0,1,31,NULL,8,NULL,'Cuentas a rendir - Directores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(479,0,NULL,NULL,0,1,32,NULL,8,NULL,'Alquileres no devengados',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(480,0,NULL,NULL,0,1,38,NULL,8,NULL,'Equipos de computación valores históricos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(481,0,NULL,NULL,0,1,39,NULL,8,NULL,'Equipos de computación ajuste',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(482,0,NULL,NULL,0,1,40,NULL,8,NULL,'Amortización Acumulada Equipos de comput.',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(483,0,NULL,NULL,0,1,42,NULL,8,NULL,'Instalaciones valores históricos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(484,0,NULL,NULL,0,1,43,NULL,8,NULL,'Instalaciones ajuste',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(485,0,NULL,NULL,0,1,44,NULL,8,NULL,'Amortización Acumulada Instalaciones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(486,0,NULL,NULL,0,1,46,NULL,8,NULL,'Muebles y utiles valores históricos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(487,0,NULL,NULL,0,1,47,NULL,8,NULL,'Muebles y utiles ajuste',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(488,0,NULL,NULL,0,1,48,NULL,8,NULL,'Amortización Acumulada Muebles y Útiles',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(489,0,NULL,NULL,0,1,50,NULL,8,NULL,'Gastos de organización valores historicos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(490,0,NULL,NULL,0,1,51,NULL,8,NULL,'Gastos de organización ajuste',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(491,0,NULL,NULL,0,1,52,NULL,8,NULL,'Amortización acumulada gs. de organización',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(492,0,NULL,NULL,0,1,58,NULL,8,NULL,'Proveedores en cta. cte. exterior',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(493,0,NULL,NULL,0,1,59,NULL,8,NULL,'Derechos de exhibición a devengar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(494,0,NULL,NULL,0,1,63,NULL,8,NULL,'Cargas sociales a pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(495,0,NULL,NULL,0,1,64,NULL,8,NULL,'Sindicatos a Pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(496,0,NULL,NULL,0,1,67,NULL,8,NULL,'IVA Debito Fiscal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(497,0,NULL,NULL,0,1,68,NULL,8,NULL,'IVA Credito Fiscal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(498,0,NULL,NULL,0,1,69,NULL,8,NULL,'Impuestos Internos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(499,0,NULL,NULL,0,1,70,NULL,8,NULL,'Impuestos al Combustible',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(500,0,NULL,NULL,0,1,71,NULL,8,NULL,'IVA Retenciones de terceros',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(501,0,NULL,NULL,0,1,72,NULL,5,NULL,'IVA Percepciones realiz.por terceros',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(502,0,NULL,NULL,0,1,73,NULL,8,NULL,'IVA Saldo a favor',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(503,0,NULL,NULL,0,1,74,NULL,8,NULL,'IVA a pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(504,0,NULL,NULL,0,1,75,NULL,5,NULL,'Percepciones Ingresos Brutos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (505,0,NULL,NULL,0,1,76,NULL,8,NULL,'Otros Pagos AFIP',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(506,0,NULL,NULL,0,1,78,NULL,8,NULL,'Impuesto a los Ingresos Brutos Pasivo',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(507,0,NULL,NULL,0,1,79,NULL,8,NULL,'Impuesto a las Ganancias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(508,0,NULL,NULL,0,1,80,NULL,8,NULL,'Impuesto a la Ganancia Mínima Presunta',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(509,0,NULL,NULL,0,1,81,NULL,8,NULL,'AFIP - Retenciones Impuesto a las Ganancias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(510,0,NULL,NULL,0,1,82,NULL,8,NULL,'AFIP - Plan de Facilidades Decreto 338/02',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(511,0,NULL,NULL,0,1,87,NULL,8,NULL,'Acciones en circulación',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(512,0,NULL,NULL,0,1,88,NULL,8,NULL,'Ajuste del Capital',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(513,0,NULL,NULL,0,1,89,NULL,8,NULL,'Aportes Irrevocables Futuras Suscripciones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(514,0,NULL,NULL,0,1,91,NULL,8,NULL,'Resultado del ejercicio',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(515,0,NULL,NULL,0,1,92,NULL,8,NULL,'Resultado ejercicios anteriores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(516,0,NULL,NULL,0,1,93,NULL,8,NULL,'A.R.E.A.',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(517,0,NULL,NULL,0,1,96,NULL,7,NULL,'VENTAS',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(518,0,NULL,NULL,0,1,97,NULL,7,NULL,'Honorarios',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(519,0,NULL,NULL,0,1,99,NULL,7,NULL,'Descuentos obtenidos',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(520,0,NULL,NULL,0,1,100,NULL,7,NULL,'Reintegros por exportaciones',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(521,0,NULL,NULL,0,1,102,NULL,7,NULL,'Intereses Cobrados',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(522,0,NULL,NULL,0,1,103,NULL,7,NULL,'Diferencias de cambio',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(523,0,NULL,NULL,0,1,104,NULL,7,NULL,'Descuentos obtenidos',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(524,0,NULL,NULL,0,1,110,NULL,6,NULL,'Sueldos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(525,0,NULL,NULL,0,1,111,NULL,6,NULL,'Contribuciones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(526,0,NULL,NULL,0,1,112,NULL,6,NULL,'Sindicato',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(527,0,NULL,NULL,0,1,114,NULL,8,NULL,'ACA',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(528,0,NULL,NULL,0,1,115,NULL,6,NULL,'Aereos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(529,0,NULL,NULL,0,1,116,NULL,6,NULL,'Alquiler',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(530,0,NULL,NULL,0,1,117,NULL,8,NULL,'AGUA AYSA',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:15',NULL),(531,0,NULL,NULL,0,1,118,NULL,8,NULL,'TV Cablevision',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(532,0,NULL,NULL,0,1,119,NULL,1,NULL,'Caja Jubilacion Consejo',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(533,0,NULL,NULL,0,1,120,NULL,6,NULL,'Celulares',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(534,0,NULL,NULL,0,1,121,NULL,3,NULL,'Cheques',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(535,0,NULL,NULL,0,1,123,NULL,8,NULL,'Comida',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (536,0,NULL,NULL,0,1,126,NULL,6,NULL,'Fletes y acarreos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(537,0,NULL,NULL,0,1,127,NULL,8,NULL,'Luz Edesur',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(538,0,NULL,NULL,0,1,128,NULL,6,NULL,'Movilidad y Viáticos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(539,0,NULL,NULL,0,1,129,NULL,8,NULL,'Mantenimiento',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(540,0,NULL,NULL,0,1,130,NULL,8,NULL,'IVA No Computable',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(541,0,NULL,NULL,0,1,131,NULL,8,NULL,'Entretenimiento',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(542,0,NULL,NULL,0,1,132,NULL,6,NULL,'Amortización Bienes de Uso',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(543,0,NULL,NULL,0,1,135,NULL,6,NULL,'Gastos varios',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(544,0,NULL,NULL,0,1,136,NULL,6,NULL,'Ajuste por redondeo',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(545,0,NULL,NULL,0,1,137,NULL,6,NULL,'Deudores Incobrables',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(546,0,NULL,NULL,0,1,141,NULL,6,NULL,'Intereses Proveedores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(547,0,NULL,NULL,0,1,143,NULL,6,NULL,'Diferencias de cambio',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(548,0,NULL,NULL,0,1,144,NULL,8,NULL,'Diferencia de Cambio Bces. en M.Extranjera',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(549,0,NULL,NULL,0,1,145,NULL,6,NULL,'Diferencia tipo cambio Vendedor/Comprador',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(550,0,NULL,NULL,0,1,146,NULL,8,NULL,'Diferencia por conversion en Bce. en Mon. Extranj.',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(551,0,NULL,NULL,0,1,147,NULL,8,NULL,'Diferencia de cambio CMV',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(552,0,NULL,NULL,0,1,148,NULL,8,NULL,'Diferencia de cambio PT',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(553,0,NULL,NULL,0,1,149,NULL,8,NULL,'Resultado por Exposición a la Inflación',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(554,0,NULL,NULL,0,1,150,NULL,8,NULL,'Diferencia de cambio PE',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(555,0,NULL,NULL,0,1,151,NULL,8,NULL,'Diferencia de cambio Ds.Vtas.',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(556,0,NULL,NULL,0,1,152,NULL,6,NULL,'Diferencia de cambio ME',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(557,0,NULL,NULL,0,1,153,NULL,6,NULL,'Descuentos otorgados',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(558,0,NULL,NULL,0,1,155,NULL,6,NULL,'Impuesto a las Ganancias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(559,0,NULL,NULL,0,1,156,NULL,6,NULL,'Impuesto a los Ingresos Brutos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(560,0,NULL,NULL,0,1,157,NULL,6,NULL,'Impuesto al Debito y Credito Bancario',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(561,0,NULL,NULL,0,1,159,NULL,6,NULL,'Pérdida por venta bienes de uso',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(562,0,NULL,NULL,0,1,160,NULL,6,NULL,'Inversiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(563,0,NULL,NULL,0,1,161,NULL,6,NULL,'Amortizaciones extraordinarias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(564,0,NULL,NULL,0,1,178,NULL,8,NULL,'Google',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(565,0,NULL,NULL,0,1,188,NULL,6,NULL,'Publicidad',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (566,0,NULL,NULL,0,1,191,NULL,6,NULL,'Cargas Sociales',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(567,0,NULL,NULL,0,1,192,NULL,6,NULL,'Honorarios',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(568,0,NULL,NULL,0,1,193,NULL,6,NULL,'Telefono Fijo',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(569,0,NULL,NULL,0,1,198,NULL,6,NULL,'Seguros',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(570,0,NULL,NULL,0,1,199,NULL,6,NULL,'Internet',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(571,0,NULL,NULL,0,1,204,NULL,6,NULL,'Multas Impositivas',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(572,0,NULL,NULL,0,1,208,NULL,6,NULL,'Impuesto a los Ingresos Brutos - BS AS',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(573,0,NULL,NULL,0,1,209,NULL,6,NULL,'SIRCREB',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(574,0,NULL,NULL,0,1,212,NULL,6,NULL,'Tarjeta Visa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(575,0,NULL,NULL,0,1,213,NULL,6,NULL,'Tarjeta American Express',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(576,0,NULL,NULL,0,1,214,NULL,6,NULL,'Tarjeta Mastercard',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(577,0,NULL,NULL,0,1,215,NULL,8,NULL,'Tarjeta Shopping',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(578,0,NULL,NULL,0,1,216,NULL,6,NULL,'Tarjeta Cencosud',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(579,0,NULL,NULL,0,1,217,NULL,6,NULL,'Compras',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(580,0,NULL,NULL,0,1,218,NULL,7,NULL,'Ventas No Gravadas',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(581,0,NULL,NULL,0,1,220,NULL,5,NULL,'Perc IVA -RG3337',NULL,0,0,0,0,0,1,0,'2020-02-06 17:23:07','2023-06-02 07:57:19',NULL),(582,0,NULL,NULL,0,1,221,NULL,6,NULL,'Imps. Internos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(583,0,NULL,NULL,0,1,222,NULL,6,NULL,'Imp. Gasoil',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(584,0,NULL,NULL,0,1,223,NULL,6,NULL,'Imp. Hídricos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(585,0,NULL,NULL,0,1,224,NULL,6,NULL,'ITC',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(586,0,NULL,NULL,0,1,225,NULL,5,NULL,'Perc IIBB  Buenos Aires',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(587,0,NULL,NULL,0,1,226,NULL,5,NULL,'Perc IIBB  Capital Federal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(588,0,NULL,NULL,0,1,227,NULL,5,NULL,'Perc IIBB  Catamarca',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(589,0,NULL,NULL,0,1,228,NULL,5,NULL,'Perc IIBB  Chaco',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(590,0,NULL,NULL,0,1,229,NULL,5,NULL,'Perc IIBB  Chubut',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(591,0,NULL,NULL,0,1,230,NULL,5,NULL,'Perc IIBB  Córdoba',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(592,0,NULL,NULL,0,1,231,NULL,5,NULL,'Perc IIBB  Corrientes',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(593,0,NULL,NULL,0,1,232,NULL,5,NULL,'Perc IIBB  Entre Ríos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(594,0,NULL,NULL,0,1,233,NULL,5,NULL,'Perc IIBB  Formosa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(595,0,NULL,NULL,0,1,234,NULL,5,NULL,'Perc IIBB  Jujuy',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(596,0,NULL,NULL,0,1,235,NULL,5,NULL,'Perc IIBB  La Pampa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(597,0,NULL,NULL,0,1,236,NULL,5,NULL,'Perc IIBB  La Rioja',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (598,0,NULL,NULL,0,1,237,NULL,5,NULL,'Perc IIBB  Mendoza',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(599,0,NULL,NULL,0,1,238,NULL,5,NULL,'Perc IIBB  Misiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(600,0,NULL,NULL,0,1,239,NULL,5,NULL,'Perc IIBB  Neuquén',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(601,0,NULL,NULL,0,1,240,NULL,5,NULL,'Perc IIBB  Pascua Lama',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(602,0,NULL,NULL,0,1,241,NULL,5,NULL,'Perc IIBB  Río Negro',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(603,0,NULL,NULL,0,1,242,NULL,5,NULL,'Perc IIBB  Salta',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(604,0,NULL,NULL,0,1,243,NULL,5,NULL,'Perc IIBB  San Juan',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(605,0,NULL,NULL,0,1,244,NULL,5,NULL,'Perc IIBB  San Luis',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(606,0,NULL,NULL,0,1,245,NULL,5,NULL,'Perc IIBB  Santa Cruz',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(607,0,NULL,NULL,0,1,246,NULL,5,NULL,'Perc IIBB  Santa Fe',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(608,0,NULL,NULL,0,1,247,NULL,5,NULL,'Perc IIBB  Santiago del Estero',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(609,0,NULL,NULL,0,1,248,NULL,5,NULL,'Perc IIBB  Tierra del Fuego',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(610,0,NULL,NULL,0,1,249,NULL,5,NULL,'Perc IIBB  Tucuman',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(611,0,NULL,NULL,0,1,250,NULL,6,NULL,'Compras No Gravadas',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(612,0,NULL,NULL,0,1,276,NULL,6,NULL,'SIRCREB Buenos Aires',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(613,0,NULL,NULL,0,1,277,NULL,6,NULL,'SIRCREB Capital Federal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(614,0,NULL,NULL,0,1,278,NULL,6,NULL,'SIRCREB Catamarca',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(615,0,NULL,NULL,0,1,279,NULL,6,NULL,'SIRCREB Chaco',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(616,0,NULL,NULL,0,1,280,NULL,6,NULL,'SIRCREB Chubut',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(617,0,NULL,NULL,0,1,281,NULL,6,NULL,'SIRCREB Córdoba',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(618,0,NULL,NULL,0,1,282,NULL,6,NULL,'SIRCREB Corrientes',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(619,0,NULL,NULL,0,1,283,NULL,6,NULL,'SIRCREB Entre Ríos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(620,0,NULL,NULL,0,1,284,NULL,6,NULL,'SIRCREB Formosa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(621,0,NULL,NULL,0,1,285,NULL,6,NULL,'SIRCREB Jujuy',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(622,0,NULL,NULL,0,1,286,NULL,6,NULL,'SIRCREB La Pampa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(623,0,NULL,NULL,0,1,287,NULL,6,NULL,'SIRCREB La Rioja',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(624,0,NULL,NULL,0,1,288,NULL,6,NULL,'SIRCREB Mendoza',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(625,0,NULL,NULL,0,1,289,NULL,6,NULL,'SIRCREB Misiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(626,0,NULL,NULL,0,1,290,NULL,6,NULL,'SIRCREB Neuquén',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(627,0,NULL,NULL,0,1,291,NULL,6,NULL,'SIRCREB Pascua Lama',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(628,0,NULL,NULL,0,1,292,NULL,6,NULL,'SIRCREB Río Negro',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (629,0,NULL,NULL,0,1,293,NULL,6,NULL,'SIRCREB Salta',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(630,0,NULL,NULL,0,1,294,NULL,6,NULL,'SIRCREB San Juan',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(631,0,NULL,NULL,0,1,295,NULL,6,NULL,'SIRCREB San Luis',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(632,0,NULL,NULL,0,1,296,NULL,6,NULL,'SIRCREB Santa Cruz',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(633,0,NULL,NULL,0,1,297,NULL,6,NULL,'SIRCREB Santa Fe',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(634,0,NULL,NULL,0,1,298,NULL,6,NULL,'SIRCREB Santiago del Estero',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(635,0,NULL,NULL,0,1,299,NULL,6,NULL,'SIRCREB Tierra del Fuego',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(636,0,NULL,NULL,0,1,300,NULL,6,NULL,'SIRCREB Tucuman',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(637,0,NULL,NULL,0,1,301,NULL,8,NULL,'IIBB a Favor Buenos Aires',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(638,0,NULL,NULL,0,1,302,NULL,8,NULL,'IIBB a Favor Capital Federal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(639,0,NULL,NULL,0,1,303,NULL,8,NULL,'IIBB a Favor Catamarca',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(640,0,NULL,NULL,0,1,304,NULL,8,NULL,'IIBB a Favor Chaco',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(641,0,NULL,NULL,0,1,305,NULL,8,NULL,'IIBB a Favor Chubut',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(642,0,NULL,NULL,0,1,306,NULL,8,NULL,'IIBB a Favor Córdoba',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(643,0,NULL,NULL,0,1,307,NULL,8,NULL,'IIBB a Favor Corrientes',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(644,0,NULL,NULL,0,1,308,NULL,8,NULL,'IIBB a Favor Entre Ríos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(645,0,NULL,NULL,0,1,309,NULL,8,NULL,'IIBB a Favor Formosa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(646,0,NULL,NULL,0,1,310,NULL,8,NULL,'IIBB a Favor Jujuy',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(647,0,NULL,NULL,0,1,311,NULL,8,NULL,'IIBB a Favor La Pampa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(648,0,NULL,NULL,0,1,312,NULL,8,NULL,'IIBB a Favor La Rioja',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(649,0,NULL,NULL,0,1,313,NULL,8,NULL,'IIBB a Favor Mendoza',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:25:16',NULL),(650,0,NULL,NULL,0,1,314,NULL,8,NULL,'IIBB a Favor Misiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(651,0,NULL,NULL,0,1,315,NULL,8,NULL,'IIBB a Favor Neuquén',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(652,0,NULL,NULL,0,1,316,NULL,8,NULL,'IIBB a Favor Pascua Lama',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(653,0,NULL,NULL,0,1,317,NULL,8,NULL,'IIBB a Favor Río Negro',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(654,0,NULL,NULL,0,1,318,NULL,8,NULL,'IIBB a Favor Salta',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(655,0,NULL,NULL,0,1,319,NULL,8,NULL,'IIBB a Favor San Juan',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(656,0,NULL,NULL,0,1,320,NULL,8,NULL,'IIBB a Favor San Luis',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(657,0,NULL,NULL,0,1,321,NULL,8,NULL,'IIBB a Favor Santa Cruz',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(658,0,NULL,NULL,0,1,322,NULL,8,NULL,'IIBB a Favor Santa Fe',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (659,0,NULL,NULL,0,1,323,NULL,8,NULL,'IIBB a Favor Santiago del Estero',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(660,0,NULL,NULL,0,1,324,NULL,8,NULL,'IIBB a Favor Tierra del Fuego',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(661,0,NULL,NULL,0,1,325,NULL,8,NULL,'IIBB a Favor Tucuman',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(662,0,NULL,NULL,0,1,326,NULL,8,NULL,'IIBB a Pagar Buenos Aires',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(663,0,NULL,NULL,0,1,327,NULL,8,NULL,'IIBB a Pagar Capital Federal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(664,0,NULL,NULL,0,1,328,NULL,8,NULL,'IIBB a Pagar Catamarca',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(665,0,NULL,NULL,0,1,329,NULL,8,NULL,'IIBB a Pagar Chaco',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(666,0,NULL,NULL,0,1,330,NULL,8,NULL,'IIBB a Pagar Chubut',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(667,0,NULL,NULL,0,1,331,NULL,8,NULL,'IIBB a Pagar Córdoba',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(668,0,NULL,NULL,0,1,332,NULL,8,NULL,'IIBB a Pagar Corrientes',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(669,0,NULL,NULL,0,1,333,NULL,8,NULL,'IIBB a Pagar Entre Ríos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(670,0,NULL,NULL,0,1,334,NULL,8,NULL,'IIBB a Pagar Formosa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(671,0,NULL,NULL,0,1,335,NULL,8,NULL,'IIBB a Pagar Jujuy',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(672,0,NULL,NULL,0,1,336,NULL,8,NULL,'IIBB a Pagar La Pampa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(673,0,NULL,NULL,0,1,337,NULL,8,NULL,'IIBB a Pagar La Rioja',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(674,0,NULL,NULL,0,1,338,NULL,8,NULL,'IIBB a Pagar Mendoza',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(675,0,NULL,NULL,0,1,339,NULL,8,NULL,'IIBB a Pagar Misiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(676,0,NULL,NULL,0,1,340,NULL,8,NULL,'IIBB a Pagar Neuquén',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(677,0,NULL,NULL,0,1,341,NULL,8,NULL,'IIBB a Pagar Pascua Lama',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(678,0,NULL,NULL,0,1,342,NULL,8,NULL,'IIBB a Pagar Río Negro',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(679,0,NULL,NULL,0,1,343,NULL,8,NULL,'IIBB a Pagar Salta',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(680,0,NULL,NULL,0,1,344,NULL,8,NULL,'IIBB a Pagar San Juan',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(681,0,NULL,NULL,0,1,345,NULL,8,NULL,'IIBB a Pagar San Luis',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(682,0,NULL,NULL,0,1,346,NULL,8,NULL,'IIBB a Pagar Santa Cruz',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(683,0,NULL,NULL,0,1,347,NULL,8,NULL,'IIBB a Pagar Santa Fe',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(684,0,NULL,NULL,0,1,348,NULL,8,NULL,'IIBB a Pagar Santiago del Estero',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(685,0,NULL,NULL,0,1,349,NULL,8,NULL,'IIBB a Pagar Tierra del Fuego',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(686,0,NULL,NULL,0,1,350,NULL,8,NULL,'IIBB a Pagar Tucuman',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(687,0,NULL,NULL,0,1,352,NULL,8,NULL,'Compensacion',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(688,0,NULL,NULL,0,1,353,NULL,8,NULL,'IVA Saldo Tecnico',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (689,0,NULL,NULL,0,1,354,NULL,8,NULL,'IVA Saldo Libre Disponibilidad',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(690,0,NULL,NULL,0,1,361,NULL,8,NULL,'Equipos de Computación',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(691,0,NULL,NULL,0,1,362,NULL,8,NULL,'Computadoras',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(692,0,NULL,NULL,0,1,363,NULL,8,NULL,'Muebles y Utiles',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(693,0,NULL,NULL,0,1,365,NULL,8,NULL,'Provision Honorarios',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(694,0,NULL,NULL,0,1,366,NULL,8,NULL,'Cta. Cte Directores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(695,0,NULL,NULL,0,1,367,NULL,8,NULL,'Provisión Honorarios Directores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(696,0,NULL,NULL,0,1,368,NULL,8,NULL,'Cuenta Particular Socio 1',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(697,0,NULL,NULL,0,1,369,NULL,8,NULL,'Capital',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(698,0,NULL,NULL,0,1,380,NULL,8,NULL,'Instalaciones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(699,0,NULL,NULL,0,1,381,NULL,8,NULL,'Reserva Legal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(700,0,NULL,NULL,0,1,382,NULL,8,NULL,'Reserva Legal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(701,0,NULL,NULL,0,1,383,NULL,8,NULL,'Resultado no asignado',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(702,0,NULL,NULL,0,1,386,NULL,8,NULL,'PLAZO FIJO',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(703,0,NULL,NULL,0,1,388,NULL,8,NULL,'ACCIONES',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(704,0,NULL,NULL,0,1,389,NULL,8,NULL,'Inmuebles',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(705,0,NULL,NULL,0,1,390,NULL,8,NULL,'Vehiculos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(706,0,NULL,NULL,0,1,391,NULL,8,NULL,'Maquinarias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(707,0,NULL,NULL,0,1,392,NULL,8,NULL,'MERCADERIAS',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(708,0,NULL,NULL,0,1,393,NULL,8,NULL,'OTROS',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(709,0,NULL,NULL,0,1,395,NULL,8,NULL,'Cuenta Particular Socio 2',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(710,0,NULL,NULL,0,1,396,NULL,6,NULL,'Comisiones Y gastos Bancarios',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(711,0,NULL,NULL,0,1,411,NULL,8,NULL,'Provisión Impuesto a las Ganancias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(712,0,NULL,NULL,0,1,412,NULL,6,NULL,'Amortización Muebles y Útiles',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(713,0,NULL,NULL,0,1,413,NULL,6,NULL,'Amortización Equipos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(714,0,NULL,NULL,0,1,414,NULL,8,NULL,'Amortizacion Acumulada Equipos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(715,0,NULL,NULL,0,1,415,NULL,8,NULL,'Amortización Acumulada Maquinarias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(716,0,NULL,NULL,0,1,416,NULL,8,NULL,'Materias Primas',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(717,0,NULL,NULL,0,1,419,NULL,8,NULL,'Rodados',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(718,0,NULL,NULL,0,1,420,NULL,8,NULL,'Amortización Acumulada Rodados',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(719,0,NULL,NULL,0,1,421,NULL,8,NULL,'Amortización Rodados',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (720,0,NULL,NULL,0,1,422,NULL,8,NULL,'Amortización Maquinarias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(721,0,NULL,NULL,0,1,423,NULL,8,NULL,'Accesorios',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(722,0,NULL,NULL,0,1,424,NULL,8,NULL,'Amortización Acumulada Accesorios',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(723,0,NULL,NULL,0,1,426,NULL,8,NULL,'Reserva Facultativa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(724,0,NULL,NULL,0,1,427,NULL,8,NULL,'Créditos por Impuestos Diferidos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(725,0,NULL,NULL,0,1,428,NULL,8,NULL,'Fondo de Comercio',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(726,0,NULL,NULL,0,1,429,NULL,8,NULL,'Amortizacion Acumulada Fondo de Comercio',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(727,0,NULL,NULL,0,1,430,NULL,8,NULL,'Intereses a devengar AGIP',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(728,0,NULL,NULL,0,1,431,NULL,8,NULL,'PFP IIBB',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(729,0,NULL,NULL,0,1,434,NULL,8,NULL,'Productos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(730,0,NULL,NULL,0,1,435,NULL,8,NULL,'Intereses a devengar PFP',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(731,0,NULL,NULL,0,1,437,NULL,8,NULL,'Imp. Ley 25413 Cred 0.6%',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(732,0,NULL,NULL,0,1,438,NULL,8,NULL,'Honorarios Directorio a Pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(733,0,NULL,NULL,0,1,439,NULL,8,NULL,'Reserva para Futuras Inversiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(734,0,NULL,NULL,0,1,440,NULL,8,NULL,'TEAC - Trabajos Ejecutados a Certificar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(735,0,NULL,NULL,0,1,444,NULL,8,NULL,'Banco Santander Rio Cta Cte',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(736,0,NULL,NULL,0,1,449,NULL,8,NULL,'Leasing',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(737,0,NULL,NULL,0,1,453,NULL,8,NULL,'Inversión Central Caribe',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(738,0,NULL,NULL,0,1,454,NULL,8,NULL,'Otras Inversiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(739,0,NULL,NULL,0,1,455,NULL,8,NULL,'Otros Créditos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(740,0,NULL,NULL,0,1,456,NULL,8,NULL,'Provisión Honorarios Socio Gerente',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(741,0,NULL,NULL,0,1,459,NULL,8,NULL,'Moratoria SUSS a pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(742,0,NULL,NULL,0,1,460,NULL,8,NULL,'Impuestos Municipales a Pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(743,0,NULL,NULL,0,1,461,NULL,6,NULL,'Amortización Instalaciones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(744,0,NULL,NULL,0,1,462,NULL,8,NULL,'Amortización Equipos de comput.',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(745,0,NULL,NULL,0,1,463,NULL,8,NULL,'Cuenta Particular Socio 3',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(746,0,NULL,NULL,0,1,464,NULL,8,NULL,'Cuenta Particular Socio 4',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(747,0,NULL,NULL,0,1,465,NULL,8,NULL,'Otras Reservas',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(748,0,NULL,NULL,0,1,466,NULL,8,NULL,'IGMP (Saldo a Favor)',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(749,0,NULL,NULL,0,1,468,NULL,8,NULL,'Productos en Proceso',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (750,0,NULL,NULL,0,1,469,NULL,8,NULL,'Depósitos en Garantía Socio Gerente',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(751,0,NULL,NULL,0,1,470,NULL,8,NULL,'Fondos Embargados',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(752,0,NULL,NULL,0,1,471,NULL,8,NULL,'Cuota Solid.',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(753,0,NULL,NULL,0,1,472,NULL,8,NULL,'Anticipo Honorarios Directores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(754,0,NULL,NULL,0,1,473,NULL,8,NULL,'SICORE a Pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(755,0,NULL,NULL,0,1,476,NULL,6,NULL,'RECPAM',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL),(756,0,NULL,NULL,0,1,478,NULL,6,NULL,'CO2 - Imp. Al Carbono',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:25:16',NULL);

--
-- Table structure for table `cta_cte_tesoreria_detail`
--

CREATE TABLE `cta_cte_tesoreria_detail` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned DEFAULT NULL,
  `saldo_id` int(10) unsigned NOT NULL,
  `monto` decimal(16,2) NOT NULL,
  `is_conciliado` tinyint(1) NOT NULL DEFAULT '0',
  `fecha` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_detail_cta_cte_tesoreria_id_foreign` (`cta_cte_tesoreria_id`),
  KEY `cta_cte_tesoreria_detail_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cta_cte_tesoreria_detail_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_detail_period_id_foreign` (`period_id`),
  KEY `cta_cte_tesoreria_detail_saldo_id_foreign` (`saldo_id`),
  CONSTRAINT `cta_cte_tesoreria_detail_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_detail_cta_cte_tesoreria_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_id`) REFERENCES `cta_cte_tesoreria` (`id`),
  CONSTRAINT `cta_cte_tesoreria_detail_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `cta_cte_tesoreria_detail_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_detail_saldo_id_foreign` FOREIGN KEY (`saldo_id`) REFERENCES `conta_tipo_saldos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_detail`
--


--
-- Table structure for table `ctacte_bancos`
--

CREATE TABLE `ctacte_bancos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `codigoBCRA` int(11) DEFAULT NULL,
  `cuit` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=82 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctacte_bancos`
--

INSERT INTO `ctacte_bancos` VALUES (1,NULL,'BANCO DE GALICIA Y BUENOS AIRES S.A.',7,'30-50000173-5',NULL,NULL,NULL),(2,NULL,'BANCO DE LA NACION ARGENTINA',11,'30-50001091-2',NULL,NULL,NULL),(3,NULL,'BANCO DE LA PROVINCIA DE BUENOS AIRES',14,'33-99924210-9',NULL,NULL,NULL),(4,NULL,'INDUSTRIAL AND COMMERCIAL BANK OF CHINA',15,'30-70944784-6',NULL,NULL,NULL),(5,NULL,'CITIBANK N.A.',16,'30-50000562-5',NULL,NULL,NULL),(6,NULL,'BBVA BANCO FRANCES S.A.',17,'30-50000319-3',NULL,NULL,NULL),(7,NULL,'THE BANK OF TOKYO-MITSUBISHI UFJ, LTD.',18,'30-50001183-8',NULL,NULL,NULL),(8,NULL,'BANCO DE LA PROVINCIA DE CORDOBA S.A.',20,'30-99922856-5',NULL,NULL,NULL),(9,NULL,'BANCO SUPERVIELLE S.A.',27,'33-50000517-9',NULL,NULL,NULL),(10,NULL,'BANCO DE LA CIUDAD DE BUENOS AIRES',29,'30-99903208-3',NULL,NULL,NULL),(11,NULL,'BANCO PATAGONIA S.A.',34,'30-50000661-3',NULL,NULL,NULL),(12,NULL,'BANCO HIPOTECARIO S.A.',44,'30-50001107-2',NULL,NULL,NULL),(13,NULL,'BANCO DE SAN JUAN S.A.',45,'30-50000944-2',NULL,NULL,NULL),(14,NULL,'BANCO DEL TUCUMAN S.A.',60,'30-51794820-5',NULL,NULL,NULL),(15,NULL,'BANCO MUNICIPAL DE ROSARIO',65,'33-99918181-9',NULL,NULL,NULL),(16,NULL,'BANCO SANTANDER RIO S.A.',72,'30-50000845-4',NULL,NULL,NULL),(17,NULL,'BANCO DEL CHUBUT S.A.',83,'30-50001299-0',NULL,NULL,NULL),(18,NULL,'BANCO DE SANTA CRUZ S.A.',86,'30-50009880-1',NULL,NULL,NULL),(19,NULL,'BANCO DE LA PAMPA SOCIEDAD DE ECONOMÍA M',93,'30-50001251-6',NULL,NULL,NULL),(20,NULL,'BANCO DE CORRIENTES S.A.',94,'30-50001060-2',NULL,NULL,NULL),(21,NULL,'BANCO PROVINCIA DEL NEUQUÉN SOCIEDAD ANÓ',97,'30-50001404-7',NULL,NULL,NULL),(22,NULL,'BANCO INTERFINANZAS S.A.',147,'30-52271441-7',NULL,NULL,NULL),(23,NULL,'HSBC BANK ARGENTINA S.A.',150,'33-53718600-9',NULL,NULL,NULL),(24,NULL,'JPMORGAN CHASE BANK, NATIONAL ASSOCIATIO',165,'30-58313794-3',NULL,NULL,NULL),(25,NULL,'BANCO CREDICOOP COOPERATIVO LIMITADO',191,'30-57142135-2',NULL,NULL,NULL),(26,NULL,'BANCO DE VALORES S.A.',198,'30-57612427-5',NULL,NULL,NULL),(27,NULL,'BANCO ROELA S.A.',247,'30-53561044-0',NULL,NULL,NULL),(28,NULL,'BANCO MARIVA S.A.',254,'30-51642044-4',NULL,NULL,NULL),(29,NULL,'BANCO ITAU ARGENTINA S.A.',259,'30-58018941-1',NULL,NULL,NULL),(30,NULL,'BANK OF AMERICA, NATIONAL ASSOCIATION',262,'30-50005055-8',NULL,NULL,NULL),(31,NULL,'BNP PARIBAS',266,'30-58472756-6',NULL,NULL,NULL),(32,NULL,'BANCO PROVINCIA DE TIERRA DEL FUEGO',268,'30-57565578-1',NULL,NULL,NULL),(33,NULL,'BANCO DE LA REPUBLICA ORIENTAL DEL URUGU',269,'30-58833784-3',NULL,NULL,NULL),(34,NULL,'BANCO SAENZ S.A.',277,'30-53467243-4',NULL,NULL,NULL),(35,NULL,'BANCO MERIDIAN S.A.',281,'30-53448749-1',NULL,NULL,NULL),(36,NULL,'BANCO MACRO S.A.',285,'30-50001008-4',NULL,NULL,NULL),(37,NULL,'BANCO COMAFI SOCIEDAD ANONIMA',299,'30-60473101-8',NULL,NULL,NULL),(38,NULL,'BANCO DE INVERSION Y COMERCIO EXTERIOR S',300,'30-65112908-3',NULL,NULL,NULL),(39,NULL,'BANCO PIANO S.A.',301,'30-56915176-3',NULL,NULL,NULL),(40,NULL,'BANCO JULIO SOCIEDAD ANONIMA',305,'30-65744121-6',NULL,NULL,NULL),(41,NULL,'BANCO RIOJA SOCIEDAD ANONIMA UNIPERSONAL',309,'30-67185933-9',NULL,NULL,NULL),(42,NULL,'BANCO DEL SOL S.A.',310,'30-67793756-0',NULL,NULL,NULL),(43,NULL,'NUEVO BANCO DEL CHACO S. A.',311,'30-67015779-9',NULL,NULL,NULL),(44,NULL,'BANCO VOII S.A.',312,'30-54674163-6',NULL,NULL,NULL),(45,NULL,'BANCO DE FORMOSA S.A.',315,'30-67137590-0',NULL,NULL,NULL),(46,NULL,'BANCO CMF S.A.',319,'30-57661429-9',NULL,NULL,NULL),(47,NULL,'BANCO DE SANTIAGO DEL ESTERO S.A.',321,'33-68666464-9',NULL,NULL,NULL),(48,NULL,'BANCO INDUSTRIAL S.A.',322,'30-68502995-9',NULL,NULL,NULL),(49,NULL,'NUEVO BANCO DE SANTA FE SOCIEDAD ANONIMA',330,'30-69243266-1',NULL,NULL,NULL),(50,NULL,'BANCO CETELEM ARGENTINA S.A.',331,'30-69730636-2',NULL,NULL,NULL),(51,NULL,'BANCO DE SERVICIOS FINANCIEROS S.A.',332,'30-69726589-5',NULL,NULL,NULL),(52,NULL,'BANCO BRADESCO ARGENTINA S.A.U.',336,'30-70125555-7',NULL,NULL,NULL),(53,NULL,'BANCO DE SERVICIOS Y TRANSACCIONES S.A.',338,'30-70496099-5',NULL,NULL,NULL);
INSERT INTO `ctacte_bancos` VALUES (54,NULL,'RCI BANQUE S.A.',339,'30-70710834-3',NULL,NULL,NULL),(55,NULL,'BACS BANCO DE CREDITO Y SECURITIZACION S',340,'30-70722741-5',NULL,NULL,NULL),(56,NULL,'BANCO MASVENTAS S.A.',341,'30-54061826-3',NULL,NULL,NULL),(57,NULL,'BANCO WANAP S.A.',384,'30-71565463-2',NULL,NULL,NULL),(58,NULL,'NUEVO BANCO DE ENTRE RÍOS S.A.',386,'33-70799551-9',NULL,NULL,NULL),(59,NULL,'BANCO COLUMBIA S.A.',389,'30-51763749-8',NULL,NULL,NULL),(60,NULL,'BANCO BICA S.A.',426,'30-71233123-9',NULL,NULL,NULL),(61,NULL,'BANCO COINAG S.A.',431,'30-71419596-0',NULL,NULL,NULL),(62,NULL,'BANCO DE COMERCIO S.A.',432,'30-54203363-7',NULL,NULL,NULL),(63,NULL,'FORD CREDIT COMPAÑIA FINANCIERA S.A.',44059,'30-51654454-2',NULL,NULL,NULL),(64,NULL,'COMPAÑIA FINANCIERA ARGENTINA S.A.',44077,'30-53800640-4',NULL,NULL,NULL),(65,NULL,'VOLKWAGEN FINANCIAL SERVICES CIA.FIN.S.A',44088,'30-68241957-8',NULL,NULL,NULL),(66,NULL,'CORDIAL COMPAÑÍA FINANCIERA S.A.',44090,'30-70181085-2',NULL,NULL,NULL),(67,NULL,'FCA COMPAÑIA FINANCIERA S.A.',44092,'30-69230488-4',NULL,NULL,NULL),(68,NULL,'GPAT COMPAÑIA FINANCIERA S.A.',44093,'30-67856482-2',NULL,NULL,NULL),(69,NULL,'MERCEDES-BENZ COMPAÑÍA FINANCIERA ARGENT',44094,'30-70700229-4',NULL,NULL,NULL),(70,NULL,'ROMBO COMPAÑÍA FINANCIERA S.A.',44095,'33-70712490-9',NULL,NULL,NULL),(71,NULL,'JOHN DEERE CREDIT COMPAÑÍA FINANCIERA S.',44096,'30-70702485-9',NULL,NULL,NULL),(72,NULL,'PSA FINANCE ARGENTINA COMPAÑÍA FINANCIER',44098,'30-70784736-7',NULL,NULL,NULL),(73,NULL,'TOYOTA COMPAÑÍA FINANCIERA DE ARGENTINA',44099,'30-70900042-6',NULL,NULL,NULL),(74,NULL,'FINANDINO COMPAÑIA FINANCIERA S.A.',44100,'30-71259240-7',NULL,NULL,NULL),(75,NULL,'MONTEMAR COMPAÑIA FINANCIERA S.A.',45056,'30-58138551-6',NULL,NULL,NULL),(76,NULL,'MULTIFINANZAS COMPAÑIA FINANCIERA S.A.',45072,'30-62828435-7',NULL,NULL,NULL),(77,NULL,'CAJA DE CREDITO \"CUENCA\" COOPERATIVA LIM',65203,'30-71622694-4',NULL,NULL,NULL),(78,NULL,'MERCADO PAGO',NULL,NULL,NULL,NULL,NULL),(79,NULL,'UALA',NULL,NULL,NULL,NULL,NULL),(80,NULL,'ICBC',NULL,NULL,NULL,NULL,NULL),(81,NULL,'BMA SAU',NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `ctacte_bancos_datos`
--

CREATE TABLE `ctacte_bancos_datos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `cuenta_conta_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cuit` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `titular` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cuenta` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `num_cuenta` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cbu` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `alias` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ctacte_bancos_datos_cuenta_conta_id_foreign` (`cuenta_conta_id`),
  CONSTRAINT `ctacte_bancos_datos_cuenta_conta_id_foreign` FOREIGN KEY (`cuenta_conta_id`) REFERENCES `conta_plan_cuenta` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctacte_bancos_datos`
--


--
-- Table structure for table `ctacte_cheques`
--

CREATE TABLE `ctacte_cheques` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `asiento_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cuenta_conta_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_detail_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_id2` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_detail_id` int(10) unsigned DEFAULT NULL,
  `nf_cta_cte_id2` int(10) unsigned DEFAULT NULL,
  `nf_cta_cte_id` int(10) unsigned DEFAULT NULL,
  `monto` decimal(16,2) DEFAULT NULL,
  `cheque3ros` tinyint(1) NOT NULL DEFAULT '0',
  `cheque_emitidos` tinyint(1) NOT NULL DEFAULT '0',
  `fecha` date DEFAULT NULL,
  `fecha_cobro` date DEFAULT NULL,
  `banco_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `cuit` text COLLATE utf8mb4_unicode_ci,
  `titular` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `abierto_cruzado` int(11) NOT NULL DEFAULT '1',
  `is_no_a_la_orden` tinyint(1) NOT NULL DEFAULT '0',
  `numero` int(10) unsigned DEFAULT NULL,
  `foto` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ctacte_cheques_asiento_id_foreign` (`asiento_id`),
  KEY `ctacte_cheques_cuenta_conta_id_foreign` (`cuenta_conta_id`),
  KEY `ctacte_cheques_banco_id_foreign` (`banco_id`),
  KEY `ctacte_cheques_person_id_foreign` (`person_id`),
  KEY `ctacte_cheques_cta_cte_cliente_id2_foreign` (`cta_cte_cliente_id2`),
  KEY `ctacte_cheques_cta_cte_cliente_id_foreign` (`cta_cte_cliente_id`),
  KEY `cta_cte_tesorer_id` (`cta_cte_tesoreria_id`),
  KEY `ctacte_cheques_nf_cta_cte_id_foreign` (`nf_cta_cte_id`),
  KEY `ctacte_cheques_nf_cta_cte_id2_foreign` (`nf_cta_cte_id2`),
  KEY `ctacte_cheques_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `ctacte_cheques_cta_cte_cliente_detail_id_foreign` (`cta_cte_cliente_detail_id`),
  KEY `ctacte_cheques_cta_cte_tesoreria_detail_id_foreign` (`cta_cte_tesoreria_detail_id`),
  CONSTRAINT `cta_cte_tesorer_id` FOREIGN KEY (`cta_cte_tesoreria_id`) REFERENCES `cta_cte_tesoreria` (`id`),
  CONSTRAINT `ctacte_cheques_banco_id_foreign` FOREIGN KEY (`banco_id`) REFERENCES `ctacte_bancos` (`id`),
  CONSTRAINT `ctacte_cheques_cta_cte_cliente_detail_id_foreign` FOREIGN KEY (`cta_cte_cliente_detail_id`) REFERENCES `cta_cte_cliente_details` (`id`),
  CONSTRAINT `ctacte_cheques_cta_cte_cliente_id2_foreign` FOREIGN KEY (`cta_cte_cliente_id2`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `ctacte_cheques_cta_cte_cliente_id_foreign` FOREIGN KEY (`cta_cte_cliente_id`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `ctacte_cheques_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `ctacte_cheques_cta_cte_tesoreria_detail_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_detail_id`) REFERENCES `cta_cte_tesoreria_detail` (`id`),
  CONSTRAINT `ctacte_cheques_cuenta_conta_id_foreign` FOREIGN KEY (`cuenta_conta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `ctacte_cheques_nf_cta_cte_id2_foreign` FOREIGN KEY (`nf_cta_cte_id2`) REFERENCES `nf_cta_cte` (`id`),
  CONSTRAINT `ctacte_cheques_nf_cta_cte_id_foreign` FOREIGN KEY (`nf_cta_cte_id`) REFERENCES `nf_cta_cte` (`id`),
  CONSTRAINT `ctacte_cheques_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctacte_cheques`
--


--
-- Table structure for table `ctactegastos_centrocosto`
--

CREATE TABLE `ctactegastos_centrocosto` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctactegastos_centrocosto`
--

INSERT INTO `ctactegastos_centrocosto` VALUES (1,NULL,'OFICINA',NULL,NULL,NULL),(2,NULL,'FIJO',NULL,NULL,NULL),(3,NULL,'VARIABLE',NULL,NULL,NULL),(4,NULL,'GISELA',NULL,NULL,NULL),(5,NULL,'LIA',NULL,NULL,NULL),(6,NULL,'PADRES',NULL,NULL,NULL),(7,NULL,'CASA',NULL,NULL,NULL),(8,NULL,'VANESA',NULL,NULL,NULL);

--
-- Table structure for table `ctactegastos_cuenta_tipo`
--

CREATE TABLE `ctactegastos_cuenta_tipo` (
  `idCuentaTipo` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `idTipo` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`idCuentaTipo`),
  KEY `ctactegastos_cuenta_tipo_idtipo_foreign` (`idTipo`),
  KEY `ctactegastos_cuenta_tipo_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `ctactegastos_cuenta_tipo_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `ctactegastos_cuenta_tipo_idtipo_foreign` FOREIGN KEY (`idTipo`) REFERENCES `ctactegastos_tiposdegastos` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctactegastos_cuenta_tipo`
--

INSERT INTO `ctactegastos_cuenta_tipo` VALUES (1,NULL,NULL,3,NULL,NULL,NULL),(2,NULL,NULL,6,NULL,NULL,NULL),(3,NULL,NULL,3,NULL,NULL,NULL),(4,NULL,NULL,4,NULL,NULL,NULL),(5,NULL,NULL,5,NULL,NULL,NULL),(6,NULL,NULL,3,NULL,NULL,NULL),(7,NULL,NULL,4,NULL,NULL,NULL),(8,NULL,NULL,3,NULL,NULL,NULL),(9,NULL,NULL,4,NULL,NULL,NULL),(10,NULL,NULL,7,NULL,NULL,NULL),(11,NULL,NULL,8,NULL,NULL,NULL),(12,NULL,NULL,3,NULL,NULL,NULL),(13,NULL,NULL,3,NULL,NULL,NULL),(14,NULL,NULL,4,NULL,NULL,NULL),(15,NULL,NULL,1,NULL,NULL,NULL),(16,NULL,NULL,2,NULL,NULL,NULL),(17,NULL,NULL,5,NULL,NULL,NULL);

--
-- Table structure for table `ctactegastos_mensuales`
--

CREATE TABLE `ctactegastos_mensuales` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `CuentaTipo_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL DEFAULT '13',
  `TipoDeGasto_id` int(10) unsigned NOT NULL,
  `CentroCosto_id` int(10) unsigned NOT NULL,
  `gasto_cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL DEFAULT '13',
  `monto` decimal(16,2) DEFAULT NULL,
  `comentario` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ctactegastos_mensuales_cuentatipo_id_foreign` (`CuentaTipo_id`),
  KEY `ctactegastos_mensuales_tipodegasto_id_foreign` (`TipoDeGasto_id`),
  KEY `ctactegastos_mensuales_centrocosto_id_foreign` (`CentroCosto_id`),
  KEY `ctactegastos_mensuales_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `ctactegastos_mensuales_gasto_cta_cte_tesoreria_cuenta_id_foreign` (`gasto_cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `ctactegastos_mensuales_centrocosto_id_foreign` FOREIGN KEY (`CentroCosto_id`) REFERENCES `ctactegastos_centrocosto` (`id`),
  CONSTRAINT `ctactegastos_mensuales_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `ctactegastos_mensuales_cuentatipo_id_foreign` FOREIGN KEY (`CuentaTipo_id`) REFERENCES `ctactegastos_cuenta_tipo` (`idCuentaTipo`),
  CONSTRAINT `ctactegastos_mensuales_gasto_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`gasto_cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `ctactegastos_mensuales_tipodegasto_id_foreign` FOREIGN KEY (`TipoDeGasto_id`) REFERENCES `ctactegastos_tiposdegastos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctactegastos_mensuales`
--


--
-- Table structure for table `ctactegastos_tiposdegastos`
--

CREATE TABLE `ctactegastos_tiposdegastos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctactegastos_tiposdegastos`
--

INSERT INTO `ctactegastos_tiposdegastos` VALUES (1,NULL,'Oficina',NULL,NULL,NULL),(2,NULL,'Personales',NULL,NULL,NULL),(3,NULL,'Tarjeta VISA',NULL,NULL,NULL),(4,NULL,'Tarjeta Mastercard',NULL,NULL,NULL),(5,NULL,'Debito Automatico',NULL,NULL,NULL),(6,NULL,'American Express',NULL,NULL,NULL),(7,NULL,'Tarjeta Shopping',NULL,NULL,NULL),(8,NULL,'Tarjeta Cencosud',NULL,NULL,NULL),(9,NULL,'Tarjeta Coto',NULL,NULL,NULL),(10,NULL,'Tarjeta Nativa',NULL,NULL,NULL);

--
-- Table structure for table `cursos`
--

CREATE TABLE `cursos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `fecha` date DEFAULT NULL,
  `hora` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `profesor` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cant_clases` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `duracion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `adjuntos` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `link_zoom` longtext COLLATE utf8mb4_unicode_ci,
  `cod_zoom` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contraseña_zoom` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `link_youtube` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `materiales` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cursos`
--


--
-- Table structure for table `cursos_detail`
--

CREATE TABLE `cursos_detail` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `curso_id` int(10) unsigned NOT NULL,
  `field_name1` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `celular` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cursos_detail_curso_id_foreign` (`curso_id`),
  CONSTRAINT `cursos_detail_curso_id_foreign` FOREIGN KEY (`curso_id`) REFERENCES `cursos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cursos_detail`
--


--
-- Table structure for table `data_types`
--

CREATE TABLE `data_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `class` int(10) unsigned NOT NULL,
  `class_description` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `data_type` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `data_types_description_unique` (`description`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `data_types`
--

INSERT INTO `data_types` VALUES (1,'Comprobantes XLS',1,'Importación','XLS','data/imports/receipts/xls',NULL,NULL),(2,'CITI-Ventas',1,'Importación','TXT','data/imports/receipts/CitiVentas',NULL,NULL),(3,'CITI Compras',2,'Exportación','TXT','data/exports/receipts/citi',NULL,NULL),(4,'CITI Ventas',2,'Exportación','TXT','data/exports/receipts/CitiVentasExport',NULL,NULL),(5,'Convenio Multilateral',2,'Exportación','TXT','data/exports/receipts/convenio',NULL,NULL),(6,'Libro IVA Digital',2,'Exportación','TXT','data/exports/receipts/libro_iva_digital',NULL,'2019-11-20 21:43:44'),(7,'Mis Comprobantes',1,'Importacion','','data/imports/receipts/mis_comprobantes',NULL,NULL),(8,'Consulta AFIP',3,'AFIP','','data/afip/index','2019-12-06 14:49:55','2019-12-06 14:49:55');

--
-- Table structure for table `dc_estados`
--

CREATE TABLE `dc_estados` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_estados`
--

INSERT INTO `dc_estados` VALUES (1,NULL,'BORRADOR',1,NULL,'2023-08-07 00:08:29',NULL),(2,NULL,'TERMINADO',1,NULL,'2023-08-07 00:08:29',NULL),(3,NULL,'ELIMINADO',1,NULL,'2023-08-13 09:23:04',NULL),(4,NULL,'PAGADO',1,NULL,'2023-08-07 00:08:29','2023-08-07 00:08:29'),(5,NULL,'CONCILIADO',1,NULL,'2023-08-07 00:08:29','2023-08-07 00:08:29');

--
-- Table structure for table `dc_estados_decisiones`
--

CREATE TABLE `dc_estados_decisiones` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_tipo_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_estados_decisiones_dc_orden_tipo_id_foreign` (`dc_orden_tipo_id`),
  CONSTRAINT `dc_estados_decisiones_dc_orden_tipo_id_foreign` FOREIGN KEY (`dc_orden_tipo_id`) REFERENCES `dc_ordenes_tipos` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_estados_decisiones`
--

INSERT INTO `dc_estados_decisiones` VALUES (1,NULL,3,'Pendiente',1,NULL,NULL,NULL),(2,NULL,3,'Aprobado',1,NULL,NULL,NULL),(3,NULL,3,'Rechazado',1,NULL,NULL,NULL),(4,NULL,3,'Cancelado',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_firmas`
--

CREATE TABLE `dc_firmas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `show_firmante_dc` tinyint(1) NOT NULL DEFAULT '0',
  `show_create_dc` tinyint(1) NOT NULL DEFAULT '0',
  `faltan_firmas` tinyint(1) NOT NULL DEFAULT '0',
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_firmas`
--

INSERT INTO `dc_firmas` VALUES (1,NULL,'NO',1,1,0,1,NULL,'2023-08-07 00:08:29',NULL),(2,NULL,'RECHAZADO',1,1,0,1,NULL,'2023-08-07 00:08:29',NULL),(3,NULL,'ACEPTADO',1,0,0,1,NULL,'2023-08-07 00:08:29',NULL),(4,NULL,'FALTAN FIRMAS',0,0,1,1,'2023-08-07 00:08:29','2023-08-07 00:08:29',NULL),(5,NULL,'EMITIDO',1,0,0,1,'2023-10-12 08:18:22','2023-10-12 08:18:22',NULL);

--
-- Table structure for table `dc_firmas_ordenes`
--

CREATE TABLE `dc_firmas_ordenes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `user_id_que_firma` int(10) unsigned NOT NULL,
  `dc_firma_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_firmas_ordenes_person_id_foreign` (`person_id`),
  KEY `dc_firmas_ordenes_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_firmas_ordenes_dc_firma_id_foreign` (`dc_firma_id`),
  CONSTRAINT `dc_firmas_ordenes_dc_firma_id_foreign` FOREIGN KEY (`dc_firma_id`) REFERENCES `dc_firmas` (`id`),
  CONSTRAINT `dc_firmas_ordenes_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_firmas_ordenes_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_firmas_ordenes`
--


--
-- Table structure for table `dc_firmas_reglas`
--

CREATE TABLE `dc_firmas_reglas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `importe` decimal(16,2) NOT NULL,
  `grupos_users_ids` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_firmas_reglas_person_id_foreign` (`person_id`),
  KEY `dc_firmas_reglas_dc_orden_id_foreign` (`dc_orden_id`),
  CONSTRAINT `dc_firmas_reglas_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_firmas_reglas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_firmas_reglas`
--


--
-- Table structure for table `dc_orden_de_pago`
--

CREATE TABLE `dc_orden_de_pago` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT '2023-09-28 16:38:47',
  `dc_orden_id` bigint(20) unsigned NOT NULL DEFAULT '10',
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `request` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `dc_estado_id` bigint(20) unsigned NOT NULL DEFAULT '1',
  `dc_firma_id` bigint(20) unsigned NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_orden_de_pago_person_id_foreign` (`person_id`),
  KEY `dc_orden_de_pago_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `dc_orden_de_pago_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_orden_de_pago_dc_firma_id_foreign` (`dc_firma_id`),
  KEY `dc_orden_de_pago_dc_estado_id_foreign` (`dc_estado_id`),
  CONSTRAINT `dc_orden_de_pago_dc_estado_id_foreign` FOREIGN KEY (`dc_estado_id`) REFERENCES `dc_estados` (`id`),
  CONSTRAINT `dc_orden_de_pago_dc_firma_id_foreign` FOREIGN KEY (`dc_firma_id`) REFERENCES `dc_firmas` (`id`),
  CONSTRAINT `dc_orden_de_pago_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_orden_de_pago_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `dc_orden_de_pago_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_orden_de_pago`
--


--
-- Table structure for table `dc_orden_de_pago_cheques`
--

CREATE TABLE `dc_orden_de_pago_cheques` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_de_pago_id` bigint(20) unsigned NOT NULL,
  `ctacte_cheque_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_orden_de_pago_cheques_dc_orden_de_pago_id_foreign` (`dc_orden_de_pago_id`),
  KEY `dc_orden_de_pago_cheques_ctacte_cheque_id_foreign` (`ctacte_cheque_id`),
  CONSTRAINT `dc_orden_de_pago_cheques_ctacte_cheque_id_foreign` FOREIGN KEY (`ctacte_cheque_id`) REFERENCES `ctacte_cheques` (`id`),
  CONSTRAINT `dc_orden_de_pago_cheques_dc_orden_de_pago_id_foreign` FOREIGN KEY (`dc_orden_de_pago_id`) REFERENCES `dc_orden_de_pago` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_orden_de_pago_cheques`
--


--
-- Table structure for table `dc_orden_de_pago_receipts`
--

CREATE TABLE `dc_orden_de_pago_receipts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_de_pago_id` bigint(20) unsigned NOT NULL,
  `receipt_id` int(10) unsigned DEFAULT NULL,
  `importe` decimal(16,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_orden_de_pago_receipts_dc_orden_de_pago_id_foreign` (`dc_orden_de_pago_id`),
  KEY `dc_orden_de_pago_receipts_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `dc_orden_de_pago_receipts_dc_orden_de_pago_id_foreign` FOREIGN KEY (`dc_orden_de_pago_id`) REFERENCES `dc_orden_de_pago` (`id`),
  CONSTRAINT `dc_orden_de_pago_receipts_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_orden_de_pago_receipts`
--


--
-- Table structure for table `dc_orden_files`
--

CREATE TABLE `dc_orden_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `file` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `original_name` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_orden_files_dc_orden_id_foreign` (`dc_orden_id`),
  CONSTRAINT `dc_orden_files_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_orden_files`
--


--
-- Table structure for table `dc_ordenes`
--

CREATE TABLE `dc_ordenes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_tipo_id` bigint(20) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `titulo` text COLLATE utf8mb4_unicode_ci,
  `sucursal` int(11) NOT NULL DEFAULT '1',
  `numero` int(11) NOT NULL,
  `numero_text` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sector` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `solicitante` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `syj_empleado_id` int(10) unsigned DEFAULT NULL,
  `fecha` date NOT NULL,
  `fecha_entrega` date DEFAULT NULL,
  `fecha_asignacion` datetime DEFAULT NULL,
  `fecha_cumplido` datetime DEFAULT NULL,
  `condicion_venta_id` int(10) unsigned DEFAULT NULL,
  `is_pago_adelantado` tinyint(1) DEFAULT NULL,
  `is_garantia` tinyint(1) NOT NULL DEFAULT '0',
  `forma_de_entrega_id` int(10) unsigned DEFAULT NULL,
  `plazo_de_pago_id` int(10) unsigned DEFAULT NULL,
  `cantidades` decimal(16,2) NOT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(16,2) NOT NULL DEFAULT '1.00',
  `neto` decimal(16,2) NOT NULL,
  `iva` decimal(16,2) NOT NULL,
  `total` decimal(16,2) NOT NULL,
  `facturada` decimal(16,2) NOT NULL DEFAULT '0.00',
  `is_pagada` tinyint(1) NOT NULL,
  `garantia` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mant_oferta` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comen_para_cliente` text COLLATE utf8mb4_unicode_ci,
  `comentario` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `dc_ov_origen_id` bigint(20) unsigned DEFAULT NULL,
  `dc_ov_status_cobranza_id` bigint(20) unsigned DEFAULT NULL,
  `dc_ov_status_factura_id` bigint(20) unsigned DEFAULT NULL,
  `dc_ov_status_entrega_id` bigint(20) unsigned DEFAULT NULL,
  `dc_ov_status_venta_id` bigint(20) unsigned DEFAULT NULL,
  `dc_estado_id` bigint(20) unsigned NOT NULL,
  `dc_estado_decision_id` bigint(20) unsigned DEFAULT NULL,
  `inv_orden_trabajo_id` bigint(20) unsigned DEFAULT NULL,
  `conta_cc_id` bigint(20) unsigned DEFAULT NULL,
  `origendestinoable_type` text COLLATE utf8mb4_unicode_ci,
  `origendestinoable_id` int(10) unsigned DEFAULT NULL,
  `is_multiples_ot` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `dc_orden_origen_destino_id` bigint(20) unsigned DEFAULT NULL,
  `is_completado` tinyint(1) NOT NULL DEFAULT '0',
  `is_credit` tinyint(1) DEFAULT NULL,
  `dc_firma_id` bigint(20) unsigned NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_dc_orden_tipo_id_foreign` (`dc_orden_tipo_id`),
  KEY `dc_ordenes_person_id_foreign` (`person_id`),
  KEY `dc_ordenes_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `dc_ordenes_dc_estado_id_foreign` (`dc_estado_id`),
  KEY `dc_ordenes_conta_cc_id_foreign` (`conta_cc_id`),
  KEY `dc_ordenes_inv_orden_trabajo_id_foreign` (`inv_orden_trabajo_id`),
  KEY `dc_ordenes_dc_orden_origen_destino_id_foreign` (`dc_orden_origen_destino_id`),
  KEY `dc_ordenes_moneda_id_foreign` (`moneda_id`),
  KEY `dc_ordenes_dc_firma_id_foreign` (`dc_firma_id`),
  KEY `dc_ordenes_syj_empleado_id_foreign` (`syj_empleado_id`),
  KEY `dc_ordenes_dc_estado_decision_id_foreign` (`dc_estado_decision_id`),
  KEY `dc_ordenes_dc_ov_origen_id_foreign` (`dc_ov_origen_id`),
  KEY `dc_ordenes_dc_ov_status_venta_id_foreign` (`dc_ov_status_venta_id`),
  KEY `dc_ordenes_dc_ov_status_entrega_id_foreign` (`dc_ov_status_entrega_id`),
  KEY `dc_ordenes_dc_ov_status_factura_id_foreign` (`dc_ov_status_factura_id`),
  KEY `dc_ordenes_dc_ov_status_cobranza_id_foreign` (`dc_ov_status_cobranza_id`),
  CONSTRAINT `dc_ordenes_conta_cc_id_foreign` FOREIGN KEY (`conta_cc_id`) REFERENCES `conta_centro_costos` (`id`),
  CONSTRAINT `dc_ordenes_dc_estado_decision_id_foreign` FOREIGN KEY (`dc_estado_decision_id`) REFERENCES `dc_estados_decisiones` (`id`),
  CONSTRAINT `dc_ordenes_dc_estado_id_foreign` FOREIGN KEY (`dc_estado_id`) REFERENCES `dc_estados` (`id`),
  CONSTRAINT `dc_ordenes_dc_firma_id_foreign` FOREIGN KEY (`dc_firma_id`) REFERENCES `dc_firmas` (`id`),
  CONSTRAINT `dc_ordenes_dc_orden_origen_destino_id_foreign` FOREIGN KEY (`dc_orden_origen_destino_id`) REFERENCES `dc_ordenes_origen_destino` (`id`),
  CONSTRAINT `dc_ordenes_dc_orden_tipo_id_foreign` FOREIGN KEY (`dc_orden_tipo_id`) REFERENCES `dc_ordenes_tipos` (`id`),
  CONSTRAINT `dc_ordenes_dc_ov_origen_id_foreign` FOREIGN KEY (`dc_ov_origen_id`) REFERENCES `dc_ov_origenes` (`id`),
  CONSTRAINT `dc_ordenes_dc_ov_status_cobranza_id_foreign` FOREIGN KEY (`dc_ov_status_cobranza_id`) REFERENCES `dc_ov_status_cobranza` (`id`),
  CONSTRAINT `dc_ordenes_dc_ov_status_entrega_id_foreign` FOREIGN KEY (`dc_ov_status_entrega_id`) REFERENCES `dc_ov_status_entrega` (`id`),
  CONSTRAINT `dc_ordenes_dc_ov_status_factura_id_foreign` FOREIGN KEY (`dc_ov_status_factura_id`) REFERENCES `dc_ov_status_factura` (`id`),
  CONSTRAINT `dc_ordenes_dc_ov_status_venta_id_foreign` FOREIGN KEY (`dc_ov_status_venta_id`) REFERENCES `dc_ov_status_venta` (`id`),
  CONSTRAINT `dc_ordenes_inv_orden_trabajo_id_foreign` FOREIGN KEY (`inv_orden_trabajo_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `dc_ordenes_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `dc_ordenes_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `dc_ordenes_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `dc_ordenes_syj_empleado_id_foreign` FOREIGN KEY (`syj_empleado_id`) REFERENCES `syj_empleados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes`
--


--
-- Table structure for table `dc_ordenes_compra_coti`
--

CREATE TABLE `dc_ordenes_compra_coti` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_coti_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_compra_coti_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_compra_coti_dc_orden_coti_id_foreign` (`dc_orden_coti_id`),
  CONSTRAINT `dc_ordenes_compra_coti_dc_orden_coti_id_foreign` FOREIGN KEY (`dc_orden_coti_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_compra_coti_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_compra_coti`
--


--
-- Table structure for table `dc_ordenes_compra_req`
--

CREATE TABLE `dc_ordenes_compra_req` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL,
  `dc_orden_req_id` bigint(20) unsigned NOT NULL,
  `dc_orden_req_detail_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_compra_req_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_compra_req_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ordenes_compra_req_dc_orden_req_id_foreign` (`dc_orden_req_id`),
  KEY `dc_ordenes_compra_req_dc_orden_req_detail_id_foreign` (`dc_orden_req_detail_id`),
  CONSTRAINT `dc_ordenes_compra_req_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_compra_req_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_compra_req_dc_orden_req_detail_id_foreign` FOREIGN KEY (`dc_orden_req_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_compra_req_dc_orden_req_id_foreign` FOREIGN KEY (`dc_orden_req_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_compra_req`
--


--
-- Table structure for table `dc_ordenes_cotizacion_req`
--

CREATE TABLE `dc_ordenes_cotizacion_req` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL,
  `dc_orden_req_id` bigint(20) unsigned NOT NULL,
  `dc_orden_req_detail_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_cotizacion_req_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_cotizacion_req_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ordenes_cotizacion_req_dc_orden_req_id_foreign` (`dc_orden_req_id`),
  KEY `dc_ordenes_cotizacion_req_dc_orden_req_detail_id_foreign` (`dc_orden_req_detail_id`),
  CONSTRAINT `dc_ordenes_cotizacion_req_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_cotizacion_req_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_cotizacion_req_dc_orden_req_detail_id_foreign` FOREIGN KEY (`dc_orden_req_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_cotizacion_req_dc_orden_req_id_foreign` FOREIGN KEY (`dc_orden_req_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_cotizacion_req`
--


--
-- Table structure for table `dc_ordenes_details`
--

CREATE TABLE `dc_ordenes_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_origen_destino_id` bigint(20) unsigned DEFAULT NULL,
  `origendestinoable_id` int(10) unsigned DEFAULT NULL,
  `origendestinoable_type` text COLLATE utf8mb4_unicode_ci,
  `cantidades` decimal(16,2) NOT NULL,
  `inv_deposito_id` bigint(20) unsigned DEFAULT NULL,
  `inv_producto_id` bigint(20) unsigned DEFAULT NULL,
  `inv_producto_id_destino` bigint(20) unsigned DEFAULT NULL,
  `prod_variant_id` bigint(20) unsigned DEFAULT NULL,
  `inv_deposito_id_destino` bigint(20) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `neto` decimal(16,2) NOT NULL,
  `desc_porc` decimal(16,2) DEFAULT NULL,
  `descuento` decimal(16,2) DEFAULT NULL,
  `system_tax_id` int(10) unsigned NOT NULL,
  `iva` decimal(16,2) NOT NULL,
  `subtotal` decimal(16,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_details_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_details_inv_producto_id_foreign` (`inv_producto_id`),
  KEY `dc_ordenes_details_system_tax_id_foreign` (`system_tax_id`),
  KEY `dc_ordenes_details_inv_producto_id_destino_foreign` (`inv_producto_id_destino`),
  KEY `dc_ordenes_details_dc_orden_origen_destino_id_foreign` (`dc_orden_origen_destino_id`),
  KEY `dc_ordenes_details_inv_deposito_id_foreign` (`inv_deposito_id`),
  KEY `dc_ordenes_details_inv_deposito_id_destino_foreign` (`inv_deposito_id_destino`),
  KEY `dc_ordenes_details_prod_variant_id_foreign` (`prod_variant_id`),
  CONSTRAINT `dc_ordenes_details_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_details_dc_orden_origen_destino_id_foreign` FOREIGN KEY (`dc_orden_origen_destino_id`) REFERENCES `dc_ordenes_origen_destino` (`id`),
  CONSTRAINT `dc_ordenes_details_inv_deposito_id_destino_foreign` FOREIGN KEY (`inv_deposito_id_destino`) REFERENCES `inv_depositos` (`id`),
  CONSTRAINT `dc_ordenes_details_inv_deposito_id_foreign` FOREIGN KEY (`inv_deposito_id`) REFERENCES `inv_depositos` (`id`),
  CONSTRAINT `dc_ordenes_details_inv_producto_id_destino_foreign` FOREIGN KEY (`inv_producto_id_destino`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `dc_ordenes_details_inv_producto_id_foreign` FOREIGN KEY (`inv_producto_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `dc_ordenes_details_prod_variant_id_foreign` FOREIGN KEY (`prod_variant_id`) REFERENCES `prod_variants` (`id`) ON DELETE SET NULL,
  CONSTRAINT `dc_ordenes_details_system_tax_id_foreign` FOREIGN KEY (`system_tax_id`) REFERENCES `system_taxes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_details`
--


--
-- Table structure for table `dc_ordenes_facturada`
--

CREATE TABLE `dc_ordenes_facturada` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `dc_orden_id` bigint(20) unsigned DEFAULT NULL,
  `fact_elec_receipt_id` int(11) DEFAULT NULL,
  `receipt_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_facturada_person_id_foreign` (`person_id`),
  KEY `dc_ordenes_facturada_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_facturada_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  KEY `dc_ordenes_facturada_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `dc_ordenes_facturada_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_facturada_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `dc_ordenes_facturada_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_facturada`
--


--
-- Table structure for table `dc_ordenes_ingreso_compra`
--

CREATE TABLE `dc_ordenes_ingreso_compra` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL,
  `dc_orden_compra_id` bigint(20) unsigned NOT NULL,
  `dc_orden_compra_detail_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_ingreso_compra_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_ingreso_compra_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ordenes_ingreso_compra_dc_orden_compra_id_foreign` (`dc_orden_compra_id`),
  KEY `dc_ordenes_ingreso_compra_dc_orden_compra_detail_id_foreign` (`dc_orden_compra_detail_id`),
  CONSTRAINT `dc_ordenes_ingreso_compra_dc_orden_compra_detail_id_foreign` FOREIGN KEY (`dc_orden_compra_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_ingreso_compra_dc_orden_compra_id_foreign` FOREIGN KEY (`dc_orden_compra_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_ingreso_compra_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_ingreso_compra_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_ingreso_compra`
--


--
-- Table structure for table `dc_ordenes_ingxdev_rem_egr`
--

CREATE TABLE `dc_ordenes_ingxdev_rem_egr` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL,
  `dc_orden_rem_egr_id` bigint(20) unsigned NOT NULL,
  `dc_orden_rem_egr_detail_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_ingxdev_rem_egr_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_ingxdev_rem_egr_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ordenes_ingxdev_rem_egr_dc_orden_rem_egr_id_foreign` (`dc_orden_rem_egr_id`),
  KEY `dc_ordenes_ingxdev_rem_egr_dc_orden_rem_egr_detail_id_foreign` (`dc_orden_rem_egr_detail_id`),
  CONSTRAINT `dc_ordenes_ingxdev_rem_egr_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_ingxdev_rem_egr_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_ingxdev_rem_egr_dc_orden_rem_egr_detail_id_foreign` FOREIGN KEY (`dc_orden_rem_egr_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_ingxdev_rem_egr_dc_orden_rem_egr_id_foreign` FOREIGN KEY (`dc_orden_rem_egr_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_ingxdev_rem_egr`
--


--
-- Table structure for table `dc_ordenes_logs`
--

CREATE TABLE `dc_ordenes_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `loggable_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `loggable_id` bigint(20) unsigned NOT NULL,
  `related_id` bigint(20) unsigned DEFAULT NULL,
  `related_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_logs_loggable_type_loggable_id_index` (`loggable_type`,`loggable_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_logs`
--


--
-- Table structure for table `dc_ordenes_origen_destino`
--

CREATE TABLE `dc_ordenes_origen_destino` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `modelo` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_deposito` tinyint(1) NOT NULL DEFAULT '0',
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_origen_destino`
--

INSERT INTO `dc_ordenes_origen_destino` VALUES (1,NULL,'Orden de Trabajo','App\\Models\\Inventario\\InvOrdenTrabajo',0,1,NULL,NULL,NULL),(2,NULL,'Centro de Costos','App\\Models\\Inventario\\InvOrdenTrabajoHorasTipo',0,1,NULL,'2023-09-12 22:30:33',NULL),(3,NULL,'Deposito','App\\Models\\Inventario\\InvDeposito',1,1,NULL,'2024-05-07 20:10:52',NULL),(4,NULL,'Empleado','App\\Models\\SyJEmpleado',0,0,NULL,'2023-07-03 22:13:26',NULL);

--
-- Table structure for table `dc_ordenes_pdf_templates`
--

CREATE TABLE `dc_ordenes_pdf_templates` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `dc_orden_tipo_id` bigint(20) unsigned NOT NULL,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `vista_blade` text COLLATE utf8mb4_unicode_ci,
  `pdf_base_path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tipo_plantilla` enum('blade','pdf_base') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'blade',
  `configuracion` json DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_person_tipo_template` (`person_id`,`dc_orden_tipo_id`),
  KEY `dc_ordenes_pdf_templates_dc_orden_tipo_id_foreign` (`dc_orden_tipo_id`),
  CONSTRAINT `dc_ordenes_pdf_templates_dc_orden_tipo_id_foreign` FOREIGN KEY (`dc_orden_tipo_id`) REFERENCES `dc_ordenes_tipos` (`id`),
  CONSTRAINT `dc_ordenes_pdf_templates_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_pdf_templates`
--


--
-- Table structure for table `dc_ordenes_revocadas`
--

CREATE TABLE `dc_ordenes_revocadas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_revocadas_dc_orden_id_foreign` (`dc_orden_id`),
  CONSTRAINT `dc_ordenes_revocadas_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_revocadas`
--


--
-- Table structure for table `dc_ordenes_servicio_compra`
--

CREATE TABLE `dc_ordenes_servicio_compra` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL,
  `dc_orden_compra_id` bigint(20) unsigned NOT NULL,
  `dc_orden_compra_detail_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_servicio_compra_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_servicio_compra_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ordenes_servicio_compra_dc_orden_compra_id_foreign` (`dc_orden_compra_id`),
  KEY `dc_ordenes_servicio_compra_dc_orden_compra_detail_id_foreign` (`dc_orden_compra_detail_id`),
  CONSTRAINT `dc_ordenes_servicio_compra_dc_orden_compra_detail_id_foreign` FOREIGN KEY (`dc_orden_compra_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_servicio_compra_dc_orden_compra_id_foreign` FOREIGN KEY (`dc_orden_compra_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_servicio_compra_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_servicio_compra_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_servicio_compra`
--


--
-- Table structure for table `dc_ordenes_tipos`
--

CREATE TABLE `dc_ordenes_tipos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `usabilidad` longtext COLLATE utf8mb4_unicode_ci,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_tipos`
--

INSERT INTO `dc_ordenes_tipos` VALUES (1,NULL,'ORDEN DE COMPRAS',NULL,1,NULL,'2022-09-09 16:55:21',NULL),(2,NULL,'ORDEN DE VENTAS',NULL,1,NULL,'2022-09-09 16:55:21',NULL),(3,NULL,'PRESUPUESTO',NULL,1,NULL,NULL,NULL),(4,NULL,'REQUERIMIENTO',NULL,1,NULL,NULL,NULL),(5,NULL,'REMITO DE INGRESO',NULL,1,NULL,'2023-06-12 23:32:18',NULL),(6,NULL,'REMITO DE EGRESO',NULL,1,NULL,NULL,NULL),(7,NULL,'REMITO INTERNO',NULL,1,NULL,NULL,NULL),(8,NULL,'REMITO DE INGRESO','Es lo mismo que un remito de ingreso, \n        pero los productosa ingresar provienen de una Orden de Compra',1,NULL,NULL,NULL),(9,NULL,'REMITO DE SERVICIO','Es un remito de Ingreso de un servicio que se\n        asigna directo a una OT',1,NULL,NULL,NULL),(10,NULL,'ORDEN DE PAGO',NULL,1,'2023-09-28 16:38:47','2023-09-28 16:38:47',NULL),(11,NULL,'ANULACION REQUERIMIENTOS',NULL,1,'2024-04-02 23:31:01','2024-04-02 23:31:01',NULL),(12,NULL,'ANULACION COMPRAS PRODUCTOS',NULL,1,'2024-04-02 23:31:01','2024-04-02 23:31:01',NULL),(13,NULL,'ANULACION COMPRAS SERVICIOS',NULL,1,'2024-04-02 23:31:01','2024-04-02 23:31:01',NULL),(14,NULL,'REMITO DE GASTO',NULL,1,'2024-05-07 20:10:52','2024-05-07 20:10:52',NULL),(15,NULL,'COTIZACIONES',NULL,1,'2024-06-26 07:52:44','2024-06-26 07:52:44',NULL),(16,NULL,'REMITO INGRESO-DEVOLUCION',NULL,1,'2024-09-02 13:17:16','2024-09-02 13:17:16',NULL),(17,NULL,'REMITO EGRESO-DEVOLUCION',NULL,1,'2024-10-17 08:50:49','2024-10-17 08:50:49',NULL),(18,NULL,'REMITO','Es un remito de servicio, que no tiene ni ingreso ni egreso',1,'2024-12-03 21:45:15','2024-12-03 21:45:15',NULL),(19,NULL,'Remito de Cliente','Se usa en las Ordenes de Venta para demostrar que se entrego mercaderia al cliente',1,NULL,NULL,NULL),(20,NULL,'Orden de Compra de Cliente','Es la OC que envia el cliente para que se le haga el pedido',1,NULL,NULL,NULL),(21,NULL,'Solicitud de Facturacion','Es un documento que se usa para que se pueda facturar',1,NULL,NULL,NULL),(22,NULL,'Ordenes de Compra','Es una OC para Empresas',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_ov_cta_cte_cliente`
--

CREATE TABLE `dc_ov_cta_cte_cliente` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_cta_cte_cliente_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_cta_cte_cliente_cta_cte_cliente_id_foreign` (`cta_cte_cliente_id`),
  CONSTRAINT `dc_ov_cta_cte_cliente_cta_cte_cliente_id_foreign` FOREIGN KEY (`cta_cte_cliente_id`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `dc_ov_cta_cte_cliente_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_cta_cte_cliente`
--


--
-- Table structure for table `dc_ov_fact_electronicas`
--

CREATE TABLE `dc_ov_fact_electronicas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `fact_elec_receipt_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_fact_electronicas_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_fact_electronicas_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  CONSTRAINT `dc_ov_fact_electronicas_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_fact_electronicas_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_fact_electronicas`
--


--
-- Table structure for table `dc_ov_oc_presupuestos`
--

CREATE TABLE `dc_ov_oc_presupuestos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_presupuesto_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_oc_presupuestos_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_oc_presupuestos_dc_orden_presupuesto_id_foreign` (`dc_orden_presupuesto_id`),
  CONSTRAINT `dc_ov_oc_presupuestos_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_oc_presupuestos_dc_orden_presupuesto_id_foreign` FOREIGN KEY (`dc_orden_presupuesto_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_oc_presupuestos`
--


--
-- Table structure for table `dc_ov_ocs`
--

CREATE TABLE `dc_ov_ocs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_compra_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_ocs_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_ocs_dc_orden_compra_id_foreign` (`dc_orden_compra_id`),
  CONSTRAINT `dc_ov_ocs_dc_orden_compra_id_foreign` FOREIGN KEY (`dc_orden_compra_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_ocs_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_ocs`
--


--
-- Table structure for table `dc_ov_origenes`
--

CREATE TABLE `dc_ov_origenes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_origenes`
--

INSERT INTO `dc_ov_origenes` VALUES (1,NULL,'Taller',1,NULL,NULL,NULL),(2,NULL,'Comercial',1,NULL,NULL,NULL),(3,NULL,'Repuestos',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_ov_origenes_users`
--

CREATE TABLE `dc_ov_origenes_users` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `dc_ov_origen_id` bigint(20) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_origenes_users_dc_ov_origen_id_foreign` (`dc_ov_origen_id`),
  CONSTRAINT `dc_ov_origenes_users_dc_ov_origen_id_foreign` FOREIGN KEY (`dc_ov_origen_id`) REFERENCES `dc_ov_origenes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_origenes_users`
--


--
-- Table structure for table `dc_ov_ots`
--

CREATE TABLE `dc_ov_ots` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `ot_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_ots_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_ots_ot_id_foreign` (`ot_id`),
  CONSTRAINT `dc_ov_ots_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_ots_ot_id_foreign` FOREIGN KEY (`ot_id`) REFERENCES `inv_orden_trabajos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_ots`
--


--
-- Table structure for table `dc_ov_pres_clientes`
--

CREATE TABLE `dc_ov_pres_clientes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_pres_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_pres_clientes_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_pres_clientes_dc_orden_pres_id_foreign` (`dc_orden_pres_id`),
  CONSTRAINT `dc_ov_pres_clientes_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_pres_clientes_dc_orden_pres_id_foreign` FOREIGN KEY (`dc_orden_pres_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_pres_clientes`
--


--
-- Table structure for table `dc_ov_rem_clientes`
--

CREATE TABLE `dc_ov_rem_clientes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_rem_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_rem_clientes_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_rem_clientes_dc_orden_rem_id_foreign` (`dc_orden_rem_id`),
  CONSTRAINT `dc_ov_rem_clientes_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_rem_clientes_dc_orden_rem_id_foreign` FOREIGN KEY (`dc_orden_rem_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_rem_clientes`
--


--
-- Table structure for table `dc_ov_remc_occ`
--

CREATE TABLE `dc_ov_remc_occ` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `dc_orden_id` bigint(20) unsigned DEFAULT NULL,
  `dc_orden_detail_id` bigint(20) unsigned DEFAULT NULL,
  `dc_occ_id` bigint(20) unsigned DEFAULT NULL,
  `dc_occ_detail_id` bigint(20) unsigned DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_remc_occ_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_remc_occ_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ov_remc_occ_dc_occ_id_foreign` (`dc_occ_id`),
  KEY `dc_ov_remc_occ_dc_occ_detail_id_foreign` (`dc_occ_detail_id`),
  CONSTRAINT `dc_ov_remc_occ_dc_occ_detail_id_foreign` FOREIGN KEY (`dc_occ_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ov_remc_occ_dc_occ_id_foreign` FOREIGN KEY (`dc_occ_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_remc_occ_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ov_remc_occ_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_remc_occ`
--


--
-- Table structure for table `dc_ov_sol_facturacion`
--

CREATE TABLE `dc_ov_sol_facturacion` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_sol_facturacion_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_sol_facturacion_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_sol_facturacion_dc_sol_facturacion_id_foreign` (`dc_sol_facturacion_id`),
  CONSTRAINT `dc_ov_sol_facturacion_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_sol_facturacion_dc_sol_facturacion_id_foreign` FOREIGN KEY (`dc_sol_facturacion_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_sol_facturacion`
--


--
-- Table structure for table `dc_ov_status_cobranza`
--

CREATE TABLE `dc_ov_status_cobranza` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_status_cobranza`
--

INSERT INTO `dc_ov_status_cobranza` VALUES (1,NULL,'Pendiente',1,NULL,NULL,NULL),(2,NULL,'Parcial',1,NULL,NULL,NULL),(3,NULL,'Completa',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_ov_status_entrega`
--

CREATE TABLE `dc_ov_status_entrega` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_status_entrega`
--

INSERT INTO `dc_ov_status_entrega` VALUES (1,NULL,'Pendiente',1,NULL,NULL,NULL),(2,NULL,'Parcial',1,NULL,NULL,NULL),(3,NULL,'Completa',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_ov_status_factura`
--

CREATE TABLE `dc_ov_status_factura` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_status_factura`
--

INSERT INTO `dc_ov_status_factura` VALUES (1,NULL,'Pendiente',1,NULL,NULL,NULL),(2,NULL,'Facturable',1,NULL,NULL,NULL),(3,NULL,'Facturado Parcialmente',1,NULL,NULL,NULL),(4,NULL,'Facturado Totalmente',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_ov_status_venta`
--

CREATE TABLE `dc_ov_status_venta` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_status_venta`
--

INSERT INTO `dc_ov_status_venta` VALUES (1,NULL,'Pendiente',1,NULL,NULL,NULL),(2,NULL,'Presupuesto',1,NULL,NULL,NULL),(3,NULL,'Venta',1,NULL,NULL,NULL),(4,NULL,'Rechazada',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_sol_fac_occ`
--

CREATE TABLE `dc_sol_fac_occ` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL COMMENT 'Solicitud Facturación (tipo 21)',
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL COMMENT 'Detalle de SF',
  `dc_occ_id` bigint(20) unsigned NOT NULL COMMENT 'OC Cliente (tipo 20)',
  `dc_occ_detail_id` bigint(20) unsigned NOT NULL COMMENT 'Detalle de OCC',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_sf` (`dc_orden_id`),
  KEY `idx_occ` (`dc_occ_id`),
  KEY `dc_sol_fac_occ_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_sol_fac_occ_dc_occ_detail_id_foreign` (`dc_occ_detail_id`),
  CONSTRAINT `dc_sol_fac_occ_dc_occ_detail_id_foreign` FOREIGN KEY (`dc_occ_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_sol_fac_occ_dc_occ_id_foreign` FOREIGN KEY (`dc_occ_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_sol_fac_occ_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_sol_fac_occ_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_sol_fac_occ`
--


--
-- Table structure for table `despachos`
--

CREATE TABLE `despachos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `moneda_id` int(10) unsigned NOT NULL,
  `fecha` datetime NOT NULL DEFAULT '2025-04-28 16:12:34',
  `is_ponderacion_autom` tinyint(1) NOT NULL DEFAULT '1',
  `is_garantia` tinyint(1) NOT NULL DEFAULT '0',
  `numero` int(10) unsigned DEFAULT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_parte_1` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_parte_2` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_parte_3` decimal(16,2) NOT NULL DEFAULT '0.00',
  `cotizacion` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `despachos_person_id_foreign` (`person_id`),
  KEY `despachos_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `despachos_moneda_id_foreign` (`moneda_id`),
  CONSTRAINT `despachos_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `despachos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `despachos_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `despachos`
--


--
-- Table structure for table `despachos_cierres`
--

CREATE TABLE `despachos_cierres` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `despacho_id` bigint(20) unsigned NOT NULL,
  `receipt_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL,
  `inv_producto_id` bigint(20) unsigned DEFAULT NULL,
  `costo_antes` decimal(16,2) NOT NULL DEFAULT '0.00',
  `cantidades` decimal(16,2) DEFAULT '0.00',
  `precio_x_cantidad` decimal(16,2) DEFAULT '0.00',
  `ratio` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `incremento` decimal(16,2) NOT NULL DEFAULT '0.00',
  `incremento_x_cantidad` decimal(16,2) DEFAULT '0.00',
  `costo_despues` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `despachos_cierres_despacho_id_foreign` (`despacho_id`),
  KEY `despachos_cierres_receipt_id_foreign` (`receipt_id`),
  KEY `despachos_cierres_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `despachos_cierres_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `despachos_cierres_inv_producto_id_foreign` (`inv_producto_id`),
  CONSTRAINT `despachos_cierres_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `despachos_cierres_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `despachos_cierres_despacho_id_foreign` FOREIGN KEY (`despacho_id`) REFERENCES `despachos` (`id`),
  CONSTRAINT `despachos_cierres_inv_producto_id_foreign` FOREIGN KEY (`inv_producto_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `despachos_cierres_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `despachos_cierres`
--


--
-- Table structure for table `despachos_details`
--

CREATE TABLE `despachos_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `despacho_id` bigint(20) unsigned NOT NULL,
  `despacho_parte_id` bigint(20) unsigned NOT NULL,
  `receipt_id` int(10) unsigned DEFAULT NULL,
  `porcentaje_ponderacion` decimal(8,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `despachos_details_despacho_id_foreign` (`despacho_id`),
  KEY `despachos_details_despacho_parte_id_foreign` (`despacho_parte_id`),
  KEY `despachos_details_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `despachos_details_despacho_id_foreign` FOREIGN KEY (`despacho_id`) REFERENCES `despachos` (`id`),
  CONSTRAINT `despachos_details_despacho_parte_id_foreign` FOREIGN KEY (`despacho_parte_id`) REFERENCES `despachos_partes` (`id`),
  CONSTRAINT `despachos_details_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `despachos_details`
--


--
-- Table structure for table `despachos_files`
--

CREATE TABLE `despachos_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `despacho_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_original` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `despachos_files_despacho_id_foreign` (`despacho_id`),
  CONSTRAINT `despachos_files_despacho_id_foreign` FOREIGN KEY (`despacho_id`) REFERENCES `despachos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `despachos_files`
--


--
-- Table structure for table `despachos_partes`
--

CREATE TABLE `despachos_partes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `despachos_partes`
--

INSERT INTO `despachos_partes` VALUES (1,NULL,'Facturas del Proveedor',1,NULL,NULL,NULL),(2,NULL,'Despachos de Importacion',1,NULL,NULL,NULL),(3,NULL,'Facturas de Logistica',1,NULL,NULL,NULL);

--
-- Table structure for table `deudas_impositivas`
--

CREATE TABLE `deudas_impositivas` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `vto_impuesto_id` int(10) unsigned NOT NULL,
  `periodo_deuda` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `concepto` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `deudas_impositivas_vto_impuesto_id_foreign` (`vto_impuesto_id`),
  KEY `deudas_impositivas_person_id_foreign` (`person_id`),
  CONSTRAINT `deudas_impositivas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `deudas_impositivas_vto_impuesto_id_foreign` FOREIGN KEY (`vto_impuesto_id`) REFERENCES `vto_impuestos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
