INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (4979,9206,4979,4820,NULL,0,NULL,'2023-10-05 17:55:17','2023-10-05 17:55:17',NULL),(4980,9206,4980,4821,NULL,0,NULL,'2023-10-05 17:55:17','2023-10-05 17:55:17',NULL),(4981,9206,4981,4822,NULL,0,NULL,'2023-10-05 17:55:18','2023-10-05 17:55:18',NULL),(4982,9206,4982,4823,NULL,0,NULL,'2023-10-05 17:55:18','2023-10-05 17:55:18',NULL),(4983,9206,4983,4824,NULL,0,NULL,'2023-10-05 17:55:18','2023-10-05 17:55:18',NULL),(4984,9206,4984,4825,NULL,0,NULL,'2023-10-05 17:55:18','2023-10-05 17:55:18',NULL),(4985,9206,4985,4826,NULL,0,NULL,'2023-10-05 17:55:18','2023-10-05 17:55:18',NULL),(4986,9206,4986,4827,NULL,0,NULL,'2023-10-05 17:55:18','2023-10-05 17:55:18',NULL),(4987,9206,4987,4828,NULL,0,NULL,'2023-10-05 17:55:18','2023-10-05 17:55:18',NULL),(4988,9206,4988,4829,NULL,0,NULL,'2023-10-05 17:55:18','2023-10-05 17:55:18',NULL),(4989,9206,4989,4830,NULL,0,NULL,'2023-10-05 17:55:18','2023-10-05 17:55:18',NULL),(4990,9206,4990,4831,NULL,0,NULL,'2023-10-05 17:55:18','2023-10-05 17:55:18',NULL),(4991,9206,4991,4832,NULL,0,NULL,'2023-10-05 17:55:18','2023-10-05 17:55:18',NULL),(4992,9206,4992,4833,NULL,0,NULL,'2023-10-05 17:55:18','2023-10-05 17:55:18',NULL),(4993,9206,4993,4834,NULL,0,NULL,'2023-10-05 17:55:18','2023-10-05 17:55:18',NULL),(4994,9206,4994,4835,NULL,0,NULL,'2023-10-05 17:55:18','2023-10-05 17:55:18',NULL),(4995,9206,4995,4836,NULL,0,NULL,'2023-10-05 17:55:18','2023-10-05 17:55:18',NULL),(4996,9206,4996,4837,NULL,0,NULL,'2023-10-05 17:55:19','2023-10-05 17:55:19',NULL),(4997,9206,4997,4838,NULL,0,NULL,'2023-10-05 17:55:19','2023-10-05 17:55:19',NULL),(4998,9206,4998,4839,NULL,0,NULL,'2023-10-05 17:55:19','2023-10-05 17:55:19',NULL),(4999,9206,4999,4840,NULL,0,NULL,'2023-10-05 17:55:19','2023-10-05 17:55:19',NULL),(5000,9206,5000,4841,NULL,0,NULL,'2023-10-05 17:55:19','2023-10-05 17:55:19',NULL),(5001,9206,5001,4842,NULL,0,NULL,'2023-10-05 17:55:19','2023-10-05 17:55:19',NULL),(5002,9206,5002,4843,NULL,0,NULL,'2023-10-05 17:55:19','2023-10-05 17:55:19',NULL),(5003,9206,5003,4844,NULL,0,NULL,'2023-10-05 17:55:19','2023-10-05 17:55:19',NULL),(5004,9206,5004,4845,NULL,0,NULL,'2023-10-05 17:55:19','2023-10-05 17:55:19',NULL),(5005,9206,5005,4846,NULL,0,NULL,'2023-10-05 17:55:19','2023-10-05 17:55:19',NULL),(5006,9206,5006,4847,NULL,0,NULL,'2023-10-05 17:55:19','2023-10-05 17:55:19',NULL),(5007,9206,5007,4848,NULL,0,NULL,'2023-10-05 17:55:19','2023-10-05 17:55:19',NULL),(5008,9206,5008,4849,NULL,0,NULL,'2023-10-05 17:55:19','2023-10-05 17:55:19',NULL),(5009,9206,5009,4850,NULL,0,NULL,'2023-10-05 17:55:19','2023-10-05 17:55:19',NULL),(5010,9206,5010,4851,NULL,0,NULL,'2023-10-05 17:55:19','2023-10-05 17:55:19',NULL),(5011,9206,5011,4852,NULL,0,NULL,'2023-10-05 17:55:20','2023-10-05 17:55:20',NULL),(5012,9206,5012,4853,NULL,0,NULL,'2023-10-05 17:55:20','2023-10-05 17:55:20',NULL),(5013,9206,5013,4854,NULL,0,NULL,'2023-10-05 17:55:20','2023-10-05 17:55:20',NULL),(5014,9206,5014,4855,NULL,0,NULL,'2023-10-05 17:55:20','2023-10-05 17:55:20',NULL),(5015,9206,5015,4856,NULL,0,NULL,'2023-10-05 17:55:20','2023-10-05 17:55:20',NULL),(5016,9206,5016,4857,NULL,0,NULL,'2023-10-05 17:55:20','2023-10-05 17:55:20',NULL),(5017,9206,5017,4858,NULL,0,NULL,'2023-10-05 17:55:20','2023-10-05 17:55:20',NULL),(5018,9206,5018,4859,NULL,0,NULL,'2023-10-05 17:55:20','2023-10-05 17:55:20',NULL),(5019,9206,5019,4860,NULL,0,NULL,'2023-10-05 17:55:20','2023-10-05 17:55:20',NULL),(5020,9206,5020,4861,NULL,0,NULL,'2023-10-05 17:55:20','2023-10-05 17:55:20',NULL),(5021,9206,5021,4862,NULL,0,NULL,'2023-10-05 17:55:20','2023-10-05 17:55:20',NULL),(5022,9206,5022,4863,NULL,0,NULL,'2023-10-05 17:55:20','2023-10-05 17:55:20',NULL),(5023,9206,5023,4864,NULL,0,NULL,'2023-10-05 17:55:20','2023-10-05 17:55:20',NULL),(5024,9206,5024,4865,NULL,0,NULL,'2023-10-05 17:55:21','2023-10-05 17:55:21',NULL),(5025,9206,5025,4866,NULL,0,NULL,'2023-10-05 17:55:21','2023-10-05 17:55:21',NULL),(5026,9206,5026,4867,NULL,0,NULL,'2023-10-05 17:55:21','2023-10-05 17:55:21',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (5027,9206,5027,4868,NULL,0,NULL,'2023-10-05 17:55:21','2023-10-05 17:55:21',NULL),(5028,9206,5028,4869,NULL,0,NULL,'2023-10-05 17:55:21','2023-10-05 17:55:21',NULL),(5029,9206,5029,4870,NULL,0,NULL,'2023-10-05 17:55:21','2023-10-05 17:55:21',NULL),(5030,9206,5030,4871,NULL,0,NULL,'2023-10-05 17:55:21','2023-10-05 17:55:21',NULL),(5031,9206,5031,4872,NULL,0,NULL,'2023-10-05 17:55:21','2023-10-05 17:55:21',NULL),(5032,9206,5032,4873,NULL,0,NULL,'2023-10-05 17:55:21','2023-10-05 17:55:21',NULL),(5033,9206,5033,4874,NULL,0,NULL,'2023-10-05 17:55:22','2023-10-05 17:55:22',NULL),(5034,9206,5034,4875,NULL,0,NULL,'2023-10-05 17:55:22','2023-10-05 17:55:22',NULL),(5035,9206,5035,4876,NULL,0,NULL,'2023-10-05 17:55:22','2023-10-05 17:55:22',NULL),(5036,9206,5036,4877,NULL,0,NULL,'2023-10-05 17:55:22','2023-10-05 17:55:22',NULL),(5037,9206,5037,4878,NULL,0,NULL,'2023-10-05 17:55:22','2023-10-05 17:55:22',NULL),(5038,9206,5038,4879,NULL,0,NULL,'2023-10-05 17:55:22','2023-10-05 17:55:22',NULL),(5039,9206,5039,4880,NULL,0,NULL,'2023-10-05 17:55:22','2023-10-05 17:55:22',NULL),(5040,9206,5040,4881,NULL,0,NULL,'2023-10-05 17:55:22','2023-10-05 17:55:22',NULL),(5041,9206,5041,4882,NULL,0,NULL,'2023-10-05 17:55:22','2023-10-05 17:55:22',NULL),(5042,9206,5042,4883,NULL,0,NULL,'2023-10-05 17:55:22','2023-10-05 17:55:22',NULL),(5043,9206,5043,4884,NULL,0,NULL,'2023-10-05 17:55:22','2023-10-05 17:55:22',NULL),(5044,9206,5044,4885,NULL,0,NULL,'2023-10-05 17:55:23','2023-10-05 17:55:23',NULL),(5045,9206,5045,4886,NULL,0,NULL,'2023-10-05 17:55:23','2023-10-05 17:55:23',NULL),(5046,9206,5046,4887,NULL,0,NULL,'2023-10-05 17:55:23','2023-10-05 17:55:23',NULL),(5047,9206,5047,4888,NULL,0,NULL,'2023-10-05 17:55:23','2023-10-05 17:55:23',NULL),(5048,9206,5048,4889,NULL,0,NULL,'2023-10-05 17:55:23','2023-10-05 17:55:23',NULL),(5049,9206,5049,4890,NULL,0,NULL,'2023-10-05 17:55:23','2023-10-05 17:55:23',NULL),(5050,9206,5050,4891,NULL,0,NULL,'2023-10-05 17:55:23','2023-10-05 17:55:23',NULL),(5051,9206,5051,4892,NULL,0,NULL,'2023-10-05 17:55:23','2023-10-05 17:55:23',NULL),(5052,9206,5052,4893,NULL,0,NULL,'2023-10-05 17:55:23','2023-10-05 17:55:23',NULL),(5053,9206,5053,4894,NULL,0,NULL,'2023-10-05 17:55:23','2023-10-05 17:55:23',NULL),(5054,9206,5054,4895,NULL,0,NULL,'2023-10-05 17:55:23','2023-10-05 17:55:23',NULL),(5055,9206,5055,4896,NULL,0,NULL,'2023-10-05 17:55:23','2023-10-05 17:55:23',NULL),(5056,9206,5056,4897,NULL,0,NULL,'2023-10-05 17:55:23','2023-10-05 17:55:23',NULL),(5057,9206,5057,4898,NULL,0,NULL,'2023-10-05 17:55:23','2023-10-05 17:55:23',NULL),(5058,9206,5058,4899,NULL,0,NULL,'2023-10-05 17:55:24','2023-10-05 17:55:24',NULL),(5059,9206,5059,4900,NULL,0,NULL,'2023-10-05 17:55:24','2023-10-05 17:55:24',NULL),(5060,9206,5060,4901,NULL,0,NULL,'2023-10-05 17:55:24','2023-10-05 17:55:24',NULL),(5061,9206,5061,4902,NULL,0,NULL,'2023-10-05 17:55:24','2023-10-05 17:55:24',NULL),(5062,9206,5062,4903,NULL,0,NULL,'2023-10-05 17:55:24','2023-10-05 17:55:24',NULL),(5063,9206,5063,4904,NULL,0,NULL,'2023-10-05 17:55:24','2023-10-05 17:55:24',NULL),(5064,9206,5064,4905,NULL,0,NULL,'2023-10-05 17:55:24','2023-10-05 17:55:24',NULL),(5065,9206,5065,4906,NULL,0,NULL,'2023-10-05 17:55:24','2023-10-05 17:55:24',NULL),(5066,9206,5066,4907,NULL,0,NULL,'2023-10-05 17:55:24','2023-10-05 17:55:24',NULL),(5067,9206,5067,4908,NULL,0,NULL,'2023-10-05 17:55:24','2023-10-05 17:55:24',NULL),(5068,9206,5068,4909,NULL,0,NULL,'2023-10-05 17:55:24','2023-10-05 17:55:24',NULL),(5069,9206,5069,4910,NULL,0,NULL,'2023-10-05 17:55:24','2023-10-05 17:55:24',NULL),(5070,9206,5070,4911,NULL,0,NULL,'2023-10-05 17:55:24','2023-10-05 17:55:24',NULL),(5071,9206,5071,4912,NULL,0,NULL,'2023-10-05 17:55:24','2023-10-05 17:55:24',NULL),(5072,9206,5072,4913,NULL,0,NULL,'2023-10-05 17:55:24','2023-10-05 17:55:24',NULL),(5073,9206,5073,4914,NULL,0,NULL,'2023-10-05 17:55:25','2023-10-05 17:55:25',NULL),(5074,9206,5074,4915,NULL,0,NULL,'2023-10-05 17:55:25','2023-10-05 17:55:25',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (5075,9206,5075,4916,NULL,0,NULL,'2023-10-05 17:55:25','2023-10-05 17:55:25',NULL),(5076,9206,5076,4917,NULL,0,NULL,'2023-10-05 17:55:25','2023-10-05 17:55:25',NULL),(5077,9206,5077,4918,NULL,0,NULL,'2023-10-05 17:55:25','2023-10-05 17:55:25',NULL),(5078,9206,5078,4919,NULL,0,NULL,'2023-10-05 17:55:25','2023-10-05 17:55:25',NULL),(5079,9206,5079,4920,NULL,0,NULL,'2023-10-05 17:55:25','2023-10-05 17:55:25',NULL),(5080,9206,5080,4921,NULL,0,NULL,'2023-10-05 17:55:25','2023-10-05 17:55:25',NULL),(5081,9206,5081,4922,NULL,0,NULL,'2023-10-05 17:55:25','2023-10-05 17:55:25',NULL),(5082,9206,5082,4923,NULL,0,NULL,'2023-10-05 17:55:25','2023-10-05 17:55:25',NULL),(5083,9206,5083,4924,NULL,0,NULL,'2023-10-05 17:55:25','2023-10-05 17:55:25',NULL),(5084,9206,5084,4925,NULL,0,NULL,'2023-10-05 17:55:25','2023-10-05 17:55:25',NULL),(5085,9206,5085,4926,NULL,0,NULL,'2023-10-05 17:55:25','2023-10-05 17:55:25',NULL),(5086,9206,5086,4927,NULL,0,NULL,'2023-10-05 17:55:25','2023-10-05 17:55:25',NULL),(5087,9206,5087,4928,NULL,0,NULL,'2023-10-05 17:55:25','2023-10-05 17:55:25',NULL),(5088,9206,5088,4929,NULL,0,NULL,'2023-10-05 17:55:26','2023-10-05 17:55:26',NULL),(5089,9206,5089,4930,NULL,0,NULL,'2023-10-05 17:55:26','2023-10-05 17:55:26',NULL),(5090,9206,5090,4931,NULL,0,NULL,'2023-10-05 17:55:26','2023-10-05 17:55:26',NULL),(5091,9206,5091,4932,NULL,0,NULL,'2023-10-05 17:55:26','2023-10-05 17:55:26',NULL),(5092,9206,5092,4933,NULL,0,NULL,'2023-10-05 17:55:26','2023-10-05 17:55:26',NULL),(5093,9206,5093,4934,NULL,0,NULL,'2023-10-05 17:55:26','2023-10-05 17:55:26',NULL),(5094,9206,5094,4935,NULL,0,NULL,'2023-10-05 17:55:26','2023-10-05 17:55:26',NULL),(5095,9206,5095,4936,NULL,0,NULL,'2023-10-05 17:55:26','2023-10-05 17:55:26',NULL),(5096,9206,5096,4937,NULL,0,NULL,'2023-10-05 17:55:26','2023-10-05 17:55:26',NULL),(5097,9206,5097,4938,NULL,0,NULL,'2023-10-05 17:55:26','2023-10-05 17:55:26',NULL),(5098,9206,5098,4939,NULL,0,NULL,'2023-10-05 17:55:26','2023-10-05 17:55:26',NULL),(5099,9206,5099,4940,NULL,0,NULL,'2023-10-05 17:55:26','2023-10-05 17:55:26',NULL),(5100,9206,5100,4941,NULL,0,NULL,'2023-10-05 17:55:27','2023-10-05 17:55:27',NULL),(5101,9206,5101,4942,NULL,0,NULL,'2023-10-05 17:55:27','2023-10-05 17:55:27',NULL),(5102,9206,5102,4943,NULL,0,NULL,'2023-10-05 17:55:27','2023-10-05 17:55:27',NULL),(5103,9206,5103,4944,NULL,0,NULL,'2023-10-05 17:55:27','2023-10-05 17:55:27',NULL),(5104,9206,5104,4945,NULL,0,NULL,'2023-10-05 17:55:27','2023-10-05 17:55:27',NULL),(5105,9206,5105,4946,NULL,0,NULL,'2023-10-05 17:55:27','2023-10-05 17:55:27',NULL),(5106,9206,5106,4947,NULL,0,NULL,'2023-10-05 17:55:27','2023-10-05 17:55:27',NULL),(5107,9206,5107,4948,NULL,0,NULL,'2023-10-05 17:55:27','2023-10-05 17:55:27',NULL),(5108,9206,5108,4949,NULL,0,NULL,'2023-10-05 17:55:27','2023-10-05 17:55:27',NULL),(5109,9206,5109,4950,NULL,0,NULL,'2023-10-05 17:55:28','2023-10-05 17:55:28',NULL),(5110,9206,5110,4951,NULL,0,NULL,'2023-10-05 17:55:28','2023-10-05 17:55:28',NULL),(5111,9206,5111,4952,NULL,0,NULL,'2023-10-05 17:55:28','2023-10-05 17:55:28',NULL),(5112,9206,5112,4953,NULL,0,NULL,'2023-10-05 17:55:28','2023-10-05 17:55:28',NULL),(5113,9206,5113,4954,NULL,0,NULL,'2023-10-05 17:55:28','2023-10-05 17:55:28',NULL),(5114,9206,5114,4955,NULL,0,NULL,'2023-10-05 17:55:28','2023-10-05 17:55:28',NULL),(5115,9206,5115,4956,NULL,0,NULL,'2023-10-05 17:55:28','2023-10-05 17:55:28',NULL),(5116,9206,5116,4957,NULL,0,NULL,'2023-10-05 17:55:28','2023-10-05 17:55:28',NULL),(5117,9206,5117,4958,NULL,0,NULL,'2023-10-05 17:55:28','2023-10-05 17:55:28',NULL),(5118,9206,5118,4959,NULL,0,NULL,'2023-10-05 17:55:28','2023-10-05 17:55:28',NULL),(5119,9206,5119,4960,NULL,0,NULL,'2023-10-05 17:55:28','2023-10-05 17:55:28',NULL),(5120,9206,5120,4961,NULL,0,NULL,'2023-10-05 17:55:28','2023-10-05 17:55:28',NULL),(5121,9206,5121,4962,NULL,0,NULL,'2023-10-05 17:55:28','2023-10-05 17:55:28',NULL),(5122,9206,5122,4963,NULL,0,NULL,'2023-10-05 17:55:28','2023-10-05 17:55:28',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (5123,9206,5123,4964,NULL,0,NULL,'2023-10-05 17:55:28','2023-10-05 17:55:28',NULL),(5124,9206,5124,4965,NULL,0,NULL,'2023-10-05 17:55:29','2023-10-05 17:55:29',NULL),(5125,9206,5125,4966,NULL,0,NULL,'2023-10-05 17:55:29','2023-10-05 17:55:29',NULL),(5126,9206,5126,4967,NULL,0,NULL,'2023-10-05 17:55:29','2023-10-05 17:55:29',NULL),(5127,9206,5127,4968,NULL,0,NULL,'2023-10-05 17:55:29','2023-10-05 17:55:29',NULL),(5128,9206,5128,4969,NULL,0,NULL,'2023-10-05 17:55:29','2023-10-05 17:55:29',NULL),(5129,9206,5129,4970,NULL,0,NULL,'2023-10-05 17:55:29','2023-10-05 17:55:29',NULL),(5130,9206,5130,4971,NULL,0,NULL,'2023-10-05 17:55:29','2023-10-05 17:55:29',NULL),(5131,9206,5131,4972,NULL,0,NULL,'2023-10-05 17:55:29','2023-10-05 17:55:29',NULL),(5132,9206,5132,4973,NULL,0,NULL,'2023-10-05 17:55:29','2023-10-05 17:55:29',NULL),(5133,9206,5133,4974,NULL,0,NULL,'2023-10-05 17:55:29','2023-10-05 17:55:29',NULL),(5134,9206,5134,4975,NULL,0,NULL,'2023-10-05 17:55:29','2023-10-05 17:55:29',NULL),(5135,9206,5135,4976,NULL,0,NULL,'2023-10-05 17:55:29','2023-10-05 17:55:29',NULL),(5136,9206,5136,4977,NULL,0,NULL,'2023-10-05 17:55:29','2023-10-05 17:55:29',NULL),(5137,9206,5137,4978,NULL,0,NULL,'2023-10-05 17:55:30','2023-10-05 17:55:30',NULL),(5138,9206,5138,4979,NULL,0,NULL,'2023-10-05 17:55:30','2023-10-05 17:55:30',NULL),(5139,9206,5139,4980,NULL,0,NULL,'2023-10-05 17:55:30','2023-10-05 17:55:30',NULL),(5140,9206,5140,4981,NULL,0,NULL,'2023-10-05 17:55:30','2023-10-05 17:55:30',NULL),(5141,9206,5141,4982,NULL,0,NULL,'2023-10-05 17:55:30','2023-10-05 17:55:30',NULL),(5142,9206,5142,4983,NULL,0,NULL,'2023-10-05 17:55:30','2023-10-05 17:55:30',NULL),(5143,9206,5143,4984,NULL,0,NULL,'2023-10-05 17:55:30','2023-10-05 17:55:30',NULL),(5144,9206,5144,4985,NULL,0,NULL,'2023-10-05 17:55:31','2023-10-05 17:55:31',NULL),(5145,9206,5145,4986,NULL,0,NULL,'2023-10-05 17:55:31','2023-10-05 17:55:31',NULL),(5146,9206,5146,4987,NULL,0,NULL,'2023-10-05 17:55:31','2023-10-05 17:55:31',NULL),(5147,9206,5147,4988,NULL,0,NULL,'2023-10-05 17:55:31','2023-10-05 17:55:31',NULL),(5148,9206,5148,4989,NULL,0,NULL,'2023-10-05 17:55:31','2023-10-05 17:55:31',NULL),(5149,9206,5149,4990,NULL,0,NULL,'2023-10-05 17:55:31','2023-10-05 17:55:31',NULL),(5150,9206,5150,4991,NULL,0,NULL,'2023-10-05 17:55:31','2023-10-05 17:55:31',NULL),(5151,9206,5151,4992,NULL,0,NULL,'2023-10-05 17:55:31','2023-10-05 17:55:31',NULL),(5152,9206,5152,4993,NULL,0,NULL,'2023-10-05 17:55:32','2023-10-05 17:55:32',NULL),(5153,9206,5153,4994,NULL,0,NULL,'2023-10-05 17:55:32','2023-10-05 17:55:32',NULL),(5154,9206,5154,4995,NULL,0,NULL,'2023-10-05 17:55:32','2023-10-05 17:55:32',NULL),(5155,9206,5155,4996,NULL,0,NULL,'2023-10-05 17:55:32','2023-10-05 17:55:32',NULL),(5156,9206,5156,4997,NULL,0,NULL,'2023-10-05 17:55:32','2023-10-05 17:55:32',NULL),(5157,9206,5157,4998,NULL,0,NULL,'2023-10-05 17:55:32','2023-10-05 17:55:32',NULL),(5158,9206,5158,4999,NULL,0,NULL,'2023-10-05 17:55:32','2023-10-05 17:55:32',NULL),(5159,9206,5159,5000,NULL,0,NULL,'2023-10-05 17:55:32','2023-10-05 17:55:32',NULL),(5160,9206,5160,5001,NULL,0,NULL,'2023-10-05 17:55:32','2023-10-05 17:55:32',NULL),(5161,9206,5161,5002,NULL,0,NULL,'2023-10-05 17:55:32','2023-10-05 17:55:32',NULL),(5162,9206,5162,5003,NULL,0,NULL,'2023-10-05 17:55:32','2023-10-05 17:55:32',NULL),(5163,9206,5163,5004,NULL,0,NULL,'2023-10-05 17:55:32','2023-10-05 17:55:32',NULL),(5164,9206,5164,5005,NULL,0,NULL,'2023-10-05 17:55:32','2023-10-05 17:55:32',NULL),(5165,9206,5165,5006,NULL,0,NULL,'2023-10-05 17:55:32','2023-10-05 17:55:32',NULL),(5166,9206,5166,5007,NULL,0,NULL,'2023-10-05 17:55:33','2023-10-05 17:55:33',NULL),(5167,9206,5167,5008,NULL,0,NULL,'2023-10-05 17:55:33','2023-10-05 17:55:33',NULL),(5168,9206,5168,5009,NULL,0,NULL,'2023-10-05 17:55:33','2023-10-05 17:55:33',NULL),(5169,9206,5169,5010,NULL,0,NULL,'2023-10-05 17:55:33','2023-10-05 17:55:33',NULL),(5170,9206,5170,5011,NULL,0,NULL,'2023-10-05 17:55:33','2023-10-05 17:55:33',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (5171,9206,5171,5012,NULL,0,NULL,'2023-10-05 17:55:33','2023-10-05 17:55:33',NULL),(5172,9206,5172,5013,NULL,0,NULL,'2023-10-05 17:55:33','2023-10-05 17:55:33',NULL),(5173,9206,5173,5014,NULL,0,NULL,'2023-10-05 17:55:33','2023-10-05 17:55:33',NULL),(5174,9206,5174,5015,NULL,0,NULL,'2023-10-05 17:55:33','2023-10-05 17:55:33',NULL),(5175,9206,5175,5016,NULL,0,NULL,'2023-10-05 17:55:33','2023-10-05 17:55:33',NULL),(5176,9206,5176,5017,NULL,0,NULL,'2023-10-05 17:55:33','2023-10-05 17:55:33',NULL),(5177,9206,5177,5018,NULL,0,NULL,'2023-10-05 17:55:33','2023-10-05 17:55:33',NULL),(5178,9206,5178,5019,NULL,0,NULL,'2023-10-05 17:55:33','2023-10-05 17:55:33',NULL),(5179,9206,5179,5020,NULL,0,NULL,'2023-10-05 17:55:33','2023-10-05 17:55:33',NULL),(5180,9206,5180,5021,NULL,0,NULL,'2023-10-05 17:55:34','2023-10-05 17:55:34',NULL),(5181,9206,5181,5022,NULL,0,NULL,'2023-10-05 17:55:34','2023-10-05 17:55:34',NULL),(5182,9206,5182,5023,NULL,0,NULL,'2023-10-05 17:55:34','2023-10-05 17:55:34',NULL),(5183,9206,5183,5024,NULL,0,NULL,'2023-10-05 17:55:34','2023-10-05 17:55:34',NULL),(5184,9206,5184,5025,NULL,0,NULL,'2023-10-05 17:55:34','2023-10-05 17:55:34',NULL),(5185,9206,5185,5026,NULL,0,NULL,'2023-10-05 17:55:34','2023-10-05 17:55:34',NULL),(5186,9206,5186,5027,NULL,0,NULL,'2023-10-05 17:55:34','2023-10-05 17:55:34',NULL),(5187,9206,5187,5028,NULL,0,NULL,'2023-10-05 17:55:34','2023-10-05 17:55:34',NULL),(5188,9206,5188,5029,NULL,0,NULL,'2023-10-05 17:55:34','2023-10-05 17:55:34',NULL),(5189,9206,5189,5030,NULL,0,NULL,'2023-10-05 17:55:34','2023-10-05 17:55:34',NULL),(5190,9206,5190,5031,NULL,0,NULL,'2023-10-05 17:55:34','2023-10-05 17:55:34',NULL),(5191,9206,5191,5032,NULL,0,NULL,'2023-10-05 17:55:34','2023-10-05 17:55:34',NULL),(5192,9206,5192,5033,NULL,0,NULL,'2023-10-05 17:55:34','2023-10-05 17:55:34',NULL),(5193,9206,5193,5034,NULL,0,NULL,'2023-10-05 17:55:34','2023-10-05 17:55:34',NULL),(5194,9206,5194,5035,NULL,0,NULL,'2023-10-05 17:55:35','2023-10-05 17:55:35',NULL),(5195,9206,5195,5036,NULL,0,NULL,'2023-10-05 17:55:35','2023-10-05 17:55:35',NULL),(5196,9206,5196,5037,NULL,0,NULL,'2023-10-05 17:55:35','2023-10-05 17:55:35',NULL),(5197,9206,5197,5038,NULL,0,NULL,'2023-10-05 17:55:35','2023-10-05 17:55:35',NULL),(5198,9206,5198,5039,NULL,0,NULL,'2023-10-05 17:55:35','2023-10-05 17:55:35',NULL),(5199,9206,5199,5040,NULL,0,NULL,'2023-10-05 17:55:35','2023-10-05 17:55:35',NULL),(5200,9206,5200,5041,NULL,0,NULL,'2023-10-05 17:55:35','2023-10-05 17:55:35',NULL),(5201,9206,5201,5042,NULL,0,NULL,'2023-10-05 17:55:35','2023-10-05 17:55:35',NULL),(5202,9206,5202,5043,NULL,0,NULL,'2023-10-05 17:55:36','2023-10-05 17:55:36',NULL),(5203,9206,5203,5044,NULL,0,NULL,'2023-10-05 17:55:36','2023-10-05 17:55:36',NULL),(5204,9206,5204,5045,NULL,0,NULL,'2023-10-05 17:55:36','2023-10-05 17:55:36',NULL),(5205,9206,5205,5046,NULL,0,NULL,'2023-10-05 17:55:36','2023-10-05 17:55:36',NULL),(5206,9206,5206,5047,NULL,0,NULL,'2023-10-05 17:55:36','2023-10-05 17:55:36',NULL),(5207,9206,5207,5048,NULL,0,NULL,'2023-10-05 17:55:36','2023-10-05 17:55:36',NULL),(5208,9206,5208,5049,NULL,0,NULL,'2023-10-05 17:55:36','2023-10-05 17:55:36',NULL),(5209,9206,5209,5050,NULL,0,NULL,'2023-10-05 17:55:36','2023-10-05 17:55:36',NULL),(5210,9206,5210,5051,NULL,0,NULL,'2023-10-05 17:55:36','2023-10-05 17:55:36',NULL),(5211,9206,5211,5052,NULL,0,NULL,'2023-10-05 17:55:36','2023-10-05 17:55:36',NULL),(5212,9206,5212,5053,NULL,0,NULL,'2023-10-05 17:55:36','2023-10-05 17:55:36',NULL),(5213,9206,5213,5054,NULL,0,NULL,'2023-10-05 17:55:37','2023-10-05 17:55:37',NULL),(5214,9206,5214,5055,NULL,0,NULL,'2023-10-05 17:55:37','2023-10-05 17:55:37',NULL),(5215,9206,5215,5056,NULL,0,NULL,'2023-10-05 17:55:37','2023-10-05 17:55:37',NULL),(5216,9206,5216,5057,NULL,0,NULL,'2023-10-05 17:55:37','2023-10-05 17:55:37',NULL),(5217,9206,5217,5058,NULL,0,NULL,'2023-10-05 17:55:37','2023-10-05 17:55:37',NULL),(5218,9206,5218,5059,NULL,0,NULL,'2023-10-05 17:55:37','2023-10-05 17:55:37',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (5219,9206,5219,5060,NULL,0,NULL,'2023-10-05 17:55:37','2023-10-05 17:55:37',NULL),(5220,9206,5220,5061,NULL,0,NULL,'2023-10-05 17:55:37','2023-10-05 17:55:37',NULL),(5221,9206,5221,5062,NULL,0,NULL,'2023-10-05 17:55:37','2023-10-05 17:55:37',NULL),(5222,9206,5222,5063,NULL,0,NULL,'2023-10-05 17:55:37','2023-10-05 17:55:37',NULL),(5223,9206,5223,5064,NULL,0,NULL,'2023-10-05 17:55:37','2023-10-05 17:55:37',NULL),(5224,9206,5224,5065,NULL,0,NULL,'2023-10-05 17:55:37','2023-10-05 17:55:37',NULL),(5225,9206,5225,5066,NULL,0,NULL,'2023-10-05 17:55:38','2023-10-05 17:55:38',NULL),(5226,9206,5226,5067,NULL,0,NULL,'2023-10-05 17:55:38','2023-10-05 17:55:38',NULL),(5227,9206,5227,5068,NULL,0,NULL,'2023-10-05 17:55:38','2023-10-05 17:55:38',NULL),(5228,9206,5228,5069,NULL,0,NULL,'2023-10-05 17:55:38','2023-10-05 17:55:38',NULL),(5229,9206,5229,5070,NULL,0,NULL,'2023-10-05 17:55:38','2023-10-05 17:55:38',NULL),(5230,9206,5230,5071,NULL,0,NULL,'2023-10-05 17:55:38','2023-10-05 17:55:38',NULL),(5231,9206,5231,5072,NULL,0,NULL,'2023-10-05 17:55:38','2023-10-05 17:55:38',NULL),(5232,9206,5232,5073,NULL,0,NULL,'2023-10-05 17:55:38','2023-10-05 17:55:38',NULL),(5233,9206,5233,5074,NULL,0,NULL,'2023-10-05 17:55:38','2023-10-05 17:55:38',NULL),(5234,9206,5234,5075,NULL,0,NULL,'2023-10-05 17:55:38','2023-10-05 17:55:38',NULL),(5235,9206,5235,5076,NULL,0,NULL,'2023-10-05 17:55:38','2023-10-05 17:55:38',NULL),(5236,9206,5236,5077,NULL,0,NULL,'2023-10-05 17:55:38','2023-10-05 17:55:38',NULL),(5237,9206,5237,5078,NULL,0,NULL,'2023-10-05 17:55:38','2023-10-05 17:55:38',NULL),(5238,9206,5238,5079,NULL,0,NULL,'2023-10-05 17:55:38','2023-10-05 17:55:38',NULL),(5239,9206,5239,5080,NULL,0,NULL,'2023-10-05 17:55:38','2023-10-05 17:55:38',NULL),(5240,9206,5240,5081,NULL,0,NULL,'2023-10-05 17:55:39','2023-10-05 17:55:39',NULL),(5241,9206,5241,5082,NULL,0,NULL,'2023-10-05 17:55:39','2023-10-05 17:55:39',NULL),(5242,9206,5242,5083,NULL,0,NULL,'2023-10-05 17:55:39','2023-10-05 17:55:39',NULL),(5243,9206,5243,5084,NULL,0,NULL,'2023-10-05 17:55:39','2023-10-05 17:55:39',NULL),(5244,9206,5244,5085,NULL,0,NULL,'2023-10-05 17:55:39','2023-10-05 17:55:39',NULL),(5245,9206,5245,5086,NULL,0,NULL,'2023-10-05 17:55:39','2023-10-05 17:55:39',NULL),(5246,9206,5246,5087,NULL,0,NULL,'2023-10-05 17:55:39','2023-10-05 17:55:39',NULL),(5247,9206,5247,5088,NULL,0,NULL,'2023-10-05 17:55:39','2023-10-05 17:55:39',NULL),(5248,9206,5248,5089,NULL,0,NULL,'2023-10-05 17:55:40','2023-10-05 17:55:40',NULL),(5249,9206,5249,5090,NULL,0,NULL,'2023-10-05 17:55:40','2023-10-05 17:55:40',NULL),(5250,9206,5250,5091,NULL,0,NULL,'2023-10-05 17:55:40','2023-10-05 17:55:40',NULL),(5251,9206,5251,5092,NULL,0,NULL,'2023-10-05 17:55:40','2023-10-05 17:55:40',NULL),(5252,9206,5252,5093,NULL,0,NULL,'2023-10-05 17:55:40','2023-10-05 17:55:40',NULL),(5253,9206,5253,5094,NULL,0,NULL,'2023-10-05 17:55:40','2023-10-05 17:55:40',NULL),(5254,9206,5254,5095,NULL,0,NULL,'2023-10-05 17:55:40','2023-10-05 17:55:40',NULL),(5255,9206,5255,5096,NULL,0,NULL,'2023-10-05 17:55:40','2023-10-05 17:55:40',NULL),(5256,9206,5256,5097,NULL,0,NULL,'2023-10-05 17:55:40','2023-10-05 17:55:40',NULL),(5257,9206,5257,5098,NULL,0,NULL,'2023-10-05 17:55:40','2023-10-05 17:55:40',NULL),(5258,9206,5258,5099,NULL,0,NULL,'2023-10-05 17:55:40','2023-10-05 17:55:40',NULL),(5259,9206,5259,5100,NULL,0,NULL,'2023-10-05 17:55:41','2023-10-05 17:55:41',NULL),(5260,9206,5260,5101,NULL,0,NULL,'2023-10-05 17:55:41','2023-10-05 17:55:41',NULL),(5261,9206,5261,5102,NULL,0,NULL,'2023-10-05 17:55:41','2023-10-05 17:55:41',NULL),(5262,9206,5262,5103,NULL,0,NULL,'2023-10-05 17:55:41','2023-10-05 17:55:41',NULL),(5263,9206,5263,5104,NULL,0,NULL,'2023-10-05 17:55:41','2023-10-05 17:55:41',NULL),(5264,9206,5264,5105,NULL,0,NULL,'2023-10-05 17:55:41','2023-10-05 17:55:41',NULL),(5265,9206,5265,5106,NULL,0,NULL,'2023-10-05 17:55:41','2023-10-05 17:55:41',NULL),(5266,9206,5266,5107,NULL,0,NULL,'2023-10-05 17:55:41','2023-10-05 17:55:41',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (5267,9206,5267,5108,NULL,0,NULL,'2023-10-05 17:55:41','2023-10-05 17:55:41',NULL),(5268,9206,5268,5109,NULL,0,NULL,'2023-10-05 17:55:41','2023-10-05 17:55:41',NULL),(5269,9206,5269,5110,NULL,0,NULL,'2023-10-05 18:12:37','2023-10-05 18:12:37',NULL),(5270,9206,5270,5111,NULL,0,NULL,'2023-10-05 18:12:38','2023-10-05 18:12:38',NULL),(5271,9206,5271,5112,NULL,0,NULL,'2023-10-05 18:12:38','2023-10-05 18:12:38',NULL),(5272,9206,5272,5113,NULL,0,NULL,'2023-10-05 18:12:38','2023-10-05 18:12:38',NULL),(5273,9206,5273,5114,NULL,0,NULL,'2023-10-05 18:12:38','2023-10-05 18:12:38',NULL),(5274,9206,5274,5115,NULL,0,NULL,'2023-10-05 18:12:38','2023-10-05 18:12:38',NULL),(5275,9206,5275,5116,NULL,0,NULL,'2023-10-05 18:12:38','2023-10-05 18:12:38',NULL),(5276,9206,5276,5117,NULL,0,NULL,'2023-10-05 18:12:38','2023-10-05 18:12:38',NULL),(5277,9206,5277,5118,NULL,0,NULL,'2023-10-05 18:12:38','2023-10-05 18:12:38',NULL),(5278,9206,5278,5119,NULL,0,NULL,'2023-10-05 18:12:38','2023-10-05 18:12:38',NULL),(5279,9206,5279,5120,NULL,0,NULL,'2023-10-05 18:12:38','2023-10-05 18:12:38',NULL),(5280,9206,5280,5121,NULL,0,NULL,'2023-10-05 18:12:39','2023-10-05 18:12:39',NULL),(5281,9206,5281,5122,NULL,0,NULL,'2023-10-06 12:03:50','2023-10-06 12:03:50',NULL),(5282,9656,5282,5123,NULL,0,NULL,'2023-10-06 12:58:48','2023-10-06 12:58:48',NULL),(5283,9656,5283,5124,NULL,0,NULL,'2023-10-06 13:07:36','2023-10-06 13:07:36',NULL),(5284,9656,5284,5125,NULL,0,NULL,'2023-10-06 14:26:17','2023-10-06 14:26:17',NULL),(5285,9656,5285,5126,NULL,0,NULL,'2023-10-06 14:41:20','2023-10-06 14:41:20',NULL),(5286,9206,5286,5127,NULL,0,NULL,'2023-10-06 16:10:20','2023-10-06 16:10:20',NULL),(5287,9656,5287,5128,NULL,0,NULL,'2023-10-06 18:16:26','2023-10-06 18:16:26',NULL),(5288,9656,5288,5129,NULL,0,NULL,'2023-10-06 18:20:39','2023-10-06 18:20:39',NULL),(5289,9656,5289,5130,NULL,0,NULL,'2023-10-09 18:01:22','2023-10-09 18:01:22',NULL),(5290,9656,5290,5131,NULL,0,NULL,'2023-10-09 18:03:37','2023-10-09 18:03:37',NULL),(5291,9656,5291,5132,NULL,0,NULL,'2023-10-09 18:04:36','2023-10-09 18:04:36',NULL),(5292,9656,5292,5133,NULL,0,NULL,'2023-10-09 18:05:33','2023-10-09 18:05:33',NULL),(5293,9656,5293,5134,NULL,0,NULL,'2023-10-09 18:06:26','2023-10-09 18:06:26',NULL),(5294,9656,5294,5135,NULL,0,NULL,'2023-10-09 18:07:08','2023-10-09 18:07:08',NULL),(5295,9656,5295,5136,NULL,0,NULL,'2023-10-09 18:07:50','2023-10-09 18:07:50',NULL),(5296,9656,5296,5137,NULL,0,NULL,'2023-10-09 18:08:15','2023-10-09 18:08:15',NULL),(5297,9656,5297,5138,NULL,0,NULL,'2023-10-09 18:08:58','2023-10-09 18:08:58',NULL),(5298,9656,5298,5139,NULL,0,NULL,'2023-10-09 18:10:35','2023-10-09 18:10:35',NULL),(5299,9656,5299,5140,NULL,0,NULL,'2023-10-09 18:11:15','2023-10-09 18:11:15',NULL),(5300,9656,5300,5143,NULL,0,NULL,'2023-10-10 13:45:22','2023-10-10 13:45:22',NULL),(5301,9656,5301,5144,NULL,0,NULL,'2023-10-10 13:51:53','2023-10-10 13:51:53',NULL),(5302,9656,5302,5145,NULL,0,NULL,'2023-10-10 13:56:31','2023-10-10 13:56:31',NULL),(5303,9656,5303,5146,NULL,0,NULL,'2023-10-10 14:04:57','2023-10-10 14:04:57',NULL),(5304,9656,5304,5147,NULL,0,NULL,'2023-10-10 14:13:11','2023-10-10 14:13:11',NULL),(5305,9656,5305,5148,NULL,0,NULL,'2023-10-10 14:19:37','2023-10-10 14:19:37',NULL),(5306,9656,5306,5149,NULL,0,NULL,'2023-10-10 14:32:47','2023-10-10 14:32:47',NULL),(5307,9656,5307,5150,NULL,0,NULL,'2023-10-10 15:01:11','2023-10-10 15:01:11',NULL),(5308,9656,5308,5151,NULL,0,NULL,'2023-10-10 15:04:21','2023-10-10 15:04:21',NULL),(5309,9656,5309,5152,NULL,0,NULL,'2023-10-10 15:18:15','2023-10-10 15:18:15',NULL),(5310,9656,5310,5153,NULL,0,NULL,'2023-10-10 15:24:27','2023-10-10 15:24:27',NULL),(5311,9656,5311,5154,NULL,0,NULL,'2023-10-10 15:28:18','2023-10-10 15:28:18',NULL),(5312,9656,5312,5155,NULL,0,NULL,'2023-10-10 15:32:40','2023-10-10 15:32:40',NULL),(5313,9656,5313,5156,NULL,0,NULL,'2023-10-10 15:35:10','2023-10-10 15:35:10',NULL),(5314,9656,5314,5157,NULL,0,NULL,'2023-10-10 15:39:29','2023-10-10 15:39:29',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (5315,9656,5315,5158,NULL,0,NULL,'2023-10-10 15:45:54','2023-10-10 15:45:54',NULL),(5316,9656,5316,5159,NULL,0,NULL,'2023-10-10 15:48:46','2023-10-10 15:48:46',NULL),(5317,9656,5317,5160,NULL,0,NULL,'2023-10-10 15:55:16','2023-10-10 15:55:16',NULL),(5318,9656,5318,5161,NULL,0,NULL,'2023-10-10 16:00:34','2023-10-10 16:00:34',NULL),(5319,9656,5319,5162,NULL,0,NULL,'2023-10-10 16:12:33','2023-10-10 16:12:33',NULL),(5320,9656,5320,5163,NULL,0,NULL,'2023-10-10 16:15:23','2023-10-10 16:15:23',NULL),(5321,9656,5321,5164,NULL,0,NULL,'2023-10-10 16:19:45','2023-10-10 16:19:45',NULL),(5322,9656,5322,5165,NULL,0,NULL,'2023-10-10 17:12:06','2023-10-10 17:12:06',NULL),(5323,9656,5323,5166,NULL,0,NULL,'2023-10-10 17:13:16','2023-10-10 17:13:16',NULL),(5324,9656,5324,5167,NULL,0,NULL,'2023-10-10 17:14:40','2023-10-10 17:14:40',NULL),(5325,9656,5325,5168,NULL,0,NULL,'2023-10-11 13:00:19','2023-10-11 13:00:19',NULL),(5326,9656,5326,5169,NULL,0,NULL,'2023-10-11 13:12:43','2023-10-11 13:12:43',NULL),(5327,9656,5327,5173,NULL,0,NULL,'2023-10-11 14:17:09','2023-10-11 14:17:09',NULL),(5328,9656,5328,5174,NULL,0,NULL,'2023-10-11 14:23:02','2023-10-11 14:23:02',NULL),(5329,9656,5329,5175,NULL,0,NULL,'2023-10-11 14:43:31','2023-10-11 14:43:31',NULL),(5330,9656,5330,5176,NULL,0,NULL,'2023-10-11 14:53:44','2023-10-11 14:53:44',NULL),(5331,9656,5331,5177,NULL,0,NULL,'2023-10-11 16:49:17','2023-10-11 16:49:17',NULL),(5332,9656,5332,5178,NULL,0,NULL,'2023-10-11 16:52:50','2023-10-11 16:52:50',NULL),(5333,9656,5333,5180,NULL,0,NULL,'2023-10-11 16:57:25','2023-10-11 16:57:25',NULL),(5334,9656,5334,5181,NULL,0,NULL,'2023-10-11 17:05:03','2023-10-11 17:05:03',NULL),(5335,9656,5335,5182,NULL,0,NULL,'2023-10-11 17:12:22','2023-10-11 17:12:22',NULL),(5336,9656,5336,5183,NULL,0,NULL,'2023-10-11 17:16:31','2023-10-11 17:16:31',NULL),(5337,9656,5337,5184,NULL,0,NULL,'2023-10-11 17:29:41','2023-10-11 17:29:41',NULL),(5338,9656,5338,5185,NULL,0,NULL,'2023-10-12 12:31:58','2023-10-12 12:31:58',NULL),(5339,9656,5339,5186,NULL,0,NULL,'2023-10-13 12:07:10','2023-10-13 12:07:10',NULL),(5340,9656,5340,5187,NULL,0,NULL,'2023-10-13 12:09:55','2023-10-13 12:09:55',NULL),(5341,9656,5341,5188,NULL,0,NULL,'2023-10-13 12:15:28','2023-10-13 12:15:28',NULL),(5342,9656,5342,5189,NULL,0,NULL,'2023-10-13 12:21:42','2023-10-13 12:21:42',NULL),(5343,9656,5343,5191,NULL,0,NULL,'2023-10-13 12:25:28','2023-10-13 12:25:28',NULL),(5344,9656,5344,5192,NULL,0,NULL,'2023-10-13 12:33:13','2023-10-13 12:33:13',NULL),(5345,9656,5345,5193,NULL,0,NULL,'2023-10-13 12:36:16','2023-10-13 12:36:16',NULL),(5346,9656,5346,5194,NULL,0,NULL,'2023-10-13 12:40:49','2023-10-13 12:40:49',NULL),(5347,9656,5347,5195,NULL,0,NULL,'2023-10-13 14:57:13','2023-10-13 14:57:13',NULL),(5348,9656,5348,5196,NULL,0,NULL,'2023-10-13 15:00:12','2023-10-13 15:00:12',NULL),(5349,9656,5349,5197,NULL,0,NULL,'2023-10-13 15:06:29','2023-10-13 15:06:29',NULL),(5350,9656,5350,5198,NULL,0,NULL,'2023-10-13 15:10:12','2023-10-13 15:10:12',NULL),(5351,9656,5351,5199,NULL,0,NULL,'2023-10-13 15:15:59','2023-10-13 15:15:59',NULL),(5352,9656,5352,5200,NULL,0,NULL,'2023-10-13 15:18:26','2023-10-13 15:18:26',NULL),(5353,9656,5353,5201,NULL,0,NULL,'2023-10-13 15:23:12','2023-10-13 15:23:12',NULL),(5354,9656,5354,5202,NULL,0,NULL,'2023-10-13 15:25:03','2023-10-13 15:25:03',NULL),(5355,9656,5355,5203,NULL,0,NULL,'2023-10-13 15:36:30','2023-10-13 15:36:30',NULL),(5356,9656,5356,5204,NULL,0,NULL,'2023-10-13 15:39:54','2023-10-13 15:39:54',NULL),(5357,9656,5357,5205,NULL,0,NULL,'2023-10-13 15:42:11','2023-10-13 15:42:11',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 AUTO_INCREMENT=257 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `cta_cte_tesoreria` VALUES (1,NULL,NULL,NULL,9206,40718,NULL,NULL,757,1520,'2023-02-28',155000.00,1,1.00,'Saldo Inicial',NULL,'2023-02-28 14:21:22','2023-08-23 15:44:15','2023-08-23 15:44:15',NULL),(2,NULL,NULL,NULL,8522,40718,1252,NULL,13,1521,'2023-03-01',10000.00,1,1.00,NULL,NULL,'2023-03-01 11:25:20','2023-03-01 11:25:20',NULL,NULL),(3,NULL,NULL,NULL,8522,40718,NULL,4,13,1521,'2023-03-03',150.00,1,1.00,NULL,NULL,'2023-03-02 22:15:32','2023-03-02 22:15:54','2023-03-02 22:15:54',NULL),(4,NULL,NULL,NULL,9362,40718,1373,NULL,57,1526,'2023-08-11',2350.00,1,290.00,NULL,NULL,'2023-08-14 11:47:29','2023-08-22 10:05:35','2023-08-22 10:05:35',NULL),(5,NULL,NULL,NULL,9362,40718,1467,NULL,57,1526,'2023-08-01',4500.00,1,357.00,NULL,NULL,'2023-08-22 10:24:52','2023-08-22 10:29:57','2023-08-22 10:29:57',NULL),(6,NULL,NULL,NULL,9362,40718,1468,NULL,57,1526,'2023-08-22',4500.00,1,357.00,NULL,NULL,'2023-08-22 10:31:06','2023-08-22 10:43:53','2023-08-22 10:43:53',NULL),(7,NULL,NULL,NULL,9362,40718,NULL,6,57,1526,'2023-08-01',4500.00,1,1.00,NULL,NULL,'2023-08-22 10:34:39','2023-08-22 11:25:29','2023-08-22 11:25:29',NULL),(8,NULL,NULL,NULL,9362,40718,NULL,NULL,757,1526,'2023-08-01',4500.00,1,1.00,'',NULL,'2023-08-22 11:25:18','2023-08-22 11:25:40','2023-08-22 11:25:40',NULL),(9,NULL,NULL,NULL,9362,40718,NULL,NULL,757,1526,'2023-08-23',279966.64,1,1.00,'',NULL,'2023-08-22 11:26:15','2023-08-23 16:16:38','2023-08-23 16:16:38',NULL),(10,NULL,NULL,NULL,9362,40718,NULL,NULL,757,1526,'2023-08-22',20000.00,1,1.00,'',NULL,'2023-08-22 11:34:35','2023-08-23 16:00:20','2023-08-23 16:00:20',NULL),(11,NULL,NULL,NULL,9362,40718,NULL,NULL,757,1526,'2023-08-01',800.00,1,1.00,'',NULL,'2023-08-22 16:57:52','2023-08-23 16:07:10','2023-08-23 16:07:10',NULL),(12,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-31',166237.85,1,1.00,'Saldo Inicial',NULL,'2023-08-23 09:16:46','2023-08-31 15:35:59',NULL,NULL),(13,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-01',5382.00,1,1.00,'',NULL,'2023-08-23 09:37:32','2023-08-23 09:37:32',NULL,NULL),(14,NULL,NULL,NULL,9362,40815,1483,NULL,13,3041,'2023-08-23',40656.00,1,357.00,NULL,NULL,'2023-08-23 09:41:28','2023-08-23 09:41:28',NULL,NULL),(15,NULL,NULL,NULL,9362,40815,1484,NULL,13,3041,'2023-08-23',19254.00,1,357.00,NULL,NULL,'2023-08-23 09:43:17','2023-08-23 09:43:17',NULL,NULL),(16,NULL,NULL,NULL,9362,40815,1485,NULL,13,3041,'2023-08-23',21890.00,1,357.00,NULL,NULL,'2023-08-23 09:44:51','2023-08-23 09:44:51',NULL,NULL),(17,NULL,NULL,NULL,9362,40815,1486,NULL,13,3041,'2023-08-23',40150.99,1,357.00,NULL,NULL,'2023-08-23 09:46:19','2023-08-23 09:46:19',NULL,NULL),(18,NULL,NULL,NULL,9362,40815,1487,NULL,13,3041,'2023-08-23',23305.00,1,357.00,NULL,NULL,'2023-08-23 09:47:38','2023-08-23 09:47:38',NULL,NULL),(19,NULL,NULL,NULL,9362,40815,1488,NULL,13,3041,'2023-08-04',36851.76,1,357.00,NULL,NULL,'2023-08-23 09:49:18','2023-08-23 09:49:18',NULL,NULL),(20,NULL,NULL,NULL,9362,40815,1489,NULL,13,3041,'2023-08-23',39884.00,1,357.00,NULL,NULL,'2023-08-23 09:50:03','2023-08-23 09:50:03',NULL,NULL),(21,NULL,NULL,NULL,9362,40815,1490,NULL,13,3041,'2023-08-07',43674.01,1,357.00,NULL,NULL,'2023-08-23 09:53:16','2023-08-30 09:18:44','2023-08-30 09:18:44',NULL),(22,NULL,NULL,NULL,9362,40815,1491,NULL,13,3041,'2023-08-08',36448.00,1,357.00,NULL,NULL,'2023-08-23 09:54:31','2023-08-23 09:54:31',NULL,NULL),(23,NULL,NULL,NULL,9362,40815,1492,NULL,13,3041,'2023-08-09',36300.00,1,357.00,NULL,NULL,'2023-08-23 09:56:15','2023-08-23 09:56:15',NULL,NULL),(24,NULL,NULL,NULL,9362,40815,1493,NULL,13,3041,'2023-08-09',25287.00,1,357.00,NULL,NULL,'2023-08-23 09:57:56','2023-08-23 09:57:56',NULL,NULL),(25,NULL,NULL,NULL,9362,40815,1494,NULL,13,3041,'2023-08-09',13518.00,1,357.00,NULL,NULL,'2023-08-23 09:59:10','2023-08-23 09:59:10',NULL,NULL),(26,NULL,NULL,NULL,9362,40815,1495,NULL,13,3041,'2023-08-10',23305.00,1,357.00,NULL,NULL,'2023-08-23 10:03:15','2023-08-23 10:03:15',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (27,NULL,NULL,NULL,9362,40815,1496,NULL,13,3041,'2023-08-10',46383.99,1,357.00,NULL,NULL,'2023-08-23 10:04:20','2023-08-23 10:04:20',NULL,NULL),(28,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-01',170283.85,1,1.00,'',NULL,'2023-08-23 14:08:45','2023-08-23 14:08:45',NULL,NULL),(29,NULL,NULL,NULL,9362,40718,NULL,NULL,757,1526,'2023-08-04',3600.00,1,1.00,'',NULL,'2023-08-23 15:59:13','2023-08-23 16:01:49','2023-08-23 16:01:49',NULL),(30,NULL,NULL,NULL,9362,40718,NULL,NULL,757,1526,'2023-08-01',20000.00,1,1.00,'',NULL,'2023-08-23 16:01:43','2023-08-23 16:07:06','2023-08-23 16:07:06',NULL),(31,NULL,NULL,NULL,9362,40718,NULL,NULL,757,1526,'2023-08-04',3600.00,1,1.00,'',NULL,'2023-08-23 16:03:04','2023-08-23 16:06:57','2023-08-23 16:06:57',NULL),(32,NULL,NULL,NULL,9362,40718,NULL,NULL,760,1526,'2023-08-23',279966.64,1,1.00,'Saldo Inicial',NULL,'2023-08-23 16:08:07','2023-08-23 16:19:41',NULL,NULL),(33,NULL,NULL,NULL,9362,40815,1505,NULL,57,3041,'2023-08-04',5507.06,1,357.00,NULL,NULL,'2023-08-23 16:31:10','2023-08-23 16:31:10',NULL,NULL),(34,NULL,NULL,NULL,9362,40815,1506,NULL,57,3041,'2023-08-07',87240.00,1,357.00,NULL,NULL,'2023-08-23 16:42:05','2023-08-23 16:42:05',NULL,NULL),(35,NULL,NULL,NULL,9362,40718,1508,NULL,57,1526,'2023-08-22',1000000.00,1,365.50,NULL,NULL,'2023-08-24 12:52:44','2023-08-24 13:04:55','2023-08-24 13:04:55',NULL),(36,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-24',50482.00,1,1.00,'',NULL,'2023-08-24 16:32:01','2023-08-29 12:34:57','2023-08-29 12:34:57',NULL),(37,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-03',31922.00,1,1.00,'',NULL,'2023-08-24 16:33:55','2023-08-24 16:33:55',NULL,NULL),(38,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-09',3901.00,1,1.00,'',NULL,'2023-08-24 16:35:26','2023-08-24 16:35:26',NULL,NULL),(39,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-09',4799.00,1,1.00,'',NULL,'2023-08-24 16:35:56','2023-08-24 16:35:56',NULL,NULL),(40,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-09',309396.56,1,1.00,'',NULL,'2023-08-24 16:40:42','2023-08-24 16:40:42',NULL,NULL),(41,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-10',89600.00,1,1.00,'',NULL,'2023-08-24 16:41:49','2023-08-24 16:41:49',NULL,NULL),(42,NULL,NULL,NULL,9206,40815,NULL,NULL,761,3041,'2023-08-24',0.00,1,1.00,'Saldo Inicial',NULL,'2023-08-24 16:53:53','2023-08-24 16:53:53',NULL,NULL),(43,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-24',0.00,1,1.00,'Saldo Inicial',NULL,'2023-08-24 16:58:13','2023-08-24 16:58:13',NULL,NULL),(44,NULL,NULL,NULL,9362,40815,1552,NULL,13,3041,'2023-08-14',18356.00,1,357.00,NULL,NULL,'2023-08-27 19:54:27','2023-08-27 19:54:27',NULL,NULL),(45,NULL,NULL,NULL,9362,40815,1555,NULL,13,3041,'2023-08-07',44723.74,1,357.00,NULL,NULL,'2023-08-27 20:21:21','2023-08-27 20:21:21',NULL,NULL),(46,NULL,NULL,NULL,9362,40815,1556,NULL,13,3041,'2023-08-07',10306.00,1,357.00,NULL,NULL,'2023-08-27 20:24:43','2023-08-27 21:35:33','2023-08-27 21:35:33',NULL),(47,NULL,NULL,NULL,9362,40815,1557,NULL,13,3041,'2023-08-10',23305.00,1,357.00,NULL,NULL,'2023-08-27 20:26:51','2023-08-27 20:26:51',NULL,NULL),(48,NULL,NULL,NULL,9362,40815,1558,NULL,13,3041,'2023-07-19',23725.00,1,357.00,NULL,NULL,'2023-08-27 20:35:24','2023-08-27 20:40:54','2023-08-27 20:40:54',NULL),(49,NULL,NULL,NULL,9362,40815,1559,NULL,57,3041,'2023-08-23',23725.00,1,357.00,'DEVOLUCION',NULL,'2023-08-27 20:39:17','2023-08-31 17:49:17','2023-08-31 17:49:17',NULL),(50,NULL,NULL,NULL,9362,40815,1560,NULL,13,3040,'2023-07-21',23725.00,1,357.00,NULL,NULL,'2023-08-27 20:41:45','2023-08-27 20:41:45',NULL,NULL),(51,NULL,NULL,NULL,9362,40815,1561,NULL,13,3040,'2023-07-21',21890.00,1,357.00,NULL,NULL,'2023-08-27 20:45:45','2023-08-27 20:45:45',NULL,NULL),(52,NULL,NULL,NULL,9362,40815,1562,NULL,13,3040,'2023-07-21',21890.00,1,357.00,NULL,NULL,'2023-08-27 20:50:54','2023-08-27 20:50:54',NULL,NULL),(53,NULL,NULL,NULL,9362,40815,1563,NULL,13,3040,'2023-07-25',39886.00,1,357.00,NULL,NULL,'2023-08-27 20:54:13','2023-08-27 20:54:13',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (54,NULL,NULL,NULL,9362,40815,1564,NULL,13,3040,'2023-07-26',21890.00,1,357.00,NULL,NULL,'2023-08-27 20:55:33','2023-08-27 20:55:33',NULL,NULL),(55,NULL,NULL,NULL,9362,40815,1565,NULL,13,3040,'2023-07-28',23725.00,1,357.00,NULL,NULL,'2023-08-27 20:57:26','2023-08-27 20:57:26',NULL,NULL),(56,NULL,NULL,NULL,9362,40815,1566,NULL,13,3040,'2023-07-28',21890.00,1,357.00,NULL,NULL,'2023-08-27 20:58:42','2023-08-27 20:58:42',NULL,NULL),(57,NULL,NULL,NULL,9362,40815,1567,NULL,13,3040,'2023-07-31',39886.00,1,357.00,NULL,NULL,'2023-08-27 21:00:12','2023-08-27 21:00:12',NULL,NULL),(58,NULL,NULL,NULL,9362,40815,1568,NULL,13,3041,'2023-07-31',23725.00,1,357.00,NULL,NULL,'2023-08-27 21:01:20','2023-08-27 21:01:20',NULL,NULL),(59,NULL,NULL,NULL,9362,40815,1569,NULL,13,3041,'2023-08-03',25287.00,1,357.00,NULL,NULL,'2023-08-27 21:06:19','2023-08-27 21:06:19',NULL,NULL),(60,NULL,NULL,NULL,9362,40815,1570,NULL,13,3041,'2023-08-03',25287.00,1,357.00,NULL,NULL,'2023-08-27 21:09:30','2023-08-27 21:09:30',NULL,NULL),(61,NULL,NULL,NULL,9362,40815,1571,NULL,13,3041,'2023-08-04',25287.00,1,357.00,NULL,NULL,'2023-08-27 21:12:55','2023-08-27 21:12:55',NULL,NULL),(62,NULL,NULL,NULL,9362,40815,1572,NULL,13,3041,'2023-08-07',42558.00,1,357.00,NULL,NULL,'2023-08-27 21:13:46','2023-08-27 21:13:46',NULL,NULL),(63,NULL,NULL,NULL,9362,40815,1573,NULL,13,3041,'2023-08-08',40834.00,1,357.00,NULL,NULL,'2023-08-27 21:17:31','2023-08-27 21:17:31',NULL,NULL),(64,NULL,NULL,NULL,9362,40815,1574,NULL,13,3041,'2023-08-09',46383.99,1,357.00,NULL,NULL,'2023-08-27 21:18:45','2023-08-27 21:18:45',NULL,NULL),(65,NULL,NULL,NULL,9362,40815,1575,NULL,13,3041,'2023-08-10',22037.00,1,357.00,NULL,NULL,'2023-08-27 21:19:47','2023-08-27 21:19:47',NULL,NULL),(66,NULL,NULL,NULL,9362,40815,1576,NULL,13,3041,'2023-08-10',200370.00,1,357.00,NULL,NULL,'2023-08-27 21:21:16','2023-08-27 21:21:16',NULL,NULL),(67,NULL,NULL,NULL,9362,40815,1577,NULL,13,3041,'2023-08-11',25287.00,1,357.00,NULL,NULL,'2023-08-27 21:22:01','2023-08-27 21:22:01',NULL,NULL),(68,NULL,NULL,NULL,9362,40815,1578,NULL,13,3041,'2023-08-07',10305.99,1,357.00,NULL,NULL,'2023-08-27 21:36:44','2023-08-27 21:36:44',NULL,NULL),(69,NULL,NULL,NULL,9362,40815,1592,NULL,13,3041,'2023-08-03',23305.00,1,357.00,NULL,NULL,'2023-08-27 22:38:36','2023-08-27 22:38:36',NULL,NULL),(70,NULL,NULL,NULL,9362,40815,1593,NULL,13,3041,'2023-08-18',27974.00,1,357.00,NULL,NULL,'2023-08-27 22:40:22','2023-08-27 22:40:22',NULL,NULL),(71,NULL,NULL,NULL,9362,40815,1594,NULL,13,3040,'2023-07-21',20075.00,1,357.00,NULL,NULL,'2023-08-27 22:41:44','2023-08-27 22:41:44',NULL,NULL),(72,NULL,NULL,NULL,9362,40815,1595,NULL,13,3040,'2023-07-21',20067.00,1,357.00,NULL,NULL,'2023-08-27 22:43:01','2023-08-27 22:43:01',NULL,NULL),(73,NULL,NULL,NULL,9362,40815,1596,NULL,13,3040,'2023-07-28',20075.00,1,357.00,NULL,NULL,'2023-08-27 22:43:41','2023-08-27 22:43:41',NULL,NULL),(74,NULL,NULL,NULL,9362,40815,1597,NULL,13,3041,'2023-08-01',66772.00,1,357.00,NULL,NULL,'2023-08-27 22:44:25','2023-08-27 22:44:25',NULL,NULL),(75,NULL,NULL,NULL,9362,40815,1598,NULL,13,3041,'2023-08-19',29373.00,1,357.00,NULL,NULL,'2023-08-27 22:45:58','2023-08-27 22:45:58',NULL,NULL),(76,NULL,NULL,NULL,9362,40815,1599,NULL,13,3041,'2023-08-21',15131.00,1,357.00,NULL,NULL,'2023-08-27 22:46:35','2023-08-27 22:46:35',NULL,NULL),(77,NULL,NULL,NULL,9362,40815,1600,NULL,13,3041,'2023-08-22',35476.00,1,357.00,NULL,NULL,'2023-08-27 22:47:15','2023-08-27 22:47:15',NULL,NULL),(78,NULL,NULL,NULL,9362,40815,1601,NULL,13,3041,'2023-08-24',29373.00,1,357.00,NULL,NULL,'2023-08-27 22:47:55','2023-08-27 22:47:55',NULL,NULL),(79,NULL,NULL,NULL,9362,40815,1602,NULL,13,3041,'2023-08-25',57937.00,1,357.00,NULL,NULL,'2023-08-27 22:48:30','2023-08-27 22:48:30',NULL,NULL),(80,NULL,NULL,NULL,9206,40718,1607,NULL,57,1526,'2023-08-18',1000000.00,1,357.00,NULL,NULL,'2023-08-27 23:53:21','2023-08-27 23:53:21',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (81,NULL,NULL,NULL,9206,40718,1609,NULL,57,1526,'2023-08-18',1000000.00,1,357.00,NULL,NULL,'2023-08-28 00:07:32','2023-08-28 00:07:32',NULL,NULL),(82,NULL,NULL,NULL,9206,40718,NULL,NULL,763,1526,'2023-08-28',0.00,1,1.00,'Saldo Inicial',NULL,'2023-08-28 00:12:28','2023-08-28 00:12:28',NULL,NULL),(83,NULL,NULL,NULL,9206,40718,1610,NULL,57,1526,'2023-08-19',1411426.90,1,357.00,NULL,NULL,'2023-08-28 00:15:45','2023-08-28 00:15:45',NULL,NULL),(84,NULL,NULL,NULL,9206,40718,1611,NULL,57,1526,'2023-08-25',700000.00,1,357.00,NULL,NULL,'2023-08-28 00:16:44','2023-08-28 00:16:44',NULL,NULL),(85,NULL,NULL,NULL,9206,40718,1612,NULL,13,1526,'2023-08-25',17430392.00,1,357.00,NULL,NULL,'2023-08-28 00:21:50','2023-08-28 00:21:50',NULL,NULL),(86,NULL,NULL,NULL,9206,40718,1613,NULL,57,1526,'2023-08-22',8050000.00,1,357.00,NULL,NULL,'2023-08-28 00:28:18','2023-08-28 00:32:43','2023-08-28 00:32:43',NULL),(87,NULL,NULL,NULL,9206,40718,1615,NULL,57,1526,'2023-08-24',623000.00,1,357.00,NULL,NULL,'2023-08-28 00:32:09','2023-08-28 00:32:09',NULL,NULL),(88,NULL,NULL,NULL,9206,40718,1616,NULL,57,1526,'2023-08-02',1400000.00,1,288.00,NULL,NULL,'2023-08-28 00:35:43','2023-08-28 00:39:25','2023-08-28 00:39:25',NULL),(89,NULL,NULL,NULL,9206,40718,1626,NULL,57,1526,'2023-08-22',8050000.00,1,298.55,NULL,NULL,'2023-08-28 00:58:35','2023-08-28 00:58:35',NULL,NULL),(90,NULL,NULL,NULL,9206,40718,NULL,NULL,760,1526,'2023-08-17',6800.00,1,1.00,'',NULL,'2023-08-28 01:00:58','2023-08-28 01:17:31','2023-08-28 01:17:31',NULL),(91,NULL,NULL,NULL,9362,40718,NULL,NULL,760,1526,'2023-08-28',6800.00,1,1.00,'',NULL,'2023-08-28 01:18:13','2023-09-04 12:36:40','2023-09-04 12:36:40',NULL),(92,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-01',50482.00,1,1.00,'',NULL,'2023-08-29 12:35:45','2023-08-29 12:35:45',NULL,NULL),(93,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-10',97022.00,1,1.00,'',NULL,'2023-08-29 12:40:42','2023-08-29 12:40:42',NULL,NULL),(94,NULL,NULL,NULL,9362,40815,1654,NULL,57,3041,'2023-08-11',149770.59,1,357.00,NULL,NULL,'2023-08-29 13:11:33','2023-08-29 13:11:33',NULL,NULL),(95,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-14',415.00,1,1.00,'',NULL,'2023-08-29 13:41:08','2023-08-29 13:41:08',NULL,NULL),(96,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-14',87.15,1,1.00,'',NULL,'2023-08-29 13:43:03','2023-08-29 13:43:03',NULL,NULL),(97,NULL,NULL,NULL,9362,40815,1655,NULL,57,3041,'2023-08-14',25287.00,1,357.00,'Devolución',NULL,'2023-08-29 13:47:07','2023-08-29 13:47:07',NULL,NULL),(98,NULL,NULL,NULL,9362,40815,NULL,NULL,764,3041,'2023-08-29',0.00,1,1.00,'Saldo Inicial',NULL,'2023-08-29 14:38:22','2023-08-29 14:38:22',NULL,NULL),(99,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-14',900000.00,1,1.00,'',NULL,'2023-08-29 14:41:35','2023-08-29 14:41:35',NULL,NULL),(100,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-14',22400.00,1,1.00,'',NULL,'2023-08-29 14:43:47','2023-08-29 14:43:47',NULL,NULL),(101,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-15',2100000.00,1,1.00,'',NULL,'2023-08-29 14:44:39','2023-08-29 14:44:39',NULL,NULL),(102,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-15',1000000.00,1,1.00,'',NULL,'2023-08-29 14:45:29','2023-08-29 14:45:29',NULL,NULL),(103,NULL,NULL,NULL,9362,40815,1656,NULL,57,3041,'2023-08-17',132760.00,1,357.00,NULL,NULL,'2023-08-29 14:47:36','2023-08-29 14:47:36',NULL,NULL),(104,NULL,NULL,NULL,9362,40815,1657,NULL,57,3041,'2023-08-17',25287.00,1,357.00,'Devolución',NULL,'2023-08-29 14:55:10','2023-08-29 14:55:10',NULL,NULL),(105,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-11',1630000.00,1,1.00,'',NULL,'2023-08-29 15:32:28','2023-08-29 15:32:28',NULL,NULL),(106,NULL,NULL,NULL,9362,40815,1658,NULL,57,3041,'2023-08-10',89600.00,1,357.00,'Pago Sueldo ',NULL,'2023-08-29 15:41:27','2023-08-29 15:59:41','2023-08-29 15:59:41',NULL),(107,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-09',60000.00,1,1.00,'',NULL,'2023-08-29 16:00:30','2023-08-29 16:00:30',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (108,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-17',200000.00,1,1.00,'',NULL,'2023-08-29 16:07:36','2023-08-29 16:07:36',NULL,NULL),(109,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-22',15000.00,1,1.00,'',NULL,'2023-08-29 16:36:13','2023-08-29 16:36:13',NULL,NULL),(110,NULL,NULL,NULL,9362,40815,2815,NULL,57,3041,'2023-08-22',50323.90,1,357.00,'Pago 2 facturas Persat',NULL,'2023-08-29 16:45:40','2023-08-29 16:45:40',NULL,NULL),(111,NULL,NULL,NULL,9362,40815,2816,NULL,57,3041,'2023-08-23',7994.00,1,357.00,'Devolución ',NULL,'2023-08-29 16:56:22','2023-08-29 16:56:22',NULL,NULL),(112,NULL,NULL,NULL,9362,40815,2817,NULL,57,3041,'2023-08-23',1835.00,1,357.00,'Devolución',NULL,'2023-08-29 17:02:36','2023-08-29 17:02:36',NULL,NULL),(113,NULL,NULL,NULL,9362,40815,2818,NULL,57,3041,'2023-08-23',23725.00,1,357.00,'Devolución',NULL,'2023-08-29 17:05:12','2023-08-29 17:05:12',NULL,NULL),(114,NULL,NULL,NULL,9362,40815,2819,NULL,57,3041,'2023-08-23',5048.00,1,357.00,'Devolución',NULL,'2023-08-29 17:06:53','2023-08-29 17:06:53',NULL,NULL),(115,NULL,NULL,NULL,9362,40815,2820,NULL,57,3041,'2023-08-23',1719.00,1,357.00,'Devolución',NULL,'2023-08-29 17:08:33','2023-08-29 17:08:33',NULL,NULL),(116,NULL,NULL,NULL,9362,40815,2821,NULL,57,3041,'2023-08-23',2862.00,1,357.00,'Devolución',NULL,'2023-08-29 17:09:37','2023-08-29 17:09:37',NULL,NULL),(117,NULL,NULL,NULL,9362,40815,2822,NULL,57,3041,'2023-08-23',1835.00,1,357.00,'Devolución',NULL,'2023-08-29 17:11:01','2023-08-29 17:11:01',NULL,NULL),(118,NULL,NULL,NULL,9362,40815,2823,NULL,57,3041,'2023-08-23',3950.00,1,357.00,'Devolución',NULL,'2023-08-29 17:12:20','2023-08-29 17:12:20',NULL,NULL),(119,NULL,NULL,NULL,9362,40815,2824,NULL,57,3041,'2023-08-23',25287.00,1,357.00,'Devolución',NULL,'2023-08-29 17:13:41','2023-08-29 17:13:41',NULL,NULL),(120,NULL,NULL,NULL,9362,40815,2825,NULL,57,3041,'2023-08-23',3826.00,1,357.00,'Devolución',NULL,'2023-08-29 17:18:58','2023-08-29 17:18:58',NULL,NULL),(121,NULL,NULL,NULL,9362,40815,2826,NULL,57,3041,'2023-08-23',3826.00,1,357.00,'Devolución',NULL,'2023-08-29 17:19:58','2023-08-29 17:19:58',NULL,NULL),(122,NULL,NULL,NULL,9362,40815,2827,NULL,57,3041,'2023-08-23',1382.00,1,357.00,'Devolución',NULL,'2023-08-29 17:20:54','2023-08-29 17:20:54',NULL,NULL),(123,NULL,NULL,NULL,9362,40815,2828,NULL,57,3041,'2023-08-23',2577.00,1,357.00,'Devolución',NULL,'2023-08-29 17:21:48','2023-08-29 17:21:48',NULL,NULL),(124,NULL,NULL,NULL,9362,40815,2829,NULL,57,3041,'2023-08-24',629540.55,1,357.00,NULL,NULL,'2023-08-29 17:23:05','2023-08-29 17:23:05',NULL,NULL),(125,NULL,NULL,NULL,9362,40815,2830,NULL,57,3041,'2023-08-24',500000.00,1,357.00,NULL,NULL,'2023-08-29 17:23:54','2023-08-29 17:23:54',NULL,NULL),(126,NULL,NULL,NULL,9362,40815,2831,NULL,57,3041,'2023-08-24',6928.00,1,357.00,'Devolución',NULL,'2023-08-29 17:35:57','2023-08-29 17:35:57',NULL,NULL),(127,NULL,NULL,NULL,9362,40815,2832,NULL,57,3041,'2023-08-24',22037.00,1,357.00,'Devolución',NULL,'2023-08-29 17:37:53','2023-08-29 17:37:53',NULL,NULL),(128,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-25',350000.00,1,1.00,'',NULL,'2023-08-29 17:39:24','2023-08-29 17:39:24',NULL,NULL),(129,NULL,NULL,NULL,9362,40815,2833,NULL,13,3040,'2023-07-20',23609.00,1,357.00,NULL,NULL,'2023-08-30 09:20:25','2023-08-30 09:20:25',NULL,NULL),(130,NULL,NULL,NULL,9362,40815,2847,NULL,57,3041,'2023-08-24',49498.00,1,357.00,'Devolución',NULL,'2023-08-30 10:43:31','2023-08-30 10:43:31',NULL,NULL),(131,NULL,NULL,NULL,9362,40815,2849,NULL,13,3041,'2023-08-10',23305.00,1,357.00,'COBRANZA',NULL,'2023-08-30 11:02:11','2023-08-30 11:02:11',NULL,NULL),(132,NULL,NULL,NULL,9362,40815,NULL,NULL,764,3041,'2023-08-15',2547107.74,1,1.00,'',NULL,'2023-08-30 11:05:08','2023-08-30 11:05:08',NULL,NULL),(133,NULL,NULL,NULL,9362,40815,NULL,NULL,761,3041,'2023-08-09',531106.49,1,1.00,'',NULL,'2023-08-30 11:10:34','2023-08-30 11:10:34',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (134,NULL,NULL,NULL,9362,40815,NULL,NULL,761,3041,'2023-08-14',121523.72,1,1.00,'',NULL,'2023-08-30 11:12:53','2023-08-30 11:12:53',NULL,NULL),(135,NULL,NULL,NULL,9362,40815,NULL,NULL,761,3041,'2023-08-17',109923.92,1,1.00,'',NULL,'2023-08-30 11:14:59','2023-08-30 11:14:59',NULL,NULL),(136,NULL,NULL,NULL,9362,40815,NULL,NULL,761,3041,'2023-08-19',23360.66,1,1.00,'',NULL,'2023-08-30 11:19:21','2023-08-30 11:19:21',NULL,NULL),(137,NULL,NULL,NULL,9362,40815,2850,NULL,13,3041,'2023-08-19',53896.00,1,357.00,'Cobranza',NULL,'2023-08-30 11:20:45','2023-08-30 11:20:45',NULL,NULL),(138,NULL,NULL,NULL,9362,40815,2851,NULL,13,3041,'2023-08-21',53896.00,1,357.00,'Cobranza',NULL,'2023-08-30 11:25:15','2023-08-30 11:25:15',NULL,NULL),(139,NULL,NULL,NULL,9362,40815,2852,NULL,13,3041,'2023-08-22',31950.00,1,357.00,'Cobranza',NULL,'2023-08-30 11:27:34','2023-08-30 11:27:34',NULL,NULL),(140,NULL,NULL,NULL,9362,40815,2853,NULL,13,3041,'2023-08-22',53896.00,1,357.00,'Cobranza',NULL,'2023-08-30 11:29:09','2023-08-30 11:29:09',NULL,NULL),(141,NULL,NULL,NULL,9362,40815,2854,NULL,13,3041,'2023-08-22',19250.00,1,357.00,'Cobranza',NULL,'2023-08-30 11:30:15','2023-08-30 11:30:15',NULL,NULL),(142,NULL,NULL,NULL,9362,40815,2855,NULL,13,3041,'2023-08-22',53896.00,1,357.00,'Cobranza',NULL,'2023-08-30 11:31:27','2023-08-30 11:31:27',NULL,NULL),(143,NULL,NULL,NULL,9362,40815,2856,NULL,13,3041,'2023-08-23',24837.00,1,357.00,'Cobranza',NULL,'2023-08-30 11:47:56','2023-08-30 11:47:56',NULL,NULL),(144,NULL,NULL,NULL,9362,40815,2857,NULL,13,3041,'2023-08-23',12767.00,1,357.00,'Cobranza',NULL,'2023-08-30 11:50:12','2023-08-30 11:50:12',NULL,NULL),(145,NULL,NULL,NULL,9362,40815,2858,NULL,13,3041,'2023-08-23',53899.99,1,357.00,'Cobranza',NULL,'2023-08-30 11:53:09','2023-08-30 11:53:09',NULL,NULL),(146,NULL,NULL,NULL,9362,40815,NULL,NULL,761,3041,'2023-08-23',122391.56,1,1.00,'',NULL,'2023-08-30 12:23:58','2023-08-30 12:23:58',NULL,NULL),(147,NULL,NULL,NULL,9362,40815,NULL,NULL,764,3041,'2023-08-23',801998.17,1,1.00,'',NULL,'2023-08-30 12:26:35','2023-08-30 12:26:35',NULL,NULL),(148,NULL,NULL,NULL,9362,40815,2859,NULL,13,3041,'2023-08-24',61880.00,1,357.00,'Cobranza',NULL,'2023-08-30 12:29:54','2023-08-30 12:29:54',NULL,NULL),(149,NULL,NULL,NULL,9362,40815,2860,NULL,13,3040,'2023-07-18',21890.00,1,357.00,'Cobranza',NULL,'2023-08-30 12:44:38','2023-08-30 12:44:38',NULL,NULL),(150,NULL,NULL,NULL,9362,40815,2861,NULL,13,3041,'2023-08-24',29373.00,1,357.00,'Cobranza',NULL,'2023-08-30 12:45:41','2023-08-30 12:45:41',NULL,NULL),(151,NULL,NULL,NULL,9362,40815,2862,NULL,13,3041,'2023-08-24',29373.00,1,357.00,'Cobranza',NULL,'2023-08-30 12:47:05','2023-08-30 12:47:05',NULL,NULL),(152,NULL,NULL,NULL,9362,40815,NULL,NULL,761,3041,'2023-08-25',117232.74,1,1.00,'',NULL,'2023-08-30 13:24:16','2023-08-30 13:24:16',NULL,NULL),(153,NULL,NULL,NULL,9362,40815,2863,NULL,57,3041,'2023-08-01',80000.00,1,357.00,'Pago Factura',NULL,'2023-08-30 13:45:58','2023-08-30 13:45:58',NULL,NULL),(154,NULL,NULL,NULL,9362,40815,2864,NULL,57,3041,'2023-08-03',450000.00,1,357.00,'Pago',NULL,'2023-08-30 13:47:40','2023-08-30 13:47:40',NULL,NULL),(155,NULL,NULL,NULL,9362,40815,NULL,NULL,765,3041,'2023-08-30',0.00,1,1.00,'Saldo Inicial',NULL,'2023-08-30 15:19:33','2023-08-30 15:19:33',NULL,NULL),(156,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-30',351184.00,1,1.00,'',NULL,'2023-08-30 16:08:06','2023-08-30 16:08:06',NULL,NULL),(157,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-22',1411426.90,1,1.00,'',NULL,'2023-08-30 16:11:16','2023-08-30 16:11:16',NULL,NULL),(158,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-25',44428.00,1,1.00,'',NULL,'2023-08-30 16:13:44','2023-08-30 16:13:44',NULL,NULL),(159,NULL,NULL,NULL,9362,40815,NULL,NULL,766,3041,'2023-08-30',0.00,1,1.00,'Saldo Inicial',NULL,'2023-08-30 16:28:10','2023-08-30 16:33:29','2023-08-30 16:33:29',NULL),(160,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-04',30000.00,1,1.00,'',NULL,'2023-08-30 16:36:48','2023-08-30 16:36:48',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (161,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-06',7000.00,1,1.00,'',NULL,'2023-08-30 16:37:31','2023-08-30 16:37:42','2023-08-30 16:37:42',NULL),(162,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-06',7000.00,1,1.00,'',NULL,'2023-08-30 16:38:22','2023-08-30 16:38:22',NULL,NULL),(163,NULL,NULL,NULL,9362,40815,2865,NULL,57,3041,'2023-08-08',200000.00,1,357.00,'Pago ',NULL,'2023-08-30 16:52:39','2023-08-31 17:49:48','2023-08-31 17:49:48',NULL),(164,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-10',300000.00,1,1.00,'',NULL,'2023-08-30 16:54:16','2023-08-30 16:54:16',NULL,NULL),(165,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-10',50000.00,1,1.00,'',NULL,'2023-08-30 16:58:59','2023-08-30 16:58:59',NULL,NULL),(166,NULL,NULL,NULL,9362,40815,3448,NULL,57,3041,'2023-08-11',227823.01,1,357.00,'Pago',NULL,'2023-08-30 17:01:06','2023-08-30 17:01:06',NULL,NULL),(167,NULL,NULL,NULL,9362,40815,3449,NULL,57,3041,'2023-08-11',21000.00,1,357.00,'Pago',NULL,'2023-08-30 17:04:05','2023-08-30 17:04:05',NULL,NULL),(168,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-11',30000.00,1,1.00,'',NULL,'2023-08-30 17:05:40','2023-08-30 17:05:40',NULL,NULL),(169,NULL,NULL,NULL,9362,40815,3450,NULL,57,3041,'2023-08-11',150000.00,1,357.00,'Pago',NULL,'2023-08-30 17:07:05','2023-08-30 17:07:05',NULL,NULL),(170,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-11',1200000.00,1,1.00,'',NULL,'2023-08-30 17:08:36','2023-08-30 17:08:36',NULL,NULL),(171,NULL,NULL,NULL,9362,40815,3451,NULL,57,3041,'2023-08-11',150000.00,1,357.00,'Pago',NULL,'2023-08-30 17:10:30','2023-08-30 17:10:30',NULL,NULL),(172,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-11',60000.00,1,1.00,'',NULL,'2023-08-30 17:14:49','2023-08-30 17:14:49',NULL,NULL),(173,NULL,NULL,NULL,9362,40815,3452,NULL,57,3041,'2023-08-12',12869.65,1,357.00,'Pago',NULL,'2023-08-30 17:17:18','2023-08-30 17:17:18',NULL,NULL),(174,NULL,NULL,NULL,9362,40815,3453,NULL,57,3041,'2023-08-12',4068.90,1,357.00,'Pago',NULL,'2023-08-30 17:18:13','2023-08-30 17:18:13',NULL,NULL),(175,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-14',800000.00,1,1.00,'',NULL,'2023-08-30 17:21:48','2023-08-30 17:21:48',NULL,NULL),(176,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-15',500000.00,1,1.00,'',NULL,'2023-08-30 17:23:51','2023-08-30 17:23:51',NULL,NULL),(177,NULL,NULL,NULL,9362,40815,3454,NULL,57,3041,'2023-08-16',260060.22,1,357.00,'Pago',NULL,'2023-08-30 17:25:26','2023-08-30 17:25:26',NULL,NULL),(178,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-16',7200.00,1,1.00,'',NULL,'2023-08-30 17:26:21','2023-08-30 17:26:21',NULL,NULL),(179,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-16',15298.34,1,1.00,'',NULL,'2023-08-30 17:30:14','2023-08-30 17:30:14',NULL,NULL),(180,NULL,NULL,NULL,9362,40815,3455,NULL,57,3041,'2023-08-17',150000.00,1,357.00,'Pago',NULL,'2023-08-30 17:31:58','2023-08-30 17:31:58',NULL,NULL),(181,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-17',250000.00,1,1.00,'',NULL,'2023-08-30 17:48:37','2023-08-30 17:48:37',NULL,NULL),(182,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-18',168589.19,1,1.00,'',NULL,'2023-08-30 18:01:18','2023-08-30 18:01:18',NULL,NULL),(183,NULL,NULL,NULL,9362,40815,3456,NULL,57,3041,'2023-08-18',726430.37,1,357.00,'Pago',NULL,'2023-08-30 18:02:48','2023-08-30 18:02:48',NULL,NULL),(184,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-18',4870.00,1,1.00,'',NULL,'2023-08-31 11:41:48','2023-08-31 11:41:48',NULL,NULL),(185,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-18',287774.00,1,1.00,'',NULL,'2023-08-31 11:43:03','2023-08-31 11:43:03',NULL,NULL),(186,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-18',703.28,1,1.00,'',NULL,'2023-08-31 11:43:59','2023-08-31 11:43:59',NULL,NULL),(187,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-18',510.05,1,1.00,'',NULL,'2023-08-31 11:44:51','2023-08-31 11:44:51',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (188,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-18',23968.92,1,1.00,'',NULL,'2023-08-31 11:46:36','2023-08-31 11:46:36',NULL,NULL),(189,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-18',38721.00,1,1.00,'',NULL,'2023-08-31 11:47:13','2023-08-31 11:47:13',NULL,NULL),(190,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-18',28202.33,1,1.00,'',NULL,'2023-08-31 11:47:51','2023-08-31 11:47:51',NULL,NULL),(191,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-18',22895.00,1,1.00,'',NULL,'2023-08-31 11:54:21','2023-08-31 11:54:21',NULL,NULL),(192,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-18',58125.00,1,1.00,'',NULL,'2023-08-31 11:55:08','2023-08-31 11:55:08',NULL,NULL),(193,NULL,NULL,NULL,9362,40815,3457,NULL,57,3041,'2023-08-18',116458.00,1,357.00,'PAGO',NULL,'2023-08-31 11:58:28','2023-08-31 18:00:30','2023-08-31 18:00:30',NULL),(194,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-18',30000.00,1,1.00,'',NULL,'2023-08-31 11:59:12','2023-08-31 11:59:12',NULL,NULL),(195,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-18',280000.00,1,1.00,'',NULL,'2023-08-31 12:02:12','2023-08-31 15:03:07','2023-08-31 15:03:07',NULL),(196,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-19',500000.00,1,1.00,'',NULL,'2023-08-31 12:03:37','2023-08-31 12:03:37',NULL,NULL),(197,NULL,NULL,NULL,9362,40815,3458,NULL,57,3041,'2023-08-19',21000.00,1,357.00,'Pago',NULL,'2023-08-31 12:06:11','2023-08-31 12:06:11',NULL,NULL),(198,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-19',1365000.00,1,1.00,'',NULL,'2023-08-31 12:23:37','2023-08-31 12:23:37',NULL,NULL),(199,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-21',24030.00,1,1.00,'',NULL,'2023-08-31 12:24:35','2023-08-31 12:24:35',NULL,NULL),(200,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-22',12433.00,1,1.00,'',NULL,'2023-08-31 12:26:01','2023-08-31 12:26:01',NULL,NULL),(201,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-22',178263.00,1,1.00,'',NULL,'2023-08-31 12:27:01','2023-08-31 12:27:01',NULL,NULL),(202,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-24',150000.00,1,1.00,'',NULL,'2023-08-31 12:36:30','2023-08-31 15:31:05','2023-08-31 15:31:05',NULL),(203,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-24',5000.00,1,1.00,'',NULL,'2023-08-31 12:37:15','2023-08-31 12:37:15',NULL,NULL),(204,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-25',15000.00,1,1.00,'',NULL,'2023-08-31 12:39:09','2023-08-31 12:39:09',NULL,NULL),(205,NULL,NULL,NULL,9362,40815,3459,NULL,57,3041,'2023-08-25',76474.56,1,357.00,'Pago',NULL,'2023-08-31 12:40:50','2023-08-31 12:40:50',NULL,NULL),(206,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-25',50000.00,1,1.00,'',NULL,'2023-08-31 12:42:40','2023-08-31 17:46:30','2023-08-31 17:46:30',NULL),(207,NULL,NULL,NULL,9362,40815,3460,NULL,57,3041,'2023-08-25',21000.00,1,357.00,'Pago',NULL,'2023-08-31 12:44:54','2023-08-31 12:44:54',NULL,NULL),(208,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-25',200000.00,1,1.00,'',NULL,'2023-08-31 12:47:18','2023-08-31 12:47:18',NULL,NULL),(209,NULL,NULL,NULL,9362,40815,3461,NULL,57,3041,'2023-08-28',82000.00,1,357.00,'Pago',NULL,'2023-08-31 12:49:31','2023-08-31 12:49:31',NULL,NULL),(210,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-29',10980.00,1,1.00,'',NULL,'2023-08-31 13:01:35','2023-08-31 13:01:35',NULL,NULL),(211,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-30',265.59,1,1.00,'',NULL,'2023-08-31 13:04:57','2023-08-31 13:04:57',NULL,NULL),(212,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-30',47220.64,1,1.00,'',NULL,'2023-08-31 13:07:45','2023-08-31 13:07:45',NULL,NULL),(213,NULL,NULL,NULL,9362,40815,3462,NULL,13,3041,'2023-08-26',29373.00,1,357.00,'Cobranza',NULL,'2023-08-31 13:18:11','2023-08-31 13:18:11',NULL,NULL),(214,NULL,NULL,NULL,9362,40815,3463,NULL,13,3041,'2023-08-28',53896.00,1,357.00,'Cobranza',NULL,'2023-08-31 13:19:38','2023-08-31 13:19:38',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (215,NULL,NULL,NULL,9362,40815,3464,NULL,13,3041,'2023-08-28',71614.00,1,357.00,'Cobranza',NULL,'2023-08-31 13:37:36','2023-08-31 13:37:36',NULL,NULL),(216,NULL,NULL,NULL,9362,40815,3465,NULL,13,3041,'2023-08-29',29373.00,1,357.00,'Cobranza',NULL,'2023-08-31 13:46:14','2023-08-31 13:46:14',NULL,NULL),(217,NULL,NULL,NULL,9362,40815,3466,NULL,13,3041,'2023-08-29',53896.00,1,357.00,'Cobranza',NULL,'2023-08-31 13:47:13','2023-08-31 13:47:13',NULL,NULL),(218,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-28',80000.00,1,1.00,'',NULL,'2023-08-31 13:55:04','2023-08-31 13:55:04',NULL,NULL),(219,NULL,NULL,NULL,9362,40815,3467,NULL,57,3041,'2023-08-28',724148.34,1,357.00,'Pago',NULL,'2023-08-31 13:56:40','2023-08-31 13:56:40',NULL,NULL),(220,NULL,NULL,NULL,9362,40815,3468,NULL,57,3041,'2023-08-28',63830.00,1,357.00,'Pago',NULL,'2023-08-31 13:58:42','2023-08-31 13:58:42',NULL,NULL),(221,NULL,NULL,NULL,9362,40815,NULL,NULL,765,3041,'2023-08-28',1309688.56,1,1.00,'',NULL,'2023-08-31 14:00:01','2023-08-31 14:00:01',NULL,NULL),(222,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-28',660.00,1,1.00,'',NULL,'2023-08-31 14:02:03','2023-08-31 14:02:03',NULL,NULL),(223,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-28',138.60,1,1.00,'',NULL,'2023-08-31 14:02:52','2023-08-31 14:02:52',NULL,NULL),(224,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-29',55.00,1,1.00,'',NULL,'2023-08-31 14:05:34','2023-08-31 14:06:14','2023-08-31 14:06:14',NULL),(225,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-29',55.00,1,1.00,'',NULL,'2023-08-31 14:06:47','2023-08-31 14:06:47',NULL,NULL),(226,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-29',11.55,1,1.00,'',NULL,'2023-08-31 14:07:33','2023-08-31 14:07:33',NULL,NULL),(227,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-30',8085.00,1,1.00,'',NULL,'2023-08-31 14:08:38','2023-08-31 14:08:38',NULL,NULL),(228,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-30',404.25,1,1.00,'',NULL,'2023-08-31 14:09:33','2023-08-31 14:09:33',NULL,NULL),(229,NULL,NULL,NULL,9362,40815,NULL,NULL,759,3041,'2023-08-30',1940.40,1,1.00,'',NULL,'2023-08-31 14:10:33','2023-08-31 14:10:33',NULL,NULL),(230,NULL,NULL,NULL,9362,40815,NULL,NULL,764,3041,'2023-08-30',902230.12,1,1.00,'',NULL,'2023-08-31 14:12:29','2023-08-31 14:12:29',NULL,NULL),(231,NULL,NULL,NULL,9362,40815,3469,NULL,57,3041,'2023-08-30',500000.00,1,357.00,'Pago',NULL,'2023-08-31 14:13:43','2023-08-31 14:13:43',NULL,NULL),(232,NULL,NULL,NULL,9362,40815,3470,NULL,57,3041,'2023-08-30',1208682.92,1,357.00,'Pago',NULL,'2023-08-31 14:15:02','2023-08-31 14:15:02',NULL,NULL),(233,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-18',280000.00,1,1.00,'',NULL,'2023-08-31 15:04:00','2023-08-31 15:04:00',NULL,NULL),(234,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-24',150000.00,1,1.00,'',NULL,'2023-08-31 15:31:39','2023-08-31 15:31:39',NULL,NULL),(235,NULL,NULL,NULL,9362,40815,3471,NULL,57,3041,'2023-08-08',200000.00,1,357.00,'Pago',NULL,'2023-08-31 17:57:45','2023-08-31 17:57:45',NULL,NULL),(236,NULL,NULL,NULL,9362,40815,3472,NULL,57,3041,'2023-08-18',116458.00,1,357.00,'Pago',NULL,'2023-08-31 18:01:16','2023-08-31 18:01:16',NULL,NULL),(237,NULL,NULL,NULL,9362,40815,NULL,NULL,762,3041,'2023-08-25',50000.00,1,1.00,'',NULL,'2023-08-31 18:03:17','2023-08-31 18:03:17',NULL,NULL),(238,NULL,NULL,NULL,9362,40718,NULL,NULL,760,1526,'2023-09-01',150000.00,1,1.00,'',NULL,'2023-09-01 14:30:44','2023-09-04 12:36:34','2023-09-04 12:36:34',NULL),(239,NULL,NULL,NULL,9362,40718,NULL,NULL,760,1526,'2023-09-02',155120.00,1,1.00,'',NULL,'2023-09-01 14:53:25','2023-09-04 12:36:29','2023-09-04 12:36:29',NULL),(240,NULL,NULL,NULL,9362,40718,NULL,NULL,760,1526,'2023-08-01',20000.00,1,1.00,'',NULL,'2023-09-04 12:40:33','2023-09-04 12:40:33',NULL,NULL),(241,NULL,NULL,NULL,9362,40718,NULL,NULL,760,1526,'2023-08-01',150000.00,1,1.00,'',NULL,'2023-09-04 12:41:33','2023-09-04 12:41:33',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (242,NULL,NULL,NULL,9362,40718,NULL,NULL,760,1526,'2023-08-01',800.00,1,1.00,'',NULL,'2023-09-04 12:45:40','2023-09-04 12:45:40',NULL,NULL),(243,NULL,NULL,NULL,9362,40718,NULL,NULL,760,1526,'2023-08-02',155120.00,1,1.00,'',NULL,'2023-09-04 12:46:24','2023-09-04 12:46:24',NULL,NULL),(244,NULL,NULL,NULL,9362,40718,3487,NULL,57,1526,'2023-08-02',180000.00,1,347.00,'Pago',NULL,'2023-09-04 13:11:11','2023-09-04 13:11:11',NULL,NULL),(245,NULL,NULL,NULL,9362,40718,NULL,NULL,760,1526,'2023-08-03',16250.00,1,1.00,'',NULL,'2023-09-04 13:14:00','2023-09-04 13:14:00',NULL,NULL),(246,NULL,NULL,NULL,9362,40718,NULL,NULL,760,1526,'2023-08-03',22700.00,1,1.00,'',NULL,'2023-09-04 13:14:34','2023-09-04 13:14:34',NULL,NULL),(247,NULL,NULL,NULL,9362,40718,3488,NULL,57,1526,'2023-08-03',119975.00,1,347.00,'Pago',NULL,'2023-09-04 13:24:42','2023-09-04 13:24:42',NULL,NULL),(248,NULL,NULL,NULL,9362,40718,NULL,NULL,760,1526,'2023-08-04',198700.00,1,1.00,'',NULL,'2023-09-04 13:30:37','2023-09-04 13:30:37',NULL,NULL),(249,NULL,NULL,NULL,9362,40815,3489,NULL,57,3040,'2023-07-14',50000.00,1,347.00,'Pago',NULL,'2023-09-07 16:04:55','2023-09-07 16:04:55',NULL,NULL),(250,NULL,NULL,NULL,9362,40815,3490,NULL,57,3040,'2023-07-25',96500.00,1,347.00,NULL,NULL,'2023-09-07 16:05:44','2023-09-07 16:05:44',NULL,NULL),(251,NULL,NULL,NULL,9206,40718,NULL,NULL,760,1527,'2023-09-20',200000.00,1,1.00,'',NULL,'2023-09-20 16:47:55','2023-09-20 16:50:19','2023-09-20 16:50:19',NULL),(252,NULL,NULL,NULL,9206,40815,4017,NULL,13,3042,'2023-09-07',234380.00,1,347.00,NULL,NULL,'2023-09-20 17:04:42','2023-09-20 17:04:42',NULL,NULL),(253,NULL,NULL,NULL,9206,40815,NULL,NULL,767,3042,'2023-09-21',0.00,1,1.00,'Saldo Inicial',NULL,'2023-09-21 09:44:14','2023-09-21 09:44:14',NULL,NULL),(254,NULL,NULL,NULL,9206,40815,NULL,NULL,765,3043,'2023-10-09',630545.43,1,1.00,'',NULL,'2023-10-09 11:21:29','2023-10-09 11:23:03','2023-10-09 11:23:03',NULL),(255,NULL,NULL,NULL,9206,40815,NULL,NULL,765,3043,'2023-10-09',630545.46,1,1.00,'',NULL,'2023-10-09 11:28:57','2023-10-09 11:30:06','2023-10-09 11:30:06',NULL),(256,NULL,NULL,NULL,9206,40815,NULL,NULL,768,3043,'2023-10-11',0.00,1,1.00,'Saldo Inicial',NULL,'2023-10-11 10:09:46','2023-10-11 10:10:04',NULL,NULL);

--
-- 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 AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `cta_cte_tesoreria_banco_cheq` VALUES (1,9362,40815,759,1,3,NULL,41,1,'2023-08-23 09:16:46','2023-08-31 18:00:30',NULL),(2,9362,40815,759,1,1,NULL,1,1,'2023-08-23 16:29:49','2023-08-31 17:49:17',NULL),(3,9362,40815,759,1,2,NULL,1,1,'2023-08-23 16:30:08','2023-08-31 15:34:32',NULL),(4,9206,40815,768,2,1,'555555',1,1,'2023-10-11 10:09:46','2023-10-11 10:09:46',NULL);

--
-- 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 AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `cta_cte_tesoreria_bancos` VALUES (1,9362,40815,759,16,1,22,163,163,163,'217 - 004244/4','0720217120000000424440',NULL,NULL,NULL,1,'2023-08-23 09:16:46','2023-08-31 15:34:32',NULL),(2,9206,40815,768,1,1,22,368,368,368,'11','1111111111111111111111',NULL,NULL,NULL,1,'2023-10-11 10:09:46','2023-10-11 10:09:46',NULL);

--
-- 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 21:06:55',NULL),(5,NULL,'PERCEPCIONES EFECTUADAS',1,NULL,'2024-05-26 21:06:55',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=769 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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:22','2023-06-30 12:53:22'),(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-06-30 12:53:22','2023-06-30 12:53:22'),(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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-30 12:53:28',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:23',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:24',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-30 12:53:28',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:25',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',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-06-30 12:53:26',NULL),(757,0,NULL,9362,0,1,359,40718,1,NULL,'Caja',NULL,0,0,1,1,1,0,1,'2023-02-28 14:21:22','2023-08-23 16:17:10','2023-08-23 16:17:10'),(758,0,NULL,NULL,0,1,176,40718,3,NULL,'Cheques',NULL,1,1,1,1,1,0,1,'2023-03-01 11:23:19','2023-06-30 12:53:26',NULL),(759,0,NULL,9362,0,1,163,40815,2,NULL,'BANCO SANTANDER RIO',NULL,0,0,1,1,1,0,1,'2023-08-23 09:16:46','2023-08-31 15:34:32',NULL),(760,0,NULL,9362,0,1,5,40718,1,NULL,'Caja',NULL,0,0,1,1,1,0,1,'2023-08-23 16:08:07','2023-08-23 16:17:17',NULL),(761,0,NULL,9206,0,1,487,40815,1,NULL,'TIENDA NUBE',NULL,0,0,1,1,1,0,1,'2023-08-24 16:53:53','2023-08-24 16:53:53',NULL),(762,0,NULL,9362,0,1,488,40815,1,NULL,'Mercado Pago',NULL,0,0,1,1,1,0,1,'2023-08-24 16:58:13','2023-08-24 16:58:13',NULL),(763,0,NULL,9206,0,1,489,40718,1,NULL,'MAT CTA PART',NULL,0,0,1,1,1,0,1,'2023-08-28 00:12:28','2023-08-28 00:12:28',NULL),(764,0,NULL,9362,0,1,491,40815,1,NULL,'Fondo Comun Inversion',NULL,0,0,1,1,1,0,1,'2023-08-29 14:38:22','2023-08-29 14:38:22',NULL),(765,0,NULL,9362,0,1,489,40815,1,NULL,'MAT CTA PART',NULL,0,0,1,1,1,0,1,'2023-08-30 15:19:33','2023-08-30 15:19:33',NULL),(766,0,NULL,9362,0,1,489,40815,3,NULL,'MAT CTA PART	',NULL,1,0,1,1,1,0,1,'2023-08-30 16:28:10','2023-08-30 16:34:31','2023-08-30 16:34:31'),(767,0,NULL,9206,0,1,176,40815,3,NULL,'cheques en cartera',NULL,1,0,1,1,1,0,1,'2023-09-21 09:44:14','2023-09-21 09:44:14',NULL),(768,0,NULL,9206,0,1,368,40815,2,NULL,'socio 1',NULL,0,0,1,1,1,0,1,'2023-10-11 10:09:46','2023-10-11 10:09:46',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 AUTO_INCREMENT=502 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `cta_cte_tesoreria_detail` VALUES (1,9206,1,757,40718,1520,1,155000.00,0,'2023-02-28','2023-02-28 14:21:22','2023-08-23 15:44:15','2023-08-23 15:44:15'),(2,8522,2,13,40718,1521,2,10000.00,0,'2023-03-01','2023-03-01 11:25:20','2023-03-01 11:25:20',NULL),(3,8522,2,758,40718,1521,1,10000.00,0,'2023-03-01','2023-03-01 11:25:20','2023-03-01 11:25:20',NULL),(4,9362,4,57,40718,1526,1,2350.00,0,'2023-08-11','2023-08-14 11:47:29','2023-08-22 10:05:35','2023-08-22 10:05:35'),(5,9362,4,757,40718,1526,2,2350.00,0,'2023-08-11','2023-08-14 11:47:29','2023-08-22 10:05:35','2023-08-22 10:05:35'),(6,9362,5,57,40718,1526,1,4500.00,0,'2023-08-01','2023-08-22 10:24:52','2023-08-22 10:29:57','2023-08-22 10:29:57'),(7,9362,5,757,40718,1526,2,4500.00,0,'2023-08-01','2023-08-22 10:24:52','2023-08-22 10:29:57','2023-08-22 10:29:57'),(8,9362,6,57,40718,1526,1,4500.00,0,'2023-08-22','2023-08-22 10:31:06','2023-08-22 10:43:53','2023-08-22 10:43:53'),(9,9362,6,757,40718,1526,2,4500.00,0,'2023-08-22','2023-08-22 10:31:06','2023-08-22 10:43:53','2023-08-22 10:43:53'),(10,9362,7,57,40718,1526,1,4500.00,0,'2023-08-01','2023-08-22 10:34:39','2023-08-22 11:25:29','2023-08-22 11:25:29'),(11,9362,7,757,40718,1526,2,4500.00,0,'2023-08-01','2023-08-22 10:34:39','2023-08-22 11:25:29','2023-08-22 11:25:29'),(12,9362,8,757,40718,1526,2,4500.00,0,'2023-08-01','2023-08-22 11:25:18','2023-08-22 11:25:40','2023-08-22 11:25:40'),(13,9362,8,535,40718,1526,1,4500.00,0,'2023-08-01','2023-08-22 11:25:18','2023-08-22 11:25:40','2023-08-22 11:25:40'),(14,9362,9,757,40718,1526,2,279966.64,0,'2023-08-23','2023-08-22 11:26:15','2023-08-23 16:16:38','2023-08-23 16:16:38'),(15,9362,9,535,40718,1526,1,4500.00,0,'2023-08-01','2023-08-22 11:26:15','2023-08-23 16:16:38','2023-08-23 16:16:38'),(16,9362,10,757,40718,1526,2,20000.00,0,'2023-08-22','2023-08-22 11:34:35','2023-08-23 16:00:19','2023-08-23 16:00:19'),(17,9362,10,536,40718,1526,1,20000.00,0,'2023-08-22','2023-08-22 11:34:35','2023-08-23 16:00:20','2023-08-23 16:00:20'),(18,9362,11,757,40718,1526,2,800.00,0,'2023-08-01','2023-08-22 16:57:52','2023-08-23 16:07:10','2023-08-23 16:07:10'),(19,9362,11,543,40718,1526,1,800.00,0,'2023-08-01','2023-08-22 16:57:52','2023-08-23 16:07:10','2023-08-23 16:07:10'),(20,9362,12,759,40815,3041,1,166237.85,0,'2023-08-31','2023-08-23 09:16:46','2023-08-31 15:35:59',NULL),(21,9362,13,759,40815,3041,2,5382.00,0,'2023-08-01','2023-08-23 09:37:32','2023-08-23 09:37:32',NULL),(22,9362,13,569,40815,3041,1,5382.00,0,'2023-08-01','2023-08-23 09:37:32','2023-08-23 09:37:32',NULL),(23,9362,14,13,40815,3041,2,40656.00,0,'2023-08-23','2023-08-23 09:41:28','2023-08-23 09:41:28',NULL),(24,9362,14,759,40815,3041,1,40656.00,0,'2023-08-23','2023-08-23 09:41:28','2023-08-23 09:41:28',NULL),(25,9362,15,13,40815,3041,2,19254.00,0,'2023-08-23','2023-08-23 09:43:17','2023-08-23 09:43:17',NULL),(26,9362,15,759,40815,3041,1,19254.00,0,'2023-08-23','2023-08-23 09:43:17','2023-08-23 09:43:17',NULL),(27,9362,16,13,40815,3041,2,21890.00,0,'2023-08-23','2023-08-23 09:44:51','2023-08-23 09:44:51',NULL),(28,9362,16,759,40815,3041,1,21890.00,0,'2023-08-23','2023-08-23 09:44:51','2023-08-23 09:44:51',NULL),(29,9362,17,13,40815,3041,2,40150.99,0,'2023-08-23','2023-08-23 09:46:19','2023-08-23 09:46:19',NULL),(30,9362,17,759,40815,3041,1,40150.99,0,'2023-08-23','2023-08-23 09:46:19','2023-08-23 09:46:19',NULL),(31,9362,18,13,40815,3041,2,23305.00,0,'2023-08-23','2023-08-23 09:47:38','2023-08-23 09:47:38',NULL),(32,9362,18,759,40815,3041,1,23305.00,0,'2023-08-23','2023-08-23 09:47:38','2023-08-23 09:47:38',NULL),(33,9362,19,13,40815,3041,2,36851.76,0,'2023-08-04','2023-08-23 09:49:18','2023-08-23 09:49:18',NULL),(34,9362,19,759,40815,3041,1,36851.76,0,'2023-08-04','2023-08-23 09:49:18','2023-08-23 09:49:18',NULL),(35,9362,20,13,40815,3041,2,39884.00,0,'2023-08-23','2023-08-23 09:50:03','2023-08-23 09:50:03',NULL),(36,9362,20,759,40815,3041,1,39884.00,0,'2023-08-23','2023-08-23 09:50:03','2023-08-23 09:50:03',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (37,9362,21,13,40815,3041,2,43674.01,0,'2023-08-07','2023-08-23 09:53:16','2023-08-30 09:18:44','2023-08-30 09:18:44'),(38,9362,21,759,40815,3041,1,43674.01,0,'2023-08-07','2023-08-23 09:53:16','2023-08-30 09:18:44','2023-08-30 09:18:44'),(39,9362,22,13,40815,3041,2,36448.00,0,'2023-08-08','2023-08-23 09:54:31','2023-08-23 09:54:31',NULL),(40,9362,22,759,40815,3041,1,36448.00,0,'2023-08-08','2023-08-23 09:54:31','2023-08-23 09:54:31',NULL),(41,9362,23,13,40815,3041,2,36300.00,0,'2023-08-09','2023-08-23 09:56:15','2023-08-23 09:56:15',NULL),(42,9362,23,759,40815,3041,1,36300.00,0,'2023-08-09','2023-08-23 09:56:15','2023-08-23 09:56:15',NULL),(43,9362,24,13,40815,3041,2,25287.00,0,'2023-08-09','2023-08-23 09:57:56','2023-08-23 09:57:56',NULL),(44,9362,24,759,40815,3041,1,25287.00,0,'2023-08-09','2023-08-23 09:57:56','2023-08-23 09:57:56',NULL),(45,9362,25,13,40815,3041,2,13518.00,0,'2023-08-09','2023-08-23 09:59:10','2023-08-23 09:59:10',NULL),(46,9362,25,759,40815,3041,1,13518.00,0,'2023-08-09','2023-08-23 09:59:10','2023-08-23 09:59:10',NULL),(47,9362,26,13,40815,3041,2,23305.00,0,'2023-08-10','2023-08-23 10:03:15','2023-08-23 10:03:15',NULL),(48,9362,26,759,40815,3041,1,23305.00,0,'2023-08-10','2023-08-23 10:03:15','2023-08-23 10:03:15',NULL),(49,9362,27,13,40815,3041,2,46383.99,0,'2023-08-10','2023-08-23 10:04:20','2023-08-23 10:04:20',NULL),(50,9362,27,759,40815,3041,1,46383.99,0,'2023-08-10','2023-08-23 10:04:20','2023-08-23 10:04:20',NULL),(51,9362,28,759,40815,3041,2,170283.85,0,'2023-08-01','2023-08-23 14:08:45','2023-08-23 14:08:45',NULL),(52,9362,28,574,40815,3041,1,170283.85,0,'2023-08-01','2023-08-23 14:08:45','2023-08-23 14:08:45',NULL),(53,9362,29,757,40718,1526,2,3600.00,0,'2023-08-04','2023-08-23 15:59:13','2023-08-23 16:01:49','2023-08-23 16:01:49'),(54,9362,29,62,40718,1526,1,3600.00,0,'2023-08-04','2023-08-23 15:59:13','2023-08-23 16:01:49','2023-08-23 16:01:49'),(55,9362,30,757,40718,1526,2,20000.00,0,'2023-08-01','2023-08-23 16:01:43','2023-08-23 16:07:05','2023-08-23 16:07:05'),(56,9362,30,536,40718,1526,1,20000.00,0,'2023-08-01','2023-08-23 16:01:43','2023-08-23 16:07:06','2023-08-23 16:07:06'),(57,9362,31,757,40718,1526,2,3600.00,0,'2023-08-04','2023-08-23 16:03:04','2023-08-23 16:06:57','2023-08-23 16:06:57'),(58,9362,31,62,40718,1526,1,3600.00,0,'2023-08-04','2023-08-23 16:03:04','2023-08-23 16:06:57','2023-08-23 16:06:57'),(59,9362,32,760,40718,1526,1,279966.64,0,'2023-08-23','2023-08-23 16:08:07','2023-08-23 16:19:41',NULL),(60,9362,33,57,40815,3041,1,5507.06,0,'2023-08-04','2023-08-23 16:31:10','2023-08-23 16:31:10',NULL),(61,9362,33,759,40815,3041,2,5507.06,0,'2023-08-04','2023-08-23 16:31:10','2023-08-23 16:31:10',NULL),(62,9362,34,57,40815,3041,1,87240.00,0,'2023-08-07','2023-08-23 16:42:05','2023-08-23 16:42:05',NULL),(63,9362,34,759,40815,3041,2,87240.00,0,'2023-08-07','2023-08-23 16:42:05','2023-08-23 16:42:05',NULL),(64,9362,35,57,40718,1526,1,1000000.00,0,'2023-08-22','2023-08-24 12:52:44','2023-08-24 13:04:55','2023-08-24 13:04:55'),(65,9362,35,760,40718,1526,2,1000000.00,0,'2023-08-22','2023-08-24 12:52:44','2023-08-24 13:04:55','2023-08-24 13:04:55'),(66,9362,36,759,40815,3041,2,50482.00,0,'2023-08-24','2023-08-24 16:32:01','2023-08-29 12:34:57','2023-08-29 12:34:57'),(67,9362,36,57,40815,3041,1,50482.00,0,'2023-08-24','2023-08-24 16:32:01','2023-08-29 12:34:57','2023-08-29 12:34:57'),(68,9362,37,759,40815,3041,2,31922.00,0,'2023-08-03','2023-08-24 16:33:55','2023-08-24 16:33:55',NULL),(69,9362,37,569,40815,3041,1,31922.00,0,'2023-08-03','2023-08-24 16:33:55','2023-08-24 16:33:55',NULL),(70,9362,38,759,40815,3041,2,3901.00,0,'2023-08-09','2023-08-24 16:35:26','2023-08-24 16:35:26',NULL),(71,9362,38,569,40815,3041,1,3901.00,0,'2023-08-09','2023-08-24 16:35:26','2023-08-24 16:35:26',NULL),(72,9362,39,759,40815,3041,2,4799.00,0,'2023-08-09','2023-08-24 16:35:56','2023-08-24 16:35:56',NULL),(73,9362,39,569,40815,3041,1,4799.00,0,'2023-08-09','2023-08-24 16:35:56','2023-08-24 16:35:56',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (74,9362,40,759,40815,3041,2,309396.56,0,'2023-08-09','2023-08-24 16:40:42','2023-08-24 16:40:42',NULL),(75,9362,40,574,40815,3041,1,309396.56,0,'2023-08-09','2023-08-24 16:40:42','2023-08-24 16:40:42',NULL),(76,9362,41,759,40815,3041,2,89600.00,0,'2023-08-10','2023-08-24 16:41:49','2023-08-24 16:41:49',NULL),(77,9362,41,524,40815,3041,1,89600.00,0,'2023-08-10','2023-08-24 16:41:49','2023-08-24 16:41:49',NULL),(78,9206,42,761,40815,3041,1,0.00,0,'2023-08-24','2023-08-24 16:53:53','2023-08-24 16:53:53',NULL),(79,9362,43,762,40815,3041,1,0.00,0,'2023-08-24','2023-08-24 16:58:13','2023-08-24 16:58:13',NULL),(80,9362,44,13,40815,3041,2,18356.00,0,'2023-08-14','2023-08-27 19:54:27','2023-08-27 19:54:27',NULL),(81,9362,44,759,40815,3041,1,18356.00,0,'2023-08-14','2023-08-27 19:54:27','2023-08-27 19:54:27',NULL),(82,9362,45,13,40815,3041,2,44723.74,0,'2023-08-07','2023-08-27 20:21:21','2023-08-27 20:21:21',NULL),(83,9362,45,759,40815,3041,1,44723.74,0,'2023-08-07','2023-08-27 20:21:21','2023-08-27 20:21:21',NULL),(84,9362,46,13,40815,3041,2,10306.00,0,'2023-08-07','2023-08-27 20:24:43','2023-08-27 21:35:33','2023-08-27 21:35:33'),(85,9362,46,759,40815,3041,1,10306.00,0,'2023-08-07','2023-08-27 20:24:43','2023-08-27 21:35:33','2023-08-27 21:35:33'),(86,9362,47,13,40815,3041,2,23305.00,0,'2023-08-10','2023-08-27 20:26:51','2023-08-27 20:26:51',NULL),(87,9362,47,759,40815,3041,1,23305.00,0,'2023-08-10','2023-08-27 20:26:51','2023-08-27 20:26:51',NULL),(88,9362,48,13,40815,3041,2,23725.00,0,'2023-07-19','2023-08-27 20:35:24','2023-08-27 20:40:54','2023-08-27 20:40:54'),(89,9362,48,761,40815,3041,1,23725.00,0,'2023-07-19','2023-08-27 20:35:24','2023-08-27 20:40:54','2023-08-27 20:40:54'),(90,9362,49,57,40815,3041,1,23725.00,0,'2023-08-23','2023-08-27 20:39:17','2023-08-31 17:49:16','2023-08-31 17:49:16'),(91,9362,49,759,40815,3041,2,23725.00,0,'2023-08-23','2023-08-27 20:39:17','2023-08-31 17:49:17','2023-08-31 17:49:17'),(92,9362,50,13,40815,3040,2,23725.00,0,'2023-07-21','2023-08-27 20:41:45','2023-08-27 20:41:45',NULL),(93,9362,50,761,40815,3040,1,23725.00,0,'2023-07-21','2023-08-27 20:41:45','2023-08-27 20:41:45',NULL),(94,9362,51,13,40815,3040,2,21890.00,0,'2023-07-21','2023-08-27 20:45:45','2023-08-27 20:45:45',NULL),(95,9362,51,761,40815,3040,1,21890.00,0,'2023-07-21','2023-08-27 20:45:45','2023-08-27 20:45:45',NULL),(96,9362,52,13,40815,3040,2,21890.00,0,'2023-07-21','2023-08-27 20:50:54','2023-08-27 20:50:54',NULL),(97,9362,52,761,40815,3040,1,21890.00,0,'2023-07-21','2023-08-27 20:50:54','2023-08-27 20:50:54',NULL),(98,9362,53,13,40815,3040,2,39886.00,0,'2023-07-25','2023-08-27 20:54:13','2023-08-27 20:54:13',NULL),(99,9362,53,761,40815,3040,1,39886.00,0,'2023-07-25','2023-08-27 20:54:13','2023-08-27 20:54:13',NULL),(100,9362,54,13,40815,3040,2,21890.00,0,'2023-07-26','2023-08-27 20:55:33','2023-08-27 20:55:33',NULL),(101,9362,54,761,40815,3040,1,21890.00,0,'2023-07-26','2023-08-27 20:55:33','2023-08-27 20:55:33',NULL),(102,9362,55,13,40815,3040,2,23725.00,0,'2023-07-28','2023-08-27 20:57:26','2023-08-27 20:57:26',NULL),(103,9362,55,761,40815,3040,1,23725.00,0,'2023-07-28','2023-08-27 20:57:26','2023-08-27 20:57:26',NULL),(104,9362,56,13,40815,3040,2,21890.00,0,'2023-07-28','2023-08-27 20:58:42','2023-08-27 20:58:42',NULL),(105,9362,56,761,40815,3040,1,21890.00,0,'2023-07-28','2023-08-27 20:58:42','2023-08-27 20:58:42',NULL),(106,9362,57,13,40815,3040,2,39886.00,0,'2023-07-31','2023-08-27 21:00:12','2023-08-27 21:00:12',NULL),(107,9362,57,761,40815,3040,1,39886.00,0,'2023-07-31','2023-08-27 21:00:12','2023-08-27 21:00:12',NULL),(108,9362,58,13,40815,3041,2,23725.00,0,'2023-07-31','2023-08-27 21:01:20','2023-08-27 21:01:20',NULL),(109,9362,58,761,40815,3041,1,23725.00,0,'2023-07-31','2023-08-27 21:01:20','2023-08-27 21:01:20',NULL),(110,9362,59,13,40815,3041,2,25287.00,0,'2023-08-03','2023-08-27 21:06:19','2023-08-27 21:06:19',NULL),(111,9362,59,761,40815,3041,1,25287.00,0,'2023-08-03','2023-08-27 21:06:19','2023-08-27 21:06:19',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (112,9362,60,13,40815,3041,2,25287.00,0,'2023-08-03','2023-08-27 21:09:30','2023-08-27 21:09:30',NULL),(113,9362,60,761,40815,3041,1,25287.00,0,'2023-08-03','2023-08-27 21:09:30','2023-08-27 21:09:30',NULL),(114,9362,61,13,40815,3041,2,25287.00,0,'2023-08-04','2023-08-27 21:12:55','2023-08-27 21:12:55',NULL),(115,9362,61,761,40815,3041,1,25287.00,0,'2023-08-04','2023-08-27 21:12:55','2023-08-27 21:12:55',NULL),(116,9362,62,13,40815,3041,2,42558.00,0,'2023-08-07','2023-08-27 21:13:46','2023-08-27 21:13:46',NULL),(117,9362,62,761,40815,3041,1,42558.00,0,'2023-08-07','2023-08-27 21:13:46','2023-08-27 21:13:46',NULL),(118,9362,63,13,40815,3041,2,40834.00,0,'2023-08-08','2023-08-27 21:17:31','2023-08-27 21:17:31',NULL),(119,9362,63,761,40815,3041,1,40834.00,0,'2023-08-08','2023-08-27 21:17:31','2023-08-27 21:17:31',NULL),(120,9362,64,13,40815,3041,2,46383.99,0,'2023-08-09','2023-08-27 21:18:45','2023-08-27 21:18:45',NULL),(121,9362,64,761,40815,3041,1,46383.99,0,'2023-08-09','2023-08-27 21:18:45','2023-08-27 21:18:45',NULL),(122,9362,65,13,40815,3041,2,22037.00,0,'2023-08-10','2023-08-27 21:19:47','2023-08-27 21:19:47',NULL),(123,9362,65,761,40815,3041,1,22037.00,0,'2023-08-10','2023-08-27 21:19:47','2023-08-27 21:19:47',NULL),(124,9362,66,13,40815,3041,2,200370.00,0,'2023-08-10','2023-08-27 21:21:16','2023-08-27 21:21:16',NULL),(125,9362,66,761,40815,3041,1,200370.00,0,'2023-08-10','2023-08-27 21:21:16','2023-08-27 21:21:16',NULL),(126,9362,67,13,40815,3041,2,25287.00,0,'2023-08-11','2023-08-27 21:22:01','2023-08-27 21:22:01',NULL),(127,9362,67,761,40815,3041,1,25287.00,0,'2023-08-11','2023-08-27 21:22:01','2023-08-27 21:22:01',NULL),(128,9362,68,13,40815,3041,2,10305.99,0,'2023-08-07','2023-08-27 21:36:44','2023-08-27 21:36:44',NULL),(129,9362,68,761,40815,3041,1,10305.99,0,'2023-08-07','2023-08-27 21:36:44','2023-08-27 21:36:44',NULL),(130,9362,69,13,40815,3041,2,23305.00,0,'2023-08-03','2023-08-27 22:38:36','2023-08-27 22:38:36',NULL),(131,9362,69,762,40815,3041,1,23305.00,0,'2023-08-03','2023-08-27 22:38:36','2023-08-27 22:38:36',NULL),(132,9362,70,13,40815,3041,2,27974.00,0,'2023-08-18','2023-08-27 22:40:22','2023-08-27 22:40:22',NULL),(133,9362,70,762,40815,3041,1,27974.00,0,'2023-08-18','2023-08-27 22:40:22','2023-08-27 22:40:22',NULL),(134,9362,71,13,40815,3040,2,20075.00,0,'2023-07-21','2023-08-27 22:41:44','2023-08-27 22:41:44',NULL),(135,9362,71,761,40815,3040,1,20075.00,0,'2023-07-21','2023-08-27 22:41:44','2023-08-27 22:41:44',NULL),(136,9362,72,13,40815,3040,2,20067.00,0,'2023-07-21','2023-08-27 22:43:01','2023-08-27 22:43:01',NULL),(137,9362,72,761,40815,3040,1,20067.00,0,'2023-07-21','2023-08-27 22:43:01','2023-08-27 22:43:01',NULL),(138,9362,73,13,40815,3040,2,20075.00,0,'2023-07-28','2023-08-27 22:43:41','2023-08-27 22:43:41',NULL),(139,9362,73,761,40815,3040,1,20075.00,0,'2023-07-28','2023-08-27 22:43:41','2023-08-27 22:43:41',NULL),(140,9362,74,13,40815,3041,2,66772.00,0,'2023-08-01','2023-08-27 22:44:25','2023-08-27 22:44:25',NULL),(141,9362,74,761,40815,3041,1,66772.00,0,'2023-08-01','2023-08-27 22:44:25','2023-08-27 22:44:25',NULL),(142,9362,75,13,40815,3041,2,29373.00,0,'2023-08-19','2023-08-27 22:45:58','2023-08-27 22:45:58',NULL),(143,9362,75,761,40815,3041,1,29373.00,0,'2023-08-19','2023-08-27 22:45:58','2023-08-27 22:45:58',NULL),(144,9362,76,13,40815,3041,2,15131.00,0,'2023-08-21','2023-08-27 22:46:35','2023-08-27 22:46:35',NULL),(145,9362,76,761,40815,3041,1,15131.00,0,'2023-08-21','2023-08-27 22:46:35','2023-08-27 22:46:35',NULL),(146,9362,77,13,40815,3041,2,35476.00,0,'2023-08-22','2023-08-27 22:47:15','2023-08-27 22:47:15',NULL),(147,9362,77,761,40815,3041,1,35476.00,0,'2023-08-22','2023-08-27 22:47:15','2023-08-27 22:47:15',NULL),(148,9362,78,13,40815,3041,2,29373.00,0,'2023-08-24','2023-08-27 22:47:55','2023-08-27 22:47:55',NULL),(149,9362,78,761,40815,3041,1,29373.00,0,'2023-08-24','2023-08-27 22:47:55','2023-08-27 22:47:55',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (150,9362,79,13,40815,3041,2,57937.00,0,'2023-08-25','2023-08-27 22:48:30','2023-08-27 22:48:30',NULL),(151,9362,79,761,40815,3041,1,57937.00,0,'2023-08-25','2023-08-27 22:48:30','2023-08-27 22:48:30',NULL),(152,9206,80,57,40718,1526,1,1000000.00,0,'2023-08-18','2023-08-27 23:53:21','2023-08-27 23:53:21',NULL),(153,9206,80,760,40718,1526,2,1000000.00,0,'2023-08-18','2023-08-27 23:53:21','2023-08-27 23:53:21',NULL),(154,9206,81,57,40718,1526,1,1000000.00,0,'2023-08-18','2023-08-28 00:07:32','2023-08-28 00:07:32',NULL),(155,9206,81,760,40718,1526,2,1000000.00,0,'2023-08-18','2023-08-28 00:07:32','2023-08-28 00:07:32',NULL),(156,9206,82,763,40718,1526,1,0.00,0,'2023-08-28','2023-08-28 00:12:28','2023-08-28 00:12:28',NULL),(157,9206,83,57,40718,1526,1,1411426.90,0,'2023-08-19','2023-08-28 00:15:45','2023-08-28 00:15:45',NULL),(158,9206,83,763,40718,1526,2,1411426.90,0,'2023-08-19','2023-08-28 00:15:45','2023-08-28 00:15:45',NULL),(159,9206,84,57,40718,1526,1,700000.00,0,'2023-08-25','2023-08-28 00:16:44','2023-08-28 00:16:44',NULL),(160,9206,84,760,40718,1526,2,700000.00,0,'2023-08-25','2023-08-28 00:16:44','2023-08-28 00:16:44',NULL),(161,9206,85,13,40718,1526,2,17430392.00,0,'2023-08-25','2023-08-28 00:21:50','2023-08-28 00:21:50',NULL),(162,9206,85,760,40718,1526,1,17430392.00,0,'2023-08-25','2023-08-28 00:21:50','2023-08-28 00:21:50',NULL),(163,9206,86,57,40718,1526,1,8050000.00,0,'2023-08-22','2023-08-28 00:28:18','2023-08-28 00:32:43','2023-08-28 00:32:43'),(164,9206,86,760,40718,1526,2,8050000.00,0,'2023-08-22','2023-08-28 00:28:18','2023-08-28 00:32:43','2023-08-28 00:32:43'),(165,9206,87,57,40718,1526,1,623000.00,0,'2023-08-24','2023-08-28 00:32:09','2023-08-28 00:32:09',NULL),(166,9206,87,760,40718,1526,2,623000.00,0,'2023-08-24','2023-08-28 00:32:09','2023-08-28 00:32:09',NULL),(167,9206,88,57,40718,1526,1,1400000.00,0,'2023-08-02','2023-08-28 00:35:43','2023-08-28 00:39:25','2023-08-28 00:39:25'),(168,9206,88,760,40718,1526,2,1400000.00,0,'2023-08-02','2023-08-28 00:35:43','2023-08-28 00:39:25','2023-08-28 00:39:25'),(169,9206,89,57,40718,1526,1,8050000.00,0,'2023-08-22','2023-08-28 00:58:35','2023-08-28 00:58:35',NULL),(170,9206,89,760,40718,1526,2,8050000.00,0,'2023-08-22','2023-08-28 00:58:35','2023-08-28 00:58:35',NULL),(171,9206,90,760,40718,1526,1,6800.00,0,'2023-08-17','2023-08-28 01:00:58','2023-08-28 01:17:31','2023-08-28 01:17:31'),(172,9206,90,763,40718,1526,2,6800.00,0,'2023-08-17','2023-08-28 01:00:58','2023-08-28 01:17:31','2023-08-28 01:17:31'),(173,9362,91,760,40718,1526,2,6800.00,0,'2023-08-28','2023-08-28 01:18:13','2023-09-04 12:36:39','2023-09-04 12:36:39'),(174,9362,91,763,40718,1526,1,6800.00,0,'2023-08-28','2023-08-28 01:18:13','2023-09-04 12:36:40','2023-09-04 12:36:40'),(175,9362,92,759,40815,3041,2,50482.00,0,'2023-08-01','2023-08-29 12:35:45','2023-08-29 12:35:45',NULL),(176,9362,92,57,40815,3041,1,50482.00,0,'2023-08-01','2023-08-29 12:35:45','2023-08-29 12:35:45',NULL),(177,9362,93,759,40815,3041,2,97022.00,0,'2023-08-10','2023-08-29 12:40:42','2023-08-29 12:40:42',NULL),(178,9362,93,524,40815,3041,1,97022.00,0,'2023-08-10','2023-08-29 12:40:42','2023-08-29 12:40:42',NULL),(179,9362,94,57,40815,3041,1,149770.59,0,'2023-08-11','2023-08-29 13:11:33','2023-08-29 13:11:33',NULL),(180,9362,94,759,40815,3041,2,149770.59,0,'2023-08-11','2023-08-29 13:11:33','2023-08-29 13:11:33',NULL),(181,9362,95,759,40815,3041,2,415.00,0,'2023-08-14','2023-08-29 13:41:08','2023-08-29 13:41:08',NULL),(182,9362,95,710,40815,3041,1,415.00,0,'2023-08-14','2023-08-29 13:41:08','2023-08-29 13:41:08',NULL),(183,9362,96,759,40815,3041,2,87.15,0,'2023-08-14','2023-08-29 13:43:03','2023-08-29 13:43:03',NULL),(184,9362,96,409,40815,3041,1,87.15,0,'2023-08-14','2023-08-29 13:43:03','2023-08-29 13:43:03',NULL),(185,9362,97,57,40815,3041,1,25287.00,0,'2023-08-14','2023-08-29 13:47:07','2023-08-29 13:47:07',NULL),(186,9362,97,759,40815,3041,2,25287.00,0,'2023-08-14','2023-08-29 13:47:07','2023-08-29 13:47:07',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (187,9362,98,764,40815,3041,1,0.00,0,'2023-08-29','2023-08-29 14:38:22','2023-08-29 14:38:22',NULL),(188,9362,99,759,40815,3041,2,900000.00,0,'2023-08-14','2023-08-29 14:41:35','2023-08-29 14:41:35',NULL),(189,9362,99,764,40815,3041,1,900000.00,0,'2023-08-14','2023-08-29 14:41:35','2023-08-29 14:41:35',NULL),(190,9362,100,759,40815,3041,2,22400.00,0,'2023-08-14','2023-08-29 14:43:47','2023-08-29 14:43:47',NULL),(191,9362,100,569,40815,3041,1,22400.00,0,'2023-08-14','2023-08-29 14:43:47','2023-08-29 14:43:47',NULL),(192,9362,101,759,40815,3041,2,2100000.00,0,'2023-08-15','2023-08-29 14:44:39','2023-08-29 14:44:39',NULL),(193,9362,101,764,40815,3041,1,2100000.00,0,'2023-08-15','2023-08-29 14:44:39','2023-08-29 14:44:39',NULL),(194,9362,102,759,40815,3041,2,1000000.00,0,'2023-08-15','2023-08-29 14:45:29','2023-08-29 14:45:29',NULL),(195,9362,102,764,40815,3041,1,1000000.00,0,'2023-08-15','2023-08-29 14:45:29','2023-08-29 14:45:29',NULL),(196,9362,103,57,40815,3041,1,132760.00,0,'2023-08-17','2023-08-29 14:47:36','2023-08-29 14:47:36',NULL),(197,9362,103,759,40815,3041,2,132760.00,0,'2023-08-17','2023-08-29 14:47:36','2023-08-29 14:47:36',NULL),(198,9362,104,57,40815,3041,1,25287.00,0,'2023-08-17','2023-08-29 14:55:10','2023-08-29 14:55:10',NULL),(199,9362,104,759,40815,3041,2,25287.00,0,'2023-08-17','2023-08-29 14:55:10','2023-08-29 14:55:10',NULL),(200,9362,105,759,40815,3041,2,1630000.00,0,'2023-08-11','2023-08-29 15:32:28','2023-08-29 15:32:28',NULL),(201,9362,105,764,40815,3041,1,1630000.00,0,'2023-08-11','2023-08-29 15:32:28','2023-08-29 15:32:28',NULL),(202,9362,106,57,40815,3041,1,89600.00,0,'2023-08-10','2023-08-29 15:41:27','2023-08-29 15:59:41','2023-08-29 15:59:41'),(203,9362,106,759,40815,3041,2,89600.00,0,'2023-08-10','2023-08-29 15:41:27','2023-08-29 15:59:41','2023-08-29 15:59:41'),(204,9362,107,759,40815,3041,2,60000.00,0,'2023-08-09','2023-08-29 16:00:30','2023-08-29 16:00:30',NULL),(205,9362,107,574,40815,3041,1,60000.00,0,'2023-08-09','2023-08-29 16:00:30','2023-08-29 16:00:30',NULL),(206,9362,108,759,40815,3041,2,200000.00,0,'2023-08-17','2023-08-29 16:07:36','2023-08-29 16:07:36',NULL),(207,9362,108,574,40815,3041,1,200000.00,0,'2023-08-17','2023-08-29 16:07:36','2023-08-29 16:07:36',NULL),(208,9362,109,759,40815,3041,2,15000.00,0,'2023-08-22','2023-08-29 16:36:13','2023-08-29 16:36:13',NULL),(209,9362,109,762,40815,3041,1,15000.00,0,'2023-08-22','2023-08-29 16:36:13','2023-08-29 16:36:13',NULL),(210,9362,110,57,40815,3041,1,50323.90,0,'2023-08-22','2023-08-29 16:45:40','2023-08-29 16:45:40',NULL),(211,9362,110,759,40815,3041,2,50323.90,0,'2023-08-22','2023-08-29 16:45:40','2023-08-29 16:45:40',NULL),(212,9362,111,57,40815,3041,1,7994.00,0,'2023-08-23','2023-08-29 16:56:22','2023-08-29 16:56:22',NULL),(213,9362,111,759,40815,3041,2,7994.00,0,'2023-08-23','2023-08-29 16:56:22','2023-08-29 16:56:22',NULL),(214,9362,112,57,40815,3041,1,1835.00,0,'2023-08-23','2023-08-29 17:02:36','2023-08-29 17:02:36',NULL),(215,9362,112,759,40815,3041,2,1835.00,0,'2023-08-23','2023-08-29 17:02:36','2023-08-29 17:02:36',NULL),(216,9362,113,57,40815,3041,1,23725.00,0,'2023-08-23','2023-08-29 17:05:12','2023-08-29 17:05:12',NULL),(217,9362,113,759,40815,3041,2,23725.00,0,'2023-08-23','2023-08-29 17:05:12','2023-08-29 17:05:12',NULL),(218,9362,114,57,40815,3041,1,5048.00,0,'2023-08-23','2023-08-29 17:06:53','2023-08-29 17:06:53',NULL),(219,9362,114,759,40815,3041,2,5048.00,0,'2023-08-23','2023-08-29 17:06:53','2023-08-29 17:06:53',NULL),(220,9362,115,57,40815,3041,1,1719.00,0,'2023-08-23','2023-08-29 17:08:33','2023-08-29 17:08:33',NULL),(221,9362,115,759,40815,3041,2,1719.00,0,'2023-08-23','2023-08-29 17:08:33','2023-08-29 17:08:33',NULL),(222,9362,116,57,40815,3041,1,2862.00,0,'2023-08-23','2023-08-29 17:09:37','2023-08-29 17:09:37',NULL),(223,9362,116,759,40815,3041,2,2862.00,0,'2023-08-23','2023-08-29 17:09:37','2023-08-29 17:09:37',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (224,9362,117,57,40815,3041,1,1835.00,0,'2023-08-23','2023-08-29 17:11:01','2023-08-29 17:11:01',NULL),(225,9362,117,759,40815,3041,2,1835.00,0,'2023-08-23','2023-08-29 17:11:01','2023-08-29 17:11:01',NULL),(226,9362,118,57,40815,3041,1,3950.00,0,'2023-08-23','2023-08-29 17:12:20','2023-08-29 17:12:20',NULL),(227,9362,118,759,40815,3041,2,3950.00,0,'2023-08-23','2023-08-29 17:12:20','2023-08-29 17:12:20',NULL),(228,9362,119,57,40815,3041,1,25287.00,0,'2023-08-23','2023-08-29 17:13:41','2023-08-29 17:13:41',NULL),(229,9362,119,759,40815,3041,2,25287.00,0,'2023-08-23','2023-08-29 17:13:41','2023-08-29 17:13:41',NULL),(230,9362,120,57,40815,3041,1,3826.00,0,'2023-08-23','2023-08-29 17:18:58','2023-08-29 17:18:58',NULL),(231,9362,120,759,40815,3041,2,3826.00,0,'2023-08-23','2023-08-29 17:18:58','2023-08-29 17:18:58',NULL),(232,9362,121,57,40815,3041,1,3826.00,0,'2023-08-23','2023-08-29 17:19:58','2023-08-29 17:19:58',NULL),(233,9362,121,759,40815,3041,2,3826.00,0,'2023-08-23','2023-08-29 17:19:58','2023-08-29 17:19:58',NULL),(234,9362,122,57,40815,3041,1,1382.00,0,'2023-08-23','2023-08-29 17:20:54','2023-08-29 17:20:54',NULL),(235,9362,122,759,40815,3041,2,1382.00,0,'2023-08-23','2023-08-29 17:20:54','2023-08-29 17:20:54',NULL),(236,9362,123,57,40815,3041,1,2577.00,0,'2023-08-23','2023-08-29 17:21:48','2023-08-29 17:21:48',NULL),(237,9362,123,759,40815,3041,2,2577.00,0,'2023-08-23','2023-08-29 17:21:48','2023-08-29 17:21:48',NULL),(238,9362,124,57,40815,3041,1,629540.55,0,'2023-08-24','2023-08-29 17:23:05','2023-08-29 17:23:05',NULL),(239,9362,124,759,40815,3041,2,629540.55,0,'2023-08-24','2023-08-29 17:23:05','2023-08-29 17:23:05',NULL),(240,9362,125,57,40815,3041,1,500000.00,0,'2023-08-24','2023-08-29 17:23:54','2023-08-29 17:23:54',NULL),(241,9362,125,759,40815,3041,2,500000.00,0,'2023-08-24','2023-08-29 17:23:54','2023-08-29 17:23:54',NULL),(242,9362,126,57,40815,3041,1,6928.00,0,'2023-08-24','2023-08-29 17:35:57','2023-08-29 17:35:57',NULL),(243,9362,126,759,40815,3041,2,6928.00,0,'2023-08-24','2023-08-29 17:35:57','2023-08-29 17:35:57',NULL),(244,9362,127,57,40815,3041,1,22037.00,0,'2023-08-24','2023-08-29 17:37:53','2023-08-29 17:37:53',NULL),(245,9362,127,759,40815,3041,2,22037.00,0,'2023-08-24','2023-08-29 17:37:53','2023-08-29 17:37:53',NULL),(246,9362,128,759,40815,3041,2,350000.00,0,'2023-08-25','2023-08-29 17:39:24','2023-08-29 17:39:24',NULL),(247,9362,128,764,40815,3041,1,350000.00,0,'2023-08-25','2023-08-29 17:39:24','2023-08-29 17:39:24',NULL),(248,9362,129,13,40815,3040,2,23609.00,0,'2023-07-20','2023-08-30 09:20:25','2023-08-30 09:20:25',NULL),(249,9362,129,759,40815,3040,1,23609.00,0,'2023-07-20','2023-08-30 09:20:25','2023-08-30 09:20:25',NULL),(250,9362,130,57,40815,3041,1,49498.00,0,'2023-08-24','2023-08-30 10:43:31','2023-08-30 10:43:31',NULL),(251,9362,130,759,40815,3041,2,49498.00,0,'2023-08-24','2023-08-30 10:43:31','2023-08-30 10:43:31',NULL),(252,9362,131,13,40815,3041,2,23305.00,0,'2023-08-10','2023-08-30 11:02:11','2023-08-30 11:02:11',NULL),(253,9362,131,759,40815,3041,1,23305.00,0,'2023-08-10','2023-08-30 11:02:11','2023-08-30 11:02:11',NULL),(254,9362,132,764,40815,3041,2,2547107.74,0,'2023-08-15','2023-08-30 11:05:08','2023-08-30 11:05:08',NULL),(255,9362,132,759,40815,3041,1,2547107.74,0,'2023-08-15','2023-08-30 11:05:08','2023-08-30 11:05:08',NULL),(256,9362,133,761,40815,3041,2,531106.49,0,'2023-08-09','2023-08-30 11:10:34','2023-08-30 11:10:34',NULL),(257,9362,133,759,40815,3041,1,531106.49,0,'2023-08-09','2023-08-30 11:10:34','2023-08-30 11:10:34',NULL),(258,9362,134,761,40815,3041,2,121523.72,0,'2023-08-14','2023-08-30 11:12:53','2023-08-30 11:12:53',NULL),(259,9362,134,759,40815,3041,1,121523.72,0,'2023-08-14','2023-08-30 11:12:53','2023-08-30 11:12:53',NULL),(260,9362,135,761,40815,3041,2,109923.92,0,'2023-08-17','2023-08-30 11:14:59','2023-08-30 11:14:59',NULL),(261,9362,135,759,40815,3041,1,109923.92,0,'2023-08-17','2023-08-30 11:14:59','2023-08-30 11:14:59',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (262,9362,136,761,40815,3041,2,23360.66,0,'2023-08-19','2023-08-30 11:19:21','2023-08-30 11:19:21',NULL),(263,9362,136,759,40815,3041,1,23360.66,0,'2023-08-19','2023-08-30 11:19:21','2023-08-30 11:19:21',NULL),(264,9362,137,13,40815,3041,2,53896.00,0,'2023-08-19','2023-08-30 11:20:45','2023-08-30 11:20:45',NULL),(265,9362,137,759,40815,3041,1,53896.00,0,'2023-08-19','2023-08-30 11:20:45','2023-08-30 11:20:45',NULL),(266,9362,138,13,40815,3041,2,53896.00,0,'2023-08-21','2023-08-30 11:25:15','2023-08-30 11:25:15',NULL),(267,9362,138,759,40815,3041,1,53896.00,0,'2023-08-21','2023-08-30 11:25:15','2023-08-30 11:25:15',NULL),(268,9362,139,13,40815,3041,2,31950.00,0,'2023-08-22','2023-08-30 11:27:34','2023-08-30 11:27:34',NULL),(269,9362,139,759,40815,3041,1,31950.00,0,'2023-08-22','2023-08-30 11:27:34','2023-08-30 11:27:34',NULL),(270,9362,140,13,40815,3041,2,53896.00,0,'2023-08-22','2023-08-30 11:29:09','2023-08-30 11:29:09',NULL),(271,9362,140,759,40815,3041,1,53896.00,0,'2023-08-22','2023-08-30 11:29:09','2023-08-30 11:29:09',NULL),(272,9362,141,13,40815,3041,2,19250.00,0,'2023-08-22','2023-08-30 11:30:15','2023-08-30 11:30:15',NULL),(273,9362,141,759,40815,3041,1,19250.00,0,'2023-08-22','2023-08-30 11:30:15','2023-08-30 11:30:15',NULL),(274,9362,142,13,40815,3041,2,53896.00,0,'2023-08-22','2023-08-30 11:31:27','2023-08-30 11:31:27',NULL),(275,9362,142,759,40815,3041,1,53896.00,0,'2023-08-22','2023-08-30 11:31:27','2023-08-30 11:31:27',NULL),(276,9362,143,13,40815,3041,2,24837.00,0,'2023-08-23','2023-08-30 11:47:56','2023-08-30 11:47:56',NULL),(277,9362,143,759,40815,3041,1,24837.00,0,'2023-08-23','2023-08-30 11:47:56','2023-08-30 11:47:56',NULL),(278,9362,144,13,40815,3041,2,12767.00,0,'2023-08-23','2023-08-30 11:50:12','2023-08-30 11:50:12',NULL),(279,9362,144,759,40815,3041,1,12767.00,0,'2023-08-23','2023-08-30 11:50:12','2023-08-30 11:50:12',NULL),(280,9362,145,13,40815,3041,2,53899.99,0,'2023-08-23','2023-08-30 11:53:09','2023-08-30 11:53:09',NULL),(281,9362,145,759,40815,3041,1,53899.99,0,'2023-08-23','2023-08-30 11:53:09','2023-08-30 11:53:09',NULL),(282,9362,146,761,40815,3041,2,122391.56,0,'2023-08-23','2023-08-30 12:23:58','2023-08-30 12:23:58',NULL),(283,9362,146,759,40815,3041,1,122391.56,0,'2023-08-23','2023-08-30 12:23:58','2023-08-30 12:23:58',NULL),(284,9362,147,764,40815,3041,2,801998.17,0,'2023-08-23','2023-08-30 12:26:35','2023-08-30 12:26:35',NULL),(285,9362,147,759,40815,3041,1,801998.17,0,'2023-08-23','2023-08-30 12:26:35','2023-08-30 12:26:35',NULL),(286,9362,148,13,40815,3041,2,61880.00,0,'2023-08-24','2023-08-30 12:29:54','2023-08-30 12:29:54',NULL),(287,9362,148,759,40815,3041,1,61880.00,0,'2023-08-24','2023-08-30 12:29:54','2023-08-30 12:29:54',NULL),(288,9362,149,13,40815,3040,2,21890.00,0,'2023-07-18','2023-08-30 12:44:38','2023-08-30 12:44:38',NULL),(289,9362,149,759,40815,3040,1,21890.00,0,'2023-07-18','2023-08-30 12:44:38','2023-08-30 12:44:38',NULL),(290,9362,150,13,40815,3041,2,29373.00,0,'2023-08-24','2023-08-30 12:45:41','2023-08-30 12:45:41',NULL),(291,9362,150,759,40815,3041,1,29373.00,0,'2023-08-24','2023-08-30 12:45:41','2023-08-30 12:45:41',NULL),(292,9362,151,13,40815,3041,2,29373.00,0,'2023-08-24','2023-08-30 12:47:05','2023-08-30 12:47:05',NULL),(293,9362,151,759,40815,3041,1,29373.00,0,'2023-08-24','2023-08-30 12:47:05','2023-08-30 12:47:05',NULL),(294,9362,152,761,40815,3041,2,117232.74,0,'2023-08-25','2023-08-30 13:24:16','2023-08-30 13:24:16',NULL),(295,9362,152,759,40815,3041,1,117232.74,0,'2023-08-25','2023-08-30 13:24:16','2023-08-30 13:24:16',NULL),(296,9362,153,57,40815,3041,1,80000.00,0,'2023-08-01','2023-08-30 13:45:58','2023-08-30 13:45:58',NULL),(297,9362,153,762,40815,3041,2,80000.00,0,'2023-08-01','2023-08-30 13:45:58','2023-08-30 13:45:58',NULL),(298,9362,154,57,40815,3041,1,450000.00,0,'2023-08-03','2023-08-30 13:47:40','2023-08-30 13:47:40',NULL),(299,9362,154,762,40815,3041,2,450000.00,0,'2023-08-03','2023-08-30 13:47:40','2023-08-30 13:47:40',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (300,9362,155,765,40815,3041,1,0.00,0,'2023-08-30','2023-08-30 15:19:33','2023-08-30 15:19:33',NULL),(301,9362,156,759,40815,3041,2,351184.00,0,'2023-08-30','2023-08-30 16:08:06','2023-08-30 16:08:06',NULL),(302,9362,156,765,40815,3041,1,351184.00,0,'2023-08-30','2023-08-30 16:08:06','2023-08-30 16:08:06',NULL),(303,9362,157,759,40815,3041,2,1411426.90,0,'2023-08-22','2023-08-30 16:11:16','2023-08-30 16:11:16',NULL),(304,9362,157,765,40815,3041,1,1411426.90,0,'2023-08-22','2023-08-30 16:11:16','2023-08-30 16:11:16',NULL),(305,9362,158,759,40815,3041,2,44428.00,0,'2023-08-25','2023-08-30 16:13:44','2023-08-30 16:13:44',NULL),(306,9362,158,765,40815,3041,1,44428.00,0,'2023-08-25','2023-08-30 16:13:44','2023-08-30 16:13:44',NULL),(307,9362,159,766,40815,3041,1,0.00,0,'2023-08-30','2023-08-30 16:28:10','2023-08-30 16:33:29','2023-08-30 16:33:29'),(308,9362,160,762,40815,3041,2,30000.00,0,'2023-08-04','2023-08-30 16:36:48','2023-08-30 16:36:48',NULL),(309,9362,160,765,40815,3041,1,30000.00,0,'2023-08-04','2023-08-30 16:36:48','2023-08-30 16:36:48',NULL),(310,9362,161,759,40815,3041,2,7000.00,0,'2023-08-06','2023-08-30 16:37:31','2023-08-30 16:37:42','2023-08-30 16:37:42'),(311,9362,161,765,40815,3041,1,7000.00,0,'2023-08-06','2023-08-30 16:37:31','2023-08-30 16:37:42','2023-08-30 16:37:42'),(312,9362,162,762,40815,3041,2,7000.00,0,'2023-08-06','2023-08-30 16:38:22','2023-08-30 16:38:22',NULL),(313,9362,162,765,40815,3041,1,7000.00,0,'2023-08-06','2023-08-30 16:38:22','2023-08-30 16:38:22',NULL),(314,9362,163,57,40815,3041,1,200000.00,0,'2023-08-08','2023-08-30 16:52:39','2023-08-31 17:49:48','2023-08-31 17:49:48'),(315,9362,163,759,40815,3041,2,200000.00,0,'2023-08-08','2023-08-30 16:52:39','2023-08-31 17:49:48','2023-08-31 17:49:48'),(316,9362,164,762,40815,3041,2,300000.00,0,'2023-08-10','2023-08-30 16:54:16','2023-08-30 16:54:16',NULL),(317,9362,164,759,40815,3041,1,300000.00,0,'2023-08-10','2023-08-30 16:54:16','2023-08-30 16:54:16',NULL),(318,9362,165,762,40815,3041,2,50000.00,0,'2023-08-10','2023-08-30 16:58:59','2023-08-30 16:58:59',NULL),(319,9362,165,759,40815,3041,1,50000.00,0,'2023-08-10','2023-08-30 16:58:59','2023-08-30 16:58:59',NULL),(320,9362,166,57,40815,3041,1,227823.01,0,'2023-08-11','2023-08-30 17:01:06','2023-08-30 17:01:06',NULL),(321,9362,166,762,40815,3041,2,227823.01,0,'2023-08-11','2023-08-30 17:01:06','2023-08-30 17:01:06',NULL),(322,9362,167,57,40815,3041,1,21000.00,0,'2023-08-11','2023-08-30 17:04:05','2023-08-30 17:04:05',NULL),(323,9362,167,762,40815,3041,2,21000.00,0,'2023-08-11','2023-08-30 17:04:05','2023-08-30 17:04:05',NULL),(324,9362,168,762,40815,3041,2,30000.00,0,'2023-08-11','2023-08-30 17:05:40','2023-08-30 17:05:40',NULL),(325,9362,168,765,40815,3041,1,30000.00,0,'2023-08-11','2023-08-30 17:05:40','2023-08-30 17:05:40',NULL),(326,9362,169,57,40815,3041,1,150000.00,0,'2023-08-11','2023-08-30 17:07:05','2023-08-30 17:07:05',NULL),(327,9362,169,762,40815,3041,2,150000.00,0,'2023-08-11','2023-08-30 17:07:05','2023-08-30 17:07:05',NULL),(328,9362,170,762,40815,3041,2,1200000.00,0,'2023-08-11','2023-08-30 17:08:36','2023-08-30 17:08:36',NULL),(329,9362,170,759,40815,3041,1,1200000.00,0,'2023-08-11','2023-08-30 17:08:36','2023-08-30 17:08:36',NULL),(330,9362,171,57,40815,3041,1,150000.00,0,'2023-08-11','2023-08-30 17:10:30','2023-08-30 17:10:30',NULL),(331,9362,171,762,40815,3041,2,150000.00,0,'2023-08-11','2023-08-30 17:10:30','2023-08-30 17:10:30',NULL),(332,9362,172,762,40815,3041,2,60000.00,0,'2023-08-11','2023-08-30 17:14:49','2023-08-30 17:14:49',NULL),(333,9362,172,765,40815,3041,1,60000.00,0,'2023-08-11','2023-08-30 17:14:49','2023-08-30 17:14:49',NULL),(334,9362,173,57,40815,3041,1,12869.65,0,'2023-08-12','2023-08-30 17:17:18','2023-08-30 17:17:18',NULL),(335,9362,173,762,40815,3041,2,12869.65,0,'2023-08-12','2023-08-30 17:17:18','2023-08-30 17:17:18',NULL),(336,9362,174,57,40815,3041,1,4068.90,0,'2023-08-12','2023-08-30 17:18:13','2023-08-30 17:18:13',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (337,9362,174,762,40815,3041,2,4068.90,0,'2023-08-12','2023-08-30 17:18:13','2023-08-30 17:18:13',NULL),(338,9362,175,762,40815,3041,2,800000.00,0,'2023-08-14','2023-08-30 17:21:48','2023-08-30 17:21:48',NULL),(339,9362,175,759,40815,3041,1,800000.00,0,'2023-08-14','2023-08-30 17:21:48','2023-08-30 17:21:48',NULL),(340,9362,176,762,40815,3041,2,500000.00,0,'2023-08-15','2023-08-30 17:23:51','2023-08-30 17:23:51',NULL),(341,9362,176,759,40815,3041,1,500000.00,0,'2023-08-15','2023-08-30 17:23:51','2023-08-30 17:23:51',NULL),(342,9362,177,57,40815,3041,1,260060.22,0,'2023-08-16','2023-08-30 17:25:26','2023-08-30 17:25:26',NULL),(343,9362,177,762,40815,3041,2,260060.22,0,'2023-08-16','2023-08-30 17:25:26','2023-08-30 17:25:26',NULL),(344,9362,178,762,40815,3041,2,7200.00,0,'2023-08-16','2023-08-30 17:26:21','2023-08-30 17:26:21',NULL),(345,9362,178,765,40815,3041,1,7200.00,0,'2023-08-16','2023-08-30 17:26:21','2023-08-30 17:26:21',NULL),(346,9362,179,762,40815,3041,2,15298.34,0,'2023-08-16','2023-08-30 17:30:14','2023-08-30 17:30:14',NULL),(347,9362,179,765,40815,3041,1,15298.34,0,'2023-08-16','2023-08-30 17:30:14','2023-08-30 17:30:14',NULL),(348,9362,180,57,40815,3041,1,150000.00,0,'2023-08-17','2023-08-30 17:31:58','2023-08-30 17:31:58',NULL),(349,9362,180,762,40815,3041,2,150000.00,0,'2023-08-17','2023-08-30 17:31:58','2023-08-30 17:31:58',NULL),(350,9362,181,762,40815,3041,2,250000.00,0,'2023-08-17','2023-08-30 17:48:37','2023-08-30 17:48:37',NULL),(351,9362,181,759,40815,3041,1,250000.00,0,'2023-08-17','2023-08-30 17:48:37','2023-08-30 17:48:37',NULL),(352,9362,182,762,40815,3041,2,168589.19,0,'2023-08-18','2023-08-30 18:01:18','2023-08-30 18:01:18',NULL),(353,9362,182,765,40815,3041,1,168589.19,0,'2023-08-18','2023-08-30 18:01:18','2023-08-30 18:01:18',NULL),(354,9362,183,57,40815,3041,1,726430.37,0,'2023-08-18','2023-08-30 18:02:48','2023-08-30 18:02:48',NULL),(355,9362,183,762,40815,3041,2,726430.37,0,'2023-08-18','2023-08-30 18:02:48','2023-08-30 18:02:48',NULL),(356,9362,184,762,40815,3041,2,4870.00,0,'2023-08-18','2023-08-31 11:41:48','2023-08-31 11:41:48',NULL),(357,9362,184,765,40815,3041,1,4870.00,0,'2023-08-18','2023-08-31 11:41:48','2023-08-31 11:41:48',NULL),(358,9362,185,762,40815,3041,2,287774.00,0,'2023-08-18','2023-08-31 11:43:03','2023-08-31 11:43:03',NULL),(359,9362,185,765,40815,3041,1,287774.00,0,'2023-08-18','2023-08-31 11:43:03','2023-08-31 11:43:03',NULL),(360,9362,186,762,40815,3041,2,703.28,0,'2023-08-18','2023-08-31 11:43:59','2023-08-31 11:43:59',NULL),(361,9362,186,765,40815,3041,1,703.28,0,'2023-08-18','2023-08-31 11:43:59','2023-08-31 11:43:59',NULL),(362,9362,187,762,40815,3041,2,510.05,0,'2023-08-18','2023-08-31 11:44:51','2023-08-31 11:44:51',NULL),(363,9362,187,765,40815,3041,1,510.05,0,'2023-08-18','2023-08-31 11:44:51','2023-08-31 11:44:51',NULL),(364,9362,188,762,40815,3041,2,23968.92,0,'2023-08-18','2023-08-31 11:46:36','2023-08-31 11:46:36',NULL),(365,9362,188,765,40815,3041,1,23968.92,0,'2023-08-18','2023-08-31 11:46:36','2023-08-31 11:46:36',NULL),(366,9362,189,762,40815,3041,2,38721.00,0,'2023-08-18','2023-08-31 11:47:13','2023-08-31 11:47:13',NULL),(367,9362,189,765,40815,3041,1,38721.00,0,'2023-08-18','2023-08-31 11:47:13','2023-08-31 11:47:13',NULL),(368,9362,190,762,40815,3041,2,28202.33,0,'2023-08-18','2023-08-31 11:47:51','2023-08-31 11:47:51',NULL),(369,9362,190,765,40815,3041,1,28202.33,0,'2023-08-18','2023-08-31 11:47:51','2023-08-31 11:47:51',NULL),(370,9362,191,762,40815,3041,2,22895.00,0,'2023-08-18','2023-08-31 11:54:21','2023-08-31 11:54:21',NULL),(371,9362,191,765,40815,3041,1,22895.00,0,'2023-08-18','2023-08-31 11:54:21','2023-08-31 11:54:21',NULL),(372,9362,192,762,40815,3041,2,58125.00,0,'2023-08-18','2023-08-31 11:55:08','2023-08-31 11:55:08',NULL),(373,9362,192,765,40815,3041,1,58125.00,0,'2023-08-18','2023-08-31 11:55:08','2023-08-31 11:55:08',NULL),(374,9362,193,57,40815,3041,1,116458.00,0,'2023-08-18','2023-08-31 11:58:28','2023-08-31 18:00:30','2023-08-31 18:00:30');
INSERT INTO `cta_cte_tesoreria_detail` VALUES (375,9362,193,759,40815,3041,2,116458.00,0,'2023-08-18','2023-08-31 11:58:28','2023-08-31 18:00:30','2023-08-31 18:00:30'),(376,9362,194,762,40815,3041,2,30000.00,0,'2023-08-18','2023-08-31 11:59:12','2023-08-31 11:59:12',NULL),(377,9362,194,765,40815,3041,1,30000.00,0,'2023-08-18','2023-08-31 11:59:12','2023-08-31 11:59:12',NULL),(378,9362,195,762,40815,3041,2,280000.00,0,'2023-08-18','2023-08-31 12:02:12','2023-08-31 15:03:07','2023-08-31 15:03:07'),(379,9362,195,762,40815,3041,1,280000.00,0,'2023-08-18','2023-08-31 12:02:12','2023-08-31 15:03:07','2023-08-31 15:03:07'),(380,9362,196,762,40815,3041,2,500000.00,0,'2023-08-19','2023-08-31 12:03:37','2023-08-31 12:03:37',NULL),(381,9362,196,765,40815,3041,1,500000.00,0,'2023-08-19','2023-08-31 12:03:37','2023-08-31 12:03:37',NULL),(382,9362,197,57,40815,3041,1,21000.00,0,'2023-08-19','2023-08-31 12:06:11','2023-08-31 12:06:11',NULL),(383,9362,197,762,40815,3041,2,21000.00,0,'2023-08-19','2023-08-31 12:06:11','2023-08-31 12:06:11',NULL),(384,9362,198,762,40815,3041,2,1365000.00,0,'2023-08-19','2023-08-31 12:23:37','2023-08-31 12:23:37',NULL),(385,9362,198,759,40815,3041,1,1365000.00,0,'2023-08-19','2023-08-31 12:23:37','2023-08-31 12:23:37',NULL),(386,9362,199,762,40815,3041,2,24030.00,0,'2023-08-21','2023-08-31 12:24:35','2023-08-31 12:24:35',NULL),(387,9362,199,765,40815,3041,1,24030.00,0,'2023-08-21','2023-08-31 12:24:35','2023-08-31 12:24:35',NULL),(388,9362,200,762,40815,3041,2,12433.00,0,'2023-08-22','2023-08-31 12:26:01','2023-08-31 12:26:01',NULL),(389,9362,200,765,40815,3041,1,12433.00,0,'2023-08-22','2023-08-31 12:26:01','2023-08-31 12:26:01',NULL),(390,9362,201,762,40815,3041,2,178263.00,0,'2023-08-22','2023-08-31 12:27:01','2023-08-31 12:27:01',NULL),(391,9362,201,765,40815,3041,1,178263.00,0,'2023-08-22','2023-08-31 12:27:01','2023-08-31 12:27:01',NULL),(392,9362,202,762,40815,3041,2,150000.00,0,'2023-08-24','2023-08-31 12:36:30','2023-08-31 15:31:05','2023-08-31 15:31:05'),(393,9362,202,759,40815,3041,1,150000.00,0,'2023-08-24','2023-08-31 12:36:30','2023-08-31 15:31:05','2023-08-31 15:31:05'),(394,9362,203,762,40815,3041,2,5000.00,0,'2023-08-24','2023-08-31 12:37:15','2023-08-31 12:37:15',NULL),(395,9362,203,765,40815,3041,1,5000.00,0,'2023-08-24','2023-08-31 12:37:15','2023-08-31 12:37:15',NULL),(396,9362,204,762,40815,3041,2,15000.00,0,'2023-08-25','2023-08-31 12:39:09','2023-08-31 12:39:09',NULL),(397,9362,204,765,40815,3041,1,15000.00,0,'2023-08-25','2023-08-31 12:39:09','2023-08-31 12:39:09',NULL),(398,9362,205,57,40815,3041,1,76474.56,0,'2023-08-25','2023-08-31 12:40:50','2023-08-31 12:40:50',NULL),(399,9362,205,762,40815,3041,2,76474.56,0,'2023-08-25','2023-08-31 12:40:50','2023-08-31 12:40:50',NULL),(400,9362,206,762,40815,3041,2,50000.00,0,'2023-08-25','2023-08-31 12:42:40','2023-08-31 17:46:30','2023-08-31 17:46:30'),(401,9362,206,765,40815,3041,1,50000.00,0,'2023-08-25','2023-08-31 12:42:40','2023-08-31 17:46:30','2023-08-31 17:46:30'),(402,9362,207,57,40815,3041,1,21000.00,0,'2023-08-25','2023-08-31 12:44:54','2023-08-31 12:44:54',NULL),(403,9362,207,762,40815,3041,2,21000.00,0,'2023-08-25','2023-08-31 12:44:54','2023-08-31 12:44:54',NULL),(404,9362,208,762,40815,3041,2,200000.00,0,'2023-08-25','2023-08-31 12:47:18','2023-08-31 12:47:18',NULL),(405,9362,208,759,40815,3041,1,200000.00,0,'2023-08-25','2023-08-31 12:47:18','2023-08-31 12:47:18',NULL),(406,9362,209,57,40815,3041,1,82000.00,0,'2023-08-28','2023-08-31 12:49:31','2023-08-31 12:49:31',NULL),(407,9362,209,762,40815,3041,2,82000.00,0,'2023-08-28','2023-08-31 12:49:31','2023-08-31 12:49:31',NULL),(408,9362,210,762,40815,3041,2,10980.00,0,'2023-08-29','2023-08-31 13:01:35','2023-08-31 13:01:35',NULL),(409,9362,210,765,40815,3041,1,10980.00,0,'2023-08-29','2023-08-31 13:01:35','2023-08-31 13:01:35',NULL),(410,9362,211,762,40815,3041,2,265.59,0,'2023-08-30','2023-08-31 13:04:57','2023-08-31 13:04:57',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (411,9362,211,663,40815,3041,1,265.59,0,'2023-08-30','2023-08-31 13:04:57','2023-08-31 13:04:57',NULL),(412,9362,212,762,40815,3041,2,47220.64,0,'2023-08-30','2023-08-31 13:07:45','2023-08-31 13:07:45',NULL),(413,9362,212,663,40815,3041,1,47220.64,0,'2023-08-30','2023-08-31 13:07:45','2023-08-31 13:07:45',NULL),(414,9362,213,13,40815,3041,2,29373.00,0,'2023-08-26','2023-08-31 13:18:11','2023-08-31 13:18:11',NULL),(415,9362,213,759,40815,3041,1,29373.00,0,'2023-08-26','2023-08-31 13:18:11','2023-08-31 13:18:11',NULL),(416,9362,214,13,40815,3041,2,53896.00,0,'2023-08-28','2023-08-31 13:19:38','2023-08-31 13:19:38',NULL),(417,9362,214,759,40815,3041,1,53896.00,0,'2023-08-28','2023-08-31 13:19:38','2023-08-31 13:19:38',NULL),(418,9362,215,13,40815,3041,2,71614.00,0,'2023-08-28','2023-08-31 13:37:36','2023-08-31 13:37:36',NULL),(419,9362,215,759,40815,3041,1,71614.00,0,'2023-08-28','2023-08-31 13:37:36','2023-08-31 13:37:36',NULL),(420,9362,216,13,40815,3041,2,29373.00,0,'2023-08-29','2023-08-31 13:46:14','2023-08-31 13:46:14',NULL),(421,9362,216,759,40815,3041,1,29373.00,0,'2023-08-29','2023-08-31 13:46:14','2023-08-31 13:46:14',NULL),(422,9362,217,13,40815,3041,2,53896.00,0,'2023-08-29','2023-08-31 13:47:13','2023-08-31 13:47:13',NULL),(423,9362,217,759,40815,3041,1,53896.00,0,'2023-08-29','2023-08-31 13:47:13','2023-08-31 13:47:13',NULL),(424,9362,218,759,40815,3041,2,80000.00,0,'2023-08-28','2023-08-31 13:55:04','2023-08-31 13:55:04',NULL),(425,9362,218,765,40815,3041,1,80000.00,0,'2023-08-28','2023-08-31 13:55:04','2023-08-31 13:55:04',NULL),(426,9362,219,57,40815,3041,1,724148.34,0,'2023-08-28','2023-08-31 13:56:40','2023-08-31 13:56:40',NULL),(427,9362,219,759,40815,3041,2,724148.34,0,'2023-08-28','2023-08-31 13:56:40','2023-08-31 13:56:40',NULL),(428,9362,220,57,40815,3041,1,63830.00,0,'2023-08-28','2023-08-31 13:58:42','2023-08-31 13:58:42',NULL),(429,9362,220,759,40815,3041,2,63830.00,0,'2023-08-28','2023-08-31 13:58:42','2023-08-31 13:58:42',NULL),(430,9362,221,765,40815,3041,2,1309688.56,0,'2023-08-28','2023-08-31 14:00:01','2023-08-31 14:00:01',NULL),(431,9362,221,759,40815,3041,1,1309688.56,0,'2023-08-28','2023-08-31 14:00:01','2023-08-31 14:00:01',NULL),(432,9362,222,759,40815,3041,2,660.00,0,'2023-08-28','2023-08-31 14:02:03','2023-08-31 14:02:03',NULL),(433,9362,222,710,40815,3041,1,660.00,0,'2023-08-28','2023-08-31 14:02:03','2023-08-31 14:02:03',NULL),(434,9362,223,759,40815,3041,2,138.60,0,'2023-08-28','2023-08-31 14:02:52','2023-08-31 14:02:52',NULL),(435,9362,223,409,40815,3041,1,138.60,0,'2023-08-28','2023-08-31 14:02:52','2023-08-31 14:02:52',NULL),(436,9362,224,759,40815,3041,2,55.00,0,'2023-08-29','2023-08-31 14:05:34','2023-08-31 14:06:14','2023-08-31 14:06:14'),(437,9362,224,759,40815,3041,1,55.00,0,'2023-08-29','2023-08-31 14:05:34','2023-08-31 14:06:14','2023-08-31 14:06:14'),(438,9362,225,759,40815,3041,2,55.00,0,'2023-08-29','2023-08-31 14:06:47','2023-08-31 14:06:47',NULL),(439,9362,225,710,40815,3041,1,55.00,0,'2023-08-29','2023-08-31 14:06:47','2023-08-31 14:06:47',NULL),(440,9362,226,759,40815,3041,2,11.55,0,'2023-08-29','2023-08-31 14:07:33','2023-08-31 14:07:33',NULL),(441,9362,226,409,40815,3041,1,11.55,0,'2023-08-29','2023-08-31 14:07:33','2023-08-31 14:07:33',NULL),(442,9362,227,759,40815,3041,2,8085.00,0,'2023-08-30','2023-08-31 14:08:38','2023-08-31 14:08:38',NULL),(443,9362,227,710,40815,3041,1,8085.00,0,'2023-08-30','2023-08-31 14:08:38','2023-08-31 14:08:38',NULL),(444,9362,228,759,40815,3041,2,404.25,0,'2023-08-30','2023-08-31 14:09:33','2023-08-31 14:09:33',NULL),(445,9362,228,663,40815,3041,1,404.25,0,'2023-08-30','2023-08-31 14:09:33','2023-08-31 14:09:33',NULL),(446,9362,229,759,40815,3041,2,1940.40,0,'2023-08-30','2023-08-31 14:10:33','2023-08-31 14:10:33',NULL),(447,9362,229,409,40815,3041,1,1940.40,0,'2023-08-30','2023-08-31 14:10:33','2023-08-31 14:10:33',NULL),(448,9362,230,764,40815,3041,2,902230.12,0,'2023-08-30','2023-08-31 14:12:29','2023-08-31 14:12:29',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (449,9362,230,759,40815,3041,1,902230.12,0,'2023-08-30','2023-08-31 14:12:29','2023-08-31 14:12:29',NULL),(450,9362,231,57,40815,3041,1,500000.00,0,'2023-08-30','2023-08-31 14:13:43','2023-08-31 14:13:43',NULL),(451,9362,231,759,40815,3041,2,500000.00,0,'2023-08-30','2023-08-31 14:13:43','2023-08-31 14:13:43',NULL),(452,9362,232,57,40815,3041,1,1208682.92,0,'2023-08-30','2023-08-31 14:15:02','2023-08-31 14:15:02',NULL),(453,9362,232,759,40815,3041,2,1208682.92,0,'2023-08-30','2023-08-31 14:15:02','2023-08-31 14:15:02',NULL),(454,9362,233,762,40815,3041,2,280000.00,0,'2023-08-18','2023-08-31 15:04:00','2023-08-31 15:04:00',NULL),(455,9362,233,759,40815,3041,1,280000.00,0,'2023-08-18','2023-08-31 15:04:00','2023-08-31 15:04:00',NULL),(456,9362,234,762,40815,3041,2,150000.00,0,'2023-08-24','2023-08-31 15:31:39','2023-08-31 15:31:39',NULL),(457,9362,234,759,40815,3041,1,150000.00,0,'2023-08-24','2023-08-31 15:31:39','2023-08-31 15:31:39',NULL),(458,9362,235,57,40815,3041,1,200000.00,0,'2023-08-08','2023-08-31 17:57:45','2023-08-31 17:57:45',NULL),(459,9362,235,762,40815,3041,2,200000.00,0,'2023-08-08','2023-08-31 17:57:45','2023-08-31 17:57:45',NULL),(460,9362,236,57,40815,3041,1,116458.00,0,'2023-08-18','2023-08-31 18:01:16','2023-08-31 18:01:16',NULL),(461,9362,236,762,40815,3041,2,116458.00,0,'2023-08-18','2023-08-31 18:01:16','2023-08-31 18:01:16',NULL),(462,9362,237,762,40815,3041,2,50000.00,0,'2023-08-25','2023-08-31 18:03:17','2023-08-31 18:03:17',NULL),(463,9362,237,765,40815,3041,1,50000.00,0,'2023-08-25','2023-08-31 18:03:17','2023-08-31 18:03:17',NULL),(464,9362,238,760,40718,1526,2,150000.00,0,'2023-09-01','2023-09-01 14:30:44','2023-09-04 12:36:34','2023-09-04 12:36:34'),(465,9362,238,763,40718,1526,1,150000.00,0,'2023-09-01','2023-09-01 14:30:44','2023-09-04 12:36:34','2023-09-04 12:36:34'),(466,9362,239,760,40718,1526,2,155120.00,0,'2023-09-02','2023-09-01 14:53:25','2023-09-04 12:36:29','2023-09-04 12:36:29'),(467,9362,239,543,40718,1526,1,155120.00,0,'2023-09-02','2023-09-01 14:53:25','2023-09-04 12:36:29','2023-09-04 12:36:29'),(468,9362,240,760,40718,1526,2,20000.00,0,'2023-08-01','2023-09-04 12:40:33','2023-09-04 12:40:33',NULL),(469,9362,240,536,40718,1526,1,20000.00,0,'2023-08-01','2023-09-04 12:40:33','2023-09-04 12:40:33',NULL),(470,9362,241,760,40718,1526,2,150000.00,0,'2023-08-01','2023-09-04 12:41:33','2023-09-04 12:41:33',NULL),(471,9362,241,763,40718,1526,1,150000.00,0,'2023-08-01','2023-09-04 12:41:33','2023-09-04 12:41:33',NULL),(472,9362,242,760,40718,1526,2,800.00,0,'2023-08-01','2023-09-04 12:45:40','2023-09-04 12:45:40',NULL),(473,9362,242,543,40718,1526,1,800.00,0,'2023-08-01','2023-09-04 12:45:40','2023-09-04 12:45:40',NULL),(474,9362,243,760,40718,1526,2,155120.00,0,'2023-08-02','2023-09-04 12:46:24','2023-09-04 12:46:24',NULL),(475,9362,243,543,40718,1526,1,155120.00,0,'2023-08-02','2023-09-04 12:46:24','2023-09-04 12:46:24',NULL),(476,9362,244,57,40718,1526,1,180000.00,0,'2023-08-02','2023-09-04 13:11:11','2023-09-04 13:11:11',NULL),(477,9362,244,760,40718,1526,2,180000.00,0,'2023-08-02','2023-09-04 13:11:11','2023-09-04 13:11:11',NULL),(478,9362,245,760,40718,1526,2,16250.00,0,'2023-08-03','2023-09-04 13:14:00','2023-09-04 13:14:00',NULL),(479,9362,245,543,40718,1526,1,16250.00,0,'2023-08-03','2023-09-04 13:14:00','2023-09-04 13:14:00',NULL),(480,9362,246,760,40718,1526,2,22700.00,0,'2023-08-03','2023-09-04 13:14:34','2023-09-04 13:14:34',NULL),(481,9362,246,543,40718,1526,1,22700.00,0,'2023-08-03','2023-09-04 13:14:34','2023-09-04 13:14:34',NULL),(482,9362,247,57,40718,1526,1,119975.00,0,'2023-08-03','2023-09-04 13:24:42','2023-09-04 13:24:42',NULL),(483,9362,247,760,40718,1526,2,119975.00,0,'2023-08-03','2023-09-04 13:24:42','2023-09-04 13:24:42',NULL),(484,9362,248,760,40718,1526,2,198700.00,0,'2023-08-04','2023-09-04 13:30:37','2023-09-04 13:30:37',NULL),(485,9362,248,524,40718,1526,1,198700.00,0,'2023-08-04','2023-09-04 13:30:37','2023-09-04 13:30:37',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (486,9362,249,57,40815,3040,1,50000.00,0,'2023-07-14','2023-09-07 16:04:55','2023-09-07 16:04:55',NULL),(487,9362,249,762,40815,3040,2,50000.00,0,'2023-07-14','2023-09-07 16:04:55','2023-09-07 16:04:55',NULL),(488,9362,250,57,40815,3040,1,96500.00,0,'2023-07-25','2023-09-07 16:05:45','2023-09-07 16:05:45',NULL),(489,9362,250,762,40815,3040,2,96500.00,0,'2023-07-25','2023-09-07 16:05:45','2023-09-07 16:05:45',NULL),(490,9206,251,760,40718,1527,2,200000.00,0,'2023-09-20','2023-09-20 16:47:55','2023-09-20 16:50:19','2023-09-20 16:50:19'),(491,9206,251,760,40718,1527,1,200000.00,0,'2023-09-20','2023-09-20 16:47:55','2023-09-20 16:50:19','2023-09-20 16:50:19'),(492,9206,252,13,40815,3042,2,234380.00,0,'2023-09-07','2023-09-20 17:04:42','2023-09-20 17:04:42',NULL),(493,9206,252,251,40815,3042,1,3389.79,0,'2023-09-07','2023-09-20 17:04:42','2023-09-20 17:04:42',NULL),(494,9206,252,252,40815,3042,1,7748.10,0,'2023-09-07','2023-09-20 17:04:42','2023-09-20 17:04:42',NULL),(495,9206,252,759,40815,3042,1,223242.11,0,'2023-09-07','2023-09-20 17:04:42','2023-09-20 17:04:42',NULL),(496,9206,253,767,40815,3042,1,0.00,0,'2023-09-21','2023-09-21 09:44:14','2023-09-21 09:44:14',NULL),(497,9206,254,765,40815,3043,1,630545.43,0,'2023-10-09','2023-10-09 11:21:29','2023-10-09 11:23:03','2023-10-09 11:23:03'),(498,9206,254,765,40815,3043,2,630545.43,0,'2023-10-09','2023-10-09 11:21:29','2023-10-09 11:23:03','2023-10-09 11:23:03'),(499,9206,255,765,40815,3043,1,630545.46,0,'2023-10-09','2023-10-09 11:28:57','2023-10-09 11:30:06','2023-10-09 11:30:06'),(500,9206,255,696,40815,3043,2,630545.46,0,'2023-10-09','2023-10-09 11:28:57','2023-10-09 11:30:06','2023-10-09 11:30:06'),(501,9206,256,768,40815,3043,1,0.00,0,'2023-10-11','2023-10-11 10:09:46','2023-10-11 10:10:04',NULL);

--
-- 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 AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `ctacte_cheques` VALUES (1,8522,NULL,NULL,NULL,NULL,NULL,1252,NULL,NULL,NULL,NULL,10000.00,1,1,'2023-03-01','2023-03-01',1,40718,NULL,'Prueba #',1,0,11111,NULL,'',1,'2023-03-01 11:25:20','2023-03-01 11:25:20',NULL);

--
-- 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:04:22',NULL),(2,NULL,'TERMINADO',1,NULL,'2023-08-07 00:04:22',NULL),(3,NULL,'ELIMINADO',1,NULL,'2023-08-13 09:20:21',NULL),(4,NULL,'PAGADO',1,NULL,'2023-08-07 00:04:22','2023-08-07 00:04:22'),(5,NULL,'CONCILIADO',1,NULL,'2023-08-07 00:04:22','2023-08-07 00:04:22');

--
-- 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:04:23',NULL),(2,NULL,'RECHAZADO',1,1,0,1,NULL,'2023-08-07 00:04:23',NULL),(3,NULL,'ACEPTADO',1,0,0,1,NULL,'2023-08-07 00:04:23',NULL),(4,NULL,'FALTAN FIRMAS',0,0,1,1,'2023-08-07 00:04:23','2023-08-07 00:04:23',NULL),(5,NULL,'EMITIDO',1,0,0,1,'2023-10-12 08:12:01','2023-10-12 08:12:01',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:34:21',
  `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:24:25',NULL),(3,NULL,'Deposito','App\\Models\\Inventario\\InvDeposito',1,1,NULL,'2024-05-07 20:23:03',NULL),(4,NULL,'Empleado','App\\Models\\SyJEmpleado',0,0,NULL,'2023-07-03 22:12:48',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,'2023-02-16 08:53:03',NULL),(2,NULL,'ORDEN DE VENTAS',NULL,1,NULL,'2023-02-16 08:53:03',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-30 12:53:28',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:34:21','2023-09-28 16:34:21',NULL),(11,NULL,'ANULACION REQUERIMIENTOS',NULL,1,'2024-04-02 23:18:31','2024-04-02 23:18:31',NULL),(12,NULL,'ANULACION COMPRAS PRODUCTOS',NULL,1,'2024-04-02 23:18:31','2024-04-02 23:18:31',NULL),(13,NULL,'ANULACION COMPRAS SERVICIOS',NULL,1,'2024-04-02 23:18:31','2024-04-02 23:18:31',NULL),(14,NULL,'REMITO DE GASTO',NULL,1,'2024-05-07 20:23:03','2024-05-07 20:23:03',NULL),(15,NULL,'COTIZACIONES',NULL,1,'2024-06-26 08:17:47','2024-06-26 08:17:47',NULL),(16,NULL,'REMITO INGRESO-DEVOLUCION',NULL,1,'2024-09-02 13:24:30','2024-09-02 13:24:30',NULL),(17,NULL,'REMITO EGRESO-DEVOLUCION',NULL,1,'2024-10-17 08:54:30','2024-10-17 08:54:30',NULL),(18,NULL,'REMITO','Es un remito de servicio, que no tiene ni ingreso ni egreso',1,'2024-12-03 21:58:26','2024-12-03 21:58:26',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;

--
