INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10039,8684,10041,9856,NULL,0,NULL,'2024-11-22 12:21:35','2024-11-22 12:21:35',NULL),(10040,8684,10042,9857,NULL,0,NULL,'2024-11-22 12:21:35','2024-11-22 12:21:35',NULL),(10041,8684,10043,9858,NULL,0,NULL,'2024-11-22 12:21:35','2024-11-22 12:21:35',NULL),(10042,8684,10044,9859,NULL,0,NULL,'2024-11-22 12:21:35','2024-11-22 12:21:35',NULL),(10043,8684,10045,9860,NULL,0,NULL,'2024-11-22 12:21:35','2024-11-22 12:21:35',NULL),(10044,8684,10046,9861,NULL,0,NULL,'2024-11-22 12:21:36','2024-11-22 12:21:36',NULL),(10045,8684,10047,9862,NULL,0,NULL,'2024-11-22 12:21:36','2024-11-22 12:21:36',NULL),(10046,8684,10048,9863,NULL,0,NULL,'2024-11-22 12:21:36','2024-11-22 12:21:36',NULL),(10047,8684,10049,9864,NULL,0,NULL,'2024-11-22 12:21:36','2024-11-22 12:21:36',NULL),(10048,8684,10050,9865,NULL,0,NULL,'2024-11-22 12:21:36','2024-11-22 12:21:36',NULL),(10049,8684,10051,9866,NULL,0,NULL,'2024-11-22 12:37:30','2024-11-22 12:37:30',NULL),(10050,8684,10052,9867,NULL,0,NULL,'2024-11-22 12:37:30','2024-11-22 12:37:30',NULL),(10051,8684,10053,9868,NULL,0,NULL,'2024-11-22 12:37:30','2024-11-22 12:37:30',NULL),(10052,8684,10054,9869,NULL,0,NULL,'2024-11-22 12:37:30','2024-11-22 12:37:30',NULL),(10053,8684,10055,9870,NULL,0,NULL,'2024-11-22 12:37:30','2024-11-22 12:37:30',NULL),(10054,8684,10056,9871,NULL,0,NULL,'2024-11-22 12:37:30','2024-11-22 12:37:30',NULL),(10055,8684,10057,9872,NULL,0,NULL,'2024-11-22 12:37:30','2024-11-22 12:37:30',NULL),(10056,8684,10058,9873,NULL,0,NULL,'2024-11-22 12:37:30','2024-11-22 12:37:30',NULL),(10057,8684,10059,9874,NULL,0,NULL,'2024-11-22 12:37:30','2024-11-22 12:37:30',NULL),(10058,8684,10060,9875,NULL,0,NULL,'2024-11-22 12:37:30','2024-11-22 12:37:30',NULL),(10059,8684,10061,9876,NULL,0,NULL,'2024-11-22 12:37:31','2024-11-22 12:37:31',NULL),(10060,8684,10062,9877,NULL,0,NULL,'2024-11-22 12:37:31','2024-11-22 12:37:31',NULL),(10061,8684,10063,9878,NULL,0,NULL,'2024-11-22 12:37:31','2024-11-22 12:37:31',NULL),(10062,8684,10064,9879,NULL,0,NULL,'2024-11-22 12:37:31','2024-11-22 12:37:31',NULL),(10063,8684,10065,9880,NULL,0,NULL,'2024-11-22 12:37:31','2024-11-22 12:37:31',NULL),(10064,8684,10066,9881,NULL,0,NULL,'2024-11-22 12:37:31','2024-11-22 12:37:31',NULL),(10065,8684,10067,9882,NULL,0,NULL,'2024-11-22 12:37:31','2024-11-22 12:37:31',NULL),(10066,8684,10068,9883,NULL,0,NULL,'2024-11-22 12:37:31','2024-11-22 12:37:31',NULL),(10067,8684,10069,9884,NULL,0,NULL,'2024-11-22 12:37:31','2024-11-22 12:37:31',NULL),(10068,8684,10070,9885,NULL,0,NULL,'2024-11-22 12:37:31','2024-11-22 12:37:31',NULL),(10069,8684,10071,9886,NULL,0,NULL,'2024-11-22 12:37:31','2024-11-22 12:37:31',NULL),(10070,8684,10072,9887,NULL,0,NULL,'2024-11-22 12:37:31','2024-11-22 12:37:31',NULL),(10071,8684,10073,9888,NULL,0,NULL,'2024-11-22 12:37:31','2024-11-22 12:37:31',NULL),(10072,8684,10074,9889,NULL,0,NULL,'2024-11-22 12:37:31','2024-11-22 12:37:31',NULL),(10073,8684,10075,9890,NULL,0,NULL,'2024-11-22 12:37:32','2024-11-22 12:37:32',NULL),(10074,8684,10076,9891,NULL,0,NULL,'2024-11-22 12:37:32','2024-11-22 12:37:32',NULL),(10075,8684,10077,9892,NULL,0,NULL,'2024-11-22 12:37:32','2024-11-22 12:37:32',NULL),(10076,8684,10078,9893,NULL,0,NULL,'2024-11-22 12:37:32','2024-11-22 12:37:32',NULL),(10077,8684,10079,9894,NULL,0,NULL,'2024-11-22 12:37:32','2024-11-22 12:37:32',NULL),(10078,8684,10080,9895,NULL,0,NULL,'2024-11-22 12:37:32','2024-11-22 12:37:32',NULL),(10079,8684,10081,9896,NULL,0,NULL,'2024-11-22 12:37:32','2024-11-22 12:37:32',NULL),(10080,8684,10082,9897,NULL,0,NULL,'2024-11-22 12:37:32','2024-11-22 12:37:32',NULL),(10081,8684,10083,9898,NULL,0,NULL,'2024-11-22 12:37:32','2024-11-22 12:37:32',NULL),(10082,8684,10084,9899,NULL,0,NULL,'2024-11-22 12:37:32','2024-11-22 12:37:32',NULL),(10083,8684,10085,9900,NULL,0,NULL,'2024-11-22 12:37:32','2024-11-22 12:37:32',NULL),(10084,8684,10086,9901,NULL,0,NULL,'2024-11-22 12:37:32','2024-11-22 12:37:32',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10085,8684,10087,9902,NULL,0,NULL,'2024-11-22 12:37:32','2024-11-22 12:37:32',NULL),(10086,8684,10088,9903,NULL,0,NULL,'2024-11-22 12:37:32','2024-11-22 12:37:32',NULL),(10087,8684,10089,9904,NULL,0,NULL,'2024-11-22 12:37:33','2024-11-22 12:37:33',NULL),(10088,8684,10090,9905,NULL,0,NULL,'2024-11-22 12:37:33','2024-11-22 12:37:33',NULL),(10089,8684,10091,9906,NULL,0,NULL,'2024-11-22 12:38:54','2024-11-22 12:38:54',NULL),(10090,8684,10092,9907,NULL,0,NULL,'2024-11-22 12:38:54','2024-11-22 12:38:54',NULL),(10091,8684,10093,9908,NULL,0,NULL,'2024-11-22 12:38:55','2024-11-22 12:38:55',NULL),(10092,8684,10094,9909,NULL,0,NULL,'2024-11-22 12:38:55','2024-11-22 12:38:55',NULL),(10093,8684,10095,9910,NULL,0,NULL,'2024-11-22 12:38:55','2024-11-22 12:38:55',NULL),(10094,8684,10096,9911,NULL,0,NULL,'2024-11-22 12:38:55','2024-11-22 12:38:55',NULL),(10095,8684,10097,9912,NULL,0,NULL,'2024-11-22 12:38:55','2024-11-22 12:38:55',NULL),(10096,8684,10098,9913,NULL,0,NULL,'2024-11-22 12:41:28','2024-11-22 12:41:28',NULL),(10097,8684,10099,9914,NULL,0,NULL,'2024-11-22 12:41:28','2024-11-22 12:41:28',NULL),(10098,8684,10100,9915,NULL,0,NULL,'2024-11-22 12:41:28','2024-11-22 12:41:28',NULL),(10099,8684,10101,9916,NULL,0,NULL,'2024-11-22 12:41:28','2024-11-22 12:41:28',NULL),(10100,8684,10102,9917,NULL,0,NULL,'2024-11-22 12:41:28','2024-11-22 12:41:28',NULL),(10101,8684,10103,9918,NULL,0,NULL,'2024-11-22 12:41:28','2024-11-22 12:41:28',NULL),(10102,8684,10104,9919,NULL,0,NULL,'2024-11-22 12:41:28','2024-11-22 12:41:28',NULL),(10103,8684,10105,9920,NULL,0,NULL,'2024-11-22 12:41:29','2024-11-22 12:41:29',NULL),(10104,8684,10106,9921,NULL,0,NULL,'2024-11-22 12:41:29','2024-11-22 12:41:29',NULL),(10105,8684,10107,9922,NULL,0,NULL,'2024-11-22 12:41:29','2024-11-22 12:41:29',NULL),(10106,8684,10108,9923,NULL,0,NULL,'2024-11-22 12:41:29','2024-11-22 12:41:29',NULL),(10107,8684,10109,9924,NULL,0,NULL,'2024-11-22 12:41:29','2024-11-22 12:41:29',NULL),(10108,8684,10110,9925,NULL,0,NULL,'2024-11-22 12:41:29','2024-11-22 12:41:29',NULL),(10109,8684,10111,9926,NULL,0,NULL,'2024-11-22 12:41:29','2024-11-22 12:41:29',NULL),(10110,8684,10112,9927,NULL,0,NULL,'2024-11-22 12:41:29','2024-11-22 12:41:29',NULL),(10111,8684,10113,9928,NULL,0,NULL,'2024-11-22 12:41:29','2024-11-22 12:41:29',NULL),(10112,8684,10114,9929,NULL,0,NULL,'2024-11-22 12:41:29','2024-11-22 12:41:29',NULL),(10113,8684,10115,9930,NULL,0,NULL,'2024-11-22 12:41:29','2024-11-22 12:41:29',NULL),(10114,8684,10116,9931,NULL,0,NULL,'2024-11-22 12:41:29','2024-11-22 12:41:29',NULL),(10115,8684,10117,9932,NULL,0,NULL,'2024-11-22 12:41:30','2024-11-22 12:41:30',NULL),(10116,8684,10118,9933,NULL,0,NULL,'2024-11-22 12:41:30','2024-11-22 12:41:30',NULL),(10117,8684,10119,9934,NULL,0,NULL,'2024-11-22 12:41:30','2024-11-22 12:41:30',NULL),(10118,8684,10120,9935,NULL,0,NULL,'2024-11-22 12:41:30','2024-11-22 12:41:30',NULL),(10119,8684,10121,9936,NULL,0,NULL,'2024-11-22 12:41:30','2024-11-22 12:41:30',NULL),(10120,8684,10122,9937,NULL,0,NULL,'2024-11-22 12:41:30','2024-11-22 12:41:30',NULL),(10121,8684,10123,9938,NULL,0,NULL,'2024-11-22 12:41:30','2024-11-22 12:41:30',NULL),(10122,8684,10124,9939,NULL,0,NULL,'2024-11-22 12:41:30','2024-11-22 12:41:30',NULL),(10123,8684,10125,9940,NULL,0,NULL,'2024-11-22 12:41:30','2024-11-22 12:41:30',NULL),(10124,8684,10126,9941,NULL,0,NULL,'2024-11-22 12:41:30','2024-11-22 12:41:30',NULL),(10125,8684,10127,9942,NULL,0,NULL,'2024-11-22 12:41:30','2024-11-22 12:41:30',NULL),(10126,8684,10128,9943,NULL,0,NULL,'2024-11-22 12:41:30','2024-11-22 12:41:30',NULL),(10127,8684,10129,9944,NULL,0,NULL,'2024-11-22 12:41:30','2024-11-22 12:41:30',NULL),(10128,8684,10130,9945,NULL,0,NULL,'2024-11-22 12:41:30','2024-11-22 12:41:30',NULL),(10129,8684,10131,9946,NULL,0,NULL,'2024-11-22 12:41:31','2024-11-22 12:41:31',NULL),(10130,8684,10132,9947,NULL,0,NULL,'2024-11-22 12:41:31','2024-11-22 12:41:31',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10131,8684,10133,9948,NULL,0,NULL,'2024-11-22 12:41:31','2024-11-22 12:41:31',NULL),(10132,8684,10134,9949,NULL,0,NULL,'2024-11-22 12:41:31','2024-11-22 12:41:31',NULL),(10133,8684,10135,9950,NULL,0,NULL,'2024-11-22 12:41:31','2024-11-22 12:41:31',NULL),(10134,8684,10136,9951,NULL,0,NULL,'2024-11-22 12:41:31','2024-11-22 12:41:31',NULL),(10135,8684,10137,9952,NULL,0,NULL,'2024-11-22 12:41:31','2024-11-22 12:41:31',NULL),(10136,8684,10138,9953,NULL,0,NULL,'2024-11-22 12:56:56','2024-11-22 12:56:56',NULL),(10137,8684,10139,9954,NULL,0,NULL,'2024-11-22 12:56:56','2024-11-22 12:56:56',NULL),(10138,8684,10140,9955,NULL,0,NULL,'2024-11-22 12:56:56','2024-11-22 12:56:56',NULL),(10139,8684,10141,9956,NULL,0,NULL,'2024-11-22 12:56:56','2024-11-22 12:56:56',NULL),(10140,8684,10142,9957,NULL,0,NULL,'2024-11-22 12:56:56','2024-11-22 12:56:56',NULL),(10141,8684,10143,9958,NULL,0,NULL,'2024-11-22 12:57:07','2024-11-22 12:57:07',NULL),(10142,8684,10144,9959,NULL,0,NULL,'2024-11-22 12:57:07','2024-11-22 12:57:07',NULL),(10143,8684,10145,9960,NULL,0,NULL,'2024-11-22 12:57:08','2024-11-22 12:57:08',NULL),(10144,8684,10146,9961,NULL,0,NULL,'2024-11-22 12:57:08','2024-11-22 12:57:08',NULL),(10145,8684,10147,9962,NULL,0,NULL,'2024-11-22 12:57:08','2024-11-22 12:57:08',NULL),(10146,8684,10148,9963,NULL,0,NULL,'2024-11-22 12:57:08','2024-11-22 12:57:08',NULL),(10147,8684,10149,9964,NULL,0,NULL,'2024-11-22 12:57:08','2024-11-22 12:57:08',NULL),(10148,8684,10150,9965,NULL,0,NULL,'2024-11-22 12:57:08','2024-11-22 12:57:08',NULL),(10149,8684,10151,9966,NULL,0,NULL,'2024-11-22 12:57:08','2024-11-22 12:57:08',NULL),(10150,8684,10152,9967,NULL,0,NULL,'2024-11-22 12:57:08','2024-11-22 12:57:08',NULL),(10151,8684,10153,9968,NULL,0,NULL,'2024-11-22 12:57:08','2024-11-22 12:57:08',NULL),(10152,8684,10154,9969,NULL,0,NULL,'2024-11-22 12:57:08','2024-11-22 12:57:08',NULL),(10153,8684,10155,9970,NULL,0,NULL,'2024-11-22 12:57:08','2024-11-22 12:57:08',NULL),(10154,8684,10156,9971,NULL,0,NULL,'2024-11-22 12:57:08','2024-11-22 12:57:08',NULL),(10155,8684,10157,9972,NULL,0,NULL,'2024-11-22 12:57:08','2024-11-22 12:57:08',NULL),(10156,8684,10158,9973,NULL,0,NULL,'2024-11-22 12:57:08','2024-11-22 12:57:08',NULL),(10157,8684,10159,9974,NULL,0,NULL,'2024-11-22 12:57:08','2024-11-22 12:57:08',NULL),(10158,8684,10160,9975,NULL,0,NULL,'2024-11-22 12:57:09','2024-11-22 12:57:09',NULL),(10159,8684,10161,9976,NULL,0,NULL,'2024-11-22 12:57:09','2024-11-22 12:57:09',NULL),(10160,8684,10162,9977,NULL,0,NULL,'2024-11-22 12:57:09','2024-11-22 12:57:09',NULL),(10161,8684,10163,9978,NULL,0,NULL,'2024-11-22 12:57:09','2024-11-22 12:57:09',NULL),(10162,8684,10164,9979,NULL,0,NULL,'2024-11-22 12:57:09','2024-11-22 12:57:09',NULL),(10163,8684,10165,9980,NULL,0,NULL,'2024-11-22 12:57:09','2024-11-22 12:57:09',NULL),(10164,8684,10166,9981,NULL,0,NULL,'2024-11-22 12:57:09','2024-11-22 12:57:09',NULL),(10165,8684,10167,9982,NULL,0,NULL,'2024-11-22 12:57:09','2024-11-22 12:57:09',NULL),(10166,8684,10168,9983,NULL,0,NULL,'2024-11-22 12:57:09','2024-11-22 12:57:09',NULL),(10167,8684,10169,9984,NULL,0,NULL,'2024-11-22 12:57:09','2024-11-22 12:57:09',NULL),(10168,8684,10170,9985,NULL,0,NULL,'2024-11-22 12:57:09','2024-11-22 12:57:09',NULL),(10169,8684,10171,9986,NULL,0,NULL,'2024-11-22 12:57:09','2024-11-22 12:57:09',NULL),(10170,8684,10172,9987,NULL,0,NULL,'2024-11-22 12:57:09','2024-11-22 12:57:09',NULL),(10171,8684,10173,9988,NULL,0,NULL,'2024-11-22 12:57:09','2024-11-22 12:57:09',NULL),(10172,8684,10174,9989,NULL,0,NULL,'2024-11-22 12:57:10','2024-11-22 12:57:10',NULL),(10173,8684,10175,9990,NULL,0,NULL,'2024-11-22 12:57:10','2024-11-22 12:57:10',NULL),(10174,8684,10176,9991,NULL,0,NULL,'2024-11-25 16:46:36','2024-11-25 16:46:36',NULL),(10175,8684,10177,9992,NULL,0,NULL,'2024-11-25 16:46:36','2024-11-25 16:46:36',NULL),(10176,8684,10178,9993,NULL,0,NULL,'2024-11-25 16:46:36','2024-11-25 16:46:36',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10177,8684,10179,9994,NULL,0,NULL,'2024-11-25 16:46:36','2024-11-25 16:46:36',NULL),(10178,8684,10180,9995,NULL,0,NULL,'2024-11-25 16:46:36','2024-11-25 16:46:36',NULL),(10179,8684,10181,9996,NULL,0,NULL,'2024-11-25 16:46:36','2024-11-25 16:46:36',NULL),(10180,8684,10182,9997,NULL,0,NULL,'2024-11-25 16:46:36','2024-11-25 16:46:36',NULL),(10181,8684,10183,9998,NULL,0,NULL,'2024-11-25 16:46:37','2024-11-25 16:46:37',NULL),(10182,8684,10184,9999,NULL,0,NULL,'2024-11-25 16:46:37','2024-11-25 16:46:37',NULL),(10183,NULL,10185,10000,NULL,0,NULL,'2024-11-25 16:48:52','2024-11-25 16:48:52',NULL),(10184,NULL,10186,10001,NULL,0,NULL,'2024-11-25 16:48:52','2024-11-25 16:48:52',NULL),(10185,NULL,10187,10002,NULL,0,NULL,'2024-11-25 16:48:52','2024-11-25 16:48:52',NULL),(10186,NULL,10188,10003,NULL,0,NULL,'2024-11-25 16:48:52','2024-11-25 16:48:52',NULL),(10187,NULL,10189,10004,NULL,0,NULL,'2024-11-25 16:48:52','2024-11-25 16:48:52',NULL),(10188,NULL,10190,10005,NULL,0,NULL,'2024-11-25 16:48:52','2024-11-25 16:48:52',NULL),(10189,NULL,10191,10006,NULL,0,NULL,'2024-11-25 16:48:52','2024-11-25 16:48:52',NULL),(10190,NULL,10192,10007,NULL,0,NULL,'2024-11-25 16:48:53','2024-11-25 16:48:53',NULL),(10191,NULL,10193,10008,NULL,0,NULL,'2024-11-25 16:48:53','2024-11-25 16:48:53',NULL),(10192,NULL,10194,10009,NULL,0,NULL,'2024-11-25 16:48:53','2024-11-25 16:48:53',NULL),(10193,NULL,10195,10010,NULL,0,NULL,'2024-11-25 16:48:53','2024-11-25 16:48:53',NULL),(10194,NULL,10196,10011,NULL,0,NULL,'2024-11-25 16:48:53','2024-11-25 16:48:53',NULL),(10195,NULL,10197,10012,NULL,0,NULL,'2024-11-25 16:48:53','2024-11-25 16:48:53',NULL),(10196,NULL,10198,10013,NULL,0,NULL,'2024-11-25 16:48:53','2024-11-25 16:48:53',NULL),(10197,NULL,10199,10014,NULL,0,NULL,'2024-11-25 16:48:53','2024-11-25 16:48:53',NULL),(10198,NULL,10200,10015,NULL,0,NULL,'2024-11-25 16:48:53','2024-11-25 16:48:53',NULL),(10199,NULL,10201,10016,NULL,0,NULL,'2024-11-25 16:48:53','2024-11-25 16:48:53',NULL),(10200,NULL,10202,10017,NULL,0,NULL,'2024-11-25 16:48:53','2024-11-25 16:48:53',NULL),(10201,NULL,10203,10018,NULL,0,NULL,'2024-11-25 16:48:54','2024-11-25 16:48:54',NULL),(10202,NULL,10204,10019,NULL,0,NULL,'2024-11-25 16:48:54','2024-11-25 16:48:54',NULL),(10203,NULL,10205,10020,NULL,0,NULL,'2024-11-25 16:48:54','2024-11-25 16:48:54',NULL),(10204,NULL,10206,10021,NULL,0,NULL,'2024-11-25 16:48:54','2024-11-25 16:48:54',NULL),(10205,NULL,10207,10022,NULL,0,NULL,'2024-11-25 16:48:54','2024-11-25 16:48:54',NULL),(10206,NULL,10208,10023,NULL,0,NULL,'2024-11-25 16:48:54','2024-11-25 16:48:54',NULL),(10207,NULL,10209,10024,NULL,0,NULL,'2024-11-25 16:48:54','2024-11-25 16:48:54',NULL),(10208,NULL,10210,10025,NULL,0,NULL,'2024-11-25 16:48:54','2024-11-25 16:48:54',NULL),(10209,NULL,10211,10026,NULL,0,NULL,'2024-11-25 16:48:54','2024-11-25 16:48:54',NULL),(10210,NULL,10212,10027,NULL,0,NULL,'2024-11-25 16:48:54','2024-11-25 16:48:54',NULL),(10211,NULL,10213,10028,NULL,0,NULL,'2024-11-25 16:48:54','2024-11-25 16:48:54',NULL),(10212,NULL,10214,10029,NULL,0,NULL,'2024-11-25 16:48:54','2024-11-25 16:48:54',NULL),(10213,NULL,10215,10030,NULL,0,NULL,'2024-11-25 16:48:55','2024-11-25 16:48:55',NULL),(10214,NULL,10216,10031,NULL,0,NULL,'2024-11-25 16:48:55','2024-11-25 16:48:55',NULL),(10215,NULL,10217,10032,NULL,0,NULL,'2024-11-25 16:48:55','2024-11-25 16:48:55',NULL),(10216,NULL,10218,10033,NULL,0,NULL,'2024-11-25 16:48:55','2024-11-25 16:48:55',NULL),(10217,NULL,10219,10034,NULL,0,NULL,'2024-11-25 16:48:55','2024-11-25 16:48:55',NULL),(10218,NULL,10220,10035,NULL,0,NULL,'2024-11-25 16:48:55','2024-11-25 16:48:55',NULL),(10219,NULL,10221,10036,NULL,0,NULL,'2024-11-25 16:48:55','2024-11-25 16:48:55',NULL),(10220,NULL,10222,10037,NULL,0,NULL,'2024-11-25 16:48:55','2024-11-25 16:48:55',NULL),(10221,NULL,10223,10038,NULL,0,NULL,'2024-11-25 16:48:55','2024-11-25 16:48:55',NULL),(10222,NULL,10224,10039,NULL,0,NULL,'2024-11-25 16:48:55','2024-11-25 16:48:55',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10223,NULL,10225,10040,NULL,0,NULL,'2024-11-25 16:48:55','2024-11-25 16:48:55',NULL),(10224,NULL,10226,10041,NULL,0,NULL,'2024-11-25 16:48:55','2024-11-25 16:48:55',NULL),(10225,NULL,10227,10042,NULL,0,NULL,'2024-11-25 16:48:56','2024-11-25 16:48:56',NULL),(10226,NULL,10228,10043,NULL,0,NULL,'2024-11-25 16:48:56','2024-11-25 16:48:56',NULL),(10227,NULL,10229,10044,NULL,0,NULL,'2024-11-25 16:48:56','2024-11-25 16:48:56',NULL),(10228,NULL,10230,10045,NULL,0,NULL,'2024-11-25 16:48:56','2024-11-25 16:48:56',NULL),(10229,NULL,10231,10046,NULL,0,NULL,'2024-11-25 16:48:56','2024-11-25 16:48:56',NULL),(10230,NULL,10232,10047,NULL,0,NULL,'2024-11-25 16:48:56','2024-11-25 16:48:56',NULL),(10231,NULL,10233,10048,NULL,0,NULL,'2024-11-25 16:48:56','2024-11-25 16:48:56',NULL),(10232,NULL,10234,10049,NULL,0,NULL,'2024-11-25 16:48:56','2024-11-25 16:48:56',NULL),(10233,NULL,10235,10050,NULL,0,NULL,'2024-11-25 16:48:56','2024-11-25 16:48:56',NULL),(10234,NULL,10236,10051,NULL,0,NULL,'2024-11-25 16:48:56','2024-11-25 16:48:56',NULL),(10235,NULL,10237,10052,NULL,0,NULL,'2024-11-25 16:48:56','2024-11-25 16:48:56',NULL),(10236,NULL,10238,10053,NULL,0,NULL,'2024-11-25 16:48:56','2024-11-25 16:48:56',NULL),(10237,NULL,10239,10054,NULL,0,NULL,'2024-11-25 16:48:57','2024-11-25 16:48:57',NULL),(10238,NULL,10240,10055,NULL,0,NULL,'2024-11-25 16:48:57','2024-11-25 16:48:57',NULL),(10239,NULL,10241,10056,NULL,0,NULL,'2024-11-25 16:48:57','2024-11-25 16:48:57',NULL),(10240,NULL,10242,10057,NULL,0,NULL,'2024-11-25 16:48:57','2024-11-25 16:48:57',NULL),(10241,NULL,10243,10058,NULL,0,NULL,'2024-11-25 16:48:57','2024-11-25 16:48:57',NULL),(10242,NULL,10244,10059,NULL,0,NULL,'2024-11-25 16:48:57','2024-11-25 16:48:57',NULL),(10243,NULL,10245,10060,NULL,0,NULL,'2024-11-25 16:48:57','2024-11-25 16:48:57',NULL),(10244,NULL,10246,10061,NULL,0,NULL,'2024-11-25 16:48:57','2024-11-25 16:48:57',NULL),(10245,NULL,10247,10062,NULL,0,NULL,'2024-11-25 16:48:57','2024-11-25 16:48:57',NULL),(10246,NULL,10248,10063,NULL,0,NULL,'2024-11-25 16:48:57','2024-11-25 16:48:57',NULL),(10247,NULL,10249,10064,NULL,0,NULL,'2024-11-25 16:48:57','2024-11-25 16:48:57',NULL),(10248,NULL,10250,10065,NULL,0,NULL,'2024-11-25 16:48:57','2024-11-25 16:48:57',NULL),(10249,NULL,10251,10066,NULL,0,NULL,'2024-11-25 16:48:58','2024-11-25 16:48:58',NULL),(10250,NULL,10252,10067,NULL,0,NULL,'2024-11-25 16:48:58','2024-11-25 16:48:58',NULL),(10251,NULL,10253,10068,NULL,0,NULL,'2024-11-25 16:48:58','2024-11-25 16:48:58',NULL),(10252,NULL,10254,10069,NULL,0,NULL,'2024-11-25 16:48:58','2024-11-25 16:48:58',NULL),(10253,NULL,10255,10070,NULL,0,NULL,'2024-11-25 16:48:58','2024-11-25 16:48:58',NULL),(10254,NULL,10256,10071,NULL,0,NULL,'2024-11-25 16:48:58','2024-11-25 16:48:58',NULL),(10255,8684,10257,10072,NULL,0,NULL,'2024-11-25 16:51:15','2024-11-25 16:51:15',NULL),(10256,8684,10258,10073,NULL,0,NULL,'2024-11-25 16:51:15','2024-11-25 16:51:15',NULL),(10257,8684,10259,10074,NULL,0,NULL,'2024-11-25 16:51:15','2024-11-25 16:51:15',NULL),(10258,8684,10260,10075,NULL,0,NULL,'2024-11-25 16:51:16','2024-11-25 16:51:16',NULL),(10259,8684,10261,10076,NULL,0,NULL,'2024-11-25 16:51:16','2024-11-25 16:51:16',NULL),(10260,8684,10262,10077,NULL,0,NULL,'2024-11-25 16:51:16','2024-11-25 16:51:16',NULL),(10261,8684,10263,10078,NULL,0,NULL,'2024-11-25 16:51:16','2024-11-25 16:51:16',NULL),(10262,8684,10264,10079,NULL,0,NULL,'2024-11-25 16:51:16','2024-11-25 16:51:16',NULL),(10263,8684,10265,10080,NULL,0,NULL,'2024-11-25 16:51:16','2024-11-25 16:51:16',NULL),(10264,8684,10266,10081,NULL,0,NULL,'2024-11-25 16:51:16','2024-11-25 16:51:16',NULL),(10265,8684,10267,10082,NULL,0,NULL,'2024-11-25 16:51:16','2024-11-25 16:51:16',NULL),(10266,8684,10268,10083,NULL,0,NULL,'2024-11-25 16:51:16','2024-11-25 16:51:16',NULL),(10267,8684,10269,10084,NULL,0,NULL,'2024-11-25 16:51:16','2024-11-25 16:51:16',NULL),(10268,8684,10270,10085,NULL,0,NULL,'2024-11-25 16:51:16','2024-11-25 16:51:16',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10269,8684,10271,10086,NULL,0,NULL,'2024-11-25 16:51:16','2024-11-25 16:51:16',NULL),(10270,8684,10272,10087,NULL,0,NULL,'2024-11-25 16:51:16','2024-11-25 16:51:16',NULL),(10271,8684,10273,10088,NULL,0,NULL,'2024-11-25 16:51:16','2024-11-25 16:51:16',NULL),(10272,8684,10274,10089,NULL,0,NULL,'2024-11-25 16:51:16','2024-11-25 16:51:16',NULL),(10273,8684,10275,10090,NULL,0,NULL,'2024-11-25 16:51:17','2024-11-25 16:51:17',NULL),(10274,8684,10276,10091,NULL,0,NULL,'2024-11-25 16:51:17','2024-11-25 16:51:17',NULL),(10275,8684,10277,10092,NULL,0,NULL,'2024-11-25 16:51:17','2024-11-25 16:51:17',NULL),(10276,8684,10278,10093,NULL,0,NULL,'2024-11-25 16:51:17','2024-11-25 16:51:17',NULL),(10277,8684,10279,10094,NULL,0,NULL,'2024-11-25 16:51:17','2024-11-25 16:51:17',NULL),(10278,8684,10280,10095,NULL,0,NULL,'2024-11-25 16:51:17','2024-11-25 16:51:17',NULL),(10279,8684,10281,10096,NULL,0,NULL,'2024-11-25 16:51:17','2024-11-25 16:51:17',NULL),(10280,8684,10282,10097,NULL,0,NULL,'2024-11-25 16:51:17','2024-11-25 16:51:17',NULL),(10281,8684,10283,10098,NULL,0,NULL,'2024-11-25 16:51:17','2024-11-25 16:51:17',NULL),(10282,8684,10284,10099,NULL,0,NULL,'2024-11-25 16:51:17','2024-11-25 16:51:17',NULL),(10283,8684,10285,10100,NULL,0,NULL,'2024-11-25 16:51:17','2024-11-25 16:51:17',NULL),(10284,8684,10286,10101,NULL,0,NULL,'2024-11-25 16:51:17','2024-11-25 16:51:17',NULL),(10285,8684,10287,10102,NULL,0,NULL,'2024-11-25 16:51:17','2024-11-25 16:51:17',NULL),(10286,8684,10288,10103,NULL,0,NULL,'2024-11-25 16:51:17','2024-11-25 16:51:17',NULL),(10287,8684,10289,10104,NULL,0,NULL,'2024-11-25 16:51:17','2024-11-25 16:51:17',NULL),(10288,8684,10290,10105,NULL,0,NULL,'2024-11-25 16:51:17','2024-11-25 16:51:17',NULL),(10289,8684,10291,10106,NULL,0,NULL,'2024-11-25 16:51:17','2024-11-25 16:51:17',NULL),(10290,8684,10292,10107,NULL,0,NULL,'2024-11-25 16:51:18','2024-11-25 16:51:18',NULL),(10291,8684,10293,10108,NULL,0,NULL,'2024-11-25 16:51:18','2024-11-25 16:51:18',NULL),(10292,8684,10294,10109,NULL,0,NULL,'2024-11-25 16:51:18','2024-11-25 16:51:18',NULL),(10293,8684,10295,10110,NULL,0,NULL,'2024-11-25 16:51:18','2024-11-25 16:51:18',NULL),(10294,8684,10296,10111,NULL,0,NULL,'2024-11-25 16:51:18','2024-11-25 16:51:18',NULL),(10295,8684,10297,10112,NULL,0,NULL,'2024-11-25 16:51:18','2024-11-25 16:51:18',NULL),(10296,8684,10298,10113,NULL,0,NULL,'2024-11-25 16:51:18','2024-11-25 16:51:18',NULL),(10297,8684,10299,10114,NULL,0,NULL,'2024-11-25 16:51:18','2024-11-25 16:51:18',NULL),(10298,8684,10300,10115,NULL,0,NULL,'2024-11-25 16:51:18','2024-11-25 16:51:18',NULL),(10299,8684,10301,10116,NULL,0,NULL,'2024-11-25 16:51:18','2024-11-25 16:51:18',NULL),(10300,8684,10302,10117,NULL,0,NULL,'2024-11-25 16:51:18','2024-11-25 16:51:18',NULL),(10301,8684,10303,10118,NULL,0,NULL,'2024-11-25 16:51:18','2024-11-25 16:51:18',NULL),(10302,8684,10304,10119,NULL,0,NULL,'2024-11-25 16:51:18','2024-11-25 16:51:18',NULL),(10303,8684,10305,10120,NULL,0,NULL,'2024-11-25 16:51:18','2024-11-25 16:51:18',NULL),(10304,8684,10306,10121,NULL,0,NULL,'2024-11-25 16:51:18','2024-11-25 16:51:18',NULL),(10305,8684,10307,10122,NULL,0,NULL,'2024-11-25 16:51:18','2024-11-25 16:51:18',NULL),(10306,8684,10308,10123,NULL,0,NULL,'2024-11-25 16:51:19','2024-11-25 16:51:19',NULL),(10307,8684,10309,10124,NULL,0,NULL,'2024-11-25 16:51:19','2024-11-25 16:51:19',NULL),(10308,8684,10310,10125,NULL,0,NULL,'2024-11-25 16:51:19','2024-11-25 16:51:19',NULL),(10309,8684,10311,10126,NULL,0,NULL,'2024-11-25 16:51:19','2024-11-25 16:51:19',NULL),(10310,8684,10312,10127,NULL,0,NULL,'2024-11-25 16:51:19','2024-11-25 16:51:19',NULL),(10311,8684,10313,10128,NULL,0,NULL,'2024-11-25 16:51:19','2024-11-25 16:51:19',NULL),(10312,8684,10314,10129,NULL,0,NULL,'2024-11-25 16:51:19','2024-11-25 16:51:19',NULL),(10313,8684,10315,10130,NULL,0,NULL,'2024-11-25 16:51:19','2024-11-25 16:51:19',NULL),(10314,8684,10316,10131,NULL,0,NULL,'2024-11-25 16:51:19','2024-11-25 16:51:19',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10315,8684,10317,10132,NULL,0,NULL,'2024-11-25 16:51:19','2024-11-25 16:51:19',NULL),(10316,8684,10318,10133,NULL,0,NULL,'2024-11-25 16:51:19','2024-11-25 16:51:19',NULL),(10317,8684,10319,10134,NULL,0,NULL,'2024-11-25 16:51:19','2024-11-25 16:51:19',NULL),(10318,8684,10320,10135,NULL,0,NULL,'2024-11-25 16:51:19','2024-11-25 16:51:19',NULL),(10319,8684,10321,10136,NULL,0,NULL,'2024-11-25 16:51:19','2024-11-25 16:51:19',NULL),(10320,8684,10322,10137,NULL,0,NULL,'2024-11-25 16:51:19','2024-11-25 16:51:19',NULL),(10321,8684,10323,10138,NULL,0,NULL,'2024-11-25 16:51:19','2024-11-25 16:51:19',NULL),(10322,8684,10324,10139,NULL,0,NULL,'2024-11-25 16:51:19','2024-11-25 16:51:19',NULL),(10323,8684,10325,10140,NULL,0,NULL,'2024-11-25 16:51:20','2024-11-25 16:51:20',NULL),(10324,8684,10326,10141,NULL,0,NULL,'2024-11-25 16:51:20','2024-11-25 16:51:20',NULL),(10325,8684,10327,10142,NULL,0,NULL,'2024-11-25 16:51:20','2024-11-25 16:51:20',NULL),(10326,8684,10328,10143,NULL,0,NULL,'2024-11-25 16:51:20','2024-11-25 16:51:20',NULL),(10327,8684,10329,10144,NULL,0,NULL,'2024-11-25 16:57:00','2024-11-25 16:57:00',NULL),(10328,8684,10330,10145,NULL,0,NULL,'2024-11-25 16:57:00','2024-11-25 16:57:00',NULL),(10329,8684,10331,10146,NULL,0,NULL,'2024-11-25 16:57:00','2024-11-25 16:57:00',NULL),(10330,8684,10332,10147,NULL,0,NULL,'2024-11-25 16:57:00','2024-11-25 16:57:00',NULL),(10331,8684,10333,10148,NULL,0,NULL,'2024-11-25 16:57:00','2024-11-25 16:57:00',NULL),(10332,8684,10334,10149,NULL,0,NULL,'2024-11-25 16:57:00','2024-11-25 16:57:00',NULL),(10333,8684,10335,10150,NULL,0,NULL,'2024-11-25 16:57:00','2024-11-25 16:57:00',NULL),(10334,8684,10336,10151,NULL,0,NULL,'2024-11-25 16:57:00','2024-11-25 16:57:00',NULL),(10335,8684,10337,10152,NULL,0,NULL,'2024-11-25 16:57:00','2024-11-25 16:57:00',NULL),(10336,8684,10338,10153,NULL,0,NULL,'2024-11-25 16:57:00','2024-11-25 16:57:00',NULL),(10337,8684,10339,10154,NULL,0,NULL,'2024-12-04 21:15:09','2024-12-04 21:15:09',NULL),(10338,8684,10340,10155,NULL,0,NULL,'2024-12-04 21:15:09','2024-12-04 21:15:09',NULL),(10339,8684,10341,10156,NULL,0,NULL,'2024-12-04 21:15:09','2024-12-04 21:15:09',NULL),(10340,8684,10342,10157,NULL,0,NULL,'2024-12-04 21:15:09','2024-12-04 21:15:09',NULL),(10341,8684,10343,10158,NULL,0,NULL,'2024-12-04 21:15:09','2024-12-04 21:15:09',NULL),(10342,8684,10344,10159,NULL,0,NULL,'2024-12-04 21:15:10','2024-12-04 21:15:10',NULL),(10343,8684,10345,10160,NULL,0,NULL,'2024-12-04 21:15:10','2024-12-04 21:15:10',NULL),(10344,8684,10346,10161,NULL,0,NULL,'2024-12-04 21:15:10','2024-12-04 21:15:10',NULL),(10345,8684,10347,10162,NULL,0,NULL,'2024-12-04 21:15:10','2024-12-04 21:15:10',NULL),(10346,8684,10348,10163,NULL,0,NULL,'2024-12-04 21:15:10','2024-12-04 21:15:10',NULL),(10347,8684,10349,10164,NULL,0,NULL,'2024-12-04 21:15:10','2024-12-04 21:15:10',NULL),(10348,8684,10350,10165,NULL,0,NULL,'2024-12-04 21:18:16','2024-12-04 21:18:16',NULL),(10349,8684,10351,10166,NULL,0,NULL,'2024-12-04 21:18:16','2024-12-04 21:18:16',NULL),(10350,8684,10352,10167,NULL,0,NULL,'2024-12-04 21:18:16','2024-12-04 21:18:16',NULL),(10351,8684,10353,10168,NULL,0,NULL,'2024-12-04 21:18:16','2024-12-04 21:18:16',NULL),(10352,8684,10354,10169,NULL,0,NULL,'2024-12-04 21:18:16','2024-12-04 21:18:16',NULL),(10353,8684,10355,10170,NULL,0,NULL,'2024-12-04 21:18:17','2024-12-04 21:18:17',NULL),(10354,8684,10356,10171,NULL,0,NULL,'2024-12-04 21:18:17','2024-12-04 21:18:17',NULL),(10355,8684,10357,10172,NULL,0,NULL,'2024-12-04 21:18:17','2024-12-04 21:18:17',NULL),(10356,8684,10358,10173,NULL,0,NULL,'2024-12-04 21:18:17','2024-12-04 21:18:17',NULL),(10357,8684,10359,10174,NULL,0,NULL,'2024-12-04 21:18:17','2024-12-04 21:18:17',NULL),(10358,8684,10360,10175,NULL,0,NULL,'2024-12-04 21:18:17','2024-12-04 21:18:17',NULL),(10359,8684,10361,10176,NULL,0,NULL,'2024-12-04 21:18:17','2024-12-04 21:18:17',NULL),(10360,8684,10362,10177,NULL,0,NULL,'2024-12-04 21:18:17','2024-12-04 21:18:17',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10361,8684,10363,10178,NULL,0,NULL,'2024-12-04 21:18:17','2024-12-04 21:18:17',NULL),(10362,8684,10364,10179,NULL,0,NULL,'2024-12-04 21:18:18','2024-12-04 21:18:18',NULL),(10363,8684,10365,10180,NULL,0,NULL,'2024-12-04 21:18:18','2024-12-04 21:18:18',NULL),(10364,8684,10366,10181,NULL,0,NULL,'2024-12-04 21:18:18','2024-12-04 21:18:18',NULL),(10365,8684,10367,10182,NULL,0,NULL,'2024-12-04 21:23:25','2024-12-04 21:23:25',NULL),(10366,8684,10368,10183,NULL,0,NULL,'2024-12-04 21:23:25','2024-12-04 21:23:25',NULL),(10367,8684,10369,10184,NULL,0,NULL,'2024-12-04 21:23:25','2024-12-04 21:23:25',NULL),(10368,8684,10370,10185,NULL,0,NULL,'2024-12-04 21:23:26','2024-12-04 21:23:26',NULL),(10369,8684,10371,10186,NULL,0,NULL,'2024-12-04 21:23:26','2024-12-04 21:23:26',NULL),(10370,8684,10372,10187,NULL,0,NULL,'2024-12-04 21:23:26','2024-12-04 21:23:26',NULL),(10371,8684,10373,10188,NULL,0,NULL,'2024-12-04 21:23:26','2024-12-04 21:23:26',NULL),(10372,8684,10374,10189,NULL,0,NULL,'2024-12-04 21:23:26','2024-12-04 21:23:26',NULL),(10373,8684,10375,10190,NULL,0,NULL,'2024-12-04 21:23:26','2024-12-04 21:23:26',NULL),(10374,8684,10376,10191,NULL,0,NULL,'2024-12-04 21:23:26','2024-12-04 21:23:26',NULL),(10375,8684,10377,10192,NULL,0,NULL,'2024-12-04 21:23:26','2024-12-04 21:23:26',NULL),(10376,8684,10378,10193,NULL,0,NULL,'2024-12-04 21:23:27','2024-12-04 21:23:27',NULL),(10377,8684,10379,10194,NULL,0,NULL,'2024-12-04 21:23:27','2024-12-04 21:23:27',NULL),(10378,8684,10380,10195,NULL,0,NULL,'2024-12-04 21:23:27','2024-12-04 21:23:27',NULL),(10379,8684,10381,10196,NULL,0,NULL,'2024-12-04 21:23:27','2024-12-04 21:23:27',NULL),(10380,8684,10382,10197,NULL,0,NULL,'2024-12-04 21:23:27','2024-12-04 21:23:27',NULL),(10381,8684,10383,10198,NULL,0,NULL,'2024-12-04 21:23:27','2024-12-04 21:23:27',NULL),(10382,8684,10384,10199,NULL,0,NULL,'2024-12-04 21:23:27','2024-12-04 21:23:27',NULL),(10394,8684,10396,10211,NULL,0,NULL,'2024-12-04 21:25:33','2024-12-04 21:25:33',NULL),(10395,8684,10397,10212,NULL,0,NULL,'2024-12-04 21:25:33','2024-12-04 21:25:33',NULL),(10396,8684,10398,10213,NULL,0,NULL,'2024-12-04 21:25:33','2024-12-04 21:25:33',NULL),(10397,8684,10399,10214,NULL,0,NULL,'2024-12-04 21:25:33','2024-12-04 21:25:33',NULL),(10398,8684,10400,10215,NULL,0,NULL,'2024-12-04 21:25:33','2024-12-04 21:25:33',NULL),(10399,8684,10401,10216,NULL,0,NULL,'2024-12-04 21:25:33','2024-12-04 21:25:33',NULL),(10400,8684,10402,10217,NULL,0,NULL,'2024-12-04 21:25:33','2024-12-04 21:25:33',NULL),(10401,8684,10403,10218,NULL,0,NULL,'2024-12-04 21:25:34','2024-12-04 21:25:34',NULL),(10402,8684,10404,10219,NULL,0,NULL,'2024-12-04 21:25:34','2024-12-04 21:25:34',NULL),(10403,8684,10405,10220,NULL,0,NULL,'2024-12-04 21:25:34','2024-12-04 21:25:34',NULL),(10404,8684,10406,10221,NULL,0,NULL,'2024-12-04 21:25:34','2024-12-04 21:25:34',NULL),(10405,8684,10407,10222,NULL,0,NULL,'2024-12-04 21:25:34','2024-12-04 21:25:34',NULL),(10406,8684,10408,10223,NULL,0,NULL,'2024-12-04 21:25:34','2024-12-04 21:25:34',NULL),(10407,8684,10409,10224,NULL,0,NULL,'2024-12-04 21:25:34','2024-12-04 21:25:34',NULL),(10408,8684,10410,10225,NULL,0,NULL,'2024-12-04 21:25:34','2024-12-04 21:25:34',NULL),(10415,8684,10417,10232,NULL,0,NULL,'2024-12-10 18:50:31','2024-12-10 18:50:31',NULL),(10416,8684,10418,10233,NULL,0,NULL,'2024-12-10 18:50:31','2024-12-10 18:50:31',NULL),(10417,8684,10419,10234,NULL,0,NULL,'2024-12-10 18:50:31','2024-12-10 18:50:31',NULL),(10418,8684,10420,10235,NULL,0,NULL,'2024-12-10 18:50:31','2024-12-10 18:50:31',NULL),(10419,8684,10421,10236,NULL,0,NULL,'2024-12-10 18:50:31','2024-12-10 18:50:31',NULL),(10420,8684,10422,10237,NULL,0,NULL,'2024-12-10 18:50:31','2024-12-10 18:50:31',NULL),(10421,8684,10423,10238,NULL,0,NULL,'2024-12-10 18:50:31','2024-12-10 18:50:31',NULL),(10422,8684,10424,10239,NULL,0,NULL,'2024-12-10 18:50:31','2024-12-10 18:50:31',NULL),(10423,8684,10425,10240,NULL,0,NULL,'2024-12-10 18:50:31','2024-12-10 18:50:31',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10424,8684,10426,10241,NULL,0,NULL,'2024-12-10 18:50:32','2024-12-10 18:50:32',NULL),(10425,8684,10427,10242,NULL,0,NULL,'2024-12-10 18:50:32','2024-12-10 18:50:32',NULL),(10426,8684,10428,10243,NULL,0,NULL,'2024-12-10 18:50:32','2024-12-10 18:50:32',NULL),(10427,8684,10429,10244,NULL,0,NULL,'2024-12-10 18:50:32','2024-12-10 18:50:32',NULL),(10428,8684,10430,10245,NULL,0,NULL,'2024-12-10 18:50:32','2024-12-10 18:50:32',NULL),(10429,8684,10431,10246,NULL,0,NULL,'2024-12-10 18:50:32','2024-12-10 18:50:32',NULL),(10430,8684,10432,10247,NULL,0,NULL,'2024-12-10 18:50:32','2024-12-10 18:50:32',NULL),(10431,8684,10433,10248,NULL,0,NULL,'2024-12-10 18:50:32','2024-12-10 18:50:32',NULL),(10432,8684,10434,10249,NULL,0,NULL,'2024-12-10 18:50:32','2024-12-10 18:50:32',NULL),(10433,8684,10435,10250,NULL,0,NULL,'2024-12-10 18:50:32','2024-12-10 18:50:32',NULL),(10434,8684,10436,10251,NULL,0,NULL,'2024-12-10 18:50:32','2024-12-10 18:50:32',NULL),(10435,8684,10437,10252,NULL,0,NULL,'2024-12-10 18:50:32','2024-12-10 18:50:32',NULL),(10436,8684,10438,10253,NULL,0,NULL,'2024-12-10 18:50:33','2024-12-10 18:50:33',NULL),(10437,8684,10439,10254,NULL,0,NULL,'2024-12-10 18:50:33','2024-12-10 18:50:33',NULL),(10438,8684,10440,10255,NULL,0,NULL,'2024-12-10 18:50:33','2024-12-10 18:50:33',NULL),(10439,8684,10441,10256,NULL,0,NULL,'2024-12-10 18:50:33','2024-12-10 18:50:33',NULL),(10440,8684,10442,10257,NULL,0,NULL,'2024-12-10 18:50:33','2024-12-10 18:50:33',NULL),(10441,8684,10443,10258,NULL,0,NULL,'2024-12-10 18:50:33','2024-12-10 18:50:33',NULL),(10442,8684,10444,10259,NULL,0,NULL,'2024-12-10 18:50:33','2024-12-10 18:50:33',NULL),(10443,8684,10445,10260,NULL,0,NULL,'2024-12-10 18:50:33','2024-12-10 18:50:33',NULL),(10444,8684,10446,10261,NULL,0,NULL,'2024-12-10 18:50:34','2024-12-10 18:50:34',NULL),(10445,8684,10447,10262,NULL,0,NULL,'2024-12-10 18:50:34','2024-12-10 18:50:34',NULL),(10446,8684,10448,10263,NULL,0,NULL,'2024-12-10 18:50:34','2024-12-10 18:50:34',NULL),(10447,8684,10449,10264,NULL,0,NULL,'2024-12-10 18:50:34','2024-12-10 18:50:34',NULL),(10448,NULL,10450,10265,NULL,0,NULL,'2024-12-10 18:52:12','2024-12-10 18:52:12',NULL),(10449,NULL,10451,10266,NULL,0,NULL,'2024-12-10 18:52:12','2024-12-10 18:52:12',NULL),(10450,NULL,10452,10267,NULL,0,NULL,'2024-12-10 18:52:12','2024-12-10 18:52:12',NULL),(10451,NULL,10453,10268,NULL,0,NULL,'2024-12-10 18:52:12','2024-12-10 18:52:12',NULL),(10452,NULL,10454,10269,NULL,0,NULL,'2024-12-10 18:52:12','2024-12-10 18:52:12',NULL),(10453,NULL,10455,10270,NULL,0,NULL,'2024-12-10 18:52:13','2024-12-10 18:52:13',NULL),(10454,NULL,10456,10271,NULL,0,NULL,'2024-12-10 18:52:13','2024-12-10 18:52:13',NULL),(10455,NULL,10457,10272,NULL,0,NULL,'2024-12-10 18:52:13','2024-12-10 18:52:13',NULL),(10456,NULL,10458,10273,NULL,0,NULL,'2024-12-10 18:52:13','2024-12-10 18:52:13',NULL),(10457,NULL,10459,10274,NULL,0,NULL,'2024-12-10 18:52:13','2024-12-10 18:52:13',NULL),(10458,NULL,10460,10275,NULL,0,NULL,'2024-12-10 18:52:13','2024-12-10 18:52:13',NULL),(10459,NULL,10461,10276,NULL,0,NULL,'2024-12-10 18:52:13','2024-12-10 18:52:13',NULL),(10460,NULL,10462,10277,NULL,0,NULL,'2024-12-10 18:52:14','2024-12-10 18:52:14',NULL),(10461,NULL,10463,10278,NULL,0,NULL,'2024-12-10 18:52:14','2024-12-10 18:52:14',NULL),(10462,NULL,10464,10279,NULL,0,NULL,'2024-12-10 18:52:14','2024-12-10 18:52:14',NULL),(10463,NULL,10465,10280,NULL,0,NULL,'2024-12-10 18:52:14','2024-12-10 18:52:14',NULL),(10464,NULL,10466,10281,NULL,0,NULL,'2024-12-10 18:52:14','2024-12-10 18:52:14',NULL),(10465,NULL,10467,10282,NULL,0,NULL,'2024-12-10 18:52:14','2024-12-10 18:52:14',NULL),(10466,NULL,10468,10283,NULL,0,NULL,'2024-12-10 18:52:14','2024-12-10 18:52:14',NULL),(10467,NULL,10469,10284,NULL,0,NULL,'2024-12-10 18:52:14','2024-12-10 18:52:14',NULL),(10468,NULL,10470,10285,NULL,0,NULL,'2024-12-10 18:52:14','2024-12-10 18:52:14',NULL),(10469,NULL,10471,10286,NULL,0,NULL,'2024-12-10 18:52:14','2024-12-10 18:52:14',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10470,NULL,10472,10287,NULL,0,NULL,'2024-12-10 18:52:15','2024-12-10 18:52:15',NULL),(10471,NULL,10473,10288,NULL,0,NULL,'2024-12-10 18:52:15','2024-12-10 18:52:15',NULL),(10472,NULL,10474,10289,NULL,0,NULL,'2024-12-10 18:52:15','2024-12-10 18:52:15',NULL),(10473,NULL,10475,10290,NULL,0,NULL,'2024-12-10 18:52:15','2024-12-10 18:52:15',NULL),(10474,NULL,10476,10291,NULL,0,NULL,'2024-12-10 18:52:15','2024-12-10 18:52:15',NULL),(10475,NULL,10477,10292,NULL,0,NULL,'2024-12-10 18:52:15','2024-12-10 18:52:15',NULL),(10476,NULL,10478,10293,NULL,0,NULL,'2024-12-10 18:52:15','2024-12-10 18:52:15',NULL),(10477,NULL,10479,10294,NULL,0,NULL,'2024-12-10 18:52:15','2024-12-10 18:52:15',NULL),(10478,NULL,10480,10295,NULL,0,NULL,'2024-12-10 18:52:15','2024-12-10 18:52:15',NULL),(10479,NULL,10481,10296,NULL,0,NULL,'2024-12-10 18:52:15','2024-12-10 18:52:15',NULL),(10480,NULL,10482,10297,NULL,0,NULL,'2024-12-10 18:52:16','2024-12-10 18:52:16',NULL),(10481,NULL,10483,10298,NULL,0,NULL,'2024-12-10 18:52:16','2024-12-10 18:52:16',NULL),(10482,NULL,10484,10299,NULL,0,NULL,'2024-12-10 18:52:16','2024-12-10 18:52:16',NULL),(10483,NULL,10485,10300,NULL,0,NULL,'2024-12-10 18:52:16','2024-12-10 18:52:16',NULL),(10484,NULL,10486,10301,NULL,0,NULL,'2024-12-10 18:52:16','2024-12-10 18:52:16',NULL),(10485,NULL,10487,10302,NULL,0,NULL,'2024-12-10 18:52:16','2024-12-10 18:52:16',NULL),(10486,NULL,10488,10303,NULL,0,NULL,'2024-12-10 18:52:16','2024-12-10 18:52:16',NULL),(10487,NULL,10489,10304,NULL,0,NULL,'2024-12-10 18:52:16','2024-12-10 18:52:16',NULL),(10488,NULL,10490,10305,NULL,0,NULL,'2024-12-10 18:52:17','2024-12-10 18:52:17',NULL),(10489,NULL,10491,10306,NULL,0,NULL,'2024-12-10 18:52:17','2024-12-10 18:52:17',NULL),(10490,NULL,10492,10307,NULL,0,NULL,'2024-12-10 18:52:17','2024-12-10 18:52:17',NULL),(10491,NULL,10493,10308,NULL,0,NULL,'2024-12-10 18:52:17','2024-12-10 18:52:17',NULL),(10492,NULL,10494,10309,NULL,0,NULL,'2024-12-10 18:52:17','2024-12-10 18:52:17',NULL),(10493,NULL,10495,10310,NULL,0,NULL,'2024-12-10 18:52:17','2024-12-10 18:52:17',NULL),(10494,NULL,10496,10311,NULL,0,NULL,'2024-12-10 18:52:17','2024-12-10 18:52:17',NULL),(10495,NULL,10497,10312,NULL,0,NULL,'2024-12-10 18:52:17','2024-12-10 18:52:17',NULL),(10496,NULL,10498,10313,NULL,0,NULL,'2024-12-10 18:52:18','2024-12-10 18:52:18',NULL),(10497,NULL,10499,10314,NULL,0,NULL,'2024-12-10 18:52:18','2024-12-10 18:52:18',NULL),(10498,NULL,10500,10315,NULL,0,NULL,'2024-12-10 18:52:18','2024-12-10 18:52:18',NULL),(10499,NULL,10501,10316,NULL,0,NULL,'2024-12-10 18:52:18','2024-12-10 18:52:18',NULL),(10500,NULL,10502,10317,NULL,0,NULL,'2024-12-10 18:52:18','2024-12-10 18:52:18',NULL),(10501,NULL,10503,10318,NULL,0,NULL,'2024-12-10 18:52:18','2024-12-10 18:52:18',NULL),(10502,NULL,10504,10319,NULL,0,NULL,'2024-12-10 18:52:18','2024-12-10 18:52:18',NULL),(10503,NULL,10505,10320,NULL,0,NULL,'2024-12-10 18:52:18','2024-12-10 18:52:18',NULL),(10504,NULL,10506,10321,NULL,0,NULL,'2024-12-10 18:52:19','2024-12-10 18:52:19',NULL),(10505,NULL,10507,10322,NULL,0,NULL,'2024-12-10 18:52:19','2024-12-10 18:52:19',NULL),(10506,NULL,10508,10323,NULL,0,NULL,'2024-12-18 23:30:45','2024-12-18 23:30:45',NULL),(10507,NULL,10509,10324,NULL,0,NULL,'2024-12-18 23:30:45','2024-12-18 23:30:45',NULL),(10508,NULL,10510,10325,NULL,0,NULL,'2024-12-18 23:30:45','2024-12-18 23:30:45',NULL),(10509,NULL,10511,10326,NULL,0,NULL,'2024-12-18 23:30:45','2024-12-18 23:30:45',NULL),(10510,NULL,10512,10327,NULL,0,NULL,'2024-12-18 23:30:45','2024-12-18 23:30:45',NULL),(10511,NULL,10513,10328,NULL,0,NULL,'2024-12-18 23:30:45','2024-12-18 23:30:45',NULL),(10512,NULL,10514,10329,NULL,0,NULL,'2024-12-18 23:30:45','2024-12-18 23:30:45',NULL),(10513,NULL,10515,10330,NULL,0,NULL,'2024-12-18 23:30:45','2024-12-18 23:30:45',NULL),(10514,NULL,10516,10331,NULL,0,NULL,'2024-12-18 23:30:45','2024-12-18 23:30:45',NULL),(10515,NULL,10517,10332,NULL,0,NULL,'2024-12-18 23:30:45','2024-12-18 23:30:45',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10516,NULL,10518,10333,NULL,0,NULL,'2024-12-18 23:30:46','2024-12-18 23:30:46',NULL),(10517,NULL,10519,10334,NULL,0,NULL,'2024-12-18 23:30:46','2024-12-18 23:30:46',NULL),(10518,NULL,10520,10335,NULL,0,NULL,'2024-12-18 23:30:46','2024-12-18 23:30:46',NULL),(10519,NULL,10521,10336,NULL,0,NULL,'2024-12-18 23:30:46','2024-12-18 23:30:46',NULL),(10520,NULL,10522,10337,NULL,0,NULL,'2024-12-18 23:30:46','2024-12-18 23:30:46',NULL),(10521,NULL,10523,10338,NULL,0,NULL,'2024-12-18 23:30:46','2024-12-18 23:30:46',NULL),(10522,NULL,10524,10339,NULL,0,NULL,'2024-12-18 23:30:46','2024-12-18 23:30:46',NULL),(10523,NULL,10525,10340,NULL,0,NULL,'2024-12-18 23:30:46','2024-12-18 23:30:46',NULL),(10524,NULL,10526,10341,NULL,0,NULL,'2024-12-18 23:30:46','2024-12-18 23:30:46',NULL),(10525,NULL,10527,10342,NULL,0,NULL,'2024-12-18 23:30:46','2024-12-18 23:30:46',NULL),(10526,NULL,10528,10343,NULL,0,NULL,'2024-12-18 23:30:46','2024-12-18 23:30:46',NULL),(10527,NULL,10529,10344,NULL,0,NULL,'2024-12-18 23:30:46','2024-12-18 23:30:46',NULL),(10528,NULL,10530,10345,NULL,0,NULL,'2024-12-18 23:30:47','2024-12-18 23:30:47',NULL),(10529,NULL,10531,10346,NULL,0,NULL,'2024-12-18 23:30:47','2024-12-18 23:30:47',NULL),(10530,NULL,10532,10347,NULL,0,NULL,'2024-12-18 23:30:47','2024-12-18 23:30:47',NULL),(10531,NULL,10533,10348,NULL,0,NULL,'2024-12-18 23:30:47','2024-12-18 23:30:47',NULL),(10532,NULL,10534,10349,NULL,0,NULL,'2024-12-18 23:30:47','2024-12-18 23:30:47',NULL),(10533,NULL,10535,10350,NULL,0,NULL,'2024-12-18 23:30:47','2024-12-18 23:30:47',NULL),(10534,NULL,10536,10351,NULL,0,NULL,'2024-12-18 23:30:47','2024-12-18 23:30:47',NULL),(10535,NULL,10537,10352,NULL,0,NULL,'2024-12-18 23:30:47','2024-12-18 23:30:47',NULL),(10536,NULL,10538,10353,NULL,0,NULL,'2024-12-18 23:30:47','2024-12-18 23:30:47',NULL),(10537,NULL,10539,10354,NULL,0,NULL,'2024-12-18 23:30:47','2024-12-18 23:30:47',NULL),(10538,NULL,10540,10355,NULL,0,NULL,'2024-12-18 23:30:47','2024-12-18 23:30:47',NULL),(10539,NULL,10541,10356,NULL,0,NULL,'2024-12-18 23:30:48','2024-12-18 23:30:48',NULL),(10540,NULL,10542,10357,NULL,0,NULL,'2024-12-18 23:30:48','2024-12-18 23:30:48',NULL),(10541,NULL,10543,10358,NULL,0,NULL,'2024-12-18 23:30:48','2024-12-18 23:30:48',NULL),(10542,NULL,10544,10359,NULL,0,NULL,'2024-12-18 23:30:48','2024-12-18 23:30:48',NULL),(10543,NULL,10545,10360,NULL,0,NULL,'2024-12-18 23:30:48','2024-12-18 23:30:48',NULL),(10544,NULL,10546,10361,NULL,0,NULL,'2024-12-18 23:30:48','2024-12-18 23:30:48',NULL),(10545,NULL,10547,10362,NULL,0,NULL,'2024-12-18 23:30:48','2024-12-18 23:30:48',NULL),(10546,NULL,10548,10363,NULL,0,NULL,'2024-12-18 23:30:48','2024-12-18 23:30:48',NULL),(10547,NULL,10549,10364,NULL,0,NULL,'2024-12-18 23:30:48','2024-12-18 23:30:48',NULL),(10548,NULL,10550,10365,NULL,0,NULL,'2024-12-18 23:30:48','2024-12-18 23:30:48',NULL),(10549,NULL,10551,10366,NULL,0,NULL,'2024-12-18 23:30:48','2024-12-18 23:30:48',NULL),(10550,NULL,10552,10367,NULL,0,NULL,'2024-12-18 23:30:49','2024-12-18 23:30:49',NULL),(10551,NULL,10553,10368,NULL,0,NULL,'2024-12-18 23:30:49','2024-12-18 23:30:49',NULL),(10552,NULL,10554,10369,NULL,0,NULL,'2024-12-18 23:30:49','2024-12-18 23:30:49',NULL),(10553,NULL,10555,10370,NULL,0,NULL,'2024-12-18 23:30:49','2024-12-18 23:30:49',NULL),(10554,NULL,10556,10371,NULL,0,NULL,'2024-12-18 23:30:49','2024-12-18 23:30:49',NULL),(10555,NULL,10557,10372,NULL,0,NULL,'2024-12-18 23:30:49','2024-12-18 23:30:49',NULL),(10556,NULL,10558,10373,NULL,0,NULL,'2024-12-18 23:30:49','2024-12-18 23:30:49',NULL),(10557,NULL,10559,10374,NULL,0,NULL,'2024-12-18 23:30:49','2024-12-18 23:30:49',NULL),(10558,NULL,10560,10375,NULL,0,NULL,'2024-12-18 23:30:49','2024-12-18 23:30:49',NULL),(10559,NULL,10561,10376,NULL,0,NULL,'2024-12-18 23:30:49','2024-12-18 23:30:49',NULL),(10560,NULL,10562,10377,NULL,0,NULL,'2024-12-18 23:30:49','2024-12-18 23:30:49',NULL),(10561,NULL,10563,10378,NULL,0,NULL,'2024-12-18 23:30:49','2024-12-18 23:30:49',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10562,NULL,10564,10379,NULL,0,NULL,'2024-12-18 23:30:50','2024-12-18 23:30:50',NULL),(10563,NULL,10565,10380,NULL,0,NULL,'2024-12-18 23:30:50','2024-12-18 23:30:50',NULL),(10564,NULL,10566,10381,NULL,0,NULL,'2024-12-18 23:30:50','2024-12-18 23:30:50',NULL),(10565,NULL,10567,10382,NULL,0,NULL,'2024-12-18 23:30:50','2024-12-18 23:30:50',NULL),(10566,NULL,10568,10383,NULL,0,NULL,'2024-12-18 23:30:50','2024-12-18 23:30:50',NULL),(10567,NULL,10569,10384,NULL,0,NULL,'2024-12-18 23:30:50','2024-12-18 23:30:50',NULL),(10568,NULL,10570,10385,NULL,0,NULL,'2024-12-18 23:30:50','2024-12-18 23:30:50',NULL),(10569,NULL,10571,10386,NULL,0,NULL,'2024-12-18 23:30:50','2024-12-18 23:30:50',NULL),(10570,NULL,10572,10387,NULL,0,NULL,'2024-12-18 23:30:50','2024-12-18 23:30:50',NULL),(10571,NULL,10573,10388,NULL,0,NULL,'2024-12-18 23:30:50','2024-12-18 23:30:50',NULL),(10572,NULL,10574,10389,NULL,0,NULL,'2024-12-18 23:30:50','2024-12-18 23:30:50',NULL),(10573,NULL,10575,10390,NULL,0,NULL,'2024-12-18 23:30:50','2024-12-18 23:30:50',NULL),(10574,NULL,10576,10391,NULL,0,NULL,'2024-12-18 23:30:51','2024-12-18 23:30:51',NULL),(10575,NULL,10577,10392,NULL,0,NULL,'2024-12-18 23:30:51','2024-12-18 23:30:51',NULL),(10576,NULL,10578,10393,NULL,0,NULL,'2024-12-18 23:30:51','2024-12-18 23:30:51',NULL),(10577,NULL,10579,10394,NULL,0,NULL,'2024-12-18 23:30:51','2024-12-18 23:30:51',NULL),(10578,NULL,10580,10395,NULL,0,NULL,'2024-12-18 23:30:51','2024-12-18 23:30:51',NULL),(10579,NULL,10581,10396,NULL,0,NULL,'2024-12-18 23:30:51','2024-12-18 23:30:51',NULL),(10580,NULL,10582,10397,NULL,0,NULL,'2024-12-18 23:30:51','2024-12-18 23:30:51',NULL),(10581,NULL,10583,10398,NULL,0,NULL,'2024-12-18 23:30:51','2024-12-18 23:30:51',NULL),(10582,NULL,10584,10399,NULL,0,NULL,'2024-12-18 23:30:51','2024-12-18 23:30:51',NULL),(10583,NULL,10585,10400,NULL,0,NULL,'2024-12-18 23:30:51','2024-12-18 23:30:51',NULL),(10584,NULL,10586,10401,NULL,0,NULL,'2024-12-18 23:30:51','2024-12-18 23:30:51',NULL),(10585,NULL,10587,10402,NULL,0,NULL,'2024-12-18 23:30:51','2024-12-18 23:30:51',NULL),(10586,NULL,10588,10403,NULL,0,NULL,'2024-12-18 23:30:51','2024-12-18 23:30:51',NULL),(10587,NULL,10589,10404,NULL,0,NULL,'2024-12-18 23:30:52','2024-12-18 23:30:52',NULL),(10588,NULL,10590,10405,NULL,0,NULL,'2024-12-18 23:30:52','2024-12-18 23:30:52',NULL),(10589,NULL,10591,10406,NULL,0,NULL,'2024-12-18 23:30:52','2024-12-18 23:30:52',NULL),(10590,NULL,10592,10407,NULL,0,NULL,'2024-12-18 23:30:52','2024-12-18 23:30:52',NULL),(10591,NULL,10593,10408,NULL,0,NULL,'2024-12-18 23:30:52','2024-12-18 23:30:52',NULL),(10592,NULL,10594,10409,NULL,0,NULL,'2024-12-18 23:30:52','2024-12-18 23:30:52',NULL),(10593,NULL,10595,10410,NULL,0,NULL,'2024-12-18 23:30:52','2024-12-18 23:30:52',NULL),(10594,NULL,10596,10411,NULL,0,NULL,'2024-12-18 23:30:52','2024-12-18 23:30:52',NULL),(10595,NULL,10597,10412,NULL,0,NULL,'2024-12-18 23:30:52','2024-12-18 23:30:52',NULL),(10596,NULL,10598,10413,NULL,0,NULL,'2024-12-18 23:30:52','2024-12-18 23:30:52',NULL),(10597,NULL,10599,10414,NULL,0,NULL,'2024-12-18 23:30:52','2024-12-18 23:30:52',NULL),(10598,NULL,10600,10415,NULL,0,NULL,'2024-12-18 23:30:52','2024-12-18 23:30:52',NULL),(10599,NULL,10601,10416,NULL,0,NULL,'2024-12-18 23:30:53','2024-12-18 23:30:53',NULL),(10600,NULL,10602,10417,NULL,0,NULL,'2024-12-18 23:30:53','2024-12-18 23:30:53',NULL),(10601,NULL,10603,10418,NULL,0,NULL,'2024-12-18 23:30:53','2024-12-18 23:30:53',NULL),(10602,NULL,10604,10419,NULL,0,NULL,'2024-12-18 23:30:53','2024-12-18 23:30:53',NULL),(10603,8684,10605,10420,NULL,0,NULL,'2024-12-23 20:49:09','2024-12-23 20:49:09',NULL),(10604,8684,10606,10421,NULL,0,NULL,'2024-12-23 20:49:09','2024-12-23 20:49:09',NULL),(10605,8684,10607,10422,NULL,0,NULL,'2024-12-23 20:49:09','2024-12-23 20:49:09',NULL),(10606,8684,10608,10423,NULL,0,NULL,'2024-12-23 20:49:10','2024-12-23 20:49:10',NULL),(10607,8684,10609,10424,NULL,0,NULL,'2024-12-23 20:49:10','2024-12-23 20:49:10',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10608,8684,10610,10425,NULL,0,NULL,'2024-12-23 20:49:10','2024-12-23 20:49:10',NULL),(10609,8684,10611,10426,NULL,0,NULL,'2024-12-23 20:49:10','2024-12-23 20:49:10',NULL),(10610,8684,10612,10427,NULL,0,NULL,'2024-12-23 20:49:10','2024-12-23 20:49:10',NULL),(10611,8684,10613,10428,NULL,0,NULL,'2024-12-23 20:49:10','2024-12-23 20:49:10',NULL),(10612,8684,10614,10429,NULL,0,NULL,'2024-12-23 20:49:11','2024-12-23 20:49:11',NULL),(10613,8684,10615,10430,NULL,0,NULL,'2024-12-23 20:49:11','2024-12-23 20:49:11',NULL),(10614,8684,10616,10431,NULL,0,NULL,'2024-12-23 20:49:11','2024-12-23 20:49:11',NULL),(10615,8684,10617,10432,NULL,0,NULL,'2024-12-23 20:49:11','2024-12-23 20:49:11',NULL),(10616,8684,10618,10433,NULL,0,NULL,'2024-12-23 20:49:11','2024-12-23 20:49:11',NULL),(10617,8684,10619,10434,NULL,0,NULL,'2024-12-23 20:49:11','2024-12-23 20:49:11',NULL),(10618,8684,10620,10435,NULL,0,NULL,'2024-12-23 20:49:12','2024-12-23 20:49:12',NULL),(10619,8684,10621,10436,NULL,0,NULL,'2024-12-23 20:49:12','2024-12-23 20:49:12',NULL),(10620,8684,10622,10437,NULL,0,NULL,'2024-12-23 20:49:12','2024-12-23 20:49:12',NULL),(10621,8684,10623,10438,NULL,0,NULL,'2024-12-23 20:49:12','2024-12-23 20:49:12',NULL),(10622,8684,10624,10439,NULL,0,NULL,'2024-12-23 20:49:12','2024-12-23 20:49:12',NULL),(10623,8684,10625,10440,NULL,0,NULL,'2024-12-23 20:49:12','2024-12-23 20:49:12',NULL),(10624,8684,10626,10441,NULL,0,NULL,'2024-12-23 20:49:12','2024-12-23 20:49:12',NULL),(10625,8684,10627,10442,NULL,0,NULL,'2024-12-23 20:49:13','2024-12-23 20:49:13',NULL),(10626,8684,10628,10443,NULL,0,NULL,'2024-12-23 20:49:13','2024-12-23 20:49:13',NULL),(10627,8684,10629,10444,NULL,0,NULL,'2024-12-23 20:49:13','2024-12-23 20:49:13',NULL),(10628,8684,10630,10445,NULL,0,NULL,'2024-12-23 20:49:13','2024-12-23 20:49:13',NULL),(10629,8684,10631,10446,NULL,0,NULL,'2024-12-23 20:49:13','2024-12-23 20:49:13',NULL),(10630,8684,10632,10447,NULL,0,NULL,'2024-12-23 20:49:13','2024-12-23 20:49:13',NULL),(10631,8684,10633,10448,NULL,0,NULL,'2024-12-23 20:49:13','2024-12-23 20:49:13',NULL),(10632,8684,10634,10449,NULL,0,NULL,'2024-12-23 20:49:13','2024-12-23 20:49:13',NULL),(10633,8684,10635,10450,NULL,0,NULL,'2024-12-23 20:49:14','2024-12-23 20:49:14',NULL),(10634,8684,10636,10451,NULL,0,NULL,'2024-12-23 20:49:14','2024-12-23 20:49:14',NULL),(10635,8684,10637,10452,NULL,0,NULL,'2024-12-23 20:49:14','2024-12-23 20:49:14',NULL),(10636,8684,10638,10453,NULL,0,NULL,'2024-12-23 20:49:14','2024-12-23 20:49:14',NULL),(10637,8684,10639,10454,NULL,0,NULL,'2024-12-23 20:49:14','2024-12-23 20:49:14',NULL),(10638,8684,10640,10455,NULL,0,NULL,'2024-12-23 20:49:14','2024-12-23 20:49:14',NULL),(10639,8684,10641,10456,NULL,0,NULL,'2024-12-23 20:49:14','2024-12-23 20:49:14',NULL),(10640,8684,10642,10457,NULL,0,NULL,'2024-12-23 20:49:14','2024-12-23 20:49:14',NULL),(10641,8684,10643,10458,NULL,0,NULL,'2024-12-23 20:49:14','2024-12-23 20:49:14',NULL),(10642,8684,10644,10459,NULL,0,NULL,'2024-12-23 20:49:14','2024-12-23 20:49:14',NULL),(10643,8684,10645,10460,NULL,0,NULL,'2024-12-23 20:49:14','2024-12-23 20:49:14',NULL),(10644,8684,10646,10461,NULL,0,NULL,'2024-12-23 20:49:15','2024-12-23 20:49:15',NULL),(10645,8684,10647,10462,NULL,0,NULL,'2024-12-23 20:49:15','2024-12-23 20:49:15',NULL),(10646,8684,10648,10463,NULL,0,NULL,'2024-12-23 20:49:15','2024-12-23 20:49:15',NULL),(10647,8684,10649,10464,NULL,0,NULL,'2024-12-23 20:49:15','2024-12-23 20:49:15',NULL),(10648,8684,10650,10465,NULL,0,NULL,'2024-12-23 20:49:15','2024-12-23 20:49:15',NULL),(10649,8684,10651,10466,NULL,0,NULL,'2024-12-23 20:49:15','2024-12-23 20:49:15',NULL),(10650,8684,10652,10467,NULL,0,NULL,'2024-12-23 20:49:15','2024-12-23 20:49:15',NULL),(10651,8684,10653,10468,NULL,0,NULL,'2024-12-23 20:49:15','2024-12-23 20:49:15',NULL),(10652,8684,10654,10469,NULL,0,NULL,'2024-12-23 20:49:15','2024-12-23 20:49:15',NULL),(10653,8684,10655,10470,NULL,0,NULL,'2024-12-23 20:49:15','2024-12-23 20:49:15',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10654,8684,10656,10471,NULL,0,NULL,'2024-12-23 20:49:15','2024-12-23 20:49:15',NULL),(10655,8684,10657,10472,NULL,0,NULL,'2024-12-23 20:49:16','2024-12-23 20:49:16',NULL),(10656,8684,10658,10473,NULL,0,NULL,'2024-12-23 20:49:16','2024-12-23 20:49:16',NULL),(10657,8684,10659,10474,NULL,0,NULL,'2024-12-23 20:49:16','2024-12-23 20:49:16',NULL),(10658,8684,10660,10475,NULL,0,NULL,'2024-12-23 20:49:16','2024-12-23 20:49:16',NULL),(10659,8684,10661,10476,NULL,0,NULL,'2024-12-23 20:49:16','2024-12-23 20:49:16',NULL),(10660,8684,10662,10477,NULL,0,NULL,'2024-12-23 20:49:16','2024-12-23 20:49:16',NULL),(10661,8684,10663,10478,NULL,0,NULL,'2024-12-23 20:49:16','2024-12-23 20:49:16',NULL),(10662,8684,10664,10479,NULL,0,NULL,'2024-12-23 20:49:16','2024-12-23 20:49:16',NULL),(10663,8684,10665,10480,NULL,0,NULL,'2024-12-23 20:49:16','2024-12-23 20:49:16',NULL),(10664,8684,10666,10481,NULL,0,NULL,'2024-12-23 20:49:16','2024-12-23 20:49:16',NULL),(10665,8684,10667,10482,NULL,0,NULL,'2024-12-23 20:49:17','2024-12-23 20:49:17',NULL),(10666,8684,10668,10483,NULL,0,NULL,'2024-12-23 20:49:17','2024-12-23 20:49:17',NULL),(10667,8684,10669,10484,NULL,0,NULL,'2024-12-23 20:49:17','2024-12-23 20:49:17',NULL),(10668,8684,10670,10485,NULL,0,NULL,'2024-12-23 20:49:17','2024-12-23 20:49:17',NULL),(10669,8684,10671,10486,NULL,0,NULL,'2024-12-23 20:49:17','2024-12-23 20:49:17',NULL),(10670,8684,10672,10487,NULL,0,NULL,'2024-12-23 20:49:17','2024-12-23 20:49:17',NULL),(10671,8684,10673,10488,NULL,0,NULL,'2024-12-23 20:49:17','2024-12-23 20:49:17',NULL),(10672,8684,10674,10489,NULL,0,NULL,'2024-12-23 20:49:17','2024-12-23 20:49:17',NULL),(10673,8684,10675,10490,NULL,0,NULL,'2024-12-23 20:49:17','2024-12-23 20:49:17',NULL),(10674,8684,10676,10491,NULL,0,NULL,'2024-12-23 20:49:17','2024-12-23 20:49:17',NULL),(10675,8684,10677,10492,NULL,0,NULL,'2024-12-23 20:49:17','2024-12-23 20:49:17',NULL),(10676,8684,10678,10493,NULL,0,NULL,'2024-12-23 20:49:18','2024-12-23 20:49:18',NULL),(10677,8684,10679,10494,NULL,0,NULL,'2024-12-23 20:49:18','2024-12-23 20:49:18',NULL),(10678,8684,10680,10495,NULL,0,NULL,'2024-12-23 20:49:18','2024-12-23 20:49:18',NULL),(10679,8684,10681,10496,NULL,0,NULL,'2024-12-23 20:49:18','2024-12-23 20:49:18',NULL),(10680,8684,10682,10497,NULL,0,NULL,'2024-12-23 20:49:18','2024-12-23 20:49:18',NULL),(10681,8684,10683,10498,NULL,0,NULL,'2024-12-23 20:49:18','2024-12-23 20:49:18',NULL),(10682,8684,10684,10499,NULL,0,NULL,'2024-12-23 20:49:18','2024-12-23 20:49:18',NULL),(10683,8684,10685,10500,NULL,0,NULL,'2024-12-23 20:49:18','2024-12-23 20:49:18',NULL),(10684,8684,10686,10501,NULL,0,NULL,'2024-12-23 20:49:18','2024-12-23 20:49:18',NULL),(10685,8684,10687,10502,NULL,0,NULL,'2024-12-23 20:49:18','2024-12-23 20:49:18',NULL),(10686,8684,10688,10503,NULL,0,NULL,'2024-12-23 20:49:18','2024-12-23 20:49:18',NULL),(10687,8684,10689,10504,NULL,0,NULL,'2024-12-23 20:49:19','2024-12-23 20:49:19',NULL),(10688,8684,10690,10505,NULL,0,NULL,'2024-12-23 20:49:19','2024-12-23 20:49:19',NULL),(10689,8684,10691,10506,NULL,0,NULL,'2024-12-23 20:49:19','2024-12-23 20:49:19',NULL),(10690,8684,10692,10507,NULL,0,NULL,'2024-12-23 20:49:19','2024-12-23 20:49:19',NULL),(10691,8684,10693,10508,NULL,0,NULL,'2024-12-23 20:49:19','2024-12-23 20:49:19',NULL),(10692,8684,10694,10509,NULL,0,NULL,'2024-12-23 20:49:19','2024-12-23 20:49:19',NULL),(10693,8684,10695,10510,NULL,0,NULL,'2024-12-23 20:49:19','2024-12-23 20:49:19',NULL),(10694,8684,10696,10511,NULL,0,NULL,'2024-12-23 20:49:19','2024-12-23 20:49:19',NULL),(10695,8684,10697,10512,NULL,0,NULL,'2024-12-23 20:49:19','2024-12-23 20:49:19',NULL),(10696,8684,10698,10513,NULL,0,NULL,'2024-12-23 20:49:19','2024-12-23 20:49:19',NULL),(10697,8684,10699,10514,NULL,0,NULL,'2024-12-23 20:49:19','2024-12-23 20:49:19',NULL),(10698,8684,10700,10515,NULL,0,NULL,'2024-12-23 20:49:20','2024-12-23 20:49:20',NULL),(10699,8684,10701,10516,NULL,0,NULL,'2024-12-23 20:52:59','2024-12-23 20:52:59',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10700,8684,10702,10517,NULL,0,NULL,'2024-12-23 20:52:59','2024-12-23 20:52:59',NULL),(10701,8684,10703,10518,NULL,0,NULL,'2024-12-23 20:52:59','2024-12-23 20:52:59',NULL),(10702,8684,10704,10519,NULL,0,NULL,'2024-12-23 20:52:59','2024-12-23 20:52:59',NULL),(10703,8684,10705,10520,NULL,0,NULL,'2024-12-23 20:52:59','2024-12-23 20:52:59',NULL),(10704,8684,10706,10521,NULL,0,NULL,'2024-12-23 20:52:59','2024-12-23 20:52:59',NULL),(10705,8684,10707,10522,NULL,0,NULL,'2024-12-23 20:52:59','2024-12-23 20:52:59',NULL),(10706,8684,10708,10523,NULL,0,NULL,'2024-12-23 20:53:00','2024-12-23 20:53:00',NULL),(10707,8684,10709,10524,NULL,0,NULL,'2024-12-23 20:53:00','2024-12-23 20:53:00',NULL),(10708,8684,10710,10525,NULL,0,NULL,'2024-12-23 20:53:00','2024-12-23 20:53:00',NULL),(10709,8684,10711,10526,NULL,0,NULL,'2024-12-23 20:53:00','2024-12-23 20:53:00',NULL),(10710,8684,10712,10527,NULL,0,NULL,'2024-12-23 20:53:00','2024-12-23 20:53:00',NULL),(10711,8684,10713,10528,NULL,0,NULL,'2024-12-23 20:53:00','2024-12-23 20:53:00',NULL),(10712,NULL,10714,10529,NULL,0,NULL,'2024-12-23 21:04:59','2024-12-23 21:04:59',NULL),(10713,NULL,10715,10530,NULL,0,NULL,'2024-12-23 21:04:59','2024-12-23 21:04:59',NULL),(10714,NULL,10716,10531,NULL,0,NULL,'2024-12-23 21:04:59','2024-12-23 21:04:59',NULL),(10715,NULL,10717,10532,NULL,0,NULL,'2024-12-23 21:04:59','2024-12-23 21:04:59',NULL),(10716,NULL,10718,10533,NULL,0,NULL,'2024-12-23 21:04:59','2024-12-23 21:04:59',NULL),(10717,NULL,10719,10534,NULL,0,NULL,'2024-12-23 21:04:59','2024-12-23 21:04:59',NULL),(10718,NULL,10720,10535,NULL,0,NULL,'2024-12-23 21:05:00','2024-12-23 21:05:00',NULL),(10719,NULL,10721,10536,NULL,0,NULL,'2024-12-23 21:05:00','2024-12-23 21:05:00',NULL),(10720,NULL,10722,10537,NULL,0,NULL,'2024-12-23 21:05:00','2024-12-23 21:05:00',NULL),(10721,NULL,10723,10538,NULL,0,NULL,'2024-12-23 21:05:00','2024-12-23 21:05:00',NULL),(10722,NULL,10724,10539,NULL,0,NULL,'2024-12-23 21:05:00','2024-12-23 21:05:00',NULL),(10723,NULL,10725,10540,NULL,0,NULL,'2024-12-23 21:05:00','2024-12-23 21:05:00',NULL),(10724,NULL,10726,10541,NULL,0,NULL,'2024-12-23 21:05:00','2024-12-23 21:05:00',NULL),(10725,NULL,10727,10542,NULL,0,NULL,'2024-12-23 21:05:00','2024-12-23 21:05:00',NULL),(10726,NULL,10728,10543,NULL,0,NULL,'2024-12-23 21:05:00','2024-12-23 21:05:00',NULL),(10727,NULL,10729,10544,NULL,0,NULL,'2024-12-23 21:05:01','2024-12-23 21:05:01',NULL),(10728,NULL,10730,10545,NULL,0,NULL,'2024-12-23 21:05:01','2024-12-23 21:05:01',NULL),(10729,NULL,10731,10546,NULL,0,NULL,'2024-12-23 21:05:01','2024-12-23 21:05:01',NULL),(10730,NULL,10732,10547,NULL,0,NULL,'2024-12-23 21:05:01','2024-12-23 21:05:01',NULL),(10731,NULL,10733,10548,NULL,0,NULL,'2024-12-23 21:05:01','2024-12-23 21:05:01',NULL),(10732,NULL,10734,10549,NULL,0,NULL,'2024-12-23 21:05:01','2024-12-23 21:05:01',NULL),(10733,NULL,10735,10550,NULL,0,NULL,'2024-12-23 21:05:01','2024-12-23 21:05:01',NULL),(10734,NULL,10736,10551,NULL,0,NULL,'2024-12-23 21:05:02','2024-12-23 21:05:02',NULL),(10735,NULL,10737,10552,NULL,0,NULL,'2024-12-23 21:05:02','2024-12-23 21:05:02',NULL),(10736,NULL,10738,10553,NULL,0,NULL,'2024-12-23 21:05:02','2024-12-23 21:05:02',NULL),(10737,NULL,10739,10554,NULL,0,NULL,'2024-12-23 21:05:02','2024-12-23 21:05:02',NULL),(10738,NULL,10740,10555,NULL,0,NULL,'2024-12-23 21:05:02','2024-12-23 21:05:02',NULL),(10739,NULL,10741,10556,NULL,0,NULL,'2024-12-23 21:05:02','2024-12-23 21:05:02',NULL),(10740,NULL,10742,10557,NULL,0,NULL,'2024-12-23 21:05:03','2024-12-23 21:05:03',NULL),(10741,NULL,10743,10558,NULL,0,NULL,'2024-12-23 21:05:03','2024-12-23 21:05:03',NULL),(10742,NULL,10744,10559,NULL,0,NULL,'2024-12-23 21:05:03','2024-12-23 21:05:03',NULL),(10743,NULL,10745,10560,NULL,0,NULL,'2024-12-23 21:05:03','2024-12-23 21:05:03',NULL),(10744,NULL,10746,10561,NULL,0,NULL,'2024-12-23 21:05:03','2024-12-23 21:05:03',NULL),(10745,NULL,10747,10562,NULL,0,NULL,'2024-12-23 21:05:04','2024-12-23 21:05:04',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10746,NULL,10748,10563,NULL,0,NULL,'2024-12-23 21:05:04','2024-12-23 21:05:04',NULL),(10747,NULL,10749,10564,NULL,0,NULL,'2024-12-23 21:05:04','2024-12-23 21:05:04',NULL),(10748,NULL,10750,10565,NULL,0,NULL,'2024-12-23 21:05:04','2024-12-23 21:05:04',NULL),(10749,NULL,10751,10566,NULL,0,NULL,'2024-12-23 21:05:04','2024-12-23 21:05:04',NULL),(10750,NULL,10752,10567,NULL,0,NULL,'2024-12-23 21:05:04','2024-12-23 21:05:04',NULL),(10751,NULL,10753,10568,NULL,0,NULL,'2024-12-23 21:05:05','2024-12-23 21:05:05',NULL),(10752,NULL,10754,10569,NULL,0,NULL,'2024-12-23 21:05:05','2024-12-23 21:05:05',NULL),(10753,NULL,10755,10570,NULL,0,NULL,'2024-12-23 21:05:05','2024-12-23 21:05:05',NULL),(10754,NULL,10756,10571,NULL,0,NULL,'2024-12-23 21:05:05','2024-12-23 21:05:05',NULL),(10755,NULL,10757,10572,NULL,0,NULL,'2024-12-23 21:05:05','2024-12-23 21:05:05',NULL),(10756,NULL,10758,10573,NULL,0,NULL,'2024-12-23 21:05:05','2024-12-23 21:05:05',NULL),(10757,NULL,10759,10574,NULL,0,NULL,'2024-12-23 21:05:05','2024-12-23 21:05:05',NULL),(10758,NULL,10760,10575,NULL,0,NULL,'2024-12-23 21:05:06','2024-12-23 21:05:06',NULL),(10759,NULL,10761,10576,NULL,0,NULL,'2024-12-23 21:05:06','2024-12-23 21:05:06',NULL),(10760,NULL,10762,10577,NULL,0,NULL,'2024-12-23 21:05:06','2024-12-23 21:05:06',NULL),(10761,NULL,10763,10578,NULL,0,NULL,'2024-12-23 21:05:06','2024-12-23 21:05:06',NULL),(10762,NULL,10764,10579,NULL,0,NULL,'2024-12-23 21:05:06','2024-12-23 21:05:06',NULL),(10763,NULL,10765,10580,NULL,0,NULL,'2024-12-23 21:05:06','2024-12-23 21:05:06',NULL),(10764,NULL,10766,10581,NULL,0,NULL,'2024-12-23 21:05:06','2024-12-23 21:05:06',NULL),(10765,NULL,10767,10582,NULL,0,NULL,'2024-12-23 21:05:06','2024-12-23 21:05:06',NULL),(10766,NULL,10768,10583,NULL,0,NULL,'2024-12-23 21:05:07','2024-12-23 21:05:07',NULL),(10767,NULL,10769,10584,NULL,0,NULL,'2024-12-23 21:05:07','2024-12-23 21:05:07',NULL),(10768,NULL,10770,10585,NULL,0,NULL,'2024-12-23 21:05:07','2024-12-23 21:05:07',NULL),(10769,NULL,10771,10586,NULL,0,NULL,'2024-12-23 21:05:07','2024-12-23 21:05:07',NULL),(10770,NULL,10772,10587,NULL,0,NULL,'2024-12-23 21:05:07','2024-12-23 21:05:07',NULL),(10771,NULL,10773,10588,NULL,0,NULL,'2024-12-23 21:05:07','2024-12-23 21:05:07',NULL),(10772,NULL,10774,10589,NULL,0,NULL,'2024-12-23 21:05:07','2024-12-23 21:05:07',NULL),(10773,NULL,10775,10590,NULL,0,NULL,'2024-12-23 21:05:07','2024-12-23 21:05:07',NULL),(10774,NULL,10776,10591,NULL,0,NULL,'2024-12-23 21:05:07','2024-12-23 21:05:07',NULL),(10775,NULL,10777,10592,NULL,0,NULL,'2024-12-23 21:05:07','2024-12-23 21:05:07',NULL),(10776,NULL,10778,10593,NULL,0,NULL,'2024-12-23 21:05:08','2024-12-23 21:05:08',NULL),(10777,NULL,10779,10594,NULL,0,NULL,'2024-12-23 21:05:08','2024-12-23 21:05:08',NULL),(10778,NULL,10780,10595,NULL,0,NULL,'2024-12-23 21:05:08','2024-12-23 21:05:08',NULL),(10779,NULL,10781,10596,NULL,0,NULL,'2024-12-23 21:29:55','2024-12-23 21:29:55',NULL),(10780,NULL,10782,10597,NULL,0,NULL,'2024-12-23 21:29:55','2024-12-23 21:29:55',NULL),(10781,NULL,10783,10598,NULL,0,NULL,'2024-12-23 21:29:55','2024-12-23 21:29:55',NULL),(10782,NULL,10784,10599,NULL,0,NULL,'2024-12-23 21:29:55','2024-12-23 21:29:55',NULL),(10783,NULL,10785,10600,NULL,0,NULL,'2024-12-23 21:29:55','2024-12-23 21:29:55',NULL),(10784,NULL,10786,10601,NULL,0,NULL,'2024-12-23 21:29:56','2024-12-23 21:29:56',NULL),(10785,NULL,10787,10602,NULL,0,NULL,'2024-12-23 21:29:56','2024-12-23 21:29:56',NULL),(10786,NULL,10788,10603,NULL,0,NULL,'2024-12-23 21:29:56','2024-12-23 21:29:56',NULL),(10787,NULL,10789,10604,NULL,0,NULL,'2024-12-23 21:29:56','2024-12-23 21:29:56',NULL),(10788,NULL,10790,10605,NULL,0,NULL,'2024-12-23 21:29:56','2024-12-23 21:29:56',NULL),(10789,NULL,10791,10606,NULL,0,NULL,'2024-12-23 21:29:56','2024-12-23 21:29:56',NULL),(10790,NULL,10792,10607,NULL,0,NULL,'2024-12-23 21:29:56','2024-12-23 21:29:56',NULL),(10791,NULL,10793,10608,NULL,0,NULL,'2024-12-23 21:29:56','2024-12-23 21:29:56',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10792,NULL,10794,10609,NULL,0,NULL,'2024-12-23 21:29:57','2024-12-23 21:29:57',NULL),(10793,NULL,10795,10610,NULL,0,NULL,'2024-12-23 21:29:57','2024-12-23 21:29:57',NULL),(10794,NULL,10796,10611,NULL,0,NULL,'2024-12-23 21:29:57','2024-12-23 21:29:57',NULL),(10795,NULL,10797,10612,NULL,0,NULL,'2024-12-23 21:29:57','2024-12-23 21:29:57',NULL),(10796,NULL,10798,10613,NULL,0,NULL,'2024-12-23 21:29:57','2024-12-23 21:29:57',NULL),(10797,NULL,10799,10614,NULL,0,NULL,'2024-12-23 21:29:57','2024-12-23 21:29:57',NULL),(10798,NULL,10800,10615,NULL,0,NULL,'2024-12-23 21:29:57','2024-12-23 21:29:57',NULL),(10799,NULL,10801,10616,NULL,0,NULL,'2024-12-23 21:29:57','2024-12-23 21:29:57',NULL),(10800,NULL,10802,10617,NULL,0,NULL,'2024-12-23 21:29:57','2024-12-23 21:29:57',NULL),(10801,NULL,10803,10618,NULL,0,NULL,'2024-12-23 21:29:58','2024-12-23 21:29:58',NULL),(10802,NULL,10804,10619,NULL,0,NULL,'2024-12-23 21:29:58','2024-12-23 21:29:58',NULL),(10803,NULL,10805,10620,NULL,0,NULL,'2024-12-23 21:29:58','2024-12-23 21:29:58',NULL),(10804,NULL,10806,10621,NULL,0,NULL,'2024-12-23 21:29:58','2024-12-23 21:29:58',NULL),(10805,NULL,10807,10622,NULL,0,NULL,'2024-12-23 21:29:58','2024-12-23 21:29:58',NULL),(10806,NULL,10808,10623,NULL,0,NULL,'2024-12-23 21:29:58','2024-12-23 21:29:58',NULL),(10807,NULL,10809,10624,NULL,0,NULL,'2024-12-23 21:29:58','2024-12-23 21:29:58',NULL),(10808,NULL,10810,10625,NULL,0,NULL,'2024-12-23 21:29:58','2024-12-23 21:29:58',NULL),(10809,NULL,10811,10626,NULL,0,NULL,'2024-12-23 21:29:58','2024-12-23 21:29:58',NULL),(10810,NULL,10812,10627,NULL,0,NULL,'2024-12-23 21:29:58','2024-12-23 21:29:58',NULL),(10811,NULL,10813,10628,NULL,0,NULL,'2024-12-23 21:29:58','2024-12-23 21:29:58',NULL),(10812,NULL,10814,10629,NULL,0,NULL,'2024-12-23 21:29:59','2024-12-23 21:29:59',NULL),(10813,NULL,10815,10630,NULL,0,NULL,'2024-12-23 21:29:59','2024-12-23 21:29:59',NULL),(10814,NULL,10816,10631,NULL,0,NULL,'2024-12-23 21:29:59','2024-12-23 21:29:59',NULL),(10815,NULL,10817,10632,NULL,0,NULL,'2024-12-23 21:29:59','2024-12-23 21:29:59',NULL),(10816,NULL,10818,10633,NULL,0,NULL,'2024-12-23 21:29:59','2024-12-23 21:29:59',NULL),(10817,NULL,10819,10634,NULL,0,NULL,'2024-12-23 21:29:59','2024-12-23 21:29:59',NULL),(10818,NULL,10820,10635,NULL,0,NULL,'2024-12-23 21:29:59','2024-12-23 21:29:59',NULL),(10819,NULL,10821,10636,NULL,0,NULL,'2024-12-23 21:29:59','2024-12-23 21:29:59',NULL),(10820,NULL,10822,10637,NULL,0,NULL,'2024-12-23 21:29:59','2024-12-23 21:29:59',NULL),(10821,NULL,10823,10638,NULL,0,NULL,'2024-12-23 21:29:59','2024-12-23 21:29:59',NULL),(10822,NULL,10824,10639,NULL,0,NULL,'2024-12-23 21:29:59','2024-12-23 21:29:59',NULL),(10823,NULL,10825,10640,NULL,0,NULL,'2024-12-23 21:29:59','2024-12-23 21:29:59',NULL),(10824,NULL,10826,10641,NULL,0,NULL,'2024-12-23 21:30:00','2024-12-23 21:30:00',NULL),(10825,NULL,10827,10642,NULL,0,NULL,'2024-12-23 21:30:00','2024-12-23 21:30:00',NULL),(10826,NULL,10828,10643,NULL,0,NULL,'2024-12-23 21:30:00','2024-12-23 21:30:00',NULL),(10827,NULL,10829,10644,NULL,0,NULL,'2024-12-23 21:30:00','2024-12-23 21:30:00',NULL),(10828,NULL,10830,10645,NULL,0,NULL,'2024-12-23 21:30:00','2024-12-23 21:30:00',NULL),(10829,NULL,10831,10646,NULL,0,NULL,'2024-12-23 21:30:00','2024-12-23 21:30:00',NULL),(10830,NULL,10832,10647,NULL,0,NULL,'2024-12-23 21:30:00','2024-12-23 21:30:00',NULL),(10831,NULL,10833,10648,NULL,0,NULL,'2024-12-23 21:30:00','2024-12-23 21:30:00',NULL),(10832,NULL,10834,10649,NULL,0,NULL,'2024-12-23 21:30:00','2024-12-23 21:30:00',NULL),(10833,NULL,10835,10650,NULL,0,NULL,'2024-12-23 21:30:00','2024-12-23 21:30:00',NULL),(10834,NULL,10836,10651,NULL,0,NULL,'2024-12-23 21:30:00','2024-12-23 21:30:00',NULL),(10835,NULL,10837,10652,NULL,0,NULL,'2024-12-23 21:30:01','2024-12-23 21:30:01',NULL),(10836,NULL,10838,10653,NULL,0,NULL,'2024-12-23 21:30:01','2024-12-23 21:30:01',NULL),(10837,NULL,10839,10654,NULL,0,NULL,'2024-12-23 21:30:01','2024-12-23 21:30:01',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10838,NULL,10840,10655,NULL,0,NULL,'2024-12-23 21:30:01','2024-12-23 21:30:01',NULL),(10839,NULL,10841,10656,NULL,0,NULL,'2024-12-23 21:30:01','2024-12-23 21:30:01',NULL),(10840,NULL,10842,10657,NULL,0,NULL,'2024-12-23 21:30:01','2024-12-23 21:30:01',NULL),(10841,NULL,10843,10658,NULL,0,NULL,'2024-12-23 21:30:02','2024-12-23 21:30:02',NULL),(10842,NULL,10844,10659,NULL,0,NULL,'2024-12-23 21:30:02','2024-12-23 21:30:02',NULL),(10843,NULL,10845,10660,NULL,0,NULL,'2024-12-23 21:30:02','2024-12-23 21:30:02',NULL),(10844,NULL,10846,10661,NULL,0,NULL,'2024-12-23 21:30:02','2024-12-23 21:30:02',NULL),(10845,NULL,10847,10662,NULL,0,NULL,'2024-12-23 21:30:03','2024-12-23 21:30:03',NULL),(10846,NULL,10848,10663,NULL,0,NULL,'2024-12-23 21:30:03','2024-12-23 21:30:03',NULL),(10847,NULL,10849,10664,NULL,0,NULL,'2024-12-23 21:30:03','2024-12-23 21:30:03',NULL),(10848,NULL,10850,10665,NULL,0,NULL,'2024-12-23 21:30:03','2024-12-23 21:30:03',NULL),(10849,NULL,10851,10666,NULL,0,NULL,'2024-12-23 21:30:03','2024-12-23 21:30:03',NULL),(10850,NULL,10852,10667,NULL,0,NULL,'2024-12-23 21:30:03','2024-12-23 21:30:03',NULL),(10851,NULL,10853,10668,NULL,0,NULL,'2024-12-23 21:30:04','2024-12-23 21:30:04',NULL),(10852,NULL,10854,10669,NULL,0,NULL,'2024-12-23 21:30:04','2024-12-23 21:30:04',NULL),(10853,NULL,10855,10670,NULL,0,NULL,'2024-12-23 21:30:04','2024-12-23 21:30:04',NULL),(10854,NULL,10856,10671,NULL,0,NULL,'2024-12-23 21:30:04','2024-12-23 21:30:04',NULL),(10855,NULL,10857,10672,NULL,0,NULL,'2024-12-23 21:30:04','2024-12-23 21:30:04',NULL),(10856,NULL,10858,10673,NULL,0,NULL,'2024-12-23 21:30:04','2024-12-23 21:30:04',NULL),(10857,NULL,10859,10674,NULL,0,NULL,'2024-12-23 21:30:04','2024-12-23 21:30:04',NULL),(10858,NULL,10860,10675,NULL,0,NULL,'2024-12-23 21:30:05','2024-12-23 21:30:05',NULL),(10859,NULL,10861,10676,NULL,0,NULL,'2024-12-23 21:30:05','2024-12-23 21:30:05',NULL),(10860,NULL,10862,10677,NULL,0,NULL,'2024-12-23 21:30:05','2024-12-23 21:30:05',NULL),(10861,NULL,10863,10678,NULL,0,NULL,'2024-12-23 21:30:05','2024-12-23 21:30:05',NULL),(10862,NULL,10864,10679,NULL,0,NULL,'2024-12-23 21:30:05','2024-12-23 21:30:05',NULL),(10863,NULL,10865,10680,NULL,0,NULL,'2024-12-23 21:30:05','2024-12-23 21:30:05',NULL),(10864,NULL,10866,10681,NULL,0,NULL,'2024-12-23 21:30:05','2024-12-23 21:30:05',NULL),(10865,NULL,10867,10682,NULL,0,NULL,'2024-12-23 21:30:05','2024-12-23 21:30:05',NULL),(10866,NULL,10868,10683,NULL,0,NULL,'2024-12-23 21:30:05','2024-12-23 21:30:05',NULL),(10867,NULL,10869,10684,NULL,0,NULL,'2024-12-23 21:30:05','2024-12-23 21:30:05',NULL),(10868,NULL,10870,10685,NULL,0,NULL,'2024-12-23 21:30:06','2024-12-23 21:30:06',NULL),(10869,NULL,10871,10686,NULL,0,NULL,'2024-12-23 21:30:06','2024-12-23 21:30:06',NULL),(10870,NULL,10872,10687,NULL,0,NULL,'2024-12-23 21:30:06','2024-12-23 21:30:06',NULL),(10871,8684,10873,10688,NULL,0,NULL,'2024-12-23 21:30:39','2024-12-23 21:30:39',NULL),(10872,8684,10874,10689,NULL,0,NULL,'2024-12-23 21:30:39','2024-12-23 21:33:08','2024-12-23 21:33:08'),(10873,8684,10875,10690,NULL,0,NULL,'2024-12-23 21:30:40','2024-12-23 21:30:40',NULL),(10874,8684,10876,10691,NULL,0,NULL,'2024-12-23 21:30:40','2024-12-23 21:30:40',NULL),(10875,8684,10877,10689,NULL,0,NULL,'2024-12-23 21:33:08','2024-12-23 21:33:08',NULL),(10876,8684,10878,10692,NULL,0,NULL,'2024-12-23 21:34:16','2024-12-23 21:34:16',NULL),(10877,8684,10879,10693,NULL,0,NULL,'2024-12-23 21:34:16','2024-12-23 21:34:16',NULL),(10878,8684,10880,10694,NULL,0,NULL,'2024-12-23 21:34:16','2024-12-23 21:34:16',NULL),(10879,8684,10881,10695,NULL,0,NULL,'2024-12-23 21:34:16','2024-12-23 21:41:17','2024-12-23 21:41:17'),(10880,8684,10882,10696,NULL,0,NULL,'2024-12-23 21:34:16','2024-12-23 21:34:16',NULL),(10881,8684,10883,10697,NULL,0,NULL,'2024-12-23 21:34:16','2024-12-23 21:34:16',NULL),(10882,8684,10884,10698,NULL,0,NULL,'2024-12-23 21:34:16','2024-12-23 21:34:16',NULL),(10883,8684,10885,10699,NULL,0,NULL,'2024-12-23 21:34:16','2024-12-23 21:34:16',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (10884,8684,10886,10700,NULL,0,NULL,'2024-12-23 21:34:17','2024-12-23 21:34:17',NULL),(10885,8684,10887,10701,NULL,0,NULL,'2024-12-23 21:34:17','2024-12-23 21:34:17',NULL),(10886,8684,10888,10702,NULL,0,NULL,'2024-12-23 21:34:17','2024-12-23 21:34:17',NULL),(10887,8684,10889,10703,NULL,0,NULL,'2024-12-23 21:34:17','2024-12-23 21:34:17',NULL),(10888,8684,10890,10704,NULL,0,NULL,'2024-12-23 21:34:17','2024-12-23 21:34:17',NULL),(10889,8684,10891,10705,NULL,0,NULL,'2024-12-23 21:34:17','2024-12-23 21:34:17',NULL),(10890,8684,10892,10706,NULL,0,NULL,'2024-12-23 21:34:17','2024-12-23 21:34:17',NULL),(10891,8684,10893,10707,NULL,0,NULL,'2024-12-23 21:34:17','2024-12-23 21:34:17',NULL),(10892,8684,10894,10708,NULL,0,NULL,'2024-12-23 21:34:17','2024-12-23 21:34:17',NULL),(10893,8684,10895,10709,NULL,0,NULL,'2024-12-23 21:34:18','2024-12-23 21:34:18',NULL),(10894,8684,10896,10710,NULL,0,NULL,'2024-12-23 21:34:18','2024-12-23 21:34:18',NULL),(10895,8684,10897,10711,NULL,0,NULL,'2024-12-23 21:34:18','2024-12-23 21:34:18',NULL),(10896,8684,10898,10712,NULL,0,NULL,'2024-12-23 21:34:18','2024-12-23 21:34:18',NULL),(10897,8684,10899,10713,NULL,0,NULL,'2024-12-23 21:34:18','2024-12-23 21:34:18',NULL),(10898,8684,10900,10714,NULL,0,NULL,'2024-12-23 21:34:18','2024-12-23 21:34:18',NULL),(10899,8684,10901,10715,NULL,0,NULL,'2024-12-23 21:34:18','2024-12-23 21:34:18',NULL),(10900,8684,10902,10716,NULL,0,NULL,'2024-12-23 21:34:18','2024-12-23 21:34:18',NULL),(10901,8684,10903,10717,NULL,0,NULL,'2024-12-23 21:34:18','2024-12-23 21:34:18',NULL),(10902,8684,10904,10718,NULL,0,NULL,'2024-12-23 21:34:18','2024-12-23 21:34:18',NULL),(10903,8684,10905,10695,NULL,0,NULL,'2024-12-23 21:41:17','2024-12-23 21:41:17',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=5 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,8684,40815,NULL,NULL,759,3038,'2023-05-09',0.00,1,1.00,'Saldo Inicial',NULL,'2023-05-09 13:24:51','2023-05-09 13:24:51',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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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

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


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

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

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


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

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

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

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

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

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

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


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

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

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

INSERT INTO `cta_cte_tesoreria_cuenta_tipos` VALUES (1,NULL,'CAJA',1,NULL,NULL,NULL),(2,NULL,'BANCOS',1,NULL,NULL,NULL),(3,NULL,'CHEQUES',1,NULL,NULL,NULL),(4,NULL,'RETENCIONES EFECTUADAS',1,NULL,'2024-05-26 21:02:25',NULL),(5,NULL,'PERCEPCIONES EFECTUADAS',1,NULL,'2024-05-26 21:02:25',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=760 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

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

INSERT INTO `ctacte_bancos_datos` VALUES (1,359,'BBVA FRANCES','20-36797212-3','Acosta Matias Ariel','Propia','89-481545/8','0170089340000048154587','ARROYO.BARBA.CORCHO',1,'2023-05-06 18:41:29','2023-05-06 18:41:52');

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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


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

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

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


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

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

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

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

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

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

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

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

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

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

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

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


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

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

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


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

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

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


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

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

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


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

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

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

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

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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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

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

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

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

--
-- Dumping data for table `deudas_impositivas`
--


--
-- Table structure for table `ejer_anteriores`
--

CREATE TABLE `ejer_anteriores` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `anio` int(11) NOT NULL,
  `ventas` decimal(16,2) DEFAULT NULL,
  `compras` decimal(16,2) DEFAULT NULL,
  `sueldos` decimal(16,2) DEFAULT NULL,
  `impuesto` decimal(16,2) DEFAULT NULL,
  `apagar` decimal(16,2) DEFAULT NULL,
  `afavor` decimal(16,2) DEFAULT NULL,
  `comentario` 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`),
  KEY `ejer_anteriores_person_id_foreign` (`person_id`),
  CONSTRAINT `ejer_anteriores_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ejer_anteriores`
--


--
-- Table structure for table `estado_civil`
--

CREATE TABLE `estado_civil` (
  `id` int(10) 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`),
  UNIQUE KEY `estado_civil_descripcion_unique` (`descripcion`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `estado_civil`
--

INSERT INTO `estado_civil` VALUES (1,NULL,'Separado Legal',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(2,NULL,'Separado de Hecho',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(3,NULL,'Divorciado',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(4,NULL,'Convivencia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(5,NULL,'Soltero',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(6,NULL,'Casado',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(7,NULL,'Viudo',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL);

--
-- Table structure for table `fa_masiva`
--

CREATE TABLE `fa_masiva` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `person_id` int(11) NOT NULL,
  `user_id` 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`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fa_masiva`
--

INSERT INTO `fa_masiva` VALUES (1,40815,8684,'2023-07-14 10:23:03','2023-07-14 10:23:03',NULL);

--
-- Table structure for table `fa_masiva_detalle`
--

CREATE TABLE `fa_masiva_detalle` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fa_masiva_id` int(11) NOT NULL,
  `cliente_id` int(11) NOT NULL,
  `tipo_comprobante_id` int(10) unsigned NOT NULL DEFAULT '1',
  `zone_id` int(10) unsigned NOT NULL DEFAULT '22',
  `activity_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cond_frente_iva_id` int(10) unsigned NOT NULL DEFAULT '1',
  `system_tax_id` int(10) unsigned NOT NULL DEFAULT '1',
  `concepto_id` int(10) unsigned NOT NULL DEFAULT '1',
  `taxable_iibb` int(10) unsigned NOT NULL DEFAULT '2',
  `renglon1` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe1` decimal(20,2) DEFAULT NULL,
  `renglon2` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe2` decimal(20,2) DEFAULT NULL,
  `renglon3` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe3` decimal(20,2) DEFAULT NULL,
  `punto_venta_id` int(11) DEFAULT NULL,
  `fecha_comprobante` date DEFAULT NULL,
  `fecha_facturado_desde` date DEFAULT NULL,
  `fecha_facturado_hasta` date DEFAULT NULL,
  `fecha_vencimiento_pago` 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 `fa_masiva_detalle_concepto_id_foreign` (`concepto_id`),
  KEY `fa_masiva_detalle_system_tax_id_foreign` (`system_tax_id`),
  KEY `fa_masiva_detalle_cond_frente_iva_id_foreign` (`cond_frente_iva_id`),
  KEY `fa_masiva_detalle_zone_id_foreign` (`zone_id`),
  KEY `fa_masiva_detalle_tipo_comprobante_id_foreign` (`tipo_comprobante_id`),
  KEY `fa_masiva_detalle_activity_id_foreign` (`activity_id`),
  CONSTRAINT `fa_masiva_detalle_activity_id_foreign` FOREIGN KEY (`activity_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `fa_masiva_detalle_concepto_id_foreign` FOREIGN KEY (`concepto_id`) REFERENCES `fact_elec_conceptos_afip` (`id`),
  CONSTRAINT `fa_masiva_detalle_cond_frente_iva_id_foreign` FOREIGN KEY (`cond_frente_iva_id`) REFERENCES `fac_elec_cond_frente_iva` (`id`),
  CONSTRAINT `fa_masiva_detalle_system_tax_id_foreign` FOREIGN KEY (`system_tax_id`) REFERENCES `system_taxes` (`id`),
  CONSTRAINT `fa_masiva_detalle_tipo_comprobante_id_foreign` FOREIGN KEY (`tipo_comprobante_id`) REFERENCES `receipt_types` (`id`),
  CONSTRAINT `fa_masiva_detalle_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fa_masiva_detalle`
--


--
-- Table structure for table `fa_masiva_stock`
--

CREATE TABLE `fa_masiva_stock` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `data` 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 `fa_masiva_stock_person_id_foreign` (`person_id`),
  KEY `fa_masiva_stock_person_id_relationed_foreign` (`person_id_relationed`),
  CONSTRAINT `fa_masiva_stock_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `fa_masiva_stock_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 `fa_masiva_stock`
--


--
-- Table structure for table `fac_elec_cond_frente_iva`
--

CREATE TABLE `fac_elec_cond_frente_iva` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) 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`),
  UNIQUE KEY `fac_elec_cond_frente_iva_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fac_elec_cond_frente_iva`
--

INSERT INTO `fac_elec_cond_frente_iva` VALUES (1,'IVA Responsable Inscripto','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(2,'IVA Sujeto Exento','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(3,'Consumidor Final','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(4,'Responsable Monotributo','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(5,'Proveedor del Exterior','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(6,'Cliente del Exterior','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(7,'IVA Liberado - Ley Nº 19.640','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(8,'IVA Responsable Inscripto - Agente de Percepción','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(9,'Monotributista Social','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(10,'IVA No Alcanzado','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL);

--
-- Table structure for table `fac_elec_unidad_medidas`
--

CREATE TABLE `fac_elec_unidad_medidas` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) 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`),
  UNIQUE KEY `fac_elec_unidad_medidas_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fac_elec_unidad_medidas`
--

INSERT INTO `fac_elec_unidad_medidas` VALUES (1,'Grs','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(2,'Kg','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(3,'Mts','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(4,'Mts2','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(5,'Mts3','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(6,'Lts','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(7,'1000 Kwh','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(8,'Unidades','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(9,'Pares','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(10,'Doc','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(11,'Quilates','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(12,'Millares','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(13,'Milimetros','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(14,'Mm 3','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(15,'Km','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(16,'Hectolitros','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(17,'Cm','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(18,'Cm 3','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL);

--
-- Table structure for table `fact_elec_conceptos_afip`
--

CREATE TABLE `fact_elec_conceptos_afip` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `afip_comprobante_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fact_elec_conceptos_afip`
--

INSERT INTO `fact_elec_conceptos_afip` VALUES (1,1,'Producto','2019-03-13 13:29:34','2019-03-13 13:29:34'),(2,2,'Servicios','2019-03-13 13:29:34','2019-03-13 13:29:34'),(3,3,'Productos y Servicios','2019-03-13 13:29:34','2019-03-13 13:29:34');

--
-- Table structure for table `fact_elec_perc_ret`
--

CREATE TABLE `fact_elec_perc_ret` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `codigo_afip` int(10) unsigned NOT NULL,
  `other_tax_id` int(10) unsigned 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 `fact_elec_perc_ret_other_tax_id_foreign` (`other_tax_id`),
  CONSTRAINT `fact_elec_perc_ret_other_tax_id_foreign` FOREIGN KEY (`other_tax_id`) REFERENCES `other_taxes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fact_elec_perc_ret`
--

INSERT INTO `fact_elec_perc_ret` VALUES (1,NULL,'Per./Ret de Imp. a las Ganancias',1,1032,1,NULL,NULL,NULL),(2,NULL,'Per./Ret de IVA',1,1000,1,NULL,NULL,NULL),(3,NULL,'Per./Ret de IIBB',2,1006,1,NULL,NULL,NULL),(4,NULL,'Impuestos Internos',4,1001,1,NULL,NULL,NULL),(5,NULL,'Impuestos Municipales',3,1031,1,NULL,NULL,NULL);

--
-- Table structure for table `fact_elec_perc_ret_details`
--

CREATE TABLE `fact_elec_perc_ret_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fact_elec_perc_ret_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `fact_elec_receipt_id` int(10) unsigned NOT NULL,
  `detalle` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `zone_id` int(10) unsigned DEFAULT NULL,
  `base_imponible` decimal(16,2) DEFAULT NULL,
  `alicuota` decimal(16,2) DEFAULT NULL,
  `importe` decimal(16,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fact_elec_perc_ret_details_fact_elec_perc_ret_id_foreign` (`fact_elec_perc_ret_id`),
  KEY `fact_elec_perc_ret_details_person_id_foreign` (`person_id`),
  KEY `fact_elec_perc_ret_details_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  KEY `fact_elec_perc_ret_details_zone_id_foreign` (`zone_id`),
  CONSTRAINT `fact_elec_perc_ret_details_fact_elec_perc_ret_id_foreign` FOREIGN KEY (`fact_elec_perc_ret_id`) REFERENCES `fact_elec_perc_ret` (`id`),
  CONSTRAINT `fact_elec_perc_ret_details_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`id`),
  CONSTRAINT `fact_elec_perc_ret_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `fact_elec_perc_ret_details_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fact_elec_perc_ret_details`
--


--
-- Table structure for table `fact_elec_puntos_venta`
--

CREATE TABLE `fact_elec_puntos_venta` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `direccion` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `codigo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '0000',
  `codigo_postal` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `zone_id` int(11) DEFAULT NULL,
  `logo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fact_elec_puntos_venta_person_id_foreign` (`person_id`),
  CONSTRAINT `fact_elec_puntos_venta_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fact_elec_puntos_venta`
--

INSERT INTO `fact_elec_puntos_venta` VALUES (1,8522,'Lisandro de la Torre 277 5°B','2023-02-28 13:56:45','2023-02-28 14:01:39',40718,'1','1408',22,'img//20111111112/logo_punto_venta_0001.png',1,NULL),(5,8684,'BELGRANO 152','2023-04-04 15:27:26','2023-09-06 09:52:00',40816,'5','8322',12,NULL,0,NULL),(8,8684,'CARLOS H. RODRIGUEZ 289','2023-07-14 16:03:46','2023-07-14 16:04:28',41193,'2','8322',12,NULL,1,NULL);

--
-- Table structure for table `fact_elec_receipt_details`
--

CREATE TABLE `fact_elec_receipt_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fact_elec_receipt_id` int(10) unsigned NOT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `cantidad` decimal(20,2) NOT NULL,
  `unidad_medida` text COLLATE utf8mb4_unicode_ci,
  `precio_unitario` decimal(20,2) NOT NULL,
  `neto_gravado` decimal(20,2) NOT NULL,
  `bonificacion_porcentaje` decimal(20,2) DEFAULT NULL,
  `bonificacion_monto` decimal(20,2) DEFAULT NULL,
  `bonificacion_subtotal` decimal(20,2) DEFAULT NULL,
  `system_tax_id` int(10) unsigned NOT NULL DEFAULT '1',
  `iva_monto` decimal(20,2) DEFAULT NULL,
  `iva_subtotal` decimal(20,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `codigo` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fact_elec_receipt_details_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  KEY `fact_elec_receipt_details_system_tax_id_foreign` (`system_tax_id`),
  CONSTRAINT `fact_elec_receipt_details_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`id`),
  CONSTRAINT `fact_elec_receipt_details_system_tax_id_foreign` FOREIGN KEY (`system_tax_id`) REFERENCES `system_taxes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=325 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fact_elec_receipt_details`
--

