INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (5516,8791,4742,4601,NULL,0,NULL,'2025-08-27 09:31:12','2025-09-02 15:57:14','2025-09-02 15:57:14'),(5517,8791,4743,4602,NULL,0,NULL,'2025-08-27 09:31:12','2025-08-27 09:31:12',NULL),(5518,8791,4744,4603,NULL,0,NULL,'2025-08-27 09:31:12','2025-08-27 09:31:12',NULL),(5519,8791,4745,4604,NULL,0,NULL,'2025-08-27 09:31:12','2025-08-27 09:31:12',NULL),(5520,8791,4746,4605,NULL,0,NULL,'2025-08-27 09:31:12','2025-08-27 09:31:12',NULL),(5521,8791,4747,4606,NULL,0,NULL,'2025-08-27 09:31:12','2025-09-02 15:55:53','2025-09-02 15:55:53'),(5522,8791,4748,4607,NULL,0,NULL,'2025-08-27 09:31:12','2025-08-27 09:31:12',NULL),(5523,8791,4749,4608,NULL,0,NULL,'2025-08-27 09:31:12','2025-08-27 09:31:12',NULL),(5524,8791,4750,4609,NULL,0,NULL,'2025-08-27 09:31:13','2025-09-02 15:54:06','2025-09-02 15:54:06'),(5525,8791,4751,4610,NULL,0,NULL,'2025-08-27 09:31:13','2025-08-27 09:31:13',NULL),(5526,8791,4752,4611,NULL,0,NULL,'2025-08-27 09:31:13','2025-08-27 09:31:13',NULL),(5527,8791,4753,4612,NULL,0,NULL,'2025-08-27 09:31:13','2025-08-27 09:31:13',NULL),(5528,8791,4754,4613,NULL,0,NULL,'2025-08-27 09:31:13','2025-08-27 09:31:13',NULL),(5529,8791,4755,4614,NULL,0,NULL,'2025-08-27 09:31:13','2025-08-27 09:31:13',NULL),(5530,8791,4756,4615,NULL,0,NULL,'2025-08-27 09:31:13','2025-08-27 09:31:13',NULL),(5531,8791,4757,4616,NULL,0,NULL,'2025-08-27 09:31:13','2025-08-27 09:31:13',NULL),(5532,8791,4758,4617,NULL,0,NULL,'2025-08-27 09:31:13','2025-08-27 09:31:13',NULL),(5533,8791,4759,4618,NULL,0,NULL,'2025-08-27 09:31:13','2025-08-27 09:31:13',NULL),(5534,8791,4760,4619,NULL,0,NULL,'2025-08-27 09:31:13','2025-08-27 09:31:13',NULL),(5535,8791,4761,4620,NULL,0,NULL,'2025-08-27 09:31:13','2025-08-27 09:31:13',NULL),(5536,8791,4762,4621,NULL,0,NULL,'2025-08-27 09:31:13','2025-09-02 15:34:27','2025-09-02 15:34:27'),(5537,8791,4763,4622,NULL,0,NULL,'2025-08-27 09:31:13','2025-08-27 09:31:13',NULL),(5538,8791,4764,4623,NULL,0,NULL,'2025-08-27 09:31:13','2025-08-27 09:31:13',NULL),(5539,8791,4765,4624,NULL,0,NULL,'2025-08-27 09:31:13','2025-08-27 09:31:13',NULL),(5540,8791,4766,4625,NULL,0,NULL,'2025-09-02 10:41:57','2025-09-02 10:41:57',NULL),(5541,8791,4767,4626,NULL,0,NULL,'2025-09-02 10:41:57','2025-09-02 10:41:57',NULL),(5542,8791,4768,4627,NULL,0,NULL,'2025-09-02 10:41:57','2025-09-02 15:32:50','2025-09-02 15:32:50'),(5543,8791,4769,4628,NULL,0,NULL,'2025-09-02 10:41:57','2025-09-02 10:41:57',NULL),(5544,8791,4770,4629,NULL,0,NULL,'2025-09-02 10:41:57','2025-09-02 10:41:57',NULL),(5545,8791,4771,4630,NULL,0,NULL,'2025-09-02 10:41:57','2025-09-02 15:31:47','2025-09-02 15:31:47'),(5546,8791,4772,4631,NULL,0,NULL,'2025-09-02 10:41:57','2025-09-02 15:28:35','2025-09-02 15:28:35'),(5547,8791,4773,4632,NULL,0,NULL,'2025-09-02 10:41:57','2025-09-02 10:41:57',NULL),(5548,8791,4774,4633,NULL,0,NULL,'2025-09-02 10:41:57','2025-09-02 10:41:57',NULL),(5549,8791,4775,4634,NULL,0,NULL,'2025-09-02 10:41:57','2025-09-02 10:41:57',NULL),(5550,8791,4776,4635,NULL,0,NULL,'2025-09-02 10:41:57','2025-09-02 10:41:57',NULL),(5551,8791,4777,4636,NULL,0,NULL,'2025-09-02 10:41:58','2025-09-02 15:27:31','2025-09-02 15:27:31'),(5552,8791,4778,4637,NULL,0,NULL,'2025-09-02 10:41:58','2025-09-02 10:41:58',NULL),(5553,8791,4779,4638,NULL,0,NULL,'2025-09-02 10:54:43','2025-09-02 10:54:43',NULL),(5554,8791,4780,4639,NULL,0,NULL,'2025-09-02 10:54:43','2025-09-02 10:54:43',NULL),(5555,8791,4781,4640,NULL,0,NULL,'2025-09-02 10:54:43','2025-09-02 10:56:03','2025-09-02 10:56:03'),(5556,8791,4782,4641,NULL,0,NULL,'2025-09-02 10:54:43','2025-09-02 10:54:43',NULL),(5557,8791,4783,4642,NULL,0,NULL,'2025-09-02 10:54:43','2025-09-02 10:54:43',NULL),(5558,8791,4784,4640,NULL,0,NULL,'2025-09-02 10:56:03','2025-09-02 10:56:03',NULL),(5559,8791,4785,4636,NULL,0,NULL,'2025-09-02 15:27:31','2025-09-02 15:27:31',NULL),(5560,8791,4786,4631,NULL,0,NULL,'2025-09-02 15:28:35','2025-09-02 15:28:35',NULL),(5561,8791,4787,4630,NULL,0,NULL,'2025-09-02 15:31:47','2025-09-02 15:31:47',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (5562,8791,4788,4627,NULL,0,NULL,'2025-09-02 15:32:50','2025-09-02 15:32:50',NULL),(5563,8791,4789,4621,NULL,0,NULL,'2025-09-02 15:34:27','2025-09-02 15:34:27',NULL),(5564,8791,4790,4609,NULL,0,NULL,'2025-09-02 15:54:06','2025-09-02 15:54:06',NULL),(5565,8791,4791,4606,NULL,0,NULL,'2025-09-02 15:55:53','2025-09-02 15:55:53',NULL),(5566,8791,4792,4601,NULL,0,NULL,'2025-09-02 15:57:14','2025-09-02 15:57:14',NULL),(5567,8791,4793,4594,NULL,0,NULL,'2025-09-02 15:58:13','2025-09-02 15:58:13',NULL),(5568,8791,4794,4591,NULL,0,NULL,'2025-09-02 16:10:34','2025-09-02 16:10:34',NULL),(5569,8791,4795,4513,NULL,0,NULL,'2025-09-02 16:12:06','2025-09-02 16:12:06',NULL),(5570,8791,4796,4509,NULL,0,NULL,'2025-09-02 16:13:15','2025-09-02 16:13:15',NULL),(5571,8791,4797,4505,NULL,0,NULL,'2025-09-02 16:13:44','2025-09-02 16:16:38','2025-09-02 16:16:38'),(5572,8791,4798,4502,NULL,0,NULL,'2025-09-02 16:14:35','2025-09-02 16:14:35',NULL),(5573,8791,4799,4505,NULL,0,NULL,'2025-09-02 16:16:38','2025-09-02 16:16:38',NULL),(5574,8791,4800,4487,NULL,0,NULL,'2025-09-02 16:19:22','2025-09-02 16:19:22',NULL),(5575,8791,4801,4643,NULL,0,NULL,'2025-09-10 10:18:20','2025-09-10 10:18:20',NULL),(5576,8791,4802,4644,NULL,0,NULL,'2025-09-10 10:19:19','2025-09-10 10:19:19',NULL),(5577,8791,4803,4645,NULL,0,NULL,'2025-09-11 17:14:34','2025-09-11 17:20:04','2025-09-11 17:20:04'),(5578,8791,4804,4646,NULL,0,NULL,'2025-09-11 17:14:34','2025-09-11 17:14:34',NULL),(5579,8791,4805,4647,NULL,0,NULL,'2025-09-11 17:14:34','2025-09-11 17:14:34',NULL),(5580,8791,4806,4648,NULL,0,NULL,'2025-09-11 17:14:34','2025-09-11 17:14:34',NULL),(5581,8791,4807,4649,NULL,0,NULL,'2025-09-11 17:14:34','2025-09-11 17:14:34',NULL),(5582,8791,4808,4650,NULL,0,NULL,'2025-09-11 17:14:34','2025-09-11 17:14:34',NULL),(5583,8791,4809,4651,NULL,0,NULL,'2025-09-11 17:14:34','2025-09-11 17:14:34',NULL),(5584,8791,4810,4652,NULL,0,NULL,'2025-09-11 17:14:34','2025-09-11 17:20:57','2025-09-11 17:20:57'),(5585,8791,4811,4653,NULL,0,NULL,'2025-09-11 17:14:34','2025-09-11 17:22:05','2025-09-11 17:22:05'),(5586,8791,4812,4654,NULL,0,NULL,'2025-09-11 17:14:34','2025-09-11 17:14:34',NULL),(5587,8791,4813,4655,NULL,0,NULL,'2025-09-11 17:14:34','2025-09-11 17:14:34',NULL),(5588,8791,4814,4656,NULL,0,NULL,'2025-09-11 17:14:34','2025-09-11 17:14:34',NULL),(5589,8791,4815,4657,NULL,0,NULL,'2025-09-11 17:14:34','2025-09-11 17:24:24','2025-09-11 17:24:24'),(5590,8791,4816,4658,NULL,0,NULL,'2025-09-11 17:14:34','2025-09-11 17:18:19','2025-09-11 17:18:19'),(5591,8791,4817,4659,NULL,0,NULL,'2025-09-11 17:14:34','2025-09-11 17:14:34',NULL),(5592,8791,4818,4660,NULL,0,NULL,'2025-09-11 17:14:35','2025-09-11 17:14:35',NULL),(5593,8791,4819,4661,NULL,0,NULL,'2025-09-11 17:14:35','2025-09-11 17:14:35',NULL),(5594,8791,4820,4662,NULL,0,NULL,'2025-09-11 17:14:35','2025-09-11 17:14:35',NULL),(5595,8791,4821,4663,NULL,0,NULL,'2025-09-11 17:14:35','2025-09-11 17:14:35',NULL),(5596,8791,4822,4664,NULL,0,NULL,'2025-09-11 17:14:35','2025-09-11 17:14:35',NULL),(5597,8791,4823,4665,NULL,0,NULL,'2025-09-11 17:14:35','2025-09-11 17:14:35',NULL),(5598,8791,4824,4666,NULL,0,NULL,'2025-09-11 17:14:35','2025-09-11 17:16:49','2025-09-11 17:16:49'),(5599,8791,4825,4666,NULL,0,NULL,'2025-09-11 17:16:49','2025-09-11 17:16:49',NULL),(5600,8791,4826,4658,NULL,0,NULL,'2025-09-11 17:18:19','2025-09-11 17:18:19',NULL),(5601,8791,4827,4645,NULL,0,NULL,'2025-09-11 17:20:04','2025-09-11 17:20:04',NULL),(5602,8791,4828,4652,NULL,0,NULL,'2025-09-11 17:20:57','2025-09-11 17:20:57',NULL),(5603,8791,4829,4653,NULL,0,NULL,'2025-09-11 17:22:05','2025-09-11 17:22:05',NULL),(5604,8791,4830,4657,NULL,0,NULL,'2025-09-11 17:24:24','2025-09-11 17:24:24',NULL),(5605,8791,4831,4667,NULL,0,NULL,'2025-09-19 10:43:49','2025-09-19 10:43:49',NULL),(5606,8791,4832,4668,NULL,0,NULL,'2025-09-25 09:34:36','2025-10-07 11:20:52','2025-10-07 11:20:52'),(5607,8791,4833,4669,NULL,0,NULL,'2025-09-25 09:42:29','2025-09-25 09:42:29',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (5608,NULL,4834,4670,NULL,0,NULL,'2025-09-25 09:43:27','2025-09-25 09:43:27',NULL),(5609,NULL,4835,4671,NULL,0,NULL,'2025-09-25 09:43:27','2025-09-25 09:43:27',NULL),(5610,NULL,4836,4672,NULL,0,NULL,'2025-09-25 09:43:27','2025-09-25 09:43:27',NULL),(5611,NULL,4837,4673,NULL,0,NULL,'2025-09-25 09:43:27','2025-09-25 09:43:27',NULL),(5612,8791,4838,4674,NULL,0,NULL,'2025-09-25 09:43:27','2025-10-27 08:13:49','2025-10-27 08:13:49'),(5613,8791,4839,4675,NULL,0,NULL,'2025-09-25 09:43:27','2025-10-27 08:14:29','2025-10-27 08:14:29'),(5614,NULL,4840,4676,NULL,0,NULL,'2025-09-25 09:43:27','2025-09-25 09:43:27',NULL),(5615,NULL,4841,4677,NULL,0,NULL,'2025-09-25 09:43:27','2025-09-25 09:43:27',NULL),(5616,NULL,4842,4678,NULL,0,NULL,'2025-09-25 09:43:27','2025-09-25 09:43:27',NULL),(5617,8791,4843,4679,NULL,0,NULL,'2025-09-25 09:43:27','2025-10-27 08:15:13','2025-10-27 08:15:13'),(5618,8791,4844,4680,NULL,0,NULL,'2025-09-25 09:43:27','2025-10-27 08:16:01','2025-10-27 08:16:01'),(5619,NULL,4845,4681,NULL,0,NULL,'2025-09-25 09:43:27','2025-09-25 09:43:27',NULL),(5620,NULL,4846,4682,NULL,0,NULL,'2025-09-25 09:43:27','2025-09-25 09:43:27',NULL),(5621,NULL,4847,4683,NULL,0,NULL,'2025-09-25 09:43:28','2025-09-25 09:43:28',NULL),(5622,NULL,4848,4684,NULL,0,NULL,'2025-09-25 09:43:28','2025-09-25 09:43:28',NULL),(5623,8791,4849,4685,NULL,0,NULL,'2025-09-25 09:43:28','2025-10-27 08:58:46','2025-10-27 08:58:46'),(5624,NULL,4850,4686,NULL,0,NULL,'2025-09-25 09:43:28','2025-09-25 09:43:28',NULL),(5625,NULL,4851,4687,NULL,0,NULL,'2025-09-25 09:43:28','2025-09-25 09:43:28',NULL),(5626,8791,4852,4688,NULL,0,NULL,'2025-09-25 09:43:28','2025-10-27 08:18:13','2025-10-27 08:18:13'),(5627,NULL,4853,4689,NULL,0,NULL,'2025-09-25 09:43:28','2025-09-25 09:43:28',NULL),(5628,NULL,4854,4690,NULL,0,NULL,'2025-09-25 09:43:28','2025-09-25 09:43:28',NULL),(5629,NULL,4855,4691,NULL,0,NULL,'2025-09-25 09:43:28','2025-09-25 09:43:28',NULL),(5630,NULL,4856,4692,NULL,0,NULL,'2025-09-25 09:43:28','2025-09-25 09:43:28',NULL),(5631,NULL,4857,4693,NULL,0,NULL,'2025-09-25 09:43:28','2025-09-25 09:43:28',NULL),(5632,NULL,4858,4694,NULL,0,NULL,'2025-09-25 09:43:28','2025-09-25 09:43:28',NULL),(5633,NULL,4859,4695,NULL,0,NULL,'2025-09-25 09:43:28','2025-09-25 09:43:28',NULL),(5634,8791,4860,4696,NULL,0,NULL,'2025-09-25 09:43:28','2025-10-27 08:58:11','2025-10-27 08:58:11'),(5635,NULL,4861,4697,NULL,0,NULL,'2025-09-25 09:43:28','2025-09-25 09:43:28',NULL),(5636,NULL,4862,4698,NULL,0,NULL,'2025-09-25 09:43:28','2025-09-25 09:43:28',NULL),(5637,NULL,4863,4699,NULL,0,NULL,'2025-09-25 09:43:29','2025-09-25 09:43:29',NULL),(5638,NULL,4864,4700,NULL,0,NULL,'2025-09-25 09:43:29','2025-09-25 09:43:29',NULL),(5639,8791,4865,4668,NULL,0,NULL,'2025-10-07 11:20:52','2025-10-07 11:20:52',NULL),(5640,8791,4866,4701,NULL,0,NULL,'2025-10-07 11:22:50','2025-10-07 11:22:50',NULL),(5641,NULL,4867,4702,NULL,0,NULL,'2025-10-07 11:24:43','2025-10-07 11:24:43',NULL),(5642,NULL,4868,4703,NULL,0,NULL,'2025-10-07 11:24:43','2025-10-07 11:24:43',NULL),(5643,NULL,4869,4704,NULL,0,NULL,'2025-10-07 11:24:43','2025-10-07 11:24:43',NULL),(5644,NULL,4870,4705,NULL,0,NULL,'2025-10-07 11:24:43','2025-10-07 11:24:43',NULL),(5645,NULL,4871,4706,NULL,0,NULL,'2025-10-07 11:24:43','2025-10-07 11:24:43',NULL),(5646,NULL,4872,4707,NULL,0,NULL,'2025-10-07 11:24:43','2025-10-07 11:24:43',NULL),(5647,NULL,4873,4708,NULL,0,NULL,'2025-10-07 11:24:43','2025-10-07 11:24:43',NULL),(5648,NULL,4874,4709,NULL,0,NULL,'2025-10-07 11:24:43','2025-10-07 11:24:43',NULL),(5649,NULL,4875,4710,NULL,0,NULL,'2025-10-07 11:24:43','2025-10-07 11:24:43',NULL),(5650,NULL,4876,4711,NULL,0,NULL,'2025-10-07 11:24:43','2025-10-07 11:24:43',NULL),(5651,8791,4877,4712,NULL,0,NULL,'2025-10-07 11:24:43','2025-10-27 08:16:53','2025-10-27 08:16:53'),(5652,NULL,4878,4713,NULL,0,NULL,'2025-10-07 11:24:43','2025-10-07 11:24:43',NULL),(5653,NULL,4879,4714,NULL,0,NULL,'2025-10-07 11:24:43','2025-10-07 11:24:43',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (5654,NULL,4880,4715,NULL,0,NULL,'2025-10-07 11:24:43','2025-10-07 11:24:43',NULL),(5655,NULL,4881,4716,NULL,0,NULL,'2025-10-07 11:24:44','2025-10-07 11:24:44',NULL),(5656,NULL,4882,4717,NULL,0,NULL,'2025-10-07 11:24:44','2025-10-07 11:24:44',NULL),(5657,8791,4883,4718,NULL,0,NULL,'2025-10-07 11:24:44','2025-10-27 08:59:25','2025-10-27 08:59:25'),(5658,NULL,4884,4719,NULL,0,NULL,'2025-10-07 11:24:44','2025-10-07 11:24:44',NULL),(5659,NULL,4885,4720,NULL,0,NULL,'2025-10-07 11:24:44','2025-10-07 11:24:44',NULL),(5660,NULL,4886,4721,NULL,0,NULL,'2025-10-07 11:24:44','2025-10-07 11:24:44',NULL),(5661,NULL,4887,4722,NULL,0,NULL,'2025-10-07 11:24:44','2025-10-07 11:24:44',NULL),(5662,NULL,4888,4723,NULL,0,NULL,'2025-10-07 11:24:44','2025-10-07 11:24:44',NULL),(5663,NULL,4889,4724,NULL,0,NULL,'2025-10-07 11:24:44','2025-10-07 11:24:44',NULL),(5664,NULL,4890,4725,NULL,0,NULL,'2025-10-07 11:24:44','2025-10-07 11:24:44',NULL),(5665,NULL,4891,4726,NULL,0,NULL,'2025-10-07 11:24:44','2025-10-07 11:24:44',NULL),(5666,8791,4892,4727,NULL,0,NULL,'2025-10-07 11:29:34','2025-10-07 11:29:34',NULL),(5667,8791,4893,4728,NULL,0,NULL,'2025-10-07 11:29:34','2025-10-07 11:29:34',NULL),(5668,8791,4894,4729,NULL,0,NULL,'2025-10-07 11:30:18','2025-10-07 11:30:18',NULL),(5669,8791,4895,4730,NULL,0,NULL,'2025-10-07 17:06:21','2025-10-07 17:06:21',NULL),(5670,8791,4896,4731,NULL,0,NULL,'2025-10-07 17:06:21','2025-10-07 17:06:21',NULL),(5671,8791,4897,4732,NULL,0,NULL,'2025-10-07 17:06:21','2025-10-07 17:06:21',NULL),(5672,8791,4898,4733,NULL,0,NULL,'2025-10-07 17:06:21','2025-10-07 17:06:21',NULL),(5673,8791,4899,4734,NULL,0,NULL,'2025-10-07 17:06:21','2025-10-07 17:06:21',NULL),(5674,8791,4900,4735,NULL,0,NULL,'2025-10-07 17:06:21','2025-10-07 17:06:21',NULL),(5675,8791,4901,4736,NULL,0,NULL,'2025-10-07 17:06:21','2025-10-07 17:06:21',NULL),(5676,8791,4902,4737,NULL,0,NULL,'2025-10-07 17:06:21','2025-10-07 17:06:21',NULL),(5677,8791,4903,4738,NULL,0,NULL,'2025-10-07 17:06:52','2025-10-07 17:06:52',NULL),(5678,8791,4904,4739,NULL,0,NULL,'2025-10-07 17:06:53','2025-10-07 17:06:53',NULL),(5679,8791,4905,4740,NULL,0,NULL,'2025-10-07 17:06:53','2025-10-07 17:06:53',NULL),(5680,8791,4906,4741,NULL,0,NULL,'2025-10-07 17:06:53','2025-10-07 17:06:53',NULL),(5681,8791,4907,4742,NULL,0,NULL,'2025-10-07 17:06:53','2025-10-07 17:06:53',NULL),(5682,8791,4908,4743,NULL,0,NULL,'2025-10-07 17:06:53','2025-10-07 17:06:53',NULL),(5683,8791,4909,4744,NULL,0,NULL,'2025-10-07 17:07:20','2025-10-07 17:07:20',NULL),(5684,8791,4910,4745,NULL,0,NULL,'2025-10-07 17:07:20','2025-10-07 17:07:20',NULL),(5685,8791,4911,4746,NULL,0,NULL,'2025-10-07 17:07:20','2025-10-07 17:07:20',NULL),(5686,8791,4912,4747,NULL,0,NULL,'2025-10-07 17:07:20','2025-10-07 17:07:20',NULL),(5687,8791,4913,4748,NULL,0,NULL,'2025-10-07 17:07:21','2025-10-07 17:07:21',NULL),(5688,8791,4914,4749,NULL,0,NULL,'2025-10-07 17:07:52','2025-10-07 17:07:52',NULL),(5689,8791,4915,4750,NULL,0,NULL,'2025-10-07 17:07:52','2025-10-07 17:07:52',NULL),(5690,8791,4916,4751,NULL,0,NULL,'2025-10-07 17:07:52','2025-10-07 17:07:52',NULL),(5691,8791,4917,4752,NULL,0,NULL,'2025-10-07 17:07:52','2025-10-07 17:07:52',NULL),(5692,8791,4918,4753,NULL,0,NULL,'2025-10-07 17:07:52','2025-10-07 17:07:52',NULL),(5693,8791,4919,4754,NULL,0,NULL,'2025-10-07 17:07:52','2025-10-07 17:07:52',NULL),(5694,8791,4920,4755,NULL,0,NULL,'2025-10-07 17:07:52','2025-10-07 17:07:52',NULL),(5695,8791,4921,4756,NULL,0,NULL,'2025-10-07 17:07:52','2025-10-07 17:07:52',NULL),(5696,8791,4922,4757,NULL,0,NULL,'2025-10-07 17:08:20','2025-10-07 17:08:20',NULL),(5697,8791,4923,4758,NULL,0,NULL,'2025-10-07 17:08:20','2025-10-07 17:08:20',NULL),(5698,8791,4924,4759,NULL,0,NULL,'2025-10-07 17:08:20','2025-10-07 17:08:20',NULL),(5699,8791,4925,4760,NULL,0,NULL,'2025-10-07 17:08:20','2025-10-07 17:08:20',NULL),(5700,8791,4926,4761,NULL,0,NULL,'2025-10-07 17:38:05','2025-10-07 17:38:05',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (5701,8791,4927,4674,NULL,0,NULL,'2025-10-27 08:13:49','2025-10-27 08:13:49',NULL),(5702,8791,4928,4675,NULL,0,NULL,'2025-10-27 08:14:29','2025-10-27 08:14:29',NULL),(5703,8791,4929,4679,NULL,0,NULL,'2025-10-27 08:15:13','2025-10-27 08:15:13',NULL),(5704,8791,4930,4680,NULL,0,NULL,'2025-10-27 08:16:01','2025-10-27 08:16:01',NULL),(5705,8791,4931,4712,NULL,0,NULL,'2025-10-27 08:16:53','2025-10-27 08:16:53',NULL),(5706,8791,4932,4688,NULL,0,NULL,'2025-10-27 08:18:13','2025-10-27 08:18:13',NULL),(5707,8791,4933,4696,NULL,0,NULL,'2025-10-27 08:58:11','2025-10-27 08:58:11',NULL),(5708,8791,4934,4685,NULL,0,NULL,'2025-10-27 08:58:46','2025-10-27 08:58:46',NULL),(5709,8791,4935,4718,NULL,0,NULL,'2025-10-27 08:59:25','2025-10-27 08:59:25',NULL),(5710,8791,4936,4762,NULL,0,NULL,'2025-10-27 09:22:01','2025-10-27 09:22:01',NULL),(5711,8791,4937,4763,NULL,0,NULL,'2025-10-27 09:22:01','2025-10-27 09:22:01',NULL),(5712,NULL,4938,4764,NULL,0,NULL,'2025-10-27 09:24:28','2025-10-27 09:24:28',NULL),(5713,NULL,4939,4765,NULL,0,NULL,'2025-10-27 09:24:28','2025-10-27 09:24:28',NULL),(5714,NULL,4940,4766,NULL,0,NULL,'2025-10-27 09:24:28','2025-10-27 09:24:28',NULL),(5715,NULL,4941,4767,NULL,0,NULL,'2025-10-27 09:24:28','2025-10-27 09:24:28',NULL),(5716,NULL,4942,4768,NULL,0,NULL,'2025-10-27 09:24:28','2025-10-27 09:24:28',NULL),(5717,NULL,4943,4769,NULL,0,NULL,'2025-10-27 09:24:28','2025-10-27 09:24:28',NULL),(5718,NULL,4944,4770,NULL,0,NULL,'2025-10-27 09:24:28','2025-10-27 09:24:28',NULL),(5719,NULL,4945,4771,NULL,0,NULL,'2025-10-27 09:24:28','2025-10-27 09:24:28',NULL),(5720,NULL,4946,4772,NULL,0,NULL,'2025-10-27 09:24:28','2025-10-27 09:24:28',NULL),(5721,NULL,4947,4773,NULL,0,NULL,'2025-10-27 09:24:28','2025-10-27 09:24:28',NULL),(5722,NULL,4948,4774,NULL,0,NULL,'2025-10-27 09:24:28','2025-10-27 09:24:28',NULL),(5723,NULL,4949,4775,NULL,0,NULL,'2025-10-27 09:24:29','2025-10-27 09:24:29',NULL),(5724,NULL,4950,4776,NULL,0,NULL,'2025-10-27 09:24:29','2025-10-27 09:24:29',NULL),(5725,NULL,4951,4777,NULL,0,NULL,'2025-10-27 09:24:29','2025-10-27 09:24:29',NULL),(5726,NULL,4952,4778,NULL,0,NULL,'2025-10-27 09:24:29','2025-10-27 09:24:29',NULL),(5727,NULL,4953,4779,NULL,0,NULL,'2025-10-27 09:24:29','2025-10-27 09:24:29',NULL),(5728,NULL,4954,4780,NULL,0,NULL,'2025-10-27 09:24:29','2025-10-27 09:24:29',NULL),(5729,NULL,4955,4781,NULL,0,NULL,'2025-10-27 09:24:29','2025-10-27 09:24:29',NULL),(5730,NULL,4956,4782,NULL,0,NULL,'2025-10-27 09:24:29','2025-10-27 09:24:29',NULL),(5731,NULL,4957,4783,NULL,0,NULL,'2025-10-27 09:24:29','2025-10-27 09:24:29',NULL),(5732,NULL,4958,4784,NULL,0,NULL,'2025-10-27 09:24:29','2025-10-27 09:24:29',NULL),(5733,NULL,4959,4785,NULL,0,NULL,'2025-10-27 09:24:29','2025-10-27 09:24:29',NULL),(5734,NULL,4960,4786,NULL,0,NULL,'2025-10-27 09:24:29','2025-10-27 09:24:29',NULL),(5735,NULL,4961,4787,NULL,0,NULL,'2025-10-27 09:24:29','2025-10-27 09:24:29',NULL),(5736,NULL,4962,4788,NULL,0,NULL,'2025-10-27 09:24:29','2025-10-27 09:24:29',NULL),(5737,NULL,4963,4789,NULL,0,NULL,'2025-10-27 09:24:29','2025-10-27 09:24:29',NULL),(5738,NULL,4964,4790,NULL,0,NULL,'2025-10-27 09:24:29','2025-10-27 09:24:29',NULL),(5739,NULL,4965,4791,NULL,0,NULL,'2025-10-27 09:24:30','2025-10-27 09:24:30',NULL),(5740,NULL,4966,4792,NULL,0,NULL,'2025-10-27 09:24:30','2025-10-27 09:24:30',NULL),(5741,NULL,4967,4793,NULL,0,NULL,'2025-10-27 09:24:30','2025-10-27 09:24:30',NULL),(5742,NULL,4968,4794,NULL,0,NULL,'2025-10-27 09:24:30','2025-10-27 09:24:30',NULL),(5743,NULL,4969,4795,NULL,0,NULL,'2025-10-27 09:24:30','2025-10-27 09:24:30',NULL),(5744,NULL,4970,4796,NULL,0,NULL,'2025-10-27 09:24:30','2025-10-27 09:24:30',NULL),(5745,NULL,4971,4797,NULL,0,NULL,'2025-10-27 09:24:30','2025-10-27 09:24:30',NULL),(5746,NULL,4972,4798,NULL,0,NULL,'2025-10-27 09:24:30','2025-10-27 09:24:30',NULL),(5747,NULL,4973,4799,NULL,0,NULL,'2025-10-27 09:24:30','2025-10-27 09:24:30',NULL),(5748,NULL,4974,4800,NULL,0,NULL,'2025-10-27 09:24:30','2025-10-27 09:24:30',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (5749,NULL,4975,4801,NULL,0,NULL,'2025-10-27 09:24:30','2025-10-27 09:24:30',NULL),(5750,NULL,4976,4802,NULL,0,NULL,'2025-10-27 09:24:30','2025-10-27 09:24:30',NULL),(5751,NULL,4977,4803,NULL,0,NULL,'2025-10-27 09:24:30','2025-10-27 09:24:30',NULL),(5752,NULL,4978,4804,NULL,0,NULL,'2025-10-27 09:24:31','2025-10-27 09:24:31',NULL),(5753,NULL,4979,4805,NULL,0,NULL,'2025-10-27 09:24:31','2025-10-27 09:24:31',NULL),(5754,NULL,4980,4806,NULL,0,NULL,'2025-10-27 09:24:31','2025-10-27 09:24:31',NULL),(5755,NULL,4981,4807,NULL,0,NULL,'2025-10-27 09:24:31','2025-10-27 09:24:31',NULL),(5756,NULL,4982,4808,NULL,0,NULL,'2025-10-27 09:24:31','2025-10-27 09:24:31',NULL),(5757,NULL,4983,4809,NULL,0,NULL,'2025-10-27 09:24:31','2025-10-27 09:24:31',NULL),(5758,NULL,4984,4810,NULL,0,NULL,'2025-10-27 09:24:31','2025-10-27 09:24:31',NULL),(5759,NULL,4985,4811,NULL,0,NULL,'2025-10-27 09:24:31','2025-10-27 09:24:31',NULL),(5760,NULL,4986,4812,NULL,0,NULL,'2025-10-27 09:24:31','2025-10-27 09:24:31',NULL),(5761,NULL,4987,4813,NULL,0,NULL,'2025-10-27 09:24:31','2025-10-27 09:24:31',NULL),(5762,NULL,4988,4814,NULL,0,NULL,'2025-10-27 09:24:31','2025-10-27 09:24:31',NULL),(5763,8791,4989,4815,NULL,0,NULL,'2025-10-27 16:58:58','2025-10-27 16:58:58',NULL),(5764,8791,4990,4816,NULL,0,NULL,'2025-10-27 16:59:40','2025-10-27 16:59:40',NULL),(5765,8791,4991,4817,NULL,0,NULL,'2025-10-28 08:50:20','2025-10-28 08:50:20',NULL),(5766,8791,4992,4818,NULL,0,NULL,'2025-10-28 08:52:04','2025-10-28 08:52:04',NULL),(5767,8791,4993,4819,NULL,0,NULL,'2025-10-28 08:53:01','2025-10-28 08:53:01',NULL),(5768,8791,4994,4820,NULL,0,NULL,'2025-10-28 08:55:08','2025-10-28 08:55:08',NULL),(5769,8791,4995,4821,NULL,0,NULL,'2025-10-28 08:59:29','2025-10-28 08:59:29',NULL),(5770,8791,4996,4831,NULL,0,NULL,'2025-11-06 14:14:33','2025-11-06 14:14:33',NULL),(5771,8791,4997,4832,NULL,0,NULL,'2025-11-06 14:17:15','2025-11-06 14:17:15',NULL),(5772,8791,4998,4833,NULL,0,NULL,'2025-11-07 11:13:09','2025-11-07 11:13:09',NULL),(5773,NULL,4999,4834,NULL,0,NULL,'2025-11-07 11:20:27','2025-11-07 11:20:27',NULL),(5774,NULL,5000,4835,NULL,0,NULL,'2025-11-07 11:20:27','2025-11-07 11:20:27',NULL),(5775,NULL,5001,4836,NULL,0,NULL,'2025-11-07 11:20:27','2025-11-07 11:20:27',NULL),(5776,NULL,5002,4837,NULL,0,NULL,'2025-11-07 11:20:27','2025-11-07 11:20:27',NULL),(5777,NULL,5003,4838,NULL,0,NULL,'2025-11-07 11:20:27','2025-11-07 11:20:27',NULL),(5778,NULL,5004,4839,NULL,0,NULL,'2025-11-07 11:20:27','2025-11-07 11:20:27',NULL),(5779,NULL,5005,4840,NULL,0,NULL,'2025-11-07 11:20:27','2025-11-07 11:20:27',NULL),(5780,NULL,5006,4841,NULL,0,NULL,'2025-11-07 11:20:28','2025-11-07 11:20:28',NULL),(5781,NULL,5007,4842,NULL,0,NULL,'2025-11-07 11:20:28','2025-11-07 11:20:28',NULL),(5782,NULL,5008,4843,NULL,0,NULL,'2025-11-07 11:20:28','2025-11-07 11:20:28',NULL),(5783,NULL,5009,4844,NULL,0,NULL,'2025-11-07 11:20:28','2025-11-07 11:20:28',NULL),(5784,NULL,5010,4845,NULL,0,NULL,'2025-11-07 11:20:28','2025-11-07 11:20:28',NULL),(5785,NULL,5011,4846,NULL,0,NULL,'2025-11-07 11:20:28','2025-11-07 11:20:28',NULL),(5786,NULL,5012,4847,NULL,0,NULL,'2025-11-07 11:20:28','2025-11-07 11:20:28',NULL),(5787,NULL,5013,4848,NULL,0,NULL,'2025-11-07 11:20:28','2025-11-07 11:20:28',NULL),(5788,NULL,5014,4849,NULL,0,NULL,'2025-11-07 11:20:28','2025-11-07 11:20:28',NULL),(5789,NULL,5015,4850,NULL,0,NULL,'2025-11-07 11:20:28','2025-11-07 11:20:28',NULL),(5790,NULL,5016,4851,NULL,0,NULL,'2025-11-07 11:20:28','2025-11-07 11:20:28',NULL),(5791,NULL,5017,4852,NULL,0,NULL,'2025-11-07 11:20:28','2025-11-07 11:20:28',NULL),(5792,NULL,5018,4853,NULL,0,NULL,'2025-11-07 11:20:28','2025-11-07 11:20:28',NULL),(5793,NULL,5019,4854,NULL,0,NULL,'2025-11-07 11:20:29','2025-11-07 11:20:29',NULL),(5794,NULL,5020,4855,NULL,0,NULL,'2025-11-07 11:20:29','2025-11-07 11:20:29',NULL),(5795,NULL,5021,4856,NULL,0,NULL,'2025-11-07 11:20:29','2025-11-07 11:20:29',NULL),(5796,NULL,5022,4857,NULL,0,NULL,'2025-11-07 11:20:29','2025-11-07 11:20:29',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (5797,8791,5023,4858,NULL,0,NULL,'2025-11-07 11:30:01','2025-11-07 11:30:01',NULL),(5798,8791,5024,4859,NULL,0,NULL,'2025-11-07 11:30:47','2025-11-07 11:30:47',NULL),(5799,8791,5025,4860,NULL,0,NULL,'2025-11-07 11:31:41','2025-11-07 11:31:41',NULL),(5800,8791,5026,4861,NULL,0,NULL,'2025-11-07 12:03:25','2025-11-07 12:03:25',NULL),(5801,8791,5027,4862,NULL,0,NULL,'2025-11-07 12:04:11','2025-11-07 12:04:11',NULL),(5802,8791,5028,4863,NULL,0,NULL,'2025-11-07 12:15:47','2025-11-07 12:15:47',NULL),(5803,8791,5029,4864,NULL,0,NULL,'2025-11-07 12:15:47','2025-11-07 12:15:47',NULL),(5804,8791,5030,4865,NULL,0,NULL,'2025-11-07 12:17:49','2025-11-07 12:17:49',NULL),(5805,8791,5031,4866,NULL,0,NULL,'2025-11-07 12:17:49','2025-11-07 12:17:49',NULL),(5806,8791,5032,4867,NULL,0,NULL,'2025-11-07 12:17:49','2025-11-07 12:17:49',NULL),(5807,8791,5033,4868,NULL,0,NULL,'2025-11-07 12:17:49','2025-11-07 12:17:49',NULL),(5808,8791,5034,4869,NULL,0,NULL,'2025-11-07 12:17:49','2025-11-07 12:17:49',NULL),(5809,8791,5035,4870,NULL,0,NULL,'2025-11-07 12:17:49','2025-11-07 12:17:49',NULL),(5810,8791,5036,4871,NULL,0,NULL,'2025-11-07 12:17:49','2025-11-07 12:17:49',NULL),(5811,8791,5037,4872,NULL,0,NULL,'2025-11-10 18:44:06','2025-11-10 18:44:06',NULL),(5812,8791,5038,4873,NULL,0,NULL,'2025-11-10 18:45:37','2025-11-10 18:45:37',NULL),(5813,8791,5039,4874,NULL,0,NULL,'2025-11-19 10:17:17','2025-11-19 10:17:17',NULL),(5814,8791,5040,4875,NULL,0,NULL,'2025-11-19 10:18:15','2025-11-19 10:18:15',NULL),(5815,8791,5041,4876,NULL,0,NULL,'2025-11-19 10:19:26','2025-11-19 10:19:26',NULL),(5816,8791,5042,4877,NULL,0,NULL,'2025-11-19 10:23:09','2025-11-19 10:23:09',NULL),(5817,8791,5043,4878,NULL,0,NULL,'2025-11-19 10:23:10','2025-11-19 10:23:10',NULL),(5818,8791,5044,4879,NULL,0,NULL,'2025-11-19 10:23:10','2025-11-19 10:23:10',NULL),(5819,8791,5045,4880,NULL,0,NULL,'2025-11-19 10:23:10','2025-11-19 10:23:10',NULL),(5820,8791,5046,4881,NULL,0,NULL,'2025-11-19 10:23:10','2025-11-19 10:23:10',NULL),(5821,8791,5047,4882,NULL,0,NULL,'2025-11-19 10:23:10','2025-11-19 10:23:10',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,8522,40718,NULL,NULL,757,1520,'2023-02-28',155000.00,1,1.00,'Saldo Inicial',NULL,'2023-02-28 14:21:22','2023-02-28 14:21:22',NULL,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,8791,40857,NULL,NULL,759,60609,'2023-06-22',0.00,1,1.00,'Saldo Inicial',NULL,'2023-06-22 21:02:01','2023-06-22 21:02:01',NULL,NULL),(5,NULL,NULL,NULL,8791,40857,NULL,NULL,760,60609,'2023-06-22',0.00,1,1.00,'Saldo Inicial',NULL,'2023-06-22 21:02:26','2023-06-22 21:02:26',NULL,NULL),(6,NULL,NULL,NULL,8791,40857,1614,NULL,13,60609,'2023-06-22',1334619.00,1,254.00,NULL,NULL,'2023-06-22 21:07:43','2023-06-22 21:07:43',NULL,NULL),(7,NULL,NULL,NULL,8791,40857,2027,NULL,13,60604,'2023-01-31',899765.59,1,347.00,NULL,NULL,'2023-09-29 09:51:45','2023-09-29 09:51:45',NULL,NULL),(8,NULL,NULL,NULL,8791,40857,2028,NULL,13,60604,'2023-01-31',1094356.09,1,347.00,NULL,NULL,'2023-09-29 09:55:53','2023-09-29 09:55:53',NULL,NULL),(9,NULL,NULL,NULL,8791,40857,2029,NULL,13,60605,'2023-02-28',36012916.29,1,347.00,NULL,NULL,'2023-09-29 09:57:17','2023-09-29 09:57:17',NULL,NULL),(10,NULL,NULL,NULL,8791,40857,2030,NULL,13,60605,'2023-02-28',1789547.50,1,347.00,NULL,NULL,'2023-09-29 09:59:57','2023-09-29 09:59:57',NULL,NULL),(11,NULL,NULL,NULL,8791,40857,2031,NULL,13,60605,'2023-02-28',4403204.00,1,347.00,NULL,NULL,'2023-09-29 10:01:09','2023-09-29 10:01:09',NULL,NULL),(12,NULL,NULL,NULL,8791,40857,2032,NULL,13,60611,'2023-08-31',683221.50,1,347.00,NULL,NULL,'2023-09-29 10:01:45','2023-09-29 10:01:45',NULL,NULL),(13,NULL,NULL,NULL,8791,40857,2033,NULL,13,60606,'2023-03-31',28822.22,1,347.00,NULL,NULL,'2023-09-29 10:06:52','2023-09-29 10:06:52',NULL,NULL),(14,NULL,NULL,NULL,8791,40857,2034,NULL,13,60608,'2023-05-31',3381300.00,1,347.00,NULL,NULL,'2023-09-29 10:11:58','2023-09-29 10:11:58',NULL,NULL),(15,NULL,NULL,NULL,8791,40857,NULL,NULL,761,60612,'2023-09-29',0.00,1,1.00,'Saldo Inicial',NULL,'2023-09-29 10:17:10','2023-09-29 10:17:10',NULL,NULL),(16,NULL,NULL,NULL,8791,40857,2035,NULL,13,60608,'2023-05-31',76500.00,1,347.00,NULL,NULL,'2023-09-29 10:18:28','2023-09-29 10:18:28',NULL,NULL),(17,NULL,NULL,NULL,8791,40857,2036,NULL,13,60606,'2023-03-31',602306.25,1,347.00,NULL,NULL,'2023-09-29 10:24:36','2023-09-29 10:24:36',NULL,NULL),(18,NULL,NULL,NULL,8791,40857,2037,NULL,13,60606,'2023-03-31',602306.25,1,347.00,NULL,NULL,'2023-09-29 10:25:33','2023-09-29 10:25:33',NULL,NULL),(19,NULL,NULL,NULL,8791,40857,2038,NULL,13,60611,'2023-08-31',11866730.92,1,347.00,NULL,NULL,'2023-09-29 10:26:52','2023-09-29 10:26:52',NULL,NULL),(20,NULL,NULL,NULL,8791,40857,2039,NULL,13,60612,'2023-09-29',10455952.00,1,347.00,NULL,NULL,'2023-09-29 10:27:35','2023-09-29 10:27:35',NULL,NULL),(21,NULL,NULL,NULL,8791,40857,2040,NULL,13,60604,'2023-01-31',3176682.88,1,347.00,NULL,NULL,'2023-09-29 10:31:06','2023-09-29 10:31:06',NULL,NULL),(22,NULL,NULL,NULL,8791,40857,2041,NULL,13,60608,'2023-05-31',14534345.72,1,347.00,NULL,NULL,'2023-09-29 10:32:18','2023-09-29 17:43:22','2023-09-29 17:43:22',NULL),(23,NULL,NULL,NULL,8791,40857,2042,NULL,13,60611,'2023-08-31',1973011.76,1,347.00,NULL,NULL,'2023-09-29 10:36:31','2023-09-29 10:36:31',NULL,NULL),(24,NULL,NULL,NULL,8791,40857,2043,NULL,13,60612,'2023-09-29',13884278.64,1,347.00,NULL,NULL,'2023-09-29 10:37:39','2023-09-29 10:37:39',NULL,NULL),(25,NULL,NULL,NULL,8791,40857,2045,NULL,13,60605,'2023-02-28',2819628.50,1,347.00,NULL,NULL,'2023-09-29 10:49:40','2023-09-29 10:49:40',NULL,NULL),(26,NULL,NULL,NULL,8791,40857,2046,NULL,13,60608,'2023-05-31',4921189.88,1,347.00,NULL,NULL,'2023-09-29 10:50:58','2023-09-29 10:50:58',NULL,NULL),(27,NULL,NULL,NULL,8791,40857,2047,NULL,13,60610,'2023-07-31',2791425.54,1,347.00,NULL,NULL,'2023-09-29 10:52:14','2023-09-29 17:41:12','2023-09-29 17:41:12',NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (28,NULL,NULL,NULL,8791,40857,2048,NULL,13,60610,'2023-07-31',22860555.52,1,347.00,NULL,NULL,'2023-09-29 10:53:38','2023-09-29 10:53:38',NULL,NULL),(29,NULL,NULL,NULL,8791,40857,2049,NULL,13,60610,'2023-07-31',4619236.00,1,347.00,NULL,NULL,'2023-09-29 10:54:51','2023-09-29 10:54:51',NULL,NULL),(30,NULL,NULL,NULL,8791,40857,2050,NULL,13,60612,'2023-09-29',5212064.00,1,347.00,NULL,NULL,'2023-09-29 10:55:55','2023-09-29 10:55:55',NULL,NULL),(31,NULL,NULL,NULL,8791,40857,2051,NULL,13,60611,'2023-08-31',12887857.88,1,347.00,NULL,NULL,'2023-09-29 10:57:02','2023-09-29 10:57:02',NULL,NULL),(32,NULL,NULL,NULL,8791,40857,2052,NULL,13,60611,'2023-08-31',3676620.00,1,347.00,NULL,NULL,'2023-09-29 10:58:18','2023-09-29 10:58:18',NULL,NULL),(33,NULL,NULL,NULL,8791,40857,2053,NULL,13,60611,'2023-08-31',149175.00,1,347.00,NULL,NULL,'2023-09-29 10:59:09','2023-09-29 10:59:09',NULL,NULL),(34,NULL,NULL,NULL,8791,40857,2054,NULL,57,60607,'2023-04-30',34289.00,1,347.00,NULL,NULL,'2023-09-29 11:01:19','2023-09-29 11:01:19',NULL,NULL),(35,NULL,NULL,NULL,8791,40857,2055,NULL,57,60612,'2023-09-29',2225065.66,1,347.00,NULL,NULL,'2023-09-29 11:06:22','2023-09-29 11:06:22',NULL,NULL),(36,NULL,NULL,NULL,8791,40857,2056,NULL,57,60607,'2023-04-30',6000.00,1,347.00,NULL,NULL,'2023-09-29 11:07:24','2023-09-29 11:07:24',NULL,NULL),(37,NULL,NULL,NULL,8791,40857,2057,NULL,57,60612,'2023-09-29',151010.02,1,347.00,NULL,NULL,'2023-09-29 11:08:31','2023-09-29 11:08:31',NULL,NULL),(38,NULL,NULL,NULL,8791,40857,2058,NULL,57,60612,'2023-09-29',168211.89,1,347.00,NULL,NULL,'2023-09-29 11:11:13','2023-09-29 11:11:13',NULL,NULL),(39,NULL,NULL,NULL,8791,40857,2059,NULL,57,60611,'2023-08-31',154800.00,1,347.00,NULL,NULL,'2023-09-29 11:12:23','2023-09-29 11:12:23',NULL,NULL),(40,NULL,NULL,NULL,8791,40857,2060,NULL,57,60612,'2023-09-29',980971.74,1,347.00,NULL,NULL,'2023-09-29 11:13:32','2023-09-29 11:13:32',NULL,NULL),(41,NULL,NULL,NULL,8791,40857,2061,NULL,57,60612,'2023-09-29',24242960.32,1,347.00,NULL,NULL,'2023-09-29 11:18:12','2023-09-29 15:22:45','2023-09-29 15:22:45',NULL),(42,NULL,NULL,NULL,8791,40857,2062,NULL,13,60612,'2023-09-29',50841181.69,1,347.00,NULL,NULL,'2023-09-29 11:24:42','2023-09-29 11:24:42',NULL,NULL),(43,NULL,NULL,NULL,8791,40857,2063,NULL,13,60612,'2023-09-29',55541158.35,1,347.00,NULL,NULL,'2023-09-29 11:26:07','2023-09-29 11:26:07',NULL,NULL),(44,NULL,NULL,NULL,8791,40857,2064,NULL,13,60612,'2023-09-29',17841797.13,1,347.00,NULL,NULL,'2023-09-29 11:27:12','2023-09-29 11:27:12',NULL,NULL),(45,NULL,NULL,NULL,8791,40857,2065,NULL,13,60612,'2023-09-29',26200.62,1,347.00,NULL,NULL,'2023-09-29 11:28:02','2023-09-29 11:28:02',NULL,NULL),(46,NULL,NULL,NULL,8791,40857,2066,NULL,13,60612,'2023-09-29',5888103.00,1,347.00,NULL,NULL,'2023-09-29 11:28:41','2023-09-29 11:28:41',NULL,NULL),(47,NULL,NULL,NULL,8791,40857,2067,NULL,13,60612,'2023-09-29',108827.41,1,347.00,NULL,NULL,'2023-09-29 11:29:25','2023-09-29 11:29:25',NULL,NULL),(48,NULL,NULL,NULL,8791,40857,2068,NULL,13,60612,'2023-09-29',539049.01,1,347.00,NULL,NULL,'2023-09-29 11:30:16','2023-09-29 11:30:16',NULL,NULL),(49,NULL,NULL,NULL,8791,40857,2069,NULL,57,60612,'2023-09-29',638134.17,1,347.00,NULL,NULL,'2023-09-29 11:32:48','2023-09-29 11:32:48',NULL,NULL),(50,NULL,NULL,NULL,8791,40857,2070,NULL,57,60612,'2023-09-29',2593175.67,1,347.00,NULL,NULL,'2023-09-29 11:34:14','2023-09-29 11:34:14',NULL,NULL),(51,NULL,NULL,NULL,8791,40857,2071,NULL,57,60612,'2023-09-29',150673.54,1,347.00,NULL,NULL,'2023-09-29 11:35:54','2023-09-29 11:35:54',NULL,NULL),(52,NULL,NULL,NULL,8791,40857,2072,NULL,57,60612,'2023-09-29',3009150.00,1,347.00,NULL,NULL,'2023-09-29 11:36:30','2023-09-29 11:36:30',NULL,NULL),(53,NULL,NULL,NULL,8791,40857,2073,NULL,57,60612,'2023-09-29',172898.23,1,347.00,NULL,NULL,'2023-09-29 11:37:07','2023-09-29 11:37:07',NULL,NULL),(54,NULL,NULL,NULL,8791,40857,2074,NULL,57,60612,'2023-09-29',217608.30,1,347.00,NULL,NULL,'2023-09-29 11:37:56','2023-09-29 11:37:56',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (55,NULL,NULL,NULL,8791,40857,2075,NULL,57,60612,'2023-09-29',5653047.58,1,347.00,NULL,NULL,'2023-09-29 13:44:05','2023-09-29 13:44:05',NULL,NULL),(56,NULL,NULL,NULL,8791,40857,2076,NULL,57,60612,'2023-09-29',257143.00,1,347.00,NULL,NULL,'2023-09-29 13:52:09','2023-09-29 13:52:09',NULL,NULL),(57,NULL,NULL,NULL,8791,40857,2077,NULL,57,60612,'2023-09-29',80708.00,1,347.00,NULL,NULL,'2023-09-29 13:54:09','2023-09-29 13:54:09',NULL,NULL),(58,NULL,NULL,NULL,8791,40857,2078,NULL,57,60612,'2023-09-29',10382599.89,1,347.00,NULL,NULL,'2023-09-29 14:04:02','2023-09-29 14:04:02',NULL,NULL),(59,NULL,NULL,NULL,8791,40857,2079,NULL,57,60612,'2023-09-29',346073.31,1,347.00,NULL,NULL,'2023-09-29 14:06:05','2023-09-29 14:06:05',NULL,NULL),(60,NULL,NULL,NULL,8791,40857,2080,NULL,57,60612,'2023-09-29',108630.00,1,347.00,NULL,NULL,'2023-09-29 14:07:18','2023-09-29 14:07:18',NULL,NULL),(61,NULL,NULL,NULL,8791,40857,2081,NULL,57,60612,'2023-09-29',464295.15,1,347.00,NULL,NULL,'2023-09-29 14:08:12','2023-09-29 14:08:12',NULL,NULL),(62,NULL,NULL,NULL,8791,40857,2082,NULL,57,60612,'2023-09-29',23901.00,1,347.00,NULL,NULL,'2023-09-29 14:08:55','2023-09-29 14:08:55',NULL,NULL),(63,NULL,NULL,NULL,8791,40857,2083,NULL,57,60612,'2023-09-29',159254.12,1,347.00,NULL,NULL,'2023-09-29 14:09:53','2023-09-29 14:09:53',NULL,NULL),(64,NULL,NULL,NULL,8791,40857,2084,NULL,57,60612,'2023-09-29',1691780.86,1,347.00,NULL,NULL,'2023-09-29 14:10:59','2023-09-29 14:10:59',NULL,NULL),(65,NULL,NULL,NULL,8791,40857,2085,NULL,57,60612,'2023-09-29',17839.96,1,347.00,NULL,NULL,'2023-09-29 14:15:08','2023-09-29 14:15:08',NULL,NULL),(66,NULL,NULL,NULL,8791,40857,2086,NULL,57,60612,'2023-09-29',232903.84,1,347.00,NULL,NULL,'2023-09-29 14:16:18','2023-09-29 14:16:18',NULL,NULL),(67,NULL,NULL,NULL,8791,40857,2087,NULL,57,60612,'2023-09-29',1955.64,1,347.00,NULL,NULL,'2023-09-29 14:17:21','2023-09-29 14:17:21',NULL,NULL),(68,NULL,NULL,NULL,8791,40857,2088,NULL,57,60612,'2023-09-29',3437.00,1,347.00,NULL,NULL,'2023-09-29 14:18:16','2023-09-29 14:18:16',NULL,NULL),(69,NULL,NULL,NULL,8791,40857,2089,NULL,57,60612,'2023-09-29',4123.05,1,347.00,NULL,NULL,'2023-09-29 14:18:51','2023-09-29 14:18:51',NULL,NULL),(70,NULL,NULL,NULL,8791,40857,2090,NULL,57,60612,'2023-09-29',84516.26,1,347.00,NULL,NULL,'2023-09-29 14:19:44','2023-09-29 14:19:44',NULL,NULL),(71,NULL,NULL,NULL,8791,40857,2091,NULL,57,60612,'2023-09-29',3376.58,1,347.00,NULL,NULL,'2023-09-29 14:21:22','2023-09-29 14:21:22',NULL,NULL),(72,NULL,NULL,NULL,8791,40857,2092,NULL,57,60612,'2023-09-29',10893658.90,1,347.00,NULL,NULL,'2023-09-29 14:31:15','2023-09-29 14:31:15',NULL,NULL),(73,NULL,NULL,NULL,8791,40857,2093,NULL,57,60612,'2023-09-29',-16481720.75,1,347.00,NULL,NULL,'2023-09-29 14:36:23','2023-09-29 14:37:53','2023-09-29 14:37:53',NULL),(74,NULL,NULL,NULL,8791,40857,2094,NULL,57,60612,'2023-09-29',2488.09,1,347.00,NULL,NULL,'2023-09-29 14:40:17','2023-09-29 14:40:17',NULL,NULL),(75,NULL,NULL,NULL,8791,40857,2095,NULL,57,60612,'2023-09-29',2468.00,1,347.00,NULL,NULL,'2023-09-29 14:44:05','2023-09-29 14:44:05',NULL,NULL),(76,NULL,NULL,NULL,8791,40857,2096,NULL,57,60612,'2023-09-29',30492.00,1,347.00,NULL,NULL,'2023-09-29 14:44:54','2023-09-29 14:44:54',NULL,NULL),(77,NULL,NULL,NULL,8791,40857,2097,NULL,57,60612,'2023-09-29',1473850.62,1,347.00,NULL,NULL,'2023-09-29 14:46:30','2023-09-29 14:46:30',NULL,NULL),(78,NULL,NULL,NULL,8791,40857,2098,NULL,57,60612,'2023-09-29',19303.89,1,347.00,NULL,NULL,'2023-09-29 14:47:26','2023-09-29 14:47:26',NULL,NULL),(79,NULL,NULL,NULL,8791,40857,2099,NULL,57,60612,'2023-09-29',315.00,1,347.00,NULL,NULL,'2023-09-29 14:47:59','2023-09-29 14:47:59',NULL,NULL),(80,NULL,NULL,NULL,8791,40857,2100,NULL,57,60612,'2023-09-29',240000.00,1,347.00,NULL,NULL,'2023-09-29 14:48:52','2023-09-29 14:48:52',NULL,NULL),(81,NULL,NULL,NULL,8791,40857,2101,NULL,57,60612,'2023-09-29',1002548.12,1,347.00,NULL,NULL,'2023-09-29 14:49:50','2023-09-29 14:49:50',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (82,NULL,NULL,NULL,8791,40857,2102,NULL,57,60612,'2023-09-29',4297807.78,1,347.00,NULL,NULL,'2023-09-29 15:00:12','2023-09-29 15:00:12',NULL,NULL),(83,NULL,NULL,NULL,8791,40857,2103,NULL,57,60612,'2023-09-29',79406.25,1,347.00,NULL,NULL,'2023-09-29 15:01:32','2023-09-29 15:01:32',NULL,NULL),(84,NULL,NULL,NULL,8791,40857,2104,NULL,57,60612,'2023-09-29',1295015.80,1,347.00,NULL,NULL,'2023-09-29 15:03:17','2023-09-29 15:03:17',NULL,NULL),(85,NULL,NULL,NULL,8791,40857,2105,NULL,57,60612,'2023-09-29',7044.86,1,347.00,NULL,NULL,'2023-09-29 15:04:01','2023-09-29 15:04:01',NULL,NULL),(86,NULL,NULL,NULL,8791,40857,2106,NULL,57,60612,'2023-09-29',196102.90,1,347.00,NULL,NULL,'2023-09-29 15:04:50','2023-09-29 15:04:50',NULL,NULL),(87,NULL,NULL,NULL,8791,40857,2107,NULL,57,60612,'2023-09-29',44050.00,1,347.00,NULL,NULL,'2023-09-29 15:05:30','2023-09-29 15:05:30',NULL,NULL),(88,NULL,NULL,NULL,8791,40857,2108,NULL,57,60612,'2023-09-29',99425.45,1,347.00,NULL,NULL,'2023-09-29 15:06:04','2023-09-29 15:06:04',NULL,NULL),(89,NULL,NULL,NULL,8791,40857,2109,NULL,57,60612,'2023-09-29',78280.16,1,347.00,NULL,NULL,'2023-09-29 15:06:49','2023-09-29 15:06:49',NULL,NULL),(90,NULL,NULL,NULL,8791,40857,2110,NULL,57,60612,'2023-09-29',20900.00,1,347.00,NULL,NULL,'2023-09-29 15:07:30','2023-09-29 15:07:30',NULL,NULL),(91,NULL,NULL,NULL,8791,40857,2111,NULL,57,60612,'2023-09-29',160204.00,1,347.00,NULL,NULL,'2023-09-29 15:08:17','2023-09-29 15:08:17',NULL,NULL),(92,NULL,NULL,NULL,8791,40857,2112,NULL,57,60612,'2023-09-29',13655.00,1,347.00,NULL,NULL,'2023-09-29 15:08:56','2023-09-29 15:08:56',NULL,NULL),(93,NULL,NULL,NULL,8791,40857,2113,NULL,57,60612,'2023-09-29',884823.64,1,347.00,NULL,NULL,'2023-09-29 15:10:10','2023-09-29 15:10:10',NULL,NULL),(94,NULL,NULL,NULL,8791,40857,2114,NULL,57,60612,'2023-09-29',46899.00,1,347.00,NULL,NULL,'2023-09-29 15:10:54','2023-09-29 15:10:54',NULL,NULL),(95,NULL,NULL,NULL,8791,40857,2115,NULL,57,60612,'2023-09-29',1030439.00,1,347.00,NULL,NULL,'2023-09-29 15:11:34','2023-09-29 15:11:34',NULL,NULL),(96,NULL,NULL,NULL,8791,40857,2116,NULL,57,60612,'2023-09-29',88882.01,1,347.00,NULL,NULL,'2023-09-29 15:12:20','2023-09-29 15:12:20',NULL,NULL),(97,NULL,NULL,NULL,8791,40857,2117,NULL,57,60612,'2023-09-29',18400.00,1,347.00,NULL,NULL,'2023-09-29 15:14:21','2023-09-29 15:14:21',NULL,NULL),(98,NULL,NULL,NULL,8791,40857,2118,NULL,57,60612,'2023-09-29',30492.00,1,347.00,NULL,NULL,'2023-09-29 15:15:06','2023-09-29 15:15:06',NULL,NULL),(99,NULL,NULL,NULL,8791,40857,2119,NULL,57,60612,'2023-09-29',104000.00,1,347.00,NULL,NULL,'2023-09-29 15:15:40','2023-09-29 15:15:40',NULL,NULL),(100,NULL,NULL,NULL,8791,40857,2120,NULL,57,60612,'2023-09-29',6490.00,1,347.00,NULL,NULL,'2023-09-29 15:16:20','2023-09-29 15:16:20',NULL,NULL),(101,NULL,NULL,NULL,8791,40857,2121,NULL,57,60612,'2023-09-29',99300.00,1,347.00,NULL,NULL,'2023-09-29 15:17:11','2023-09-29 15:17:11',NULL,NULL),(102,NULL,NULL,NULL,8791,40857,2122,NULL,57,60612,'2023-09-29',2600.00,1,347.00,NULL,NULL,'2023-09-29 15:18:07','2023-09-29 15:18:07',NULL,NULL),(103,NULL,NULL,NULL,8791,40857,2123,NULL,57,60612,'2023-09-29',30196.74,1,347.00,NULL,NULL,'2023-09-29 15:18:49','2023-09-29 15:18:49',NULL,NULL),(104,NULL,NULL,NULL,8791,40857,2124,NULL,57,60612,'2023-09-29',24237196.72,1,347.00,NULL,NULL,'2023-09-29 15:30:37','2023-09-29 15:37:06','2023-09-29 15:37:06',NULL),(105,NULL,NULL,NULL,8791,40857,2126,NULL,57,60612,'2023-09-29',23441734.62,1,347.00,NULL,NULL,'2023-09-29 15:41:56','2023-09-29 15:41:56',NULL,NULL),(106,NULL,NULL,NULL,8791,40857,2127,NULL,57,60612,'2023-09-29',39950.00,1,347.00,NULL,NULL,'2023-09-29 15:53:50','2023-09-29 15:53:50',NULL,NULL),(107,NULL,NULL,NULL,8791,40857,2128,NULL,57,60612,'2023-09-29',253283.25,1,347.00,NULL,NULL,'2023-09-29 15:54:55','2023-09-29 15:54:55',NULL,NULL),(108,NULL,NULL,NULL,8791,40857,2129,NULL,57,60612,'2023-09-29',10600.00,1,347.00,NULL,NULL,'2023-09-29 15:55:31','2023-09-29 15:55:31',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (109,NULL,NULL,NULL,8791,40857,2130,NULL,57,60612,'2023-09-29',184800.88,1,347.00,NULL,NULL,'2023-09-29 15:56:11','2023-09-29 15:56:11',NULL,NULL),(110,NULL,NULL,NULL,8791,40857,2131,NULL,57,60612,'2023-09-29',16890.00,1,347.00,NULL,NULL,'2023-09-29 15:58:55','2023-09-29 15:58:55',NULL,NULL),(111,NULL,NULL,NULL,8791,40857,2132,NULL,57,60612,'2023-09-29',22999.00,1,347.00,NULL,NULL,'2023-09-29 15:59:31','2023-09-29 15:59:31',NULL,NULL),(112,NULL,NULL,NULL,8791,40857,2133,NULL,57,60612,'2023-09-29',23500.00,1,347.00,NULL,NULL,'2023-09-29 16:00:07','2023-09-29 16:00:07',NULL,NULL),(113,NULL,NULL,NULL,8791,40857,2134,NULL,57,60612,'2023-09-29',46313.36,1,347.00,NULL,NULL,'2023-09-29 16:00:45','2023-09-29 16:00:45',NULL,NULL),(114,NULL,NULL,NULL,8791,40857,2135,NULL,57,60612,'2023-09-29',15300.00,1,347.00,NULL,NULL,'2023-09-29 16:01:29','2023-09-29 16:01:29',NULL,NULL),(115,NULL,NULL,NULL,8791,40857,2136,NULL,57,60612,'2023-09-29',121837.02,1,347.00,NULL,NULL,'2023-09-29 16:02:10','2023-09-29 16:02:10',NULL,NULL),(116,NULL,NULL,NULL,8791,40857,2137,NULL,57,60612,'2023-09-29',33799.99,1,347.00,NULL,NULL,'2023-09-29 16:02:42','2023-09-29 16:02:42',NULL,NULL),(117,NULL,NULL,NULL,8791,40857,2138,NULL,57,60612,'2023-09-29',10990.00,1,347.00,NULL,NULL,'2023-09-29 16:15:40','2023-09-29 16:16:01','2023-09-29 16:16:01',NULL),(118,NULL,NULL,NULL,8791,40857,2139,NULL,57,60612,'2023-09-29',10990.00,1,347.00,NULL,NULL,'2023-09-29 16:16:47','2023-09-29 16:16:47',NULL,NULL),(119,NULL,NULL,NULL,8791,40857,2140,NULL,57,60612,'2023-09-29',333191.68,1,347.00,NULL,NULL,'2023-09-29 16:17:35','2023-09-29 16:17:35',NULL,NULL),(120,NULL,NULL,NULL,8791,40857,2141,NULL,57,60612,'2023-09-29',1540.50,1,347.00,NULL,NULL,'2023-09-29 16:18:08','2023-09-29 16:18:08',NULL,NULL),(121,NULL,NULL,NULL,8791,40857,2142,NULL,57,60612,'2023-09-29',18150.00,1,347.00,NULL,NULL,'2023-09-29 16:18:48','2023-09-29 16:18:48',NULL,NULL),(122,NULL,NULL,NULL,8791,40857,2143,NULL,57,60612,'2023-09-29',297.00,1,347.00,NULL,NULL,'2023-09-29 16:19:25','2023-09-29 16:19:25',NULL,NULL),(123,NULL,NULL,NULL,8791,40857,2144,NULL,57,60612,'2023-09-29',8755.00,1,347.00,NULL,NULL,'2023-09-29 16:20:05','2023-09-29 16:20:05',NULL,NULL),(124,NULL,NULL,NULL,8791,40857,2145,NULL,57,60612,'2023-09-29',301.00,1,347.00,NULL,NULL,'2023-09-29 16:20:36','2023-09-29 16:20:36',NULL,NULL),(125,NULL,NULL,NULL,8791,40857,2146,NULL,57,60612,'2023-09-29',21228.55,1,347.00,NULL,NULL,'2023-09-29 16:21:16','2023-09-29 16:21:16',NULL,NULL),(126,NULL,NULL,NULL,8791,40857,2147,NULL,57,60612,'2023-09-29',315000.01,1,347.00,NULL,NULL,'2023-09-29 16:21:55','2023-09-29 16:21:55',NULL,NULL),(127,NULL,NULL,NULL,8791,40857,2148,NULL,57,60612,'2023-09-29',9800.00,1,347.00,NULL,NULL,'2023-09-29 16:22:29','2023-09-29 16:22:29',NULL,NULL),(128,NULL,NULL,NULL,8791,40857,2149,NULL,57,60612,'2023-09-29',6900.00,1,347.00,NULL,NULL,'2023-09-29 16:23:18','2023-09-29 16:23:18',NULL,NULL),(129,NULL,NULL,NULL,8791,40857,2150,NULL,57,60612,'2023-09-29',74030.00,1,347.00,NULL,NULL,'2023-09-29 16:24:10','2023-09-29 16:24:10',NULL,NULL),(130,NULL,NULL,NULL,8791,40857,2151,NULL,57,60612,'2023-09-29',10776.98,1,347.00,NULL,NULL,'2023-09-29 16:25:11','2023-09-29 16:25:11',NULL,NULL),(131,NULL,NULL,NULL,8791,40857,2152,NULL,57,60612,'2023-09-29',820005.52,1,347.00,NULL,NULL,'2023-09-29 16:26:02','2023-09-29 16:26:02',NULL,NULL),(132,NULL,NULL,NULL,8791,40857,2153,NULL,57,60612,'2023-09-29',13364.03,1,347.00,NULL,NULL,'2023-09-29 16:27:59','2023-09-29 16:27:59',NULL,NULL),(133,NULL,NULL,NULL,8791,40857,2154,NULL,57,60612,'2023-09-29',28000.00,1,347.00,NULL,NULL,'2023-09-29 16:28:49','2023-09-29 16:28:49',NULL,NULL),(134,NULL,NULL,NULL,8791,40857,2155,NULL,57,60612,'2023-09-29',24990.00,1,347.00,NULL,NULL,'2023-09-29 16:30:03','2023-09-29 16:30:03',NULL,NULL),(135,NULL,NULL,NULL,8791,40857,2156,NULL,57,60612,'2023-09-29',1790.00,1,347.00,NULL,NULL,'2023-09-29 16:30:57','2023-09-29 16:30:57',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (136,NULL,NULL,NULL,8791,40857,2157,NULL,57,60612,'2023-09-29',8379358.45,1,347.00,NULL,NULL,'2023-09-29 16:37:10','2023-09-29 16:37:10',NULL,NULL),(137,NULL,NULL,NULL,8791,40857,2158,NULL,57,60612,'2023-09-29',39540.00,1,347.00,NULL,NULL,'2023-09-29 16:39:40','2023-09-29 16:39:40',NULL,NULL),(138,NULL,NULL,NULL,8791,40857,2159,NULL,57,60612,'2023-09-29',22770.00,1,347.00,NULL,NULL,'2023-09-29 16:40:17','2023-09-29 16:40:17',NULL,NULL),(139,NULL,NULL,NULL,8791,40857,2160,NULL,57,60612,'2023-09-29',1449578.80,1,347.00,NULL,NULL,'2023-09-29 16:40:55','2023-09-29 16:40:55',NULL,NULL),(140,NULL,NULL,NULL,8791,40857,2161,NULL,57,60612,'2023-09-29',17680.00,1,347.00,NULL,NULL,'2023-09-29 16:41:34','2023-09-29 16:41:34',NULL,NULL),(141,NULL,NULL,NULL,8791,40857,2162,NULL,57,60612,'2023-09-29',2829.77,1,347.00,NULL,NULL,'2023-09-29 16:42:20','2023-09-29 16:42:20',NULL,NULL),(142,NULL,NULL,NULL,8791,40857,2163,NULL,57,60612,'2023-09-29',599.00,1,347.00,NULL,NULL,'2023-09-29 16:42:52','2023-09-29 16:42:52',NULL,NULL),(143,NULL,NULL,NULL,8791,40857,2164,NULL,57,60612,'2023-09-29',1483.98,1,347.00,NULL,NULL,'2023-09-29 16:43:39','2023-09-29 16:43:39',NULL,NULL),(144,NULL,NULL,NULL,8791,40857,2165,NULL,57,60612,'2023-09-29',92349.00,1,347.00,NULL,NULL,'2023-09-29 16:44:31','2023-09-29 16:44:31',NULL,NULL),(145,NULL,NULL,NULL,8791,40857,2166,NULL,57,60612,'2023-09-29',31270.00,1,347.00,NULL,NULL,'2023-09-29 16:46:00','2023-09-29 16:46:00',NULL,NULL),(146,NULL,NULL,NULL,8791,40857,2167,NULL,57,60612,'2023-09-29',41400.00,1,347.00,NULL,NULL,'2023-09-29 16:47:24','2023-09-29 16:47:24',NULL,NULL),(147,NULL,NULL,NULL,8791,40857,2168,NULL,57,60612,'2023-09-29',687.86,1,347.00,NULL,NULL,'2023-09-29 16:48:13','2023-09-29 16:48:13',NULL,NULL),(148,NULL,NULL,NULL,8791,40857,2169,NULL,57,60612,'2023-09-29',4462.00,1,347.00,NULL,NULL,'2023-09-29 16:49:57','2023-09-29 16:49:57',NULL,NULL),(149,NULL,NULL,NULL,8791,40857,2170,NULL,57,60612,'2023-09-29',302500.00,1,347.00,NULL,NULL,'2023-09-29 16:51:26','2023-09-29 16:51:26',NULL,NULL),(150,NULL,NULL,NULL,8791,40857,2171,NULL,57,60612,'2023-09-29',1878.58,1,347.00,NULL,NULL,'2023-09-29 16:52:28','2023-09-29 16:52:28',NULL,NULL),(151,NULL,NULL,NULL,8791,40857,2172,NULL,57,60612,'2023-09-29',9100.92,1,347.00,NULL,NULL,'2023-09-29 16:53:28','2023-09-29 16:53:28',NULL,NULL),(152,NULL,NULL,NULL,8791,40857,2173,NULL,57,60612,'2023-09-29',294399.99,1,347.00,NULL,NULL,'2023-09-29 16:54:02','2023-09-29 16:54:02',NULL,NULL),(153,NULL,NULL,NULL,8791,40857,2174,NULL,57,60612,'2023-09-29',743375.60,1,347.00,NULL,NULL,'2023-09-29 16:54:49','2023-09-29 16:54:49',NULL,NULL),(154,NULL,NULL,NULL,8791,40857,2175,NULL,57,60612,'2023-09-29',318111.10,1,347.00,NULL,NULL,'2023-09-29 16:56:52','2023-09-29 16:56:52',NULL,NULL),(155,NULL,NULL,NULL,8791,40857,2176,NULL,57,60612,'2023-09-29',91130.00,1,347.00,NULL,NULL,'2023-09-29 16:58:07','2023-09-29 16:58:07',NULL,NULL),(156,NULL,NULL,NULL,8791,40857,2177,NULL,57,60612,'2023-09-29',5999.99,1,347.00,NULL,NULL,'2023-09-29 16:58:41','2023-09-29 16:58:41',NULL,NULL),(157,NULL,NULL,NULL,8791,40857,2178,NULL,57,60612,'2023-09-29',68107.84,1,347.00,NULL,NULL,'2023-09-29 16:59:15','2023-09-29 16:59:15',NULL,NULL),(158,NULL,NULL,NULL,8791,40857,2179,NULL,57,60612,'2023-09-29',57995.00,1,347.00,NULL,NULL,'2023-09-29 16:59:46','2023-09-29 16:59:46',NULL,NULL),(159,NULL,NULL,NULL,8791,40857,2180,NULL,57,60612,'2023-09-29',12999.00,1,347.00,NULL,NULL,'2023-09-29 17:00:28','2023-09-29 17:00:28',NULL,NULL),(160,NULL,NULL,NULL,8791,40857,2181,NULL,57,60612,'2023-09-29',2068986.10,1,347.00,NULL,NULL,'2023-09-29 17:01:20','2023-09-29 17:01:20',NULL,NULL),(161,NULL,NULL,NULL,8791,40857,2182,NULL,57,60612,'2023-09-29',188530.00,1,347.00,NULL,NULL,'2023-09-29 17:02:37','2023-09-29 17:02:37',NULL,NULL),(162,NULL,NULL,NULL,8791,40857,2183,NULL,57,60612,'2023-09-29',540000.00,1,347.00,NULL,NULL,'2023-09-29 17:03:59','2023-09-29 17:03:59',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (163,NULL,NULL,NULL,8791,40857,2184,NULL,57,60612,'2023-09-29',170000.00,1,347.00,NULL,NULL,'2023-09-29 17:05:03','2023-09-29 17:05:03',NULL,NULL),(164,NULL,NULL,NULL,8791,40857,2185,NULL,57,60612,'2023-09-29',40000.00,1,347.00,NULL,NULL,'2023-09-29 17:06:20','2023-09-29 17:06:20',NULL,NULL),(165,NULL,NULL,NULL,8791,40857,2186,NULL,57,60612,'2023-09-29',100000.00,1,347.00,NULL,NULL,'2023-09-29 17:08:12','2023-09-29 17:08:12',NULL,NULL),(166,NULL,NULL,NULL,8791,40857,2187,NULL,57,60612,'2023-09-29',15000.00,1,347.00,NULL,NULL,'2023-09-29 17:10:01','2023-09-29 17:10:01',NULL,NULL),(167,NULL,NULL,NULL,8791,40857,2188,NULL,57,60612,'2023-09-29',49746.28,1,347.00,NULL,NULL,'2023-09-29 17:11:05','2023-09-29 17:11:05',NULL,NULL),(168,NULL,NULL,NULL,8791,40857,2189,NULL,57,60612,'2023-09-29',2733954.63,1,347.00,NULL,NULL,'2023-09-29 17:11:51','2023-09-29 17:11:51',NULL,NULL),(169,NULL,NULL,NULL,8791,40857,2190,NULL,57,60612,'2023-09-29',9500.00,1,347.00,NULL,NULL,'2023-09-29 17:13:24','2023-09-29 17:13:24',NULL,NULL),(170,NULL,NULL,NULL,8791,40857,2191,NULL,57,60612,'2023-09-29',69100.01,1,347.00,NULL,NULL,'2023-09-29 17:14:30','2023-09-29 17:14:30',NULL,NULL),(171,NULL,NULL,NULL,8791,40857,2192,NULL,57,60612,'2023-09-29',409105.80,1,347.00,NULL,NULL,'2023-09-29 17:15:06','2023-09-29 17:15:06',NULL,NULL),(172,NULL,NULL,NULL,8791,40857,2193,NULL,57,60612,'2023-09-29',16600.58,1,347.00,NULL,NULL,'2023-09-29 17:16:02','2023-09-29 17:16:02',NULL,NULL),(173,NULL,NULL,NULL,8791,40857,2194,NULL,57,60612,'2023-09-29',8700.00,1,347.00,NULL,NULL,'2023-09-29 17:16:51','2023-09-29 17:16:51',NULL,NULL),(174,NULL,NULL,NULL,8791,40857,2195,NULL,57,60612,'2023-09-29',3999.00,1,347.00,NULL,NULL,'2023-09-29 17:18:05','2023-09-29 17:18:05',NULL,NULL),(175,NULL,NULL,NULL,8791,40857,2196,NULL,57,60612,'2023-09-29',1885998.53,1,347.00,NULL,NULL,'2023-09-29 17:18:56','2023-09-29 17:18:56',NULL,NULL),(176,NULL,NULL,NULL,8791,40857,2197,NULL,57,60612,'2023-09-29',64590.00,1,347.00,NULL,NULL,'2023-09-29 17:20:22','2023-09-29 17:20:22',NULL,NULL),(177,NULL,NULL,NULL,8791,40857,2198,NULL,57,60612,'2023-09-29',13732.40,1,347.00,NULL,NULL,'2023-09-29 17:22:14','2023-09-29 17:22:14',NULL,NULL),(178,NULL,NULL,NULL,8791,40857,2199,NULL,57,60612,'2023-09-29',30304.69,1,347.00,NULL,NULL,'2023-09-29 17:23:10','2023-09-29 17:23:10',NULL,NULL),(179,NULL,NULL,NULL,8791,40857,2200,NULL,57,60612,'2023-09-29',210540.00,1,347.00,NULL,NULL,'2023-09-29 17:23:55','2023-09-29 17:23:55',NULL,NULL),(180,NULL,NULL,NULL,8791,40857,2201,NULL,57,60612,'2023-09-29',2615272.00,1,347.00,NULL,NULL,'2023-09-29 17:24:43','2023-09-29 17:24:43',NULL,NULL),(181,NULL,NULL,NULL,8791,40857,2202,NULL,57,60612,'2023-09-29',233263.99,1,347.00,NULL,NULL,'2023-09-29 17:25:59','2023-09-29 17:25:59',NULL,NULL),(182,NULL,NULL,NULL,8791,40857,2203,NULL,57,60612,'2023-09-29',6000.00,1,347.00,NULL,NULL,'2023-09-29 17:26:51','2023-09-29 17:26:51',NULL,NULL),(183,NULL,NULL,NULL,8791,40857,2204,NULL,57,60612,'2023-09-29',503360.00,1,347.00,NULL,NULL,'2023-09-29 17:27:52','2023-09-29 17:27:52',NULL,NULL),(184,NULL,NULL,NULL,8791,40857,2205,NULL,57,60612,'2023-09-29',355321.34,1,347.00,NULL,NULL,'2023-09-29 17:28:26','2023-09-29 17:28:26',NULL,NULL),(185,NULL,NULL,NULL,8791,40857,2206,NULL,57,60612,'2023-09-29',22800.00,1,347.00,NULL,NULL,'2023-09-29 17:29:06','2023-09-29 17:29:06',NULL,NULL),(186,NULL,NULL,NULL,8791,40857,2207,NULL,57,60612,'2023-09-29',6300.00,1,347.00,NULL,NULL,'2023-09-29 17:29:49','2023-09-29 17:29:49',NULL,NULL),(187,NULL,NULL,NULL,8791,40857,2208,NULL,57,60612,'2023-09-29',42809.30,1,347.00,NULL,NULL,'2023-09-29 17:30:34','2023-09-29 17:30:34',NULL,NULL),(188,NULL,NULL,NULL,8791,40857,2209,NULL,57,60612,'2023-09-29',10101.80,1,347.00,NULL,NULL,'2023-09-29 17:31:16','2023-09-29 17:31:16',NULL,NULL),(189,NULL,NULL,NULL,8791,40857,2210,NULL,13,60612,'2023-09-29',10780853.92,1,347.00,NULL,NULL,'2023-09-29 17:45:00','2023-09-29 17:45:00',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (190,NULL,NULL,NULL,8791,40857,2211,NULL,13,60612,'2023-09-29',3591205.80,1,347.00,NULL,NULL,'2023-09-29 17:47:48','2023-09-29 17:47:48',NULL,NULL),(191,NULL,NULL,NULL,8791,40857,2212,NULL,57,60612,'2023-09-29',88621.78,1,347.00,NULL,NULL,'2023-09-29 17:48:52','2023-09-29 17:48:52',NULL,NULL),(192,NULL,NULL,NULL,8791,40857,2213,NULL,57,60612,'2023-09-29',54284.17,1,347.00,NULL,NULL,'2023-09-29 17:50:43','2023-09-29 17:50:43',NULL,NULL),(193,NULL,NULL,NULL,8791,40857,2214,NULL,57,60612,'2023-09-29',3595084.43,1,347.00,NULL,NULL,'2023-09-29 18:41:59','2023-09-29 18:41:59',NULL,NULL),(194,NULL,NULL,NULL,8791,40857,2215,NULL,57,60612,'2023-09-29',-1577468.40,1,347.00,NULL,NULL,'2023-09-29 18:43:42','2023-09-29 18:43:42',NULL,NULL),(195,NULL,NULL,NULL,8791,40857,2216,NULL,57,60612,'2023-09-29',5349715.26,1,347.00,NULL,NULL,'2023-09-29 18:44:45','2023-09-29 18:44:45',NULL,NULL),(196,NULL,NULL,NULL,8791,40857,2217,NULL,57,60612,'2023-09-29',108827.40,1,347.00,NULL,NULL,'2023-09-29 18:45:48','2023-09-29 18:45:48',NULL,NULL),(197,NULL,NULL,NULL,8791,40857,2218,NULL,57,60612,'2023-09-29',112530.19,1,347.00,NULL,NULL,'2023-09-29 18:46:41','2023-09-29 18:49:59','2023-09-29 18:49:59',NULL),(198,NULL,NULL,NULL,8791,40857,2219,NULL,57,60612,'2023-09-29',-24.90,1,347.00,NULL,NULL,'2023-09-29 18:47:42','2023-09-29 18:50:04','2023-09-29 18:50:04',NULL),(199,NULL,NULL,NULL,8791,40857,2220,NULL,57,60612,'2023-09-29',-49.80,1,347.00,NULL,NULL,'2023-09-29 18:49:13','2023-09-29 18:49:52','2023-09-29 18:49:52',NULL),(200,NULL,NULL,NULL,8791,40857,2221,NULL,57,60612,'2023-09-29',112530.19,1,347.00,NULL,NULL,'2023-09-29 18:51:27','2023-09-29 18:51:27',NULL,NULL),(201,NULL,NULL,NULL,8791,40857,2222,NULL,57,60612,'2023-09-29',-25034.34,1,347.00,NULL,NULL,'2023-09-29 18:57:32','2023-09-29 18:58:20','2023-09-29 18:58:20',NULL),(202,NULL,NULL,NULL,8791,40857,2223,NULL,13,60612,'2023-09-29',25034.34,1,347.00,NULL,NULL,'2023-09-29 19:00:37','2023-09-29 19:01:51','2023-09-29 19:01:51',NULL),(203,NULL,NULL,NULL,8791,40857,2288,NULL,57,60612,'2023-09-30',31450.02,1,348.00,NULL,NULL,'2023-10-19 11:28:21','2023-10-19 11:28:21',NULL,NULL),(204,NULL,NULL,NULL,8791,40857,2289,NULL,57,60613,'2023-10-19',29600.00,1,348.00,NULL,NULL,'2023-10-19 11:29:24','2023-10-25 09:00:35','2023-10-25 09:00:35',NULL),(205,NULL,NULL,NULL,8791,40857,2290,NULL,57,60613,'2023-09-30',169389.60,1,348.00,NULL,NULL,'2023-10-19 11:34:17','2023-10-19 11:34:17',NULL,NULL),(206,NULL,NULL,NULL,8791,40857,2291,NULL,57,60612,'2023-09-30',21001.48,1,348.00,NULL,NULL,'2023-10-19 11:35:08','2023-10-19 11:35:08',NULL,NULL),(207,NULL,NULL,NULL,8791,40857,2292,NULL,57,60612,'2023-09-30',115730.45,1,348.00,NULL,NULL,'2023-10-19 11:39:54','2023-10-19 11:39:54',NULL,NULL),(208,NULL,NULL,NULL,8791,40857,2293,NULL,57,60613,'2023-10-19',168410.25,1,348.00,NULL,NULL,'2023-10-19 11:45:05','2023-10-19 11:45:05',NULL,NULL),(209,NULL,NULL,NULL,8791,40857,2294,NULL,57,60613,'2023-10-19',22500.35,1,348.00,NULL,NULL,'2023-10-19 11:48:18','2023-10-19 11:48:18',NULL,NULL),(210,NULL,NULL,NULL,8791,40857,2296,NULL,57,60612,'2023-09-30',10169.53,1,348.00,NULL,NULL,'2023-10-19 11:57:51','2023-10-19 11:57:51',NULL,NULL),(211,NULL,NULL,NULL,8791,40857,2297,NULL,57,60613,'2023-10-19',23886.00,1,348.00,NULL,NULL,'2023-10-19 11:59:04','2023-10-25 08:59:34','2023-10-25 08:59:34',NULL),(212,NULL,NULL,NULL,8791,40857,2298,NULL,57,60612,'2023-09-30',78225.28,1,348.00,NULL,NULL,'2023-10-19 12:00:28','2023-10-19 12:03:09','2023-10-19 12:03:09',NULL),(213,NULL,NULL,NULL,8791,40857,2299,NULL,57,60612,'2023-09-30',-198179.48,1,348.00,NULL,NULL,'2023-10-19 12:01:50','2023-10-19 12:02:50','2023-10-19 12:02:50',NULL),(214,NULL,NULL,NULL,8791,40857,2300,NULL,57,60612,'2023-09-30',177315.02,1,348.00,NULL,NULL,'2023-10-19 12:03:52','2023-10-19 12:03:52',NULL,NULL),(215,NULL,NULL,NULL,8791,40857,2301,NULL,13,60612,'2023-09-30',4691.44,1,348.00,NULL,NULL,'2023-10-19 12:05:28','2023-10-19 12:05:28',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (216,NULL,NULL,NULL,8791,40857,2302,NULL,57,60613,'2023-10-19',8005.00,1,348.00,NULL,NULL,'2023-10-19 12:06:26','2023-10-19 12:12:17','2023-10-19 12:12:17',NULL),(217,NULL,NULL,NULL,8791,40857,2303,NULL,57,60613,'2023-10-19',213000.00,1,348.00,NULL,NULL,'2023-10-19 12:11:24','2023-10-19 12:11:24',NULL,NULL),(218,NULL,NULL,NULL,8791,40857,2304,NULL,57,60613,'2023-10-19',8005.00,1,348.00,NULL,NULL,'2023-10-19 12:12:57','2023-10-19 12:12:57',NULL,NULL),(219,NULL,NULL,NULL,8791,40857,2305,NULL,57,60612,'2023-09-30',21417.00,1,348.00,NULL,NULL,'2023-10-19 12:14:13','2023-10-19 12:14:13',NULL,NULL),(220,NULL,NULL,NULL,8791,40857,2306,NULL,57,60613,'2023-10-19',185457.86,1,348.00,NULL,NULL,'2023-10-19 12:15:29','2023-10-19 12:16:25','2023-10-19 12:16:25',NULL),(221,NULL,NULL,NULL,8791,40857,2307,NULL,57,60613,'2023-10-19',185457.86,1,348.00,NULL,NULL,'2023-10-19 12:16:54','2023-10-19 12:16:54',NULL,NULL),(222,NULL,NULL,NULL,8791,40857,2308,NULL,57,60612,'2023-09-30',8000.00,1,348.00,NULL,NULL,'2023-10-19 12:17:50','2023-10-19 12:17:50',NULL,NULL),(223,NULL,NULL,NULL,8791,40857,2309,NULL,57,60613,'2023-10-19',104843.92,1,348.00,NULL,NULL,'2023-10-19 12:19:24','2023-10-19 12:19:24',NULL,NULL),(224,NULL,NULL,NULL,8791,40857,2310,NULL,57,60613,'2023-10-19',22769291.58,1,348.00,NULL,NULL,'2023-10-19 12:21:31','2023-10-19 12:21:31',NULL,NULL),(225,NULL,NULL,NULL,8791,40857,2311,NULL,57,60612,'2023-09-30',6000.00,1,348.00,NULL,NULL,'2023-10-19 12:22:45','2023-10-19 12:22:45',NULL,NULL),(226,NULL,NULL,NULL,8791,40857,2312,NULL,57,60613,'2023-10-19',45084.00,1,348.00,NULL,NULL,'2023-10-19 12:48:55','2023-10-19 12:51:02','2023-10-19 12:51:02',NULL),(227,NULL,NULL,NULL,8791,40857,2313,NULL,57,60613,'2023-10-19',45084.00,1,348.00,NULL,NULL,'2023-10-19 12:51:28','2023-10-19 12:51:28',NULL,NULL),(228,NULL,NULL,NULL,8791,40857,2314,NULL,13,60612,'2023-09-30',136737.20,1,348.00,NULL,NULL,'2023-10-19 12:52:52','2023-10-19 12:52:52',NULL,NULL),(229,NULL,NULL,NULL,8791,40857,2315,NULL,57,60612,'2023-09-30',33804.74,1,348.00,NULL,NULL,'2023-10-19 12:53:49','2023-10-19 12:53:49',NULL,NULL),(230,NULL,NULL,NULL,8791,40857,2316,NULL,57,60613,'2023-10-19',72000.00,1,348.00,NULL,NULL,'2023-10-19 12:55:11','2023-10-19 12:55:11',NULL,NULL),(231,NULL,NULL,NULL,8791,40857,2317,NULL,57,60613,'2023-09-30',15759079.21,1,348.00,NULL,NULL,'2023-10-19 12:59:50','2023-10-19 12:59:50',NULL,NULL),(232,NULL,NULL,NULL,8791,40857,2318,NULL,13,60612,'2023-09-30',415707.60,1,348.00,NULL,NULL,'2023-10-19 13:02:22','2023-10-19 13:04:51','2023-10-19 13:04:51',NULL),(233,NULL,NULL,NULL,8791,40857,2319,NULL,57,60612,'2023-09-30',-415707.60,1,348.00,NULL,NULL,'2023-10-19 13:05:38','2023-10-19 13:06:40','2023-10-19 13:06:40',NULL),(234,NULL,NULL,NULL,8791,40857,2320,NULL,57,60613,'2023-10-19',1233380.62,1,348.00,NULL,NULL,'2023-10-19 13:07:34','2023-10-19 13:07:34',NULL,NULL),(235,NULL,NULL,NULL,8791,40857,2321,NULL,57,60612,'2023-09-30',213213.00,1,348.00,NULL,NULL,'2023-10-19 13:08:40','2023-10-19 13:08:40',NULL,NULL),(236,NULL,NULL,NULL,8791,40857,2322,NULL,57,60612,'2023-09-30',1338770.26,1,348.00,NULL,NULL,'2023-10-19 13:11:01','2023-10-19 13:11:01',NULL,NULL),(237,NULL,NULL,NULL,8791,40857,2323,NULL,13,60612,'2023-09-30',2729668.34,1,348.00,NULL,NULL,'2023-10-19 13:12:36','2023-10-19 13:12:36',NULL,NULL),(238,NULL,NULL,NULL,8791,40857,2324,NULL,57,60612,'2023-09-30',16600.58,1,348.00,NULL,NULL,'2023-10-19 13:25:15','2023-10-19 13:25:15',NULL,NULL),(239,NULL,NULL,NULL,8791,40857,2325,NULL,57,60612,'2023-09-30',1442000.00,1,348.00,NULL,NULL,'2023-10-19 13:25:58','2023-10-19 13:25:58',NULL,NULL),(240,NULL,NULL,NULL,8791,40857,2326,NULL,57,60612,'2023-09-30',47700.74,1,348.00,NULL,NULL,'2023-10-19 13:26:56','2023-10-19 13:26:56',NULL,NULL),(241,NULL,NULL,NULL,8791,40857,2327,NULL,57,60612,'2023-09-30',41003.67,1,348.00,NULL,NULL,'2023-10-19 13:27:26','2023-10-19 13:27:26',NULL,NULL);
INSERT INTO `cta_cte_tesoreria` VALUES (242,NULL,NULL,NULL,8791,40857,2328,NULL,57,60612,'2023-09-30',400000.00,1,348.00,NULL,NULL,'2023-10-19 13:28:18','2023-10-19 13:28:18',NULL,NULL),(243,NULL,NULL,NULL,8791,40857,2329,NULL,57,60612,'2023-09-30',8979727.38,1,348.00,NULL,NULL,'2023-10-19 13:29:04','2023-10-19 13:29:04',NULL,NULL),(244,NULL,NULL,NULL,8791,40857,2330,NULL,57,60612,'2023-09-30',54817.67,1,348.00,NULL,NULL,'2023-10-19 13:29:41','2023-10-19 13:29:41',NULL,NULL),(245,NULL,NULL,NULL,8791,40857,2331,NULL,57,60612,'2023-09-30',7500.50,1,348.00,NULL,NULL,'2023-10-19 13:30:11','2023-10-19 13:30:11',NULL,NULL),(246,NULL,NULL,NULL,8791,40857,2332,NULL,57,60612,'2023-09-30',20100.01,1,348.00,NULL,NULL,'2023-10-19 13:30:42','2023-10-19 13:30:42',NULL,NULL),(247,NULL,NULL,NULL,8791,40857,2333,NULL,57,60612,'2023-09-30',71100.00,1,348.00,NULL,NULL,'2023-10-19 13:31:15','2023-10-19 13:31:15',NULL,NULL),(248,NULL,NULL,NULL,8791,40857,2334,NULL,57,60612,'2023-09-30',482885.00,1,348.00,NULL,NULL,'2023-10-19 13:31:53','2023-10-19 13:31:53',NULL,NULL),(249,NULL,NULL,NULL,8791,40857,2335,NULL,57,60613,'2023-10-19',1277493.80,1,348.00,NULL,NULL,'2023-10-19 13:33:34','2023-10-19 13:33:34',NULL,NULL),(250,NULL,NULL,NULL,8791,40857,2336,NULL,13,60613,'2023-10-19',415707.60,1,348.00,NULL,NULL,'2023-10-19 13:36:37','2023-10-19 13:36:37',NULL,NULL),(251,NULL,NULL,NULL,8791,40857,2347,NULL,57,60613,'2023-10-23',3779.50,1,348.00,NULL,NULL,'2023-10-23 12:52:00','2023-10-25 08:59:42','2023-10-25 08:59:42',NULL),(252,NULL,NULL,NULL,8791,40857,2348,NULL,57,60613,'2023-10-23',99828.63,1,348.00,NULL,NULL,'2023-10-23 12:52:39','2023-10-23 12:52:39',NULL,NULL),(253,NULL,NULL,NULL,8791,40857,2349,NULL,57,60613,'2023-10-23',10003.11,1,348.00,NULL,NULL,'2023-10-23 12:53:14','2023-10-23 12:53:14',NULL,NULL),(254,NULL,NULL,NULL,8791,40857,2350,NULL,57,60613,'2023-10-23',13563.10,1,348.00,NULL,NULL,'2023-10-23 12:53:51','2023-10-23 12:53:51',NULL,NULL),(255,NULL,NULL,NULL,8791,40857,2351,NULL,13,60613,'2023-10-23',11290960.83,1,348.00,NULL,NULL,'2023-10-23 12:55:25','2023-10-23 12:55:25',NULL,NULL),(256,NULL,NULL,NULL,8791,40857,2352,NULL,13,60613,'2023-10-23',6077721.00,1,348.00,NULL,NULL,'2023-10-23 12:55:55','2023-10-23 12:55:55',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=2 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,8791,40857,761,1,3,NULL,86,1,'2023-09-29 10:17:10','2023-10-19 12:59:50',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=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `cta_cte_tesoreria_bancos` VALUES (1,8791,40857,761,2,1,19,166,166,166,'28324201007703','0110420630042010077033',NULL,NULL,NULL,1,'2023-09-29 10:17:10','2023-09-29 10:17:10',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:03:11',NULL),(5,NULL,'PERCEPCIONES EFECTUADAS',1,NULL,'2024-05-26 21:03:11',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=762 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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:51','2023-04-10 15:38:51'),(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-04-10 15:38:51','2023-04-10 15:38:51'),(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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',NULL),(473,0,NULL,NULL,0,1,24,NULL,4,NULL,'Impuesto a las Ganancias (Saldo a favor)',NULL,0,0,0,0,0,1,0,'2020-02-06 17:23:07','2023-06-02 08:01:03',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:52',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',NULL),(581,0,NULL,NULL,0,1,220,NULL,5,NULL,'Perc IVA -RG3337',NULL,0,0,0,0,0,1,0,'2020-02-06 17:23:07','2023-06-02 08:01:03',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',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-04-10 15:38:53',NULL),(757,0,NULL,NULL,0,1,359,40718,1,NULL,'Caja',NULL,0,0,1,1,1,0,1,'2023-02-28 14:21:22','2023-04-10 15:38:53',NULL),(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-04-10 15:38:53',NULL),(759,0,NULL,8791,0,1,176,40857,3,NULL,'ECHEQ ',NULL,1,0,1,1,1,0,1,'2023-06-22 21:02:01','2023-06-22 21:02:01',NULL),(760,0,NULL,8791,0,1,359,40857,1,NULL,'CAJA',NULL,0,0,1,1,1,0,1,'2023-06-22 21:02:26','2023-06-22 21:02:26',NULL),(761,0,NULL,8791,0,1,166,40857,2,NULL,'BANCO NACION ',NULL,0,0,1,1,1,0,1,'2023-09-29 10:17:10','2023-09-29 10:17:10',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=508 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `cta_cte_tesoreria_detail` VALUES (1,8522,1,757,40718,1520,1,155000.00,0,'2023-02-28','2023-02-28 14:21:22','2023-02-28 14:21:22',NULL),(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,8791,4,759,40857,60609,1,0.00,0,'2023-06-22','2023-06-22 21:02:01','2023-06-22 21:02:01',NULL),(5,8791,5,760,40857,60609,1,0.00,0,'2023-06-22','2023-06-22 21:02:26','2023-06-22 21:02:26',NULL),(6,8791,6,13,40857,60609,2,1334619.00,0,'2023-06-22','2023-06-22 21:07:43','2023-06-22 21:07:43',NULL),(7,8791,6,759,40857,60609,1,1334619.00,0,'2023-06-22','2023-06-22 21:07:43','2023-06-22 21:07:43',NULL),(8,8791,7,13,40857,60604,2,899765.59,0,'2023-01-31','2023-09-29 09:51:45','2023-09-29 09:51:45',NULL),(9,8791,7,760,40857,60604,1,899765.59,0,'2023-01-31','2023-09-29 09:51:45','2023-09-29 09:51:45',NULL),(10,8791,8,13,40857,60604,2,1094356.09,0,'2023-01-31','2023-09-29 09:55:53','2023-09-29 09:55:53',NULL),(11,8791,8,760,40857,60604,1,1094356.09,0,'2023-01-31','2023-09-29 09:55:53','2023-09-29 09:55:53',NULL),(12,8791,9,13,40857,60605,2,36012916.29,0,'2023-02-28','2023-09-29 09:57:17','2023-09-29 09:57:17',NULL),(13,8791,9,760,40857,60605,1,36012916.29,0,'2023-02-28','2023-09-29 09:57:17','2023-09-29 09:57:17',NULL),(14,8791,10,13,40857,60605,2,1789547.50,0,'2023-02-28','2023-09-29 09:59:57','2023-09-29 09:59:57',NULL),(15,8791,10,760,40857,60605,1,1789547.50,0,'2023-02-28','2023-09-29 09:59:57','2023-09-29 09:59:57',NULL),(16,8791,11,13,40857,60605,2,4403204.00,0,'2023-02-28','2023-09-29 10:01:09','2023-09-29 10:01:09',NULL),(17,8791,11,760,40857,60605,1,4403204.00,0,'2023-02-28','2023-09-29 10:01:09','2023-09-29 10:01:09',NULL),(18,8791,12,13,40857,60611,2,683221.50,0,'2023-08-31','2023-09-29 10:01:45','2023-09-29 10:01:45',NULL),(19,8791,12,760,40857,60611,1,683221.50,0,'2023-08-31','2023-09-29 10:01:45','2023-09-29 10:01:45',NULL),(20,8791,13,13,40857,60606,2,28822.22,0,'2023-03-31','2023-09-29 10:06:52','2023-09-29 10:06:52',NULL),(21,8791,13,760,40857,60606,1,28822.22,0,'2023-03-31','2023-09-29 10:06:52','2023-09-29 10:06:52',NULL),(22,8791,14,13,40857,60608,2,3381300.00,0,'2023-05-31','2023-09-29 10:11:58','2023-09-29 10:11:58',NULL),(23,8791,14,760,40857,60608,1,3381300.00,0,'2023-05-31','2023-09-29 10:11:58','2023-09-29 10:11:58',NULL),(24,8791,15,761,40857,60612,1,0.00,0,'2023-09-29','2023-09-29 10:17:10','2023-09-29 10:17:10',NULL),(25,8791,16,13,40857,60608,2,76500.00,0,'2023-05-31','2023-09-29 10:18:28','2023-09-29 10:18:28',NULL),(26,8791,16,761,40857,60608,1,76500.00,0,'2023-05-31','2023-09-29 10:18:28','2023-09-29 10:18:28',NULL),(27,8791,17,13,40857,60606,2,602306.25,0,'2023-03-31','2023-09-29 10:24:36','2023-09-29 10:24:36',NULL),(28,8791,17,760,40857,60606,1,602306.25,0,'2023-03-31','2023-09-29 10:24:36','2023-09-29 10:24:36',NULL),(29,8791,18,13,40857,60606,2,602306.25,0,'2023-03-31','2023-09-29 10:25:33','2023-09-29 10:25:33',NULL),(30,8791,18,760,40857,60606,1,602306.25,0,'2023-03-31','2023-09-29 10:25:33','2023-09-29 10:25:33',NULL),(31,8791,19,13,40857,60611,2,11866730.92,0,'2023-08-31','2023-09-29 10:26:52','2023-09-29 10:26:52',NULL),(32,8791,19,761,40857,60611,1,11866730.92,0,'2023-08-31','2023-09-29 10:26:52','2023-09-29 10:26:52',NULL),(33,8791,20,13,40857,60612,2,10455952.00,0,'2023-09-29','2023-09-29 10:27:35','2023-09-29 10:27:35',NULL),(34,8791,20,761,40857,60612,1,10455952.00,0,'2023-09-29','2023-09-29 10:27:35','2023-09-29 10:27:35',NULL),(35,8791,21,13,40857,60604,2,3176682.88,0,'2023-01-31','2023-09-29 10:31:06','2023-09-29 10:31:06',NULL),(36,8791,21,761,40857,60604,1,3176682.88,0,'2023-01-31','2023-09-29 10:31:06','2023-09-29 10:31:06',NULL),(37,8791,22,13,40857,60608,2,14534345.72,0,'2023-05-31','2023-09-29 10:32:18','2023-09-29 17:43:21','2023-09-29 17:43:21'),(38,8791,22,761,40857,60608,1,14534345.72,0,'2023-05-31','2023-09-29 10:32:18','2023-09-29 17:43:22','2023-09-29 17:43:22');
INSERT INTO `cta_cte_tesoreria_detail` VALUES (39,8791,23,13,40857,60611,2,1973011.76,0,'2023-08-31','2023-09-29 10:36:31','2023-09-29 10:36:31',NULL),(40,8791,23,761,40857,60611,1,1973011.76,0,'2023-08-31','2023-09-29 10:36:31','2023-09-29 10:36:31',NULL),(41,8791,24,13,40857,60612,2,13884278.64,0,'2023-09-29','2023-09-29 10:37:39','2023-09-29 10:37:39',NULL),(42,8791,24,761,40857,60612,1,13884278.64,0,'2023-09-29','2023-09-29 10:37:39','2023-09-29 10:37:39',NULL),(43,8791,25,13,40857,60605,2,2819628.50,0,'2023-02-28','2023-09-29 10:49:40','2023-09-29 10:49:40',NULL),(44,8791,25,761,40857,60605,1,2819628.50,0,'2023-02-28','2023-09-29 10:49:40','2023-09-29 10:49:40',NULL),(45,8791,26,13,40857,60608,2,4921189.88,0,'2023-05-31','2023-09-29 10:50:58','2023-09-29 10:50:58',NULL),(46,8791,26,761,40857,60608,1,4921189.88,0,'2023-05-31','2023-09-29 10:50:58','2023-09-29 10:50:58',NULL),(47,8791,27,13,40857,60610,2,2791425.54,0,'2023-07-31','2023-09-29 10:52:14','2023-09-29 17:41:12','2023-09-29 17:41:12'),(48,8791,27,761,40857,60610,1,2791425.54,0,'2023-07-31','2023-09-29 10:52:14','2023-09-29 17:41:12','2023-09-29 17:41:12'),(49,8791,28,13,40857,60610,2,22860555.52,0,'2023-07-31','2023-09-29 10:53:38','2023-09-29 10:53:38',NULL),(50,8791,28,761,40857,60610,1,22860555.52,0,'2023-07-31','2023-09-29 10:53:38','2023-09-29 10:53:38',NULL),(51,8791,29,13,40857,60610,2,4619236.00,0,'2023-07-31','2023-09-29 10:54:51','2023-09-29 10:54:51',NULL),(52,8791,29,761,40857,60610,1,4619236.00,0,'2023-07-31','2023-09-29 10:54:51','2023-09-29 10:54:51',NULL),(53,8791,30,13,40857,60612,2,5212064.00,0,'2023-09-29','2023-09-29 10:55:55','2023-09-29 10:55:55',NULL),(54,8791,30,761,40857,60612,1,5212064.00,0,'2023-09-29','2023-09-29 10:55:55','2023-09-29 10:55:55',NULL),(55,8791,31,13,40857,60611,2,12887857.88,0,'2023-08-31','2023-09-29 10:57:02','2023-09-29 10:57:02',NULL),(56,8791,31,761,40857,60611,1,12887857.88,0,'2023-08-31','2023-09-29 10:57:02','2023-09-29 10:57:02',NULL),(57,8791,32,13,40857,60611,2,3676620.00,0,'2023-08-31','2023-09-29 10:58:18','2023-09-29 10:58:18',NULL),(58,8791,32,761,40857,60611,1,3676620.00,0,'2023-08-31','2023-09-29 10:58:18','2023-09-29 10:58:18',NULL),(59,8791,33,13,40857,60611,2,149175.00,0,'2023-08-31','2023-09-29 10:59:09','2023-09-29 10:59:09',NULL),(60,8791,33,760,40857,60611,1,149175.00,0,'2023-08-31','2023-09-29 10:59:09','2023-09-29 10:59:09',NULL),(61,8791,34,57,40857,60607,1,34289.00,0,'2023-04-30','2023-09-29 11:01:19','2023-09-29 11:01:19',NULL),(62,8791,34,761,40857,60607,2,34289.00,0,'2023-04-30','2023-09-29 11:01:19','2023-09-29 11:01:19',NULL),(63,8791,35,57,40857,60612,1,2225065.66,0,'2023-09-29','2023-09-29 11:06:22','2023-09-29 11:06:22',NULL),(64,8791,35,761,40857,60612,2,2225065.66,0,'2023-09-29','2023-09-29 11:06:22','2023-09-29 11:06:22',NULL),(65,8791,36,57,40857,60607,1,6000.00,0,'2023-04-30','2023-09-29 11:07:24','2023-09-29 11:07:24',NULL),(66,8791,36,760,40857,60607,2,6000.00,0,'2023-04-30','2023-09-29 11:07:24','2023-09-29 11:07:24',NULL),(67,8791,37,57,40857,60612,1,151010.02,0,'2023-09-29','2023-09-29 11:08:31','2023-09-29 11:08:31',NULL),(68,8791,37,761,40857,60612,2,151010.02,0,'2023-09-29','2023-09-29 11:08:32','2023-09-29 11:08:32',NULL),(69,8791,38,57,40857,60612,1,168211.89,0,'2023-09-29','2023-09-29 11:11:13','2023-09-29 11:11:13',NULL),(70,8791,38,761,40857,60612,2,168211.89,0,'2023-09-29','2023-09-29 11:11:13','2023-09-29 11:11:13',NULL),(71,8791,39,57,40857,60611,1,154800.00,0,'2023-08-31','2023-09-29 11:12:23','2023-09-29 11:12:23',NULL),(72,8791,39,761,40857,60611,2,154800.00,0,'2023-08-31','2023-09-29 11:12:23','2023-09-29 11:12:23',NULL),(73,8791,40,57,40857,60612,1,980971.74,0,'2023-09-29','2023-09-29 11:13:32','2023-09-29 11:13:32',NULL),(74,8791,40,761,40857,60612,2,980971.74,0,'2023-09-29','2023-09-29 11:13:32','2023-09-29 11:13:32',NULL),(75,8791,41,57,40857,60612,1,24242960.32,0,'2023-09-29','2023-09-29 11:18:12','2023-09-29 15:22:45','2023-09-29 15:22:45');
INSERT INTO `cta_cte_tesoreria_detail` VALUES (76,8791,41,761,40857,60612,2,24242960.32,0,'2023-09-29','2023-09-29 11:18:12','2023-09-29 15:22:45','2023-09-29 15:22:45'),(77,8791,42,13,40857,60612,2,50841181.69,0,'2023-09-29','2023-09-29 11:24:42','2023-09-29 11:24:42',NULL),(78,8791,42,761,40857,60612,1,50481181.69,0,'2023-09-29','2023-09-29 11:24:42','2023-09-29 11:24:42',NULL),(79,8791,42,761,40857,60612,1,360000.00,0,'2023-09-29','2023-09-29 11:24:42','2023-09-29 11:24:42',NULL),(80,8791,43,13,40857,60612,2,55541158.35,0,'2023-09-29','2023-09-29 11:26:07','2023-09-29 11:26:07',NULL),(81,8791,43,761,40857,60612,1,55541158.35,0,'2023-09-29','2023-09-29 11:26:07','2023-09-29 11:26:07',NULL),(82,8791,44,13,40857,60612,2,17841797.13,0,'2023-09-29','2023-09-29 11:27:12','2023-09-29 11:27:12',NULL),(83,8791,44,761,40857,60612,1,17841797.13,0,'2023-09-29','2023-09-29 11:27:12','2023-09-29 11:27:12',NULL),(84,8791,45,13,40857,60612,2,26200.62,0,'2023-09-29','2023-09-29 11:28:02','2023-09-29 11:28:02',NULL),(85,8791,45,761,40857,60612,1,26200.62,0,'2023-09-29','2023-09-29 11:28:02','2023-09-29 11:28:02',NULL),(86,8791,46,13,40857,60612,2,5888103.00,0,'2023-09-29','2023-09-29 11:28:41','2023-09-29 11:28:41',NULL),(87,8791,46,761,40857,60612,1,5888103.00,0,'2023-09-29','2023-09-29 11:28:41','2023-09-29 11:28:41',NULL),(88,8791,47,13,40857,60612,2,108827.41,0,'2023-09-29','2023-09-29 11:29:25','2023-09-29 11:29:25',NULL),(89,8791,47,761,40857,60612,1,108827.41,0,'2023-09-29','2023-09-29 11:29:25','2023-09-29 11:29:25',NULL),(90,8791,48,13,40857,60612,2,539049.01,0,'2023-09-29','2023-09-29 11:30:16','2023-09-29 11:30:16',NULL),(91,8791,48,761,40857,60612,1,539049.01,0,'2023-09-29','2023-09-29 11:30:16','2023-09-29 11:30:16',NULL),(92,8791,49,57,40857,60612,1,638134.17,0,'2023-09-29','2023-09-29 11:32:48','2023-09-29 11:32:48',NULL),(93,8791,49,761,40857,60612,2,638134.17,0,'2023-09-29','2023-09-29 11:32:48','2023-09-29 11:32:48',NULL),(94,8791,50,57,40857,60612,1,2593175.67,0,'2023-09-29','2023-09-29 11:34:14','2023-09-29 11:34:14',NULL),(95,8791,50,761,40857,60612,2,2593175.67,0,'2023-09-29','2023-09-29 11:34:14','2023-09-29 11:34:14',NULL),(96,8791,51,57,40857,60612,1,150673.54,0,'2023-09-29','2023-09-29 11:35:54','2023-09-29 11:35:54',NULL),(97,8791,51,760,40857,60612,2,150673.54,0,'2023-09-29','2023-09-29 11:35:54','2023-09-29 11:35:54',NULL),(98,8791,52,57,40857,60612,1,3009150.00,0,'2023-09-29','2023-09-29 11:36:30','2023-09-29 11:36:30',NULL),(99,8791,52,761,40857,60612,2,3009150.00,0,'2023-09-29','2023-09-29 11:36:30','2023-09-29 11:36:30',NULL),(100,8791,53,57,40857,60612,1,172898.23,0,'2023-09-29','2023-09-29 11:37:07','2023-09-29 11:37:07',NULL),(101,8791,53,761,40857,60612,2,172898.23,0,'2023-09-29','2023-09-29 11:37:08','2023-09-29 11:37:08',NULL),(102,8791,54,57,40857,60612,1,217608.30,0,'2023-09-29','2023-09-29 11:37:56','2023-09-29 11:37:56',NULL),(103,8791,54,761,40857,60612,2,217608.30,0,'2023-09-29','2023-09-29 11:37:56','2023-09-29 11:37:56',NULL),(104,8791,55,57,40857,60612,1,5653047.58,0,'2023-09-29','2023-09-29 13:44:05','2023-09-29 13:44:05',NULL),(105,8791,55,761,40857,60612,2,5653047.58,0,'2023-09-29','2023-09-29 13:44:05','2023-09-29 13:44:05',NULL),(106,8791,56,57,40857,60612,1,257143.00,0,'2023-09-29','2023-09-29 13:52:09','2023-09-29 13:52:09',NULL),(107,8791,56,760,40857,60612,2,257143.00,0,'2023-09-29','2023-09-29 13:52:09','2023-09-29 13:52:09',NULL),(108,8791,57,57,40857,60612,1,80708.00,0,'2023-09-29','2023-09-29 13:54:09','2023-09-29 13:54:09',NULL),(109,8791,57,760,40857,60612,2,80708.00,0,'2023-09-29','2023-09-29 13:54:09','2023-09-29 13:54:09',NULL),(110,8791,58,57,40857,60612,1,10382599.89,0,'2023-09-29','2023-09-29 14:04:02','2023-09-29 14:04:02',NULL),(111,8791,58,761,40857,60612,2,10382599.89,0,'2023-09-29','2023-09-29 14:04:02','2023-09-29 14:04:02',NULL),(112,8791,59,57,40857,60612,1,346073.31,0,'2023-09-29','2023-09-29 14:06:05','2023-09-29 14:06:05',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (113,8791,59,760,40857,60612,2,346073.31,0,'2023-09-29','2023-09-29 14:06:05','2023-09-29 14:06:05',NULL),(114,8791,60,57,40857,60612,1,108630.00,0,'2023-09-29','2023-09-29 14:07:18','2023-09-29 14:07:18',NULL),(115,8791,60,760,40857,60612,2,108630.00,0,'2023-09-29','2023-09-29 14:07:18','2023-09-29 14:07:18',NULL),(116,8791,61,57,40857,60612,1,464295.15,0,'2023-09-29','2023-09-29 14:08:12','2023-09-29 14:08:12',NULL),(117,8791,61,761,40857,60612,2,464295.15,0,'2023-09-29','2023-09-29 14:08:12','2023-09-29 14:08:12',NULL),(118,8791,62,57,40857,60612,1,23901.00,0,'2023-09-29','2023-09-29 14:08:55','2023-09-29 14:08:55',NULL),(119,8791,62,760,40857,60612,2,23901.00,0,'2023-09-29','2023-09-29 14:08:55','2023-09-29 14:08:55',NULL),(120,8791,63,57,40857,60612,1,159254.12,0,'2023-09-29','2023-09-29 14:09:53','2023-09-29 14:09:53',NULL),(121,8791,63,761,40857,60612,2,159254.12,0,'2023-09-29','2023-09-29 14:09:53','2023-09-29 14:09:53',NULL),(122,8791,64,57,40857,60612,1,1691780.86,0,'2023-09-29','2023-09-29 14:10:59','2023-09-29 14:10:59',NULL),(123,8791,64,761,40857,60612,2,1691780.86,0,'2023-09-29','2023-09-29 14:10:59','2023-09-29 14:10:59',NULL),(124,8791,65,57,40857,60612,1,17839.96,0,'2023-09-29','2023-09-29 14:15:08','2023-09-29 14:15:08',NULL),(125,8791,65,760,40857,60612,2,17839.96,0,'2023-09-29','2023-09-29 14:15:08','2023-09-29 14:15:08',NULL),(126,8791,66,57,40857,60612,1,232903.84,0,'2023-09-29','2023-09-29 14:16:18','2023-09-29 14:16:18',NULL),(127,8791,66,761,40857,60612,2,232903.84,0,'2023-09-29','2023-09-29 14:16:18','2023-09-29 14:16:18',NULL),(128,8791,67,57,40857,60612,1,1955.64,0,'2023-09-29','2023-09-29 14:17:21','2023-09-29 14:17:21',NULL),(129,8791,67,760,40857,60612,2,1955.64,0,'2023-09-29','2023-09-29 14:17:21','2023-09-29 14:17:21',NULL),(130,8791,68,57,40857,60612,1,3437.00,0,'2023-09-29','2023-09-29 14:18:16','2023-09-29 14:18:16',NULL),(131,8791,68,760,40857,60612,2,3437.00,0,'2023-09-29','2023-09-29 14:18:16','2023-09-29 14:18:16',NULL),(132,8791,69,57,40857,60612,1,4123.05,0,'2023-09-29','2023-09-29 14:18:51','2023-09-29 14:18:51',NULL),(133,8791,69,760,40857,60612,2,4123.05,0,'2023-09-29','2023-09-29 14:18:51','2023-09-29 14:18:51',NULL),(134,8791,70,57,40857,60612,1,84516.26,0,'2023-09-29','2023-09-29 14:19:44','2023-09-29 14:19:44',NULL),(135,8791,70,761,40857,60612,2,84516.26,0,'2023-09-29','2023-09-29 14:19:44','2023-09-29 14:19:44',NULL),(136,8791,71,57,40857,60612,1,3376.58,0,'2023-09-29','2023-09-29 14:21:22','2023-09-29 14:21:22',NULL),(137,8791,71,760,40857,60612,2,3376.58,0,'2023-09-29','2023-09-29 14:21:22','2023-09-29 14:21:22',NULL),(138,8791,72,57,40857,60612,1,10893658.90,0,'2023-09-29','2023-09-29 14:31:15','2023-09-29 14:31:15',NULL),(139,8791,72,761,40857,60612,2,10893658.90,0,'2023-09-29','2023-09-29 14:31:15','2023-09-29 14:31:15',NULL),(140,8791,73,57,40857,60612,1,-16481720.75,0,'2023-09-29','2023-09-29 14:36:23','2023-09-29 14:37:53','2023-09-29 14:37:53'),(141,8791,73,761,40857,60612,2,-16481720.75,0,'2023-09-29','2023-09-29 14:36:23','2023-09-29 14:37:53','2023-09-29 14:37:53'),(142,8791,74,57,40857,60612,1,2488.09,0,'2023-09-29','2023-09-29 14:40:17','2023-09-29 14:40:17',NULL),(143,8791,74,761,40857,60612,2,2488.09,0,'2023-09-29','2023-09-29 14:40:17','2023-09-29 14:40:17',NULL),(144,8791,75,57,40857,60612,1,2468.00,0,'2023-09-29','2023-09-29 14:44:05','2023-09-29 14:44:05',NULL),(145,8791,75,760,40857,60612,2,2468.00,0,'2023-09-29','2023-09-29 14:44:05','2023-09-29 14:44:05',NULL),(146,8791,76,57,40857,60612,1,30492.00,0,'2023-09-29','2023-09-29 14:44:54','2023-09-29 14:44:54',NULL),(147,8791,76,760,40857,60612,2,30492.00,0,'2023-09-29','2023-09-29 14:44:54','2023-09-29 14:44:54',NULL),(148,8791,77,57,40857,60612,1,1473850.62,0,'2023-09-29','2023-09-29 14:46:30','2023-09-29 14:46:30',NULL),(149,8791,77,761,40857,60612,2,1473850.62,0,'2023-09-29','2023-09-29 14:46:30','2023-09-29 14:46:30',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (150,8791,78,57,40857,60612,1,19303.89,0,'2023-09-29','2023-09-29 14:47:26','2023-09-29 14:47:26',NULL),(151,8791,78,760,40857,60612,2,19303.89,0,'2023-09-29','2023-09-29 14:47:26','2023-09-29 14:47:26',NULL),(152,8791,79,57,40857,60612,1,315.00,0,'2023-09-29','2023-09-29 14:47:59','2023-09-29 14:47:59',NULL),(153,8791,79,760,40857,60612,2,315.00,0,'2023-09-29','2023-09-29 14:47:59','2023-09-29 14:47:59',NULL),(154,8791,80,57,40857,60612,1,240000.00,0,'2023-09-29','2023-09-29 14:48:52','2023-09-29 14:48:52',NULL),(155,8791,80,761,40857,60612,2,240000.00,0,'2023-09-29','2023-09-29 14:48:52','2023-09-29 14:48:52',NULL),(156,8791,81,57,40857,60612,1,1002548.12,0,'2023-09-29','2023-09-29 14:49:50','2023-09-29 14:49:50',NULL),(157,8791,81,761,40857,60612,2,1002548.12,0,'2023-09-29','2023-09-29 14:49:50','2023-09-29 14:49:50',NULL),(158,8791,82,57,40857,60612,1,4297807.78,0,'2023-09-29','2023-09-29 15:00:12','2023-09-29 15:00:12',NULL),(159,8791,82,761,40857,60612,2,4297807.78,0,'2023-09-29','2023-09-29 15:00:12','2023-09-29 15:00:12',NULL),(160,8791,83,57,40857,60612,1,79406.25,0,'2023-09-29','2023-09-29 15:01:32','2023-09-29 15:01:32',NULL),(161,8791,83,761,40857,60612,2,79406.25,0,'2023-09-29','2023-09-29 15:01:32','2023-09-29 15:01:32',NULL),(162,8791,84,57,40857,60612,1,1295015.80,0,'2023-09-29','2023-09-29 15:03:17','2023-09-29 15:03:17',NULL),(163,8791,84,761,40857,60612,2,1295015.80,0,'2023-09-29','2023-09-29 15:03:17','2023-09-29 15:03:17',NULL),(164,8791,85,57,40857,60612,1,7044.86,0,'2023-09-29','2023-09-29 15:04:01','2023-09-29 15:04:01',NULL),(165,8791,85,760,40857,60612,2,7044.86,0,'2023-09-29','2023-09-29 15:04:01','2023-09-29 15:04:01',NULL),(166,8791,86,57,40857,60612,1,196102.90,0,'2023-09-29','2023-09-29 15:04:50','2023-09-29 15:04:50',NULL),(167,8791,86,761,40857,60612,2,196102.90,0,'2023-09-29','2023-09-29 15:04:50','2023-09-29 15:04:50',NULL),(168,8791,87,57,40857,60612,1,44050.00,0,'2023-09-29','2023-09-29 15:05:30','2023-09-29 15:05:30',NULL),(169,8791,87,760,40857,60612,2,44050.00,0,'2023-09-29','2023-09-29 15:05:30','2023-09-29 15:05:30',NULL),(170,8791,88,57,40857,60612,1,99425.45,0,'2023-09-29','2023-09-29 15:06:05','2023-09-29 15:06:05',NULL),(171,8791,88,761,40857,60612,2,99425.45,0,'2023-09-29','2023-09-29 15:06:05','2023-09-29 15:06:05',NULL),(172,8791,89,57,40857,60612,1,78280.16,0,'2023-09-29','2023-09-29 15:06:49','2023-09-29 15:06:49',NULL),(173,8791,89,761,40857,60612,2,78280.16,0,'2023-09-29','2023-09-29 15:06:49','2023-09-29 15:06:49',NULL),(174,8791,90,57,40857,60612,1,20900.00,0,'2023-09-29','2023-09-29 15:07:30','2023-09-29 15:07:30',NULL),(175,8791,90,761,40857,60612,2,20900.00,0,'2023-09-29','2023-09-29 15:07:30','2023-09-29 15:07:30',NULL),(176,8791,91,57,40857,60612,1,160204.00,0,'2023-09-29','2023-09-29 15:08:17','2023-09-29 15:08:17',NULL),(177,8791,91,761,40857,60612,2,160204.00,0,'2023-09-29','2023-09-29 15:08:17','2023-09-29 15:08:17',NULL),(178,8791,92,57,40857,60612,1,13655.00,0,'2023-09-29','2023-09-29 15:08:56','2023-09-29 15:08:56',NULL),(179,8791,92,760,40857,60612,2,13655.00,0,'2023-09-29','2023-09-29 15:08:56','2023-09-29 15:08:56',NULL),(180,8791,93,57,40857,60612,1,884823.64,0,'2023-09-29','2023-09-29 15:10:10','2023-09-29 15:10:10',NULL),(181,8791,93,761,40857,60612,2,884823.64,0,'2023-09-29','2023-09-29 15:10:10','2023-09-29 15:10:10',NULL),(182,8791,94,57,40857,60612,1,46899.00,0,'2023-09-29','2023-09-29 15:10:54','2023-09-29 15:10:54',NULL),(183,8791,94,761,40857,60612,2,46899.00,0,'2023-09-29','2023-09-29 15:10:54','2023-09-29 15:10:54',NULL),(184,8791,95,57,40857,60612,1,1030439.00,0,'2023-09-29','2023-09-29 15:11:34','2023-09-29 15:11:34',NULL),(185,8791,95,761,40857,60612,2,1030439.00,0,'2023-09-29','2023-09-29 15:11:34','2023-09-29 15:11:34',NULL),(186,8791,96,57,40857,60612,1,88882.01,0,'2023-09-29','2023-09-29 15:12:20','2023-09-29 15:12:20',NULL),(187,8791,96,761,40857,60612,2,88882.01,0,'2023-09-29','2023-09-29 15:12:20','2023-09-29 15:12:20',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (188,8791,97,57,40857,60612,1,18400.00,0,'2023-09-29','2023-09-29 15:14:22','2023-09-29 15:14:22',NULL),(189,8791,97,761,40857,60612,2,18400.00,0,'2023-09-29','2023-09-29 15:14:22','2023-09-29 15:14:22',NULL),(190,8791,98,57,40857,60612,1,30492.00,0,'2023-09-29','2023-09-29 15:15:06','2023-09-29 15:15:06',NULL),(191,8791,98,761,40857,60612,2,30492.00,0,'2023-09-29','2023-09-29 15:15:06','2023-09-29 15:15:06',NULL),(192,8791,99,57,40857,60612,1,104000.00,0,'2023-09-29','2023-09-29 15:15:40','2023-09-29 15:15:40',NULL),(193,8791,99,761,40857,60612,2,104000.00,0,'2023-09-29','2023-09-29 15:15:40','2023-09-29 15:15:40',NULL),(194,8791,100,57,40857,60612,1,6490.00,0,'2023-09-29','2023-09-29 15:16:20','2023-09-29 15:16:20',NULL),(195,8791,100,760,40857,60612,2,6490.00,0,'2023-09-29','2023-09-29 15:16:20','2023-09-29 15:16:20',NULL),(196,8791,101,57,40857,60612,1,99300.00,0,'2023-09-29','2023-09-29 15:17:11','2023-09-29 15:17:11',NULL),(197,8791,101,761,40857,60612,2,99300.00,0,'2023-09-29','2023-09-29 15:17:11','2023-09-29 15:17:11',NULL),(198,8791,102,57,40857,60612,1,2600.00,0,'2023-09-29','2023-09-29 15:18:07','2023-09-29 15:18:07',NULL),(199,8791,102,760,40857,60612,2,2600.00,0,'2023-09-29','2023-09-29 15:18:07','2023-09-29 15:18:07',NULL),(200,8791,103,57,40857,60612,1,30196.74,0,'2023-09-29','2023-09-29 15:18:49','2023-09-29 15:18:49',NULL),(201,8791,103,761,40857,60612,2,30196.74,0,'2023-09-29','2023-09-29 15:18:49','2023-09-29 15:18:49',NULL),(202,8791,104,57,40857,60612,1,24237196.72,0,'2023-09-29','2023-09-29 15:30:37','2023-09-29 15:37:06','2023-09-29 15:37:06'),(203,8791,104,761,40857,60612,2,24237196.72,0,'2023-09-29','2023-09-29 15:30:37','2023-09-29 15:37:06','2023-09-29 15:37:06'),(204,8791,105,57,40857,60612,1,23441734.62,0,'2023-09-29','2023-09-29 15:41:56','2023-09-29 15:41:56',NULL),(205,8791,105,761,40857,60612,2,23441734.62,0,'2023-09-29','2023-09-29 15:41:56','2023-09-29 15:41:56',NULL),(206,8791,106,57,40857,60612,1,39950.00,0,'2023-09-29','2023-09-29 15:53:50','2023-09-29 15:53:50',NULL),(207,8791,106,761,40857,60612,2,39950.00,0,'2023-09-29','2023-09-29 15:53:50','2023-09-29 15:53:50',NULL),(208,8791,107,57,40857,60612,1,253283.25,0,'2023-09-29','2023-09-29 15:54:55','2023-09-29 15:54:55',NULL),(209,8791,107,761,40857,60612,2,253283.25,0,'2023-09-29','2023-09-29 15:54:55','2023-09-29 15:54:55',NULL),(210,8791,108,57,40857,60612,1,10600.00,0,'2023-09-29','2023-09-29 15:55:31','2023-09-29 15:55:31',NULL),(211,8791,108,760,40857,60612,2,10600.00,0,'2023-09-29','2023-09-29 15:55:31','2023-09-29 15:55:31',NULL),(212,8791,109,57,40857,60612,1,184800.88,0,'2023-09-29','2023-09-29 15:56:11','2023-09-29 15:56:11',NULL),(213,8791,109,761,40857,60612,2,184800.88,0,'2023-09-29','2023-09-29 15:56:11','2023-09-29 15:56:11',NULL),(214,8791,110,57,40857,60612,1,16890.00,0,'2023-09-29','2023-09-29 15:58:55','2023-09-29 15:58:55',NULL),(215,8791,110,760,40857,60612,2,16890.00,0,'2023-09-29','2023-09-29 15:58:55','2023-09-29 15:58:55',NULL),(216,8791,111,57,40857,60612,1,22999.00,0,'2023-09-29','2023-09-29 15:59:31','2023-09-29 15:59:31',NULL),(217,8791,111,760,40857,60612,2,22999.00,0,'2023-09-29','2023-09-29 15:59:31','2023-09-29 15:59:31',NULL),(218,8791,112,57,40857,60612,1,23500.00,0,'2023-09-29','2023-09-29 16:00:07','2023-09-29 16:00:07',NULL),(219,8791,112,761,40857,60612,2,23500.00,0,'2023-09-29','2023-09-29 16:00:07','2023-09-29 16:00:07',NULL),(220,8791,113,57,40857,60612,1,46313.36,0,'2023-09-29','2023-09-29 16:00:45','2023-09-29 16:00:45',NULL),(221,8791,113,761,40857,60612,2,46313.36,0,'2023-09-29','2023-09-29 16:00:45','2023-09-29 16:00:45',NULL),(222,8791,114,57,40857,60612,1,15300.00,0,'2023-09-29','2023-09-29 16:01:29','2023-09-29 16:01:29',NULL),(223,8791,114,761,40857,60612,2,15300.00,0,'2023-09-29','2023-09-29 16:01:29','2023-09-29 16:01:29',NULL),(224,8791,115,57,40857,60612,1,121837.02,0,'2023-09-29','2023-09-29 16:02:10','2023-09-29 16:02:10',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (225,8791,115,761,40857,60612,2,121837.02,0,'2023-09-29','2023-09-29 16:02:10','2023-09-29 16:02:10',NULL),(226,8791,116,57,40857,60612,1,33799.99,0,'2023-09-29','2023-09-29 16:02:42','2023-09-29 16:02:42',NULL),(227,8791,116,761,40857,60612,2,33799.99,0,'2023-09-29','2023-09-29 16:02:42','2023-09-29 16:02:42',NULL),(228,8791,117,57,40857,60612,1,10990.00,0,'2023-09-29','2023-09-29 16:15:40','2023-09-29 16:16:01','2023-09-29 16:16:01'),(229,8791,117,761,40857,60612,2,10990.00,0,'2023-09-29','2023-09-29 16:15:40','2023-09-29 16:16:01','2023-09-29 16:16:01'),(230,8791,118,57,40857,60612,1,10990.00,0,'2023-09-29','2023-09-29 16:16:47','2023-09-29 16:16:47',NULL),(231,8791,118,761,40857,60612,2,10990.00,0,'2023-09-29','2023-09-29 16:16:47','2023-09-29 16:16:47',NULL),(232,8791,119,57,40857,60612,1,333191.68,0,'2023-09-29','2023-09-29 16:17:35','2023-09-29 16:17:35',NULL),(233,8791,119,761,40857,60612,2,333191.68,0,'2023-09-29','2023-09-29 16:17:35','2023-09-29 16:17:35',NULL),(234,8791,120,57,40857,60612,1,1540.50,0,'2023-09-29','2023-09-29 16:18:08','2023-09-29 16:18:08',NULL),(235,8791,120,760,40857,60612,2,1540.50,0,'2023-09-29','2023-09-29 16:18:08','2023-09-29 16:18:08',NULL),(236,8791,121,57,40857,60612,1,18150.00,0,'2023-09-29','2023-09-29 16:18:48','2023-09-29 16:18:48',NULL),(237,8791,121,761,40857,60612,2,18150.00,0,'2023-09-29','2023-09-29 16:18:48','2023-09-29 16:18:48',NULL),(238,8791,122,57,40857,60612,1,297.00,0,'2023-09-29','2023-09-29 16:19:25','2023-09-29 16:19:25',NULL),(239,8791,122,760,40857,60612,2,297.00,0,'2023-09-29','2023-09-29 16:19:25','2023-09-29 16:19:25',NULL),(240,8791,123,57,40857,60612,1,8755.00,0,'2023-09-29','2023-09-29 16:20:05','2023-09-29 16:20:05',NULL),(241,8791,123,761,40857,60612,2,8755.00,0,'2023-09-29','2023-09-29 16:20:05','2023-09-29 16:20:05',NULL),(242,8791,124,57,40857,60612,1,301.00,0,'2023-09-29','2023-09-29 16:20:36','2023-09-29 16:20:36',NULL),(243,8791,124,760,40857,60612,2,301.00,0,'2023-09-29','2023-09-29 16:20:36','2023-09-29 16:20:36',NULL),(244,8791,125,57,40857,60612,1,21228.55,0,'2023-09-29','2023-09-29 16:21:16','2023-09-29 16:21:16',NULL),(245,8791,125,761,40857,60612,2,21228.55,0,'2023-09-29','2023-09-29 16:21:16','2023-09-29 16:21:16',NULL),(246,8791,126,57,40857,60612,1,315000.01,0,'2023-09-29','2023-09-29 16:21:55','2023-09-29 16:21:55',NULL),(247,8791,126,761,40857,60612,2,315000.01,0,'2023-09-29','2023-09-29 16:21:56','2023-09-29 16:21:56',NULL),(248,8791,127,57,40857,60612,1,9800.00,0,'2023-09-29','2023-09-29 16:22:29','2023-09-29 16:22:29',NULL),(249,8791,127,761,40857,60612,2,9800.00,0,'2023-09-29','2023-09-29 16:22:29','2023-09-29 16:22:29',NULL),(250,8791,128,57,40857,60612,1,6900.00,0,'2023-09-29','2023-09-29 16:23:18','2023-09-29 16:23:18',NULL),(251,8791,128,761,40857,60612,2,6900.00,0,'2023-09-29','2023-09-29 16:23:18','2023-09-29 16:23:18',NULL),(252,8791,129,57,40857,60612,1,74030.00,0,'2023-09-29','2023-09-29 16:24:10','2023-09-29 16:24:10',NULL),(253,8791,129,761,40857,60612,2,74030.00,0,'2023-09-29','2023-09-29 16:24:10','2023-09-29 16:24:10',NULL),(254,8791,130,57,40857,60612,1,10776.98,0,'2023-09-29','2023-09-29 16:25:11','2023-09-29 16:25:11',NULL),(255,8791,130,761,40857,60612,2,10776.98,0,'2023-09-29','2023-09-29 16:25:11','2023-09-29 16:25:11',NULL),(256,8791,131,57,40857,60612,1,820005.52,0,'2023-09-29','2023-09-29 16:26:02','2023-09-29 16:26:02',NULL),(257,8791,131,761,40857,60612,2,820005.52,0,'2023-09-29','2023-09-29 16:26:02','2023-09-29 16:26:02',NULL),(258,8791,132,57,40857,60612,1,13364.03,0,'2023-09-29','2023-09-29 16:27:59','2023-09-29 16:27:59',NULL),(259,8791,132,761,40857,60612,2,13364.03,0,'2023-09-29','2023-09-29 16:27:59','2023-09-29 16:27:59',NULL),(260,8791,133,57,40857,60612,1,28000.00,0,'2023-09-29','2023-09-29 16:28:49','2023-09-29 16:28:49',NULL),(261,8791,133,761,40857,60612,2,28000.00,0,'2023-09-29','2023-09-29 16:28:49','2023-09-29 16:28:49',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (262,8791,134,57,40857,60612,1,24990.00,0,'2023-09-29','2023-09-29 16:30:03','2023-09-29 16:30:03',NULL),(263,8791,134,761,40857,60612,2,24990.00,0,'2023-09-29','2023-09-29 16:30:03','2023-09-29 16:30:03',NULL),(264,8791,135,57,40857,60612,1,1790.00,0,'2023-09-29','2023-09-29 16:30:57','2023-09-29 16:30:57',NULL),(265,8791,135,760,40857,60612,2,1790.00,0,'2023-09-29','2023-09-29 16:30:57','2023-09-29 16:30:57',NULL),(266,8791,136,57,40857,60612,1,8379358.45,0,'2023-09-29','2023-09-29 16:37:10','2023-09-29 16:37:10',NULL),(267,8791,136,761,40857,60612,2,8379358.45,0,'2023-09-29','2023-09-29 16:37:10','2023-09-29 16:37:10',NULL),(268,8791,137,57,40857,60612,1,39540.00,0,'2023-09-29','2023-09-29 16:39:40','2023-09-29 16:39:40',NULL),(269,8791,137,761,40857,60612,2,39540.00,0,'2023-09-29','2023-09-29 16:39:40','2023-09-29 16:39:40',NULL),(270,8791,138,57,40857,60612,1,22770.00,0,'2023-09-29','2023-09-29 16:40:17','2023-09-29 16:40:17',NULL),(271,8791,138,761,40857,60612,2,22770.00,0,'2023-09-29','2023-09-29 16:40:17','2023-09-29 16:40:17',NULL),(272,8791,139,57,40857,60612,1,1449578.80,0,'2023-09-29','2023-09-29 16:40:55','2023-09-29 16:40:55',NULL),(273,8791,139,761,40857,60612,2,1449578.80,0,'2023-09-29','2023-09-29 16:40:55','2023-09-29 16:40:55',NULL),(274,8791,140,57,40857,60612,1,17680.00,0,'2023-09-29','2023-09-29 16:41:34','2023-09-29 16:41:34',NULL),(275,8791,140,761,40857,60612,2,17680.00,0,'2023-09-29','2023-09-29 16:41:34','2023-09-29 16:41:34',NULL),(276,8791,141,57,40857,60612,1,2829.77,0,'2023-09-29','2023-09-29 16:42:20','2023-09-29 16:42:20',NULL),(277,8791,141,761,40857,60612,2,2829.77,0,'2023-09-29','2023-09-29 16:42:20','2023-09-29 16:42:20',NULL),(278,8791,142,57,40857,60612,1,599.00,0,'2023-09-29','2023-09-29 16:42:52','2023-09-29 16:42:52',NULL),(279,8791,142,760,40857,60612,2,599.00,0,'2023-09-29','2023-09-29 16:42:52','2023-09-29 16:42:52',NULL),(280,8791,143,57,40857,60612,1,1483.98,0,'2023-09-29','2023-09-29 16:43:39','2023-09-29 16:43:39',NULL),(281,8791,143,760,40857,60612,2,1483.98,0,'2023-09-29','2023-09-29 16:43:39','2023-09-29 16:43:39',NULL),(282,8791,144,57,40857,60612,1,92349.00,0,'2023-09-29','2023-09-29 16:44:31','2023-09-29 16:44:31',NULL),(283,8791,144,761,40857,60612,2,92349.00,0,'2023-09-29','2023-09-29 16:44:31','2023-09-29 16:44:31',NULL),(284,8791,145,57,40857,60612,1,31270.00,0,'2023-09-29','2023-09-29 16:46:00','2023-09-29 16:46:00',NULL),(285,8791,145,761,40857,60612,2,31270.00,0,'2023-09-29','2023-09-29 16:46:00','2023-09-29 16:46:00',NULL),(286,8791,146,57,40857,60612,1,41400.00,0,'2023-09-29','2023-09-29 16:47:24','2023-09-29 16:47:24',NULL),(287,8791,146,761,40857,60612,2,41400.00,0,'2023-09-29','2023-09-29 16:47:24','2023-09-29 16:47:24',NULL),(288,8791,147,57,40857,60612,1,687.86,0,'2023-09-29','2023-09-29 16:48:13','2023-09-29 16:48:13',NULL),(289,8791,147,760,40857,60612,2,687.86,0,'2023-09-29','2023-09-29 16:48:13','2023-09-29 16:48:13',NULL),(290,8791,148,57,40857,60612,1,4462.00,0,'2023-09-29','2023-09-29 16:49:57','2023-09-29 16:49:57',NULL),(291,8791,148,761,40857,60612,2,4462.00,0,'2023-09-29','2023-09-29 16:49:57','2023-09-29 16:49:57',NULL),(292,8791,149,57,40857,60612,1,302500.00,0,'2023-09-29','2023-09-29 16:51:26','2023-09-29 16:51:26',NULL),(293,8791,149,761,40857,60612,2,302500.00,0,'2023-09-29','2023-09-29 16:51:26','2023-09-29 16:51:26',NULL),(294,8791,150,57,40857,60612,1,1878.58,0,'2023-09-29','2023-09-29 16:52:29','2023-09-29 16:52:29',NULL),(295,8791,150,760,40857,60612,2,1878.58,0,'2023-09-29','2023-09-29 16:52:29','2023-09-29 16:52:29',NULL),(296,8791,151,57,40857,60612,1,9100.92,0,'2023-09-29','2023-09-29 16:53:28','2023-09-29 16:53:28',NULL),(297,8791,151,761,40857,60612,2,9100.92,0,'2023-09-29','2023-09-29 16:53:28','2023-09-29 16:53:28',NULL),(298,8791,152,57,40857,60612,1,294399.99,0,'2023-09-29','2023-09-29 16:54:02','2023-09-29 16:54:02',NULL),(299,8791,152,761,40857,60612,2,294399.99,0,'2023-09-29','2023-09-29 16:54:02','2023-09-29 16:54:02',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (300,8791,153,57,40857,60612,1,743375.60,0,'2023-09-29','2023-09-29 16:54:49','2023-09-29 16:54:49',NULL),(301,8791,153,761,40857,60612,2,743375.60,0,'2023-09-29','2023-09-29 16:54:49','2023-09-29 16:54:49',NULL),(302,8791,154,57,40857,60612,1,318111.10,0,'2023-09-29','2023-09-29 16:56:52','2023-09-29 16:56:52',NULL),(303,8791,154,761,40857,60612,2,318111.10,0,'2023-09-29','2023-09-29 16:56:52','2023-09-29 16:56:52',NULL),(304,8791,155,57,40857,60612,1,91130.00,0,'2023-09-29','2023-09-29 16:58:07','2023-09-29 16:58:07',NULL),(305,8791,155,761,40857,60612,2,91130.00,0,'2023-09-29','2023-09-29 16:58:07','2023-09-29 16:58:07',NULL),(306,8791,156,57,40857,60612,1,5999.99,0,'2023-09-29','2023-09-29 16:58:41','2023-09-29 16:58:41',NULL),(307,8791,156,761,40857,60612,2,5999.99,0,'2023-09-29','2023-09-29 16:58:41','2023-09-29 16:58:41',NULL),(308,8791,157,57,40857,60612,1,68107.84,0,'2023-09-29','2023-09-29 16:59:15','2023-09-29 16:59:15',NULL),(309,8791,157,761,40857,60612,2,68107.84,0,'2023-09-29','2023-09-29 16:59:15','2023-09-29 16:59:15',NULL),(310,8791,158,57,40857,60612,1,57995.00,0,'2023-09-29','2023-09-29 16:59:46','2023-09-29 16:59:46',NULL),(311,8791,158,761,40857,60612,2,57995.00,0,'2023-09-29','2023-09-29 16:59:46','2023-09-29 16:59:46',NULL),(312,8791,159,57,40857,60612,1,12999.00,0,'2023-09-29','2023-09-29 17:00:28','2023-09-29 17:00:28',NULL),(313,8791,159,761,40857,60612,2,12999.00,0,'2023-09-29','2023-09-29 17:00:28','2023-09-29 17:00:28',NULL),(314,8791,160,57,40857,60612,1,2068986.10,0,'2023-09-29','2023-09-29 17:01:20','2023-09-29 17:01:20',NULL),(315,8791,160,761,40857,60612,2,2068986.10,0,'2023-09-29','2023-09-29 17:01:20','2023-09-29 17:01:20',NULL),(316,8791,161,57,40857,60612,1,188530.00,0,'2023-09-29','2023-09-29 17:02:37','2023-09-29 17:02:37',NULL),(317,8791,161,761,40857,60612,2,188530.00,0,'2023-09-29','2023-09-29 17:02:37','2023-09-29 17:02:37',NULL),(318,8791,162,57,40857,60612,1,540000.00,0,'2023-09-29','2023-09-29 17:03:59','2023-09-29 17:03:59',NULL),(319,8791,162,761,40857,60612,2,540000.00,0,'2023-09-29','2023-09-29 17:03:59','2023-09-29 17:03:59',NULL),(320,8791,163,57,40857,60612,1,170000.00,0,'2023-09-29','2023-09-29 17:05:03','2023-09-29 17:05:03',NULL),(321,8791,163,761,40857,60612,2,170000.00,0,'2023-09-29','2023-09-29 17:05:03','2023-09-29 17:05:03',NULL),(322,8791,164,57,40857,60612,1,40000.00,0,'2023-09-29','2023-09-29 17:06:20','2023-09-29 17:06:20',NULL),(323,8791,164,761,40857,60612,2,40000.00,0,'2023-09-29','2023-09-29 17:06:20','2023-09-29 17:06:20',NULL),(324,8791,165,57,40857,60612,1,100000.00,0,'2023-09-29','2023-09-29 17:08:12','2023-09-29 17:08:12',NULL),(325,8791,165,760,40857,60612,2,100000.00,0,'2023-09-29','2023-09-29 17:08:12','2023-09-29 17:08:12',NULL),(326,8791,166,57,40857,60612,1,15000.00,0,'2023-09-29','2023-09-29 17:10:01','2023-09-29 17:10:01',NULL),(327,8791,166,761,40857,60612,2,15000.00,0,'2023-09-29','2023-09-29 17:10:01','2023-09-29 17:10:01',NULL),(328,8791,167,57,40857,60612,1,49746.28,0,'2023-09-29','2023-09-29 17:11:05','2023-09-29 17:11:05',NULL),(329,8791,167,761,40857,60612,2,49746.28,0,'2023-09-29','2023-09-29 17:11:05','2023-09-29 17:11:05',NULL),(330,8791,168,57,40857,60612,1,2733954.63,0,'2023-09-29','2023-09-29 17:11:51','2023-09-29 17:11:51',NULL),(331,8791,168,761,40857,60612,2,2733954.63,0,'2023-09-29','2023-09-29 17:11:51','2023-09-29 17:11:51',NULL),(332,8791,169,57,40857,60612,1,9500.00,0,'2023-09-29','2023-09-29 17:13:24','2023-09-29 17:13:24',NULL),(333,8791,169,761,40857,60612,2,9500.00,0,'2023-09-29','2023-09-29 17:13:24','2023-09-29 17:13:24',NULL),(334,8791,170,57,40857,60612,1,69100.01,0,'2023-09-29','2023-09-29 17:14:30','2023-09-29 17:14:30',NULL),(335,8791,170,761,40857,60612,2,69100.01,0,'2023-09-29','2023-09-29 17:14:30','2023-09-29 17:14:30',NULL),(336,8791,171,57,40857,60612,1,409105.80,0,'2023-09-29','2023-09-29 17:15:06','2023-09-29 17:15:06',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (337,8791,171,761,40857,60612,2,409105.80,0,'2023-09-29','2023-09-29 17:15:06','2023-09-29 17:15:06',NULL),(338,8791,172,57,40857,60612,1,16600.58,0,'2023-09-29','2023-09-29 17:16:02','2023-09-29 17:16:02',NULL),(339,8791,172,761,40857,60612,2,16600.58,0,'2023-09-29','2023-09-29 17:16:02','2023-09-29 17:16:02',NULL),(340,8791,173,57,40857,60612,1,8700.00,0,'2023-09-29','2023-09-29 17:16:51','2023-09-29 17:16:51',NULL),(341,8791,173,761,40857,60612,2,8700.00,0,'2023-09-29','2023-09-29 17:16:51','2023-09-29 17:16:51',NULL),(342,8791,174,57,40857,60612,1,3999.00,0,'2023-09-29','2023-09-29 17:18:05','2023-09-29 17:18:05',NULL),(343,8791,174,760,40857,60612,2,3999.00,0,'2023-09-29','2023-09-29 17:18:05','2023-09-29 17:18:05',NULL),(344,8791,175,57,40857,60612,1,1885998.53,0,'2023-09-29','2023-09-29 17:18:56','2023-09-29 17:18:56',NULL),(345,8791,175,761,40857,60612,2,1885998.53,0,'2023-09-29','2023-09-29 17:18:56','2023-09-29 17:18:56',NULL),(346,8791,176,57,40857,60612,1,64590.00,0,'2023-09-29','2023-09-29 17:20:22','2023-09-29 17:20:22',NULL),(347,8791,176,761,40857,60612,2,64590.00,0,'2023-09-29','2023-09-29 17:20:22','2023-09-29 17:20:22',NULL),(348,8791,177,57,40857,60612,1,13732.40,0,'2023-09-29','2023-09-29 17:22:14','2023-09-29 17:22:14',NULL),(349,8791,177,761,40857,60612,2,13732.40,0,'2023-09-29','2023-09-29 17:22:14','2023-09-29 17:22:14',NULL),(350,8791,178,57,40857,60612,1,30304.69,0,'2023-09-29','2023-09-29 17:23:10','2023-09-29 17:23:10',NULL),(351,8791,178,761,40857,60612,2,30304.69,0,'2023-09-29','2023-09-29 17:23:10','2023-09-29 17:23:10',NULL),(352,8791,179,57,40857,60612,1,210540.00,0,'2023-09-29','2023-09-29 17:23:55','2023-09-29 17:23:55',NULL),(353,8791,179,761,40857,60612,2,210540.00,0,'2023-09-29','2023-09-29 17:23:55','2023-09-29 17:23:55',NULL),(354,8791,180,57,40857,60612,1,2615272.00,0,'2023-09-29','2023-09-29 17:24:43','2023-09-29 17:24:43',NULL),(355,8791,180,761,40857,60612,2,2615272.00,0,'2023-09-29','2023-09-29 17:24:43','2023-09-29 17:24:43',NULL),(356,8791,181,57,40857,60612,1,233263.99,0,'2023-09-29','2023-09-29 17:25:59','2023-09-29 17:25:59',NULL),(357,8791,181,761,40857,60612,2,233263.99,0,'2023-09-29','2023-09-29 17:25:59','2023-09-29 17:25:59',NULL),(358,8791,182,57,40857,60612,1,6000.00,0,'2023-09-29','2023-09-29 17:26:51','2023-09-29 17:26:51',NULL),(359,8791,182,761,40857,60612,2,6000.00,0,'2023-09-29','2023-09-29 17:26:51','2023-09-29 17:26:51',NULL),(360,8791,183,57,40857,60612,1,503360.00,0,'2023-09-29','2023-09-29 17:27:52','2023-09-29 17:27:52',NULL),(361,8791,183,761,40857,60612,2,503360.00,0,'2023-09-29','2023-09-29 17:27:52','2023-09-29 17:27:52',NULL),(362,8791,184,57,40857,60612,1,355321.34,0,'2023-09-29','2023-09-29 17:28:26','2023-09-29 17:28:26',NULL),(363,8791,184,761,40857,60612,2,355321.34,0,'2023-09-29','2023-09-29 17:28:26','2023-09-29 17:28:26',NULL),(364,8791,185,57,40857,60612,1,22800.00,0,'2023-09-29','2023-09-29 17:29:06','2023-09-29 17:29:06',NULL),(365,8791,185,761,40857,60612,2,22800.00,0,'2023-09-29','2023-09-29 17:29:06','2023-09-29 17:29:06',NULL),(366,8791,186,57,40857,60612,1,6300.00,0,'2023-09-29','2023-09-29 17:29:49','2023-09-29 17:29:49',NULL),(367,8791,186,761,40857,60612,2,6300.00,0,'2023-09-29','2023-09-29 17:29:49','2023-09-29 17:29:49',NULL),(368,8791,187,57,40857,60612,1,42809.30,0,'2023-09-29','2023-09-29 17:30:34','2023-09-29 17:30:34',NULL),(369,8791,187,761,40857,60612,2,42809.30,0,'2023-09-29','2023-09-29 17:30:34','2023-09-29 17:30:34',NULL),(370,8791,188,57,40857,60612,1,10101.80,0,'2023-09-29','2023-09-29 17:31:16','2023-09-29 17:31:16',NULL),(371,8791,188,760,40857,60612,2,10101.80,0,'2023-09-29','2023-09-29 17:31:16','2023-09-29 17:31:16',NULL),(372,8791,189,13,40857,60612,2,10780853.92,0,'2023-09-29','2023-09-29 17:45:00','2023-09-29 17:45:00',NULL),(373,8791,189,761,40857,60612,1,10780853.92,0,'2023-09-29','2023-09-29 17:45:00','2023-09-29 17:45:00',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (374,8791,190,13,40857,60612,2,3591205.80,0,'2023-09-29','2023-09-29 17:47:48','2023-09-29 17:47:48',NULL),(375,8791,190,761,40857,60612,1,3591205.80,0,'2023-09-29','2023-09-29 17:47:48','2023-09-29 17:47:48',NULL),(376,8791,191,57,40857,60612,1,88621.78,0,'2023-09-29','2023-09-29 17:48:52','2023-09-29 17:48:52',NULL),(377,8791,191,761,40857,60612,2,88621.78,0,'2023-09-29','2023-09-29 17:48:52','2023-09-29 17:48:52',NULL),(378,8791,192,57,40857,60612,1,54284.17,0,'2023-09-29','2023-09-29 17:50:43','2023-09-29 17:50:43',NULL),(379,8791,192,761,40857,60612,2,54284.17,0,'2023-09-29','2023-09-29 17:50:43','2023-09-29 17:50:43',NULL),(380,8791,193,57,40857,60612,1,3595084.43,0,'2023-09-29','2023-09-29 18:41:59','2023-09-29 18:41:59',NULL),(381,8791,193,761,40857,60612,2,3595084.43,0,'2023-09-29','2023-09-29 18:41:59','2023-09-29 18:41:59',NULL),(382,8791,194,57,40857,60612,1,-1577468.40,0,'2023-09-29','2023-09-29 18:43:42','2023-09-29 18:43:42',NULL),(383,8791,194,761,40857,60612,2,-1577468.40,0,'2023-09-29','2023-09-29 18:43:42','2023-09-29 18:43:42',NULL),(384,8791,195,57,40857,60612,1,5349715.26,0,'2023-09-29','2023-09-29 18:44:45','2023-09-29 18:44:45',NULL),(385,8791,195,761,40857,60612,2,5349715.26,0,'2023-09-29','2023-09-29 18:44:45','2023-09-29 18:44:45',NULL),(386,8791,196,57,40857,60612,1,108827.40,0,'2023-09-29','2023-09-29 18:45:48','2023-09-29 18:45:48',NULL),(387,8791,196,761,40857,60612,2,108827.40,0,'2023-09-29','2023-09-29 18:45:48','2023-09-29 18:45:48',NULL),(388,8791,197,57,40857,60612,1,112530.19,0,'2023-09-29','2023-09-29 18:46:41','2023-09-29 18:49:59','2023-09-29 18:49:59'),(389,8791,197,761,40857,60612,2,112530.19,0,'2023-09-29','2023-09-29 18:46:41','2023-09-29 18:49:59','2023-09-29 18:49:59'),(390,8791,198,57,40857,60612,1,-24.90,0,'2023-09-29','2023-09-29 18:47:42','2023-09-29 18:50:04','2023-09-29 18:50:04'),(391,8791,198,760,40857,60612,2,-24.90,0,'2023-09-29','2023-09-29 18:47:42','2023-09-29 18:50:04','2023-09-29 18:50:04'),(392,8791,199,57,40857,60612,1,-49.80,0,'2023-09-29','2023-09-29 18:49:13','2023-09-29 18:49:52','2023-09-29 18:49:52'),(393,8791,199,760,40857,60612,2,-49.80,0,'2023-09-29','2023-09-29 18:49:13','2023-09-29 18:49:52','2023-09-29 18:49:52'),(394,8791,200,57,40857,60612,1,112530.19,0,'2023-09-29','2023-09-29 18:51:27','2023-09-29 18:51:27',NULL),(395,8791,200,761,40857,60612,2,112530.19,0,'2023-09-29','2023-09-29 18:51:27','2023-09-29 18:51:27',NULL),(396,8791,201,57,40857,60612,1,-25034.34,0,'2023-09-29','2023-09-29 18:57:32','2023-09-29 18:58:20','2023-09-29 18:58:20'),(397,8791,201,760,40857,60612,2,-25034.34,0,'2023-09-29','2023-09-29 18:57:32','2023-09-29 18:58:20','2023-09-29 18:58:20'),(398,8791,202,13,40857,60612,2,25034.34,0,'2023-09-29','2023-09-29 19:00:37','2023-09-29 19:01:51','2023-09-29 19:01:51'),(399,8791,202,760,40857,60612,1,25034.34,0,'2023-09-29','2023-09-29 19:00:37','2023-09-29 19:01:51','2023-09-29 19:01:51'),(400,8791,203,57,40857,60612,1,31450.02,0,'2023-09-30','2023-10-19 11:28:21','2023-10-19 11:28:21',NULL),(401,8791,203,760,40857,60612,2,31450.02,0,'2023-09-30','2023-10-19 11:28:22','2023-10-19 11:28:22',NULL),(402,8791,204,57,40857,60613,1,29600.00,0,'2023-10-19','2023-10-19 11:29:24','2023-10-25 09:00:35','2023-10-25 09:00:35'),(403,8791,204,760,40857,60613,2,29600.00,0,'2023-10-19','2023-10-19 11:29:24','2023-10-25 09:00:35','2023-10-25 09:00:35'),(404,8791,205,57,40857,60613,1,169389.60,0,'2023-09-30','2023-10-19 11:34:17','2023-10-19 11:34:17',NULL),(405,8791,205,760,40857,60613,2,169389.60,0,'2023-09-30','2023-10-19 11:34:17','2023-10-19 11:34:17',NULL),(406,8791,206,57,40857,60612,1,21001.48,0,'2023-09-30','2023-10-19 11:35:08','2023-10-19 11:35:08',NULL),(407,8791,206,760,40857,60612,2,21001.48,0,'2023-09-30','2023-10-19 11:35:08','2023-10-19 11:35:08',NULL),(408,8791,207,57,40857,60612,1,115730.45,0,'2023-09-30','2023-10-19 11:39:54','2023-10-19 11:39:54',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (409,8791,207,760,40857,60612,2,115730.45,0,'2023-09-30','2023-10-19 11:39:54','2023-10-19 11:39:54',NULL),(410,8791,208,57,40857,60613,1,168410.25,0,'2023-10-19','2023-10-19 11:45:05','2023-10-19 11:45:05',NULL),(411,8791,208,760,40857,60613,2,168410.25,0,'2023-10-19','2023-10-19 11:45:05','2023-10-19 11:45:05',NULL),(412,8791,209,57,40857,60613,1,22500.35,0,'2023-10-19','2023-10-19 11:48:18','2023-10-19 11:48:18',NULL),(413,8791,209,760,40857,60613,2,22500.35,0,'2023-10-19','2023-10-19 11:48:18','2023-10-19 11:48:18',NULL),(414,8791,210,57,40857,60612,1,10169.53,0,'2023-09-30','2023-10-19 11:57:51','2023-10-19 11:57:51',NULL),(415,8791,210,760,40857,60612,2,10169.53,0,'2023-09-30','2023-10-19 11:57:51','2023-10-19 11:57:51',NULL),(416,8791,211,57,40857,60613,1,23886.00,0,'2023-10-19','2023-10-19 11:59:04','2023-10-25 08:59:34','2023-10-25 08:59:34'),(417,8791,211,760,40857,60613,2,23886.00,0,'2023-10-19','2023-10-19 11:59:04','2023-10-25 08:59:34','2023-10-25 08:59:34'),(418,8791,212,57,40857,60612,1,78225.28,0,'2023-09-30','2023-10-19 12:00:28','2023-10-19 12:03:09','2023-10-19 12:03:09'),(419,8791,212,760,40857,60612,2,78225.28,0,'2023-09-30','2023-10-19 12:00:28','2023-10-19 12:03:09','2023-10-19 12:03:09'),(420,8791,213,57,40857,60612,1,-198179.48,0,'2023-09-30','2023-10-19 12:01:50','2023-10-19 12:02:50','2023-10-19 12:02:50'),(421,8791,213,760,40857,60612,2,-198179.48,0,'2023-09-30','2023-10-19 12:01:50','2023-10-19 12:02:50','2023-10-19 12:02:50'),(422,8791,214,57,40857,60612,1,177315.02,0,'2023-09-30','2023-10-19 12:03:52','2023-10-19 12:03:52',NULL),(423,8791,214,760,40857,60612,2,177315.02,0,'2023-09-30','2023-10-19 12:03:52','2023-10-19 12:03:52',NULL),(424,8791,215,13,40857,60612,2,4691.44,0,'2023-09-30','2023-10-19 12:05:28','2023-10-19 12:05:28',NULL),(425,8791,215,760,40857,60612,1,4691.44,0,'2023-09-30','2023-10-19 12:05:28','2023-10-19 12:05:28',NULL),(426,8791,216,57,40857,60613,1,8005.00,0,'2023-10-19','2023-10-19 12:06:26','2023-10-19 12:12:17','2023-10-19 12:12:17'),(427,8791,216,760,40857,60613,2,8005.00,0,'2023-10-19','2023-10-19 12:06:26','2023-10-19 12:12:17','2023-10-19 12:12:17'),(428,8791,217,57,40857,60613,1,213000.00,0,'2023-10-19','2023-10-19 12:11:24','2023-10-19 12:11:24',NULL),(429,8791,217,760,40857,60613,2,213000.00,0,'2023-10-19','2023-10-19 12:11:24','2023-10-19 12:11:24',NULL),(430,8791,218,57,40857,60613,1,8005.00,0,'2023-10-19','2023-10-19 12:12:57','2023-10-19 12:12:57',NULL),(431,8791,218,760,40857,60613,2,8005.00,0,'2023-10-19','2023-10-19 12:12:57','2023-10-19 12:12:57',NULL),(432,8791,219,57,40857,60612,1,21417.00,0,'2023-09-30','2023-10-19 12:14:13','2023-10-19 12:14:13',NULL),(433,8791,219,760,40857,60612,2,21417.00,0,'2023-09-30','2023-10-19 12:14:13','2023-10-19 12:14:13',NULL),(434,8791,220,57,40857,60613,1,185457.86,0,'2023-10-19','2023-10-19 12:15:29','2023-10-19 12:16:25','2023-10-19 12:16:25'),(435,8791,220,760,40857,60613,2,185457.86,0,'2023-10-19','2023-10-19 12:15:29','2023-10-19 12:16:25','2023-10-19 12:16:25'),(436,8791,221,57,40857,60613,1,185457.86,0,'2023-10-19','2023-10-19 12:16:54','2023-10-19 12:16:54',NULL),(437,8791,221,760,40857,60613,2,185457.86,0,'2023-10-19','2023-10-19 12:16:54','2023-10-19 12:16:54',NULL),(438,8791,222,57,40857,60612,1,8000.00,0,'2023-09-30','2023-10-19 12:17:50','2023-10-19 12:17:50',NULL),(439,8791,222,760,40857,60612,2,8000.00,0,'2023-09-30','2023-10-19 12:17:50','2023-10-19 12:17:50',NULL),(440,8791,223,57,40857,60613,1,104843.92,0,'2023-10-19','2023-10-19 12:19:24','2023-10-19 12:19:24',NULL),(441,8791,223,760,40857,60613,2,104843.92,0,'2023-10-19','2023-10-19 12:19:24','2023-10-19 12:19:24',NULL),(442,8791,224,57,40857,60613,1,22769291.58,0,'2023-10-19','2023-10-19 12:21:31','2023-10-19 12:21:31',NULL),(443,8791,224,761,40857,60613,2,22769291.58,0,'2023-10-19','2023-10-19 12:21:31','2023-10-19 12:21:31',NULL),(444,8791,225,57,40857,60612,1,6000.00,0,'2023-09-30','2023-10-19 12:22:45','2023-10-19 12:22:45',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (445,8791,225,760,40857,60612,2,6000.00,0,'2023-09-30','2023-10-19 12:22:45','2023-10-19 12:22:45',NULL),(446,8791,226,57,40857,60613,1,45084.00,0,'2023-10-19','2023-10-19 12:48:55','2023-10-19 12:51:02','2023-10-19 12:51:02'),(447,8791,226,760,40857,60613,2,45084.00,0,'2023-10-19','2023-10-19 12:48:55','2023-10-19 12:51:02','2023-10-19 12:51:02'),(448,8791,227,57,40857,60613,1,45084.00,0,'2023-10-19','2023-10-19 12:51:28','2023-10-19 12:51:28',NULL),(449,8791,227,760,40857,60613,2,45084.00,0,'2023-10-19','2023-10-19 12:51:28','2023-10-19 12:51:28',NULL),(450,8791,228,13,40857,60612,2,136737.20,0,'2023-09-30','2023-10-19 12:52:52','2023-10-19 12:52:52',NULL),(451,8791,228,760,40857,60612,1,136737.20,0,'2023-09-30','2023-10-19 12:52:52','2023-10-19 12:52:52',NULL),(452,8791,229,57,40857,60612,1,33804.74,0,'2023-09-30','2023-10-19 12:53:49','2023-10-19 12:53:49',NULL),(453,8791,229,760,40857,60612,2,33804.74,0,'2023-09-30','2023-10-19 12:53:49','2023-10-19 12:53:49',NULL),(454,8791,230,57,40857,60613,1,72000.00,0,'2023-10-19','2023-10-19 12:55:11','2023-10-19 12:55:11',NULL),(455,8791,230,760,40857,60613,2,72000.00,0,'2023-10-19','2023-10-19 12:55:11','2023-10-19 12:55:11',NULL),(456,8791,231,57,40857,60613,1,15759079.21,0,'2023-09-30','2023-10-19 12:59:50','2023-10-19 12:59:50',NULL),(457,8791,231,761,40857,60613,2,15759079.21,0,'2023-09-30','2023-10-19 12:59:50','2023-10-19 12:59:50',NULL),(458,8791,232,13,40857,60612,2,415707.60,0,'2023-09-30','2023-10-19 13:02:22','2023-10-19 13:04:51','2023-10-19 13:04:51'),(459,8791,232,760,40857,60612,1,415707.60,0,'2023-09-30','2023-10-19 13:02:22','2023-10-19 13:04:51','2023-10-19 13:04:51'),(460,8791,233,57,40857,60612,1,-415707.60,0,'2023-09-30','2023-10-19 13:05:38','2023-10-19 13:06:40','2023-10-19 13:06:40'),(461,8791,233,760,40857,60612,2,-415707.60,0,'2023-09-30','2023-10-19 13:05:38','2023-10-19 13:06:40','2023-10-19 13:06:40'),(462,8791,234,57,40857,60613,1,1233380.62,0,'2023-10-19','2023-10-19 13:07:34','2023-10-19 13:07:34',NULL),(463,8791,234,760,40857,60613,2,1233380.62,0,'2023-10-19','2023-10-19 13:07:34','2023-10-19 13:07:34',NULL),(464,8791,235,57,40857,60612,1,213213.00,0,'2023-09-30','2023-10-19 13:08:40','2023-10-19 13:08:40',NULL),(465,8791,235,760,40857,60612,2,213213.00,0,'2023-09-30','2023-10-19 13:08:40','2023-10-19 13:08:40',NULL),(466,8791,236,57,40857,60612,1,1338770.26,0,'2023-09-30','2023-10-19 13:11:01','2023-10-19 13:11:01',NULL),(467,8791,236,760,40857,60612,2,1338770.26,0,'2023-09-30','2023-10-19 13:11:01','2023-10-19 13:11:01',NULL),(468,8791,237,13,40857,60612,2,2729668.34,0,'2023-09-30','2023-10-19 13:12:36','2023-10-19 13:12:36',NULL),(469,8791,237,760,40857,60612,1,2729668.34,0,'2023-09-30','2023-10-19 13:12:36','2023-10-19 13:12:36',NULL),(470,8791,238,57,40857,60612,1,16600.58,0,'2023-09-30','2023-10-19 13:25:15','2023-10-19 13:25:15',NULL),(471,8791,238,760,40857,60612,2,16600.58,0,'2023-09-30','2023-10-19 13:25:15','2023-10-19 13:25:15',NULL),(472,8791,239,57,40857,60612,1,1442000.00,0,'2023-09-30','2023-10-19 13:25:58','2023-10-19 13:25:58',NULL),(473,8791,239,760,40857,60612,2,1442000.00,0,'2023-09-30','2023-10-19 13:25:58','2023-10-19 13:25:58',NULL),(474,8791,240,57,40857,60612,1,47700.74,0,'2023-09-30','2023-10-19 13:26:56','2023-10-19 13:26:56',NULL),(475,8791,240,760,40857,60612,2,47700.74,0,'2023-09-30','2023-10-19 13:26:56','2023-10-19 13:26:56',NULL),(476,8791,241,57,40857,60612,1,41003.67,0,'2023-09-30','2023-10-19 13:27:26','2023-10-19 13:27:26',NULL),(477,8791,241,760,40857,60612,2,41003.67,0,'2023-09-30','2023-10-19 13:27:26','2023-10-19 13:27:26',NULL),(478,8791,242,57,40857,60612,1,400000.00,0,'2023-09-30','2023-10-19 13:28:18','2023-10-19 13:28:18',NULL),(479,8791,242,760,40857,60612,2,400000.00,0,'2023-09-30','2023-10-19 13:28:18','2023-10-19 13:28:18',NULL),(480,8791,243,57,40857,60612,1,8979727.38,0,'2023-09-30','2023-10-19 13:29:04','2023-10-19 13:29:04',NULL);
INSERT INTO `cta_cte_tesoreria_detail` VALUES (481,8791,243,760,40857,60612,2,8979727.38,0,'2023-09-30','2023-10-19 13:29:04','2023-10-19 13:29:04',NULL),(482,8791,244,57,40857,60612,1,54817.67,0,'2023-09-30','2023-10-19 13:29:41','2023-10-19 13:29:41',NULL),(483,8791,244,760,40857,60612,2,54817.67,0,'2023-09-30','2023-10-19 13:29:41','2023-10-19 13:29:41',NULL),(484,8791,245,57,40857,60612,1,7500.50,0,'2023-09-30','2023-10-19 13:30:11','2023-10-19 13:30:11',NULL),(485,8791,245,760,40857,60612,2,7500.50,0,'2023-09-30','2023-10-19 13:30:11','2023-10-19 13:30:11',NULL),(486,8791,246,57,40857,60612,1,20100.01,0,'2023-09-30','2023-10-19 13:30:42','2023-10-19 13:30:42',NULL),(487,8791,246,760,40857,60612,2,20100.01,0,'2023-09-30','2023-10-19 13:30:42','2023-10-19 13:30:42',NULL),(488,8791,247,57,40857,60612,1,71100.00,0,'2023-09-30','2023-10-19 13:31:15','2023-10-19 13:31:15',NULL),(489,8791,247,760,40857,60612,2,71100.00,0,'2023-09-30','2023-10-19 13:31:15','2023-10-19 13:31:15',NULL),(490,8791,248,57,40857,60612,1,482885.00,0,'2023-09-30','2023-10-19 13:31:53','2023-10-19 13:31:53',NULL),(491,8791,248,760,40857,60612,2,482885.00,0,'2023-09-30','2023-10-19 13:31:53','2023-10-19 13:31:53',NULL),(492,8791,249,57,40857,60613,1,1277493.80,0,'2023-10-19','2023-10-19 13:33:34','2023-10-19 13:33:34',NULL),(493,8791,249,760,40857,60613,2,1277493.80,0,'2023-10-19','2023-10-19 13:33:34','2023-10-19 13:33:34',NULL),(494,8791,250,13,40857,60613,2,415707.60,0,'2023-10-19','2023-10-19 13:36:37','2023-10-19 13:36:37',NULL),(495,8791,250,760,40857,60613,1,415707.60,0,'2023-10-19','2023-10-19 13:36:37','2023-10-19 13:36:37',NULL),(496,8791,251,57,40857,60613,1,3779.50,0,'2023-10-23','2023-10-23 12:52:00','2023-10-25 08:59:42','2023-10-25 08:59:42'),(497,8791,251,760,40857,60613,2,3779.50,0,'2023-10-23','2023-10-23 12:52:00','2023-10-25 08:59:42','2023-10-25 08:59:42'),(498,8791,252,57,40857,60613,1,99828.63,0,'2023-10-23','2023-10-23 12:52:39','2023-10-23 12:52:39',NULL),(499,8791,252,760,40857,60613,2,99828.63,0,'2023-10-23','2023-10-23 12:52:39','2023-10-23 12:52:39',NULL),(500,8791,253,57,40857,60613,1,10003.11,0,'2023-10-23','2023-10-23 12:53:14','2023-10-23 12:53:14',NULL),(501,8791,253,760,40857,60613,2,10003.11,0,'2023-10-23','2023-10-23 12:53:14','2023-10-23 12:53:14',NULL),(502,8791,254,57,40857,60613,1,13563.10,0,'2023-10-23','2023-10-23 12:53:51','2023-10-23 12:53:51',NULL),(503,8791,254,760,40857,60613,2,13563.10,0,'2023-10-23','2023-10-23 12:53:51','2023-10-23 12:53:51',NULL),(504,8791,255,13,40857,60613,2,11290960.83,0,'2023-10-23','2023-10-23 12:55:25','2023-10-23 12:55:25',NULL),(505,8791,255,761,40857,60613,1,11290960.83,0,'2023-10-23','2023-10-23 12:55:25','2023-10-23 12:55:25',NULL),(506,8791,256,13,40857,60613,2,6077721.00,0,'2023-10-23','2023-10-23 12:55:55','2023-10-23 12:55:55',NULL),(507,8791,256,760,40857,60613,1,6077721.00,0,'2023-10-23','2023-10-23 12:55:55','2023-10-23 12:55:55',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=3 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),(2,8791,NULL,NULL,NULL,NULL,NULL,1614,NULL,NULL,NULL,NULL,1334619.00,1,0,'2023-06-22','2023-06-23',2,40857,'23-22356425-9','HERASIMCHUK MARCELO MIGUEL',2,0,29,'cheques/40815/5xomD57MX9P6KtxYqi9moROOGTAAJ9FakPBG5H8m.pdf','ECHEQ RECIBIDO 22-6 SE DEPOSITO EN CUENTA',1,'2023-06-22 21:07:43','2023-06-22 21:07:43',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:17:53',NULL),(2,NULL,'TERMINADO',1,NULL,'2023-08-07 00:17:53',NULL),(3,NULL,'ELIMINADO',1,NULL,'2023-08-13 09:27:42',NULL),(4,NULL,'PAGADO',1,NULL,'2023-08-07 00:17:54','2023-08-07 00:17:54'),(5,NULL,'CONCILIADO',1,NULL,'2023-08-07 00:17:54','2023-08-07 00:17:54');

--
-- 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:17:54',NULL),(2,NULL,'RECHAZADO',1,1,0,1,NULL,'2023-08-07 00:17:54',NULL),(3,NULL,'ACEPTADO',1,0,0,1,NULL,'2023-08-07 00:17:54',NULL),(4,NULL,'FALTAN FIRMAS',0,0,1,1,'2023-08-07 00:17:54','2023-08-07 00:17:54',NULL),(5,NULL,'EMITIDO',1,0,0,1,'2023-10-12 08:26:51','2023-10-12 08:26:51',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:44:52',
  `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:38:12',NULL),(3,NULL,'Deposito','App\\Models\\Inventario\\InvDeposito',1,1,NULL,'2024-05-07 20:18:51',NULL),(4,NULL,'Empleado','App\\Models\\SyJEmpleado',0,0,NULL,'2023-07-03 22:18:16',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-12 23:37:48',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:44:52','2023-09-28 16:44:52',NULL),(11,NULL,'ANULACION REQUERIMIENTOS',NULL,1,'2024-04-02 23:54:08','2024-04-02 23:54:08',NULL),(12,NULL,'ANULACION COMPRAS PRODUCTOS',NULL,1,'2024-04-02 23:54:08','2024-04-02 23:54:08',NULL),(13,NULL,'ANULACION COMPRAS SERVICIOS',NULL,1,'2024-04-02 23:54:08','2024-04-02 23:54:08',NULL),(14,NULL,'REMITO DE GASTO',NULL,1,'2024-05-07 20:18:51','2024-05-07 20:18:51',NULL),(15,NULL,'COTIZACIONES',NULL,1,'2024-06-26 07:55:07','2024-06-26 07:55:07',NULL),(16,NULL,'REMITO INGRESO-DEVOLUCION',NULL,1,'2024-09-02 13:18:39','2024-09-02 13:18:39',NULL),(17,NULL,'REMITO EGRESO-DEVOLUCION',NULL,1,'2024-10-17 08:51:42','2024-10-17 08:51:42',NULL),(18,NULL,'REMITO','Es un remito de servicio, que no tiene ni ingreso ni egreso',1,'2024-12-03 21:48:18','2024-12-03 21:48:18',NULL),(19,NULL,'Remito de Cliente','Se usa en las Ordenes de Venta para demostrar que se entrego mercaderia al cliente',1,NULL,NULL,NULL),(20,NULL,'Orden de Compra de Cliente','Es la OC que envia el cliente para que se le haga el pedido',1,NULL,NULL,NULL),(21,NULL,'Solicitud de Facturacion','Es un documento que se usa para que se pueda facturar',1,NULL,NULL,NULL),(22,NULL,'Ordenes de Compra','Es una OC para Empresas',1,NULL,NULL,NULL);

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

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

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


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

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

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


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

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

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


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

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

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


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

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

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

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

--
