INSERT INTO `cta_cte_cliente` VALUES (171922,NULL,0,NULL,171922,3,40817,40828,57,7595,2,1,'2022-02-02','2022-02-02',44747.01,1,855.00,'PAGO  0004 - 000097',NULL,NULL,NULL,NULL,NULL),(171923,NULL,0,NULL,NULL,21,40817,40828,57,7596,1,1,'2022-03-02','2022-03-02',44747.01,1,855.00,'FACTURA A 0002 - 018870',NULL,NULL,NULL,NULL,NULL),(171924,NULL,0,NULL,171924,3,40817,40828,57,7596,2,1,'2022-03-08','2022-03-08',44747.01,1,855.00,'PAGO  0004 - 000243',NULL,NULL,NULL,NULL,NULL),(171925,NULL,0,NULL,NULL,21,40817,40828,57,7597,1,1,'2022-04-01','2022-04-01',55710.03,1,855.00,'FACTURA A 0002 - 018997',NULL,NULL,NULL,NULL,NULL),(171926,NULL,0,NULL,171926,3,40817,40828,57,7597,2,1,'2022-04-08','2022-04-08',55710.03,1,855.00,'PAGO  0004 - 000407',NULL,NULL,NULL,NULL,NULL),(171927,NULL,0,NULL,NULL,21,40817,40828,57,7598,1,1,'2022-05-03','2022-05-03',55710.03,1,855.00,'FACTURA A 0002 - 019128',NULL,NULL,NULL,NULL,NULL),(171928,NULL,0,NULL,171928,3,40817,40828,57,7598,2,1,'2022-05-04','2022-05-04',55710.03,1,855.00,'PAGO  0004 - 000512',NULL,NULL,NULL,NULL,NULL),(171929,NULL,0,NULL,NULL,21,40817,40828,57,7599,1,1,'2022-06-01','2022-06-01',55710.03,1,855.00,'FACTURA A 0002 - 019258',NULL,NULL,NULL,NULL,NULL),(171930,NULL,0,NULL,171930,3,40817,40828,57,7599,2,1,'2022-06-03','2022-06-03',55710.03,1,855.00,'PAGO  0004 - 000655',NULL,NULL,NULL,NULL,NULL),(171931,NULL,0,NULL,NULL,21,40817,40828,57,7600,1,1,'2022-07-01','2022-07-01',55710.03,1,855.00,'FACTURA A 0002 - 019387',NULL,NULL,NULL,NULL,NULL),(171932,NULL,0,NULL,171932,3,40817,40828,57,7600,2,1,'2022-07-12','2022-07-12',55710.03,1,855.00,'PAGO  0004 - 000809',NULL,NULL,NULL,NULL,NULL),(171933,NULL,0,NULL,NULL,21,40817,40828,57,7601,1,1,'2022-08-02','2022-08-02',55710.03,1,855.00,'FACTURA A 0002 - 019516',NULL,NULL,NULL,NULL,NULL),(171934,NULL,0,NULL,171934,3,40817,40828,57,7601,2,1,'2022-08-03','2022-08-03',55710.03,1,855.00,'PAGO  0004 - 000926',NULL,NULL,NULL,NULL,NULL),(171935,NULL,0,NULL,NULL,21,40817,40828,57,7602,1,1,'2022-09-01','2022-09-01',74651.45,1,855.00,'FACTURA A 0002 - 019642',NULL,NULL,NULL,NULL,NULL),(171936,NULL,0,NULL,171936,3,40817,40828,57,7602,2,1,'2022-09-07','2022-09-07',74651.45,1,855.00,'PAGO  0004 - 001111',NULL,NULL,NULL,NULL,NULL),(171937,NULL,0,NULL,171937,3,40817,40828,57,7603,2,1,'2022-10-04','2022-10-04',74651.45,1,855.00,'PAGO  0004 - 001246',NULL,NULL,NULL,NULL,NULL),(171938,NULL,0,NULL,NULL,21,40817,40828,57,7603,1,1,'2022-10-04','2022-10-04',74651.45,1,855.00,'FACTURA A 0002 - 019769',NULL,NULL,NULL,NULL,NULL),(171939,NULL,0,NULL,NULL,21,40817,40828,57,7604,1,1,'2022-11-01','2022-11-01',74651.45,1,855.00,'FACTURA A 0002 - 019894',NULL,NULL,NULL,NULL,NULL),(171940,NULL,0,NULL,171940,3,40817,40828,57,7604,2,1,'2022-11-04','2022-11-04',74651.45,1,855.00,'PAGO  0004 - 001376',NULL,NULL,NULL,NULL,NULL),(171941,NULL,0,NULL,171941,3,40817,40828,57,7605,2,1,'2022-12-01','2022-12-01',44747.01,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000010',NULL,NULL,NULL,NULL,NULL),(171942,NULL,0,NULL,NULL,21,40817,40828,57,7605,1,1,'2022-12-01','2022-12-01',90201.34,1,855.00,'FACTURA A 0002 - 020006',NULL,NULL,NULL,NULL,NULL),(171943,NULL,0,NULL,NULL,21,40817,40828,57,7605,1,1,'2022-12-01','2022-12-01',44747.01,1,855.00,'FACTURA A 0002 - 018614',NULL,NULL,NULL,NULL,NULL),(171944,NULL,0,NULL,171944,3,40817,40828,57,7605,2,1,'2022-12-05','2022-12-05',90201.34,1,855.00,'PAGO  0004 - 001511',NULL,NULL,NULL,NULL,NULL),(171945,NULL,0,NULL,NULL,21,40817,40828,57,7609,1,1,'2023-01-02','2023-01-02',90201.34,1,855.00,'FACTURA A 0002 - 020116',NULL,NULL,NULL,NULL,NULL),(171946,NULL,0,NULL,171946,3,40817,40828,57,7609,2,1,'2023-01-07','2023-01-07',90201.34,1,855.00,'PAGO  0004 - 001642',NULL,NULL,NULL,NULL,NULL),(171947,NULL,0,NULL,NULL,21,40817,40828,57,7610,1,1,'2023-02-01','2023-02-01',90201.34,1,855.00,'FACTURA A 0002 - 020235',NULL,NULL,NULL,NULL,NULL),(171948,NULL,0,NULL,171948,3,40817,40828,57,7610,2,1,'2023-02-06','2023-02-06',90201.34,1,855.00,'PAGO  0004 - 001792',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171949,NULL,0,NULL,NULL,21,40817,40828,57,7611,1,1,'2023-03-01','2023-03-01',105724.98,1,855.00,'FACTURA A 0002 - 020343',NULL,NULL,NULL,NULL,NULL),(171950,NULL,0,NULL,171950,3,40817,40828,57,7611,2,1,'2023-03-07','2023-03-07',105724.98,1,855.00,'PAGO  0004 - 001898',NULL,NULL,NULL,NULL,NULL),(171951,NULL,0,NULL,NULL,21,40817,40828,57,7612,1,1,'2023-04-03','2023-04-03',105724.98,1,855.00,'FACTURA A 0002 - 020461',NULL,NULL,NULL,NULL,NULL),(171952,NULL,0,NULL,171952,3,40817,40828,57,7612,2,1,'2023-04-10','2023-04-10',105724.98,1,855.00,'PAGO  0004 - 002071',NULL,NULL,NULL,NULL,NULL),(171953,NULL,0,NULL,NULL,21,40817,40828,57,7613,1,1,'2023-05-02','2023-05-02',105724.98,1,855.00,'FACTURA A 0002 - 020574',NULL,NULL,NULL,NULL,NULL),(171954,NULL,0,NULL,171954,3,40817,40828,57,7613,2,1,'2023-05-11','2023-05-11',105724.98,1,855.00,'PAGO  0004 - 002230',NULL,NULL,NULL,NULL,NULL),(171955,NULL,0,NULL,NULL,21,40817,40828,57,7614,1,1,'2023-06-01','2023-06-01',132050.51,1,855.00,'FACTURA A 0002 - 020700',NULL,NULL,NULL,NULL,NULL),(171956,NULL,0,NULL,171956,3,40817,40828,57,7614,2,1,'2023-06-08','2023-06-08',132050.51,1,855.00,'PAGO  0004 - 002373',NULL,NULL,NULL,NULL,NULL),(171957,NULL,0,NULL,NULL,21,40817,40828,57,7615,1,1,'2023-07-03','2023-07-03',132050.51,1,855.00,'FACTURA A 0002 - 020815',NULL,NULL,NULL,NULL,NULL),(171958,NULL,0,NULL,171958,3,40817,40828,57,7615,2,1,'2023-07-11','2023-07-11',132050.51,1,855.00,'PAGO  0004 - 002527',NULL,NULL,NULL,NULL,NULL),(171959,NULL,0,NULL,NULL,21,40817,40828,57,7616,1,1,'2023-08-01','2023-08-01',132050.51,1,855.00,'FACTURA A 0002 - 020938',NULL,NULL,NULL,NULL,NULL),(171960,NULL,0,NULL,171960,3,40817,40828,57,7616,2,1,'2023-08-04','2023-08-04',132050.51,1,855.00,'PAGO  0004 - 002664',NULL,NULL,NULL,NULL,NULL),(171961,NULL,0,NULL,NULL,21,40817,40828,57,7617,1,1,'2023-09-01','2023-09-01',160348.93,1,855.00,'FACTURA A 0002 - 021048',NULL,NULL,NULL,NULL,NULL),(171962,NULL,0,NULL,171962,3,40817,40828,57,7617,2,1,'2023-09-07','2023-09-07',160348.93,1,855.00,'PAGO  0004 - 002827',NULL,NULL,NULL,NULL,NULL),(171963,NULL,0,NULL,NULL,21,40817,40828,57,7618,1,1,'2023-10-02','2023-10-02',160348.93,1,855.00,'FACTURA A 0002 - 021169',NULL,NULL,NULL,NULL,NULL),(171964,NULL,0,NULL,171964,3,40817,40828,57,7618,2,1,'2023-10-12','2023-10-12',160348.93,1,855.00,'PAGO  0004 - 003036',NULL,NULL,NULL,NULL,NULL),(171965,NULL,0,NULL,171965,3,40817,40828,57,7619,2,1,'2023-11-01','2023-11-01',160348.93,1,855.00,'PAGO  0004 - 003139',NULL,NULL,NULL,NULL,NULL),(171966,NULL,0,NULL,NULL,21,40817,40828,57,7619,1,1,'2023-11-01','2023-11-01',160348.93,1,855.00,'FACTURA A 0002 - 021281',NULL,NULL,NULL,NULL,NULL),(171967,NULL,0,NULL,NULL,21,40817,40828,57,7620,1,1,'2023-12-01','2023-12-01',219998.74,1,855.00,'FACTURA A 0002 - 021393',NULL,NULL,NULL,NULL,NULL),(171968,NULL,0,NULL,171968,3,40817,40828,57,7620,2,1,'2023-12-12','2023-12-12',219998.74,1,855.00,'PAGO  0004 - 003359',NULL,NULL,NULL,NULL,NULL),(171969,NULL,0,NULL,NULL,21,40817,40828,57,6064,1,1,'2024-01-02','2024-01-02',219998.74,1,855.00,'FACTURA A 0002 - 021501',NULL,NULL,NULL,NULL,NULL),(171970,NULL,0,NULL,171970,3,40817,40828,57,6064,2,1,'2024-01-05','2024-01-05',219998.74,1,855.00,'PAGO  0004 - 003501',NULL,NULL,NULL,NULL,NULL),(171971,NULL,0,NULL,NULL,21,40817,40828,57,6065,1,1,'2024-02-01','2024-02-01',311386.22,1,855.00,'FACTURA A 0002 - 021612',NULL,NULL,NULL,NULL,NULL),(171972,NULL,0,NULL,171972,3,40817,40828,57,6065,2,1,'2024-02-10','2024-02-10',311386.22,1,855.00,'PAGO  0004 - 003673',NULL,NULL,NULL,NULL,NULL),(171973,NULL,0,NULL,NULL,21,40817,40828,57,6066,1,1,'2024-03-01','2024-03-01',311386.22,1,855.00,'FACTURA A 0002 - 021715',NULL,NULL,NULL,NULL,NULL),(171974,NULL,0,NULL,171974,3,40817,40828,57,6066,2,1,'2024-03-12','2024-03-12',311386.22,1,855.00,'PAGO  0004 - 003847',NULL,NULL,NULL,NULL,NULL),(171975,NULL,0,NULL,NULL,21,40817,40828,57,6067,1,1,'2024-04-03','2024-04-03',425291.28,1,855.00,'FACTURA A 0002 - 021827',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171976,NULL,0,NULL,171976,3,40817,40828,57,6067,2,1,'2024-04-07','2024-04-07',425291.28,1,855.00,'PAGO  0004 - 003974',NULL,NULL,NULL,NULL,NULL),(171977,NULL,0,NULL,NULL,21,40817,40828,57,6068,1,1,'2024-05-02','2024-05-02',425291.28,1,855.00,'FACTURA A 0002 - 021928',NULL,NULL,NULL,NULL,NULL),(171978,NULL,0,NULL,171978,3,40817,40828,57,6068,2,1,'2024-05-11','2024-05-11',425291.28,1,855.00,'PAGO  0004 - 004166',NULL,NULL,NULL,NULL,NULL),(171979,NULL,0,NULL,NULL,21,40817,46976,57,7598,1,1,'2022-05-27','2022-05-27',19360.02,1,855.00,'FACTURA A 0005 - 000179',NULL,NULL,NULL,NULL,NULL),(171980,NULL,0,NULL,171980,3,40817,46976,57,7599,2,1,'2022-06-14','2022-06-14',19360.02,1,855.00,'PAGO  0004 - 000716',NULL,NULL,NULL,NULL,NULL),(171981,NULL,0,NULL,NULL,21,40817,46976,57,7605,1,1,'2022-12-29','2022-12-29',14630.00,1,855.00,'FACTURA A 0005 - 001435',NULL,NULL,NULL,NULL,NULL),(171982,NULL,0,NULL,171982,3,40817,46976,57,7609,2,1,'2023-01-07','2023-01-07',14630.00,1,855.00,'PAGO  0004 - 001643',NULL,NULL,NULL,NULL,NULL),(171983,NULL,0,NULL,NULL,21,40817,46976,57,7612,1,1,'2023-04-04','2023-04-04',54757.62,1,855.00,'FACTURA A 0005 - 001919',NULL,NULL,NULL,NULL,NULL),(171984,NULL,0,NULL,NULL,21,40817,46976,57,7612,1,1,'2023-04-11','2023-04-11',138000.02,1,855.00,'FACTURA A 0005 - 001960',NULL,NULL,NULL,NULL,NULL),(171985,NULL,0,NULL,NULL,21,40817,46976,57,7612,1,1,'2023-04-13','2023-04-13',302379.00,1,855.00,'FACTURA A 0005 - 001990',NULL,NULL,NULL,NULL,NULL),(171986,NULL,0,NULL,171986,3,40817,46976,57,7612,2,1,'2023-04-17','2023-04-17',192757.64,1,855.00,'PAGO  0004 - 002121',NULL,NULL,NULL,NULL,NULL),(171987,NULL,0,NULL,NULL,21,40817,46976,57,7612,1,1,'2023-04-21','2023-04-21',18000.01,1,855.00,'FACTURA A 0005 - 002026',NULL,NULL,NULL,NULL,NULL),(171988,NULL,0,NULL,171988,3,40817,46976,57,7612,2,1,'2023-04-29','2023-04-29',320379.01,1,855.00,'PAGO  0004 - 002175',NULL,NULL,NULL,NULL,NULL),(171989,NULL,0,NULL,NULL,21,40817,46976,57,7613,1,1,'2023-05-12','2023-05-12',46000.01,1,855.00,'FACTURA A 0005 - 002136',NULL,NULL,NULL,NULL,NULL),(171990,NULL,0,NULL,171990,3,40817,46976,57,7613,2,1,'2023-05-22','2023-05-22',46670.21,1,855.00,'PAGO  0004 - 002295',NULL,NULL,NULL,NULL,NULL),(171991,NULL,0,NULL,NULL,21,40817,46976,57,7614,1,1,'2023-06-12','2023-06-12',16000.02,1,855.00,'FACTURA A 0005 - 002306',NULL,NULL,NULL,NULL,NULL),(171992,NULL,0,NULL,171992,3,40817,46976,57,7614,2,1,'2023-06-26','2023-06-26',15329.82,1,855.00,'PAGO  0004 - 002466',NULL,NULL,NULL,NULL,NULL),(171993,NULL,0,NULL,NULL,21,40817,46976,57,7615,1,1,'2023-07-06','2023-07-06',51700.00,1,855.00,'FACTURA A 0005 - 002438',NULL,NULL,NULL,NULL,NULL),(171994,NULL,0,NULL,171994,3,40817,46976,57,7615,2,1,'2023-07-11','2023-07-11',51700.00,1,855.00,'PAGO  0004 - 002528',NULL,NULL,NULL,NULL,NULL),(171995,NULL,0,NULL,NULL,21,40817,46976,57,7616,1,1,'2023-08-29','2023-08-29',60799.89,1,855.00,'FACTURA A 0005 - 002759',NULL,NULL,NULL,NULL,NULL),(171996,NULL,0,NULL,171996,3,40817,46976,57,7617,2,1,'2023-09-07','2023-09-07',60799.89,1,855.00,'PAGO  0004 - 002828',NULL,NULL,NULL,NULL,NULL),(171997,NULL,0,NULL,NULL,21,40817,46976,57,7617,1,1,'2023-09-12','2023-09-12',104699.92,1,855.00,'FACTURA A 0005 - 002828',NULL,NULL,NULL,NULL,NULL),(171998,NULL,0,NULL,NULL,21,40817,46976,57,7617,1,1,'2023-09-19','2023-09-19',123265.00,1,855.00,'FACTURA A 0005 - 002898',NULL,NULL,NULL,NULL,NULL),(171999,NULL,0,NULL,171999,3,40817,46976,57,7617,2,1,'2023-09-26','2023-09-26',128420.06,1,855.00,'PAGO  0004 - 002944',NULL,NULL,NULL,NULL,NULL),(172000,NULL,0,NULL,172000,3,40817,46976,57,7618,2,1,'2023-10-03','2023-10-03',99544.86,1,855.00,'PAGO  0004 - 002983',NULL,NULL,NULL,NULL,NULL),(172001,NULL,0,NULL,NULL,21,40817,46976,57,7618,1,1,'2023-10-05','2023-10-05',160860.13,1,855.00,'FACTURA A 0005 - 002986',NULL,NULL,NULL,NULL,NULL),(172002,NULL,0,NULL,172002,3,40817,46976,57,7618,2,1,'2023-10-19','2023-10-19',160860.13,1,855.00,'PAGO  0004 - 003069',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172003,NULL,0,NULL,NULL,21,40817,46976,57,6064,1,1,'2024-01-08','2024-01-08',146190.06,1,855.00,'FACTURA A 0005 - 003565',NULL,NULL,NULL,NULL,NULL),(172004,NULL,0,NULL,172004,3,40817,46976,57,6064,2,1,'2024-01-16','2024-01-16',146190.06,1,855.00,'PAGO  0004 - 003555',NULL,NULL,NULL,NULL,NULL),(172005,NULL,0,NULL,NULL,21,40817,46976,57,6064,1,1,'2024-01-18','2024-01-18',57000.10,1,855.00,'FACTURA A 0005 - 003646',NULL,NULL,NULL,NULL,NULL),(172006,NULL,0,NULL,172006,3,40817,46976,57,6064,2,1,'2024-01-25','2024-01-25',57000.10,1,855.00,'PAGO  0004 - 003608',NULL,NULL,NULL,NULL,NULL),(172007,NULL,0,NULL,172007,3,40817,46976,57,6066,2,1,'2024-03-13','2024-03-13',55351.35,1,855.00,'PAGO  0004 - 003867',NULL,NULL,NULL,NULL,NULL),(172008,NULL,0,NULL,NULL,21,40817,46976,57,6066,1,1,'2024-03-13','2024-03-13',48864.88,1,855.00,'FACTURA A 0005 - 003757',NULL,NULL,NULL,NULL,NULL),(172009,NULL,0,NULL,NULL,21,40817,46976,57,6066,1,1,'2024-03-13','2024-03-13',6486.47,1,855.00,'FACTURA A 0005 - 003759',NULL,NULL,NULL,NULL,NULL),(172010,NULL,0,NULL,NULL,21,40817,40836,57,7590,1,1,'2021-12-29','2021-12-29',51790.38,1,855.00,'FACTURA A 0002 - 022095',NULL,NULL,NULL,NULL,NULL),(172011,NULL,0,NULL,NULL,21,40817,40836,57,7594,1,1,'2022-01-11','2022-01-11',14239.55,1,855.00,'FACTURA A 0002 - 022169',NULL,NULL,NULL,NULL,NULL),(172012,NULL,0,NULL,NULL,21,40817,40836,57,7594,1,1,'2022-01-12','2022-01-12',50535.29,1,855.00,'FACTURA A 0002 - 022183',NULL,NULL,NULL,NULL,NULL),(172013,NULL,0,NULL,NULL,21,40817,40836,57,7594,1,1,'2022-01-14','2022-01-14',31075.47,1,855.00,'FACTURA A 0002 - 022195',NULL,NULL,NULL,NULL,NULL),(172014,NULL,0,NULL,172014,3,40817,40836,57,7594,2,1,'2022-01-14','2022-01-14',51790.38,1,855.00,'PAGO  0004 - 000020',NULL,NULL,NULL,NULL,NULL),(172015,NULL,0,NULL,172015,3,40817,40836,57,7594,2,1,'2022-01-19','2022-01-19',14239.55,1,855.00,'PAGO CONTADO  0001 - 000044',NULL,NULL,NULL,NULL,NULL),(172016,NULL,0,NULL,NULL,21,40817,40836,57,7594,1,1,'2022-01-21','2022-01-21',33142.24,1,855.00,'FACTURA A 0002 - 022240',NULL,NULL,NULL,NULL,NULL),(172017,NULL,0,NULL,172017,3,40817,40836,57,7595,2,1,'2022-02-15','2022-02-15',114753.00,1,855.00,'PAGO  0004 - 000157',NULL,NULL,NULL,NULL,NULL),(172018,NULL,0,NULL,NULL,21,40817,40836,57,7595,1,1,'2022-02-22','2022-02-22',50530.49,1,855.00,'FACTURA A 0002 - 022555',NULL,NULL,NULL,NULL,NULL),(172019,NULL,0,NULL,NULL,21,40817,40836,57,7596,1,1,'2022-03-09','2022-03-09',574058.48,1,855.00,'FACTURA A 0002 - 022701',NULL,NULL,NULL,NULL,NULL),(172020,NULL,0,NULL,172020,3,40817,40836,57,7596,2,1,'2022-03-10','2022-03-10',51488.03,1,855.00,'PAGO  0004 - 000262',NULL,NULL,NULL,NULL,NULL),(172021,NULL,0,NULL,172021,3,40817,40836,57,7596,2,1,'2022-03-14','2022-03-14',573100.94,1,855.00,'PAGO  0004 - 000273',NULL,NULL,NULL,NULL,NULL),(172022,NULL,0,NULL,NULL,21,40817,40836,57,7596,1,1,'2022-03-17','2022-03-17',36990.45,1,855.00,'FACTURA A 0002 - 022783',NULL,NULL,NULL,NULL,NULL),(172023,NULL,0,NULL,NULL,21,40817,40836,57,7596,1,1,'2022-03-28','2022-03-28',20267.33,1,855.00,'FACTURA A 0002 - 022891',NULL,NULL,NULL,NULL,NULL),(172024,NULL,0,NULL,172024,3,40817,40836,57,7597,2,1,'2022-04-01','2022-04-01',57257.78,1,855.00,'PAGO  0004 - 000366',NULL,NULL,NULL,NULL,NULL),(172025,NULL,0,NULL,NULL,21,40817,40836,57,7597,1,1,'2022-04-08','2022-04-08',10394.25,1,855.00,'FACTURA A 0002 - 023027',NULL,NULL,NULL,NULL,NULL),(172026,NULL,0,NULL,NULL,21,40817,40836,57,7597,1,1,'2022-04-18','2022-04-18',20486.95,1,855.00,'FACTURA A 0002 - 023090',NULL,NULL,NULL,NULL,NULL),(172027,NULL,0,NULL,NULL,21,40817,40836,57,7597,1,1,'2022-04-18','2022-04-18',132200.49,1,855.00,'FACTURA A 0002 - 023100',NULL,NULL,NULL,NULL,NULL),(172028,NULL,0,NULL,NULL,21,40817,40836,57,7597,1,1,'2022-04-21','2022-04-21',34400.51,1,855.00,'FACTURA A 0002 - 023144',NULL,NULL,NULL,NULL,NULL),(172029,NULL,0,NULL,NULL,21,40817,40836,57,7597,1,1,'2022-04-25','2022-04-25',51533.72,1,855.00,'FACTURA A 0002 - 023175',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172030,NULL,0,NULL,172030,3,40817,40836,57,7598,2,1,'2022-05-05','2022-05-05',249017.51,1,855.00,'PAGO  0004 - 000522',NULL,NULL,NULL,NULL,NULL),(172031,NULL,0,NULL,NULL,21,40817,40836,57,7598,1,1,'2022-05-11','2022-05-11',18326.66,1,855.00,'FACTURA A 0002 - 023370',NULL,NULL,NULL,NULL,NULL),(172032,NULL,0,NULL,NULL,21,40817,40836,57,7598,1,1,'2022-05-13','2022-05-13',13261.76,1,855.00,'FACTURA A 0002 - 023408',NULL,NULL,NULL,NULL,NULL),(172033,NULL,0,NULL,NULL,21,40817,40836,57,7598,1,1,'2022-05-23','2022-05-23',9487.94,1,855.00,'FACTURA A 0002 - 023487',NULL,NULL,NULL,NULL,NULL),(172034,NULL,0,NULL,172034,3,40817,40836,57,7598,2,1,'2022-05-23','2022-05-23',9487.94,1,855.00,'PAGO CONTADO  0001 - 000568',NULL,NULL,NULL,NULL,NULL),(172035,NULL,0,NULL,NULL,21,40817,40836,57,7598,1,1,'2022-05-26','2022-05-26',117186.41,1,855.00,'FACTURA A 0002 - 023508',NULL,NULL,NULL,NULL,NULL),(172036,NULL,0,NULL,NULL,21,40817,40836,57,7599,1,1,'2022-06-01','2022-06-01',67097.48,1,855.00,'FACTURA A 0002 - 023575',NULL,NULL,NULL,NULL,NULL),(172037,NULL,0,NULL,NULL,21,40817,40836,57,7599,1,1,'2022-06-06','2022-06-06',13016.88,1,855.00,'FACTURA A 0002 - 023635',NULL,NULL,NULL,NULL,NULL),(172038,NULL,0,NULL,NULL,21,40817,40836,57,7599,1,1,'2022-06-07','2022-06-07',34319.77,1,855.00,'FACTURA A 0002 - 023654',NULL,NULL,NULL,NULL,NULL),(172039,NULL,0,NULL,172039,3,40817,40836,57,7599,2,1,'2022-06-08','2022-06-08',229418.63,1,855.00,'PAGO  0004 - 000685',NULL,NULL,NULL,NULL,NULL),(172040,NULL,0,NULL,NULL,21,40817,40836,57,7599,1,1,'2022-06-22','2022-06-22',26987.89,1,855.00,'FACTURA A 0002 - 023819',NULL,NULL,NULL,NULL,NULL),(172041,NULL,0,NULL,NULL,21,40817,40836,57,7599,1,1,'2022-06-30','2022-06-30',127435.70,1,855.00,'FACTURA A 0002 - 023918',NULL,NULL,NULL,NULL,NULL),(172042,NULL,0,NULL,NULL,21,40817,40836,57,7600,1,1,'2022-07-01','2022-07-01',109872.72,1,855.00,'FACTURA A 0002 - 023932',NULL,NULL,NULL,NULL,NULL),(172043,NULL,0,NULL,172043,3,40817,40836,57,7600,2,1,'2022-07-12','2022-07-12',299283.98,1,855.00,'PAGO  0004 - 000827',NULL,NULL,NULL,NULL,NULL),(172044,NULL,0,NULL,NULL,21,40817,40836,57,7600,1,1,'2022-07-13','2022-07-13',64189.46,1,855.00,'FACTURA A 0002 - 024082',NULL,NULL,NULL,NULL,NULL),(172045,NULL,0,NULL,172045,3,40817,40836,57,7600,2,1,'2022-07-15','2022-07-15',62990.53,1,855.00,'PAGO  0001 - 000781',NULL,NULL,NULL,NULL,NULL),(172046,NULL,0,NULL,NULL,21,40817,40836,57,7600,1,1,'2022-07-25','2022-07-25',48557.32,1,855.00,'FACTURA A 0002 - 024222',NULL,NULL,NULL,NULL,NULL),(172047,NULL,0,NULL,172047,3,40817,40836,57,7601,2,1,'2022-08-09','2022-08-09',48557.32,1,855.00,'PAGO  0004 - 000968',NULL,NULL,NULL,NULL,NULL),(172048,NULL,0,NULL,NULL,21,40817,40836,57,7601,1,1,'2022-08-11','2022-08-11',20385.66,1,855.00,'FACTURA A 0002 - 024407',NULL,NULL,NULL,NULL,NULL),(172049,NULL,0,NULL,172049,3,40817,40836,57,7601,2,1,'2022-08-31','2022-08-31',20385.66,1,855.00,'PAGO  0004 - 001082',NULL,NULL,NULL,NULL,NULL),(172050,NULL,0,NULL,NULL,21,40817,40836,57,7602,1,1,'2022-09-12','2022-09-12',40753.26,1,855.00,'FACTURA A 0002 - 024731',NULL,NULL,NULL,NULL,NULL),(172051,NULL,0,NULL,NULL,21,40817,40836,57,7602,1,1,'2022-09-21','2022-09-21',57624.50,1,855.00,'FACTURA A 0002 - 024852',NULL,NULL,NULL,NULL,NULL),(172052,NULL,0,NULL,NULL,21,40817,40836,57,7602,1,1,'2022-09-22','2022-09-22',45864.95,1,855.00,'FACTURA A 0002 - 024864',NULL,NULL,NULL,NULL,NULL),(172053,NULL,0,NULL,172053,3,40817,40836,57,7602,2,1,'2022-09-22','2022-09-22',40753.26,1,855.00,'PAGO  0004 - 001191',NULL,NULL,NULL,NULL,NULL),(172054,NULL,0,NULL,NULL,21,40817,40836,57,7602,1,1,'2022-09-29','2022-09-29',52966.79,1,855.00,'FACTURA A 0002 - 024968',NULL,NULL,NULL,NULL,NULL),(172055,NULL,0,NULL,NULL,21,40817,40836,57,7603,1,1,'2022-10-04','2022-10-04',39498.61,1,855.00,'FACTURA A 0002 - 025012',NULL,NULL,NULL,NULL,NULL),(172056,NULL,0,NULL,172056,3,40817,40836,57,7603,2,1,'2022-10-04','2022-10-04',110591.29,1,855.00,'PAGO  0004 - 001240',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172057,NULL,0,NULL,172057,3,40817,40836,57,7603,2,1,'2022-10-04','2022-10-04',39498.61,1,855.00,'PAGO CONTADO  0001 - 001265',NULL,NULL,NULL,NULL,NULL),(172058,NULL,0,NULL,172058,3,40817,40836,57,7603,2,1,'2022-10-05','2022-10-05',45864.95,1,855.00,'PAGO  0004 - 001254',NULL,NULL,NULL,NULL,NULL),(172059,NULL,0,NULL,NULL,21,40817,40836,57,7604,1,1,'2022-11-10','2022-11-10',36186.88,1,855.00,'FACTURA A 0002 - 025460',NULL,NULL,NULL,NULL,NULL),(172060,NULL,0,NULL,172060,3,40817,40836,57,7604,2,1,'2022-11-23','2022-11-23',36186.88,1,855.00,'PAGO  0004 - 001447',NULL,NULL,NULL,NULL,NULL),(172061,NULL,0,NULL,NULL,21,40817,40836,57,7605,1,1,'2022-12-01','2022-12-01',330782.10,1,855.00,'FACTURA A 0002 - 025682',NULL,NULL,NULL,NULL,NULL),(172062,NULL,0,NULL,172062,3,40817,40836,57,7605,2,1,'2022-12-14','2022-12-14',330782.10,1,855.00,'PAGO  0004 - 001558',NULL,NULL,NULL,NULL,NULL),(172063,NULL,0,NULL,NULL,21,40817,40836,57,7605,1,1,'2022-12-23','2022-12-23',1067464.26,1,855.00,'FACTURA A 0002 - 025893',NULL,NULL,NULL,NULL,NULL),(172064,NULL,0,NULL,172064,3,40817,40836,57,7605,2,1,'2022-12-23','2022-12-23',1067464.26,1,855.00,'PAGO  0001 - 001542',NULL,NULL,NULL,NULL,NULL),(172065,NULL,0,NULL,NULL,21,40817,40836,57,7605,1,1,'2022-12-30','2022-12-30',1014907.01,1,855.00,'FACTURA A 0002 - 025943',NULL,NULL,NULL,NULL,NULL),(172066,NULL,0,NULL,NULL,21,40817,40836,57,7605,1,1,'2022-12-30','2022-12-30',37805.00,1,855.00,'FACTURA A 0002 - 025953',NULL,NULL,NULL,NULL,NULL),(172067,NULL,0,NULL,172067,3,40817,40836,57,7605,2,1,'2022-12-30','2022-12-30',1014907.01,1,855.00,'PAGO CONTADO  0001 - 001572',NULL,NULL,NULL,NULL,NULL),(172068,NULL,0,NULL,NULL,21,40817,40836,57,7609,1,1,'2023-01-03','2023-01-03',81177.90,1,855.00,'FACTURA A 0002 - 025979',NULL,NULL,NULL,NULL,NULL),(172069,NULL,0,NULL,NULL,21,40817,40836,57,7609,1,1,'2023-01-06','2023-01-06',25412.58,1,855.00,'FACTURA A 0002 - 026028',NULL,NULL,NULL,NULL,NULL),(172070,NULL,0,NULL,172070,3,40817,40836,57,7609,2,1,'2023-01-07','2023-01-07',118982.90,1,855.00,'PAGO  0004 - 001644',NULL,NULL,NULL,NULL,NULL),(172071,NULL,0,NULL,NULL,21,40817,40836,57,7609,1,1,'2023-01-16','2023-01-16',28388.37,1,855.00,'FACTURA A 0002 - 026119',NULL,NULL,NULL,NULL,NULL),(172072,NULL,0,NULL,172072,3,40817,40836,57,7609,2,1,'2023-01-16','2023-01-16',28388.37,1,855.00,'PAGO CONTADO  0001 - 001802',NULL,NULL,NULL,NULL,NULL),(172073,NULL,0,NULL,172073,3,40817,40836,57,7609,2,1,'2023-01-24','2023-01-24',25412.58,1,855.00,'PAGO  0004 - 001755',NULL,NULL,NULL,NULL,NULL),(172074,NULL,0,NULL,NULL,21,40817,40836,57,7610,1,1,'2023-02-01','2023-02-01',52874.60,1,855.00,'FACTURA A 0002 - 026269',NULL,NULL,NULL,NULL,NULL),(172075,NULL,0,NULL,NULL,21,40817,40836,57,7610,1,1,'2023-02-07','2023-02-07',239611.94,1,855.00,'FACTURA A 0002 - 026321',NULL,NULL,NULL,NULL,NULL),(172076,NULL,0,NULL,NULL,21,40817,40836,57,7610,1,1,'2023-02-28','2023-02-28',22516.70,1,855.00,'FACTURA A 0002 - 026392',NULL,NULL,NULL,NULL,NULL),(172077,NULL,0,NULL,172077,3,40817,40836,57,7610,2,1,'2023-02-28','2023-02-28',292486.54,1,855.00,'PAGO  0004 - 001878',NULL,NULL,NULL,NULL,NULL),(172078,NULL,0,NULL,172078,3,40817,40836,57,7611,2,1,'2023-03-08','2023-03-08',22516.70,1,855.00,'PAGO  0004 - 001931',NULL,NULL,NULL,NULL,NULL),(172079,NULL,0,NULL,NULL,21,40817,40836,57,7612,1,1,'2023-04-03','2023-04-03',91732.58,1,855.00,'FACTURA A 0002 - 026804',NULL,NULL,NULL,NULL,NULL),(172080,NULL,0,NULL,NULL,21,40817,40836,57,7612,1,1,'2023-04-14','2023-04-14',183822.17,1,855.00,'FACTURA A 0002 - 026903',NULL,NULL,NULL,NULL,NULL),(172081,NULL,0,NULL,172081,3,40817,40836,57,7612,2,1,'2023-04-17','2023-04-17',91760.55,1,855.00,'PAGO  0004 - 002115',NULL,NULL,NULL,NULL,NULL),(172082,NULL,0,NULL,172082,3,40817,40836,57,7612,2,1,'2023-04-29','2023-04-29',183794.20,1,855.00,'PAGO  0004 - 002177',NULL,NULL,NULL,NULL,NULL),(172083,NULL,0,NULL,NULL,21,40817,40836,57,7613,1,1,'2023-05-02','2023-05-02',28728.72,1,855.00,'FACTURA A 0002 - 027049',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172084,NULL,0,NULL,NULL,21,40817,40836,57,7613,1,1,'2023-05-12','2023-05-12',204457.50,1,855.00,'FACTURA A 0002 - 027199',NULL,NULL,NULL,NULL,NULL),(172085,NULL,0,NULL,172085,3,40817,40836,57,7613,2,1,'2023-05-18','2023-05-18',234929.86,1,855.00,'PAGO  0004 - 002280',NULL,NULL,NULL,NULL,NULL),(172086,NULL,0,NULL,NULL,21,40817,40836,57,7613,1,1,'2023-05-31','2023-05-31',965229.50,1,855.00,'FACTURA A 0002 - 027363',NULL,NULL,NULL,NULL,NULL),(172087,NULL,0,NULL,172087,3,40817,40836,57,7614,2,1,'2023-06-02','2023-06-02',965229.50,1,855.00,'PAGO  0004 - 002337',NULL,NULL,NULL,NULL,NULL),(172088,NULL,0,NULL,NULL,21,40817,40836,57,7614,1,1,'2023-06-09','2023-06-09',1210066.53,1,855.00,'FACTURA A 0002 - 027471',NULL,NULL,NULL,NULL,NULL),(172089,NULL,0,NULL,172089,3,40817,40836,57,7614,2,1,'2023-06-12','2023-06-12',1211239.58,1,855.00,'PAGO  0004 - 002405',NULL,NULL,NULL,NULL,NULL),(172090,NULL,0,NULL,NULL,21,40817,40836,57,7614,1,1,'2023-06-22','2023-06-22',163445.77,1,855.00,'FACTURA A 0002 - 027580',NULL,NULL,NULL,NULL,NULL),(172091,NULL,0,NULL,172091,3,40817,40836,57,7614,2,1,'2023-06-29','2023-06-29',161467.47,1,855.00,'PAGO  0004 - 002493',NULL,NULL,NULL,NULL,NULL),(172092,NULL,0,NULL,NULL,21,40817,40836,57,7615,1,1,'2023-07-17','2023-07-17',149355.62,1,855.00,'FACTURA A 0002 - 027858',NULL,NULL,NULL,NULL,NULL),(172093,NULL,0,NULL,NULL,21,40817,40836,57,7615,1,1,'2023-07-19','2023-07-19',124928.85,1,855.00,'FACTURA A 0002 - 027886',NULL,NULL,NULL,NULL,NULL),(172094,NULL,0,NULL,NULL,21,40817,40836,57,7615,1,1,'2023-07-25','2023-07-25',97401.55,1,855.00,'FACTURA A 0002 - 027960',NULL,NULL,NULL,NULL,NULL),(172095,NULL,0,NULL,172095,3,40817,40836,57,7615,2,1,'2023-07-28','2023-07-28',275528.76,1,855.00,'PAGO  0004 - 002629',NULL,NULL,NULL,NULL,NULL),(172096,NULL,0,NULL,172096,3,40817,40836,57,7616,2,1,'2023-08-07','2023-08-07',96132.58,1,855.00,'PAGO  0004 - 002691',NULL,NULL,NULL,NULL,NULL),(172097,NULL,0,NULL,NULL,21,40817,40836,57,7616,1,1,'2023-08-23','2023-08-23',42818.75,1,855.00,'FACTURA A 0002 - 028266',NULL,NULL,NULL,NULL,NULL),(172098,NULL,0,NULL,NULL,21,40817,40836,57,7616,1,1,'2023-08-28','2023-08-28',192983.70,1,855.00,'FACTURA A 0002 - 028331',NULL,NULL,NULL,NULL,NULL),(172099,NULL,0,NULL,NULL,21,40817,40836,57,7617,1,1,'2023-09-01','2023-09-01',54145.06,1,855.00,'FACTURA A 0002 - 028297',NULL,NULL,NULL,NULL,NULL),(172100,NULL,0,NULL,NULL,21,40817,40836,57,7617,1,1,'2023-09-05','2023-09-05',109487.04,1,855.00,'FACTURA A 0002 - 028425',NULL,NULL,NULL,NULL,NULL),(172101,NULL,0,NULL,NULL,21,40817,40836,57,7617,1,1,'2023-09-07','2023-09-07',85587.44,1,855.00,'FACTURA A 0002 - 028447',NULL,NULL,NULL,NULL,NULL),(172102,NULL,0,NULL,172102,3,40817,40836,57,7617,2,1,'2023-09-07','2023-09-07',234888.74,1,855.00,'PAGO  0004 - 002829',NULL,NULL,NULL,NULL,NULL),(172103,NULL,0,NULL,NULL,21,40817,40836,57,7617,1,1,'2023-09-13','2023-09-13',85037.51,1,855.00,'FACTURA A 0002 - 028503',NULL,NULL,NULL,NULL,NULL),(172104,NULL,0,NULL,172104,3,40817,40836,57,7617,2,1,'2023-09-19','2023-09-19',287654.81,1,855.00,'PAGO  0004 - 002920',NULL,NULL,NULL,NULL,NULL),(172105,NULL,0,NULL,NULL,21,40817,40836,57,7617,1,1,'2023-09-21','2023-09-21',1215857.79,1,855.00,'FACTURA A 0002 - 028621',NULL,NULL,NULL,NULL,NULL),(172106,NULL,0,NULL,172106,3,40817,40836,57,7617,2,1,'2023-09-22','2023-09-22',1218067.34,1,855.00,'PAGO  0004 - 002933',NULL,NULL,NULL,NULL,NULL),(172107,NULL,0,NULL,172107,3,40817,40836,57,7617,2,1,'2023-09-26','2023-09-26',47581.48,1,855.00,'PAGO  0004 - 002945',NULL,NULL,NULL,NULL,NULL),(172108,NULL,0,NULL,NULL,21,40817,40836,57,7619,1,1,'2023-11-03','2023-11-03',197601.49,1,855.00,'FACTURA A 0002 - 029072',NULL,NULL,NULL,NULL,NULL),(172109,NULL,0,NULL,NULL,21,40817,40836,57,7619,1,1,'2023-11-15','2023-11-15',215024.30,1,855.00,'FACTURA A 0002 - 029207',NULL,NULL,NULL,NULL,NULL),(172110,NULL,0,NULL,172110,3,40817,40836,57,7619,2,1,'2023-11-16','2023-11-16',194463.19,1,855.00,'PAGO  0004 - 003231',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172111,NULL,0,NULL,172111,3,40817,40836,57,7619,2,1,'2023-11-29','2023-11-29',218175.85,1,855.00,'PAGO  0004 - 003279',NULL,NULL,NULL,NULL,NULL),(172112,NULL,0,NULL,NULL,21,40817,40836,57,7620,1,1,'2023-12-19','2023-12-19',1961322.69,1,855.00,'FACTURA A 0002 - 029464',NULL,NULL,NULL,NULL,NULL),(172113,NULL,0,NULL,172113,3,40817,40836,57,7620,2,1,'2023-12-20','2023-12-20',1961322.69,1,855.00,'PAGO  0004 - 003419',NULL,NULL,NULL,NULL,NULL),(172114,NULL,0,NULL,NULL,21,40817,40836,57,6066,1,1,'2024-03-11','2024-03-11',96064.65,1,855.00,'FACTURA A 0002 - 030054',NULL,NULL,NULL,NULL,NULL),(172115,NULL,0,NULL,NULL,21,40817,40836,57,6066,1,1,'2024-03-11','2024-03-11',1112263.65,1,855.00,'FACTURA A 0002 - 030057',NULL,NULL,NULL,NULL,NULL),(172116,NULL,0,NULL,NULL,21,40817,40836,57,6066,1,1,'2024-03-18','2024-03-18',227441.46,1,855.00,'FACTURA A 0002 - 030106',NULL,NULL,NULL,NULL,NULL),(172117,NULL,0,NULL,172117,3,40817,40836,57,6066,2,1,'2024-03-28','2024-03-28',1434223.88,1,855.00,'PAGO  0004 - 003945',NULL,NULL,NULL,NULL,NULL),(172118,NULL,0,NULL,NULL,21,40817,40836,57,6067,1,1,'2024-04-10','2024-04-10',482989.26,1,855.00,'FACTURA A 0002 - 030289',NULL,NULL,NULL,NULL,NULL),(172119,NULL,0,NULL,NULL,21,40817,40836,57,6067,1,1,'2024-04-11','2024-04-11',726073.46,1,855.00,'FACTURA A 0002 - 030298',NULL,NULL,NULL,NULL,NULL),(172120,NULL,0,NULL,172120,3,40817,40836,57,6067,2,1,'2024-04-11','2024-04-11',482989.26,1,855.00,'PAGO  0004 - 004017',NULL,NULL,NULL,NULL,NULL),(172121,NULL,0,NULL,172121,3,40817,40836,57,6067,2,1,'2024-04-11','2024-04-11',727719.48,1,855.00,'PAGO  0004 - 004023',NULL,NULL,NULL,NULL,NULL),(172122,NULL,0,NULL,NULL,21,40817,40836,57,6067,1,1,'2024-04-12','2024-04-12',282047.88,1,855.00,'FACTURA A 0002 - 030307',NULL,NULL,NULL,NULL,NULL),(172123,NULL,0,NULL,NULL,21,40817,40836,57,6067,1,1,'2024-04-15','2024-04-15',1222286.80,1,855.00,'FACTURA A 0002 - 030337',NULL,NULL,NULL,NULL,NULL),(172124,NULL,0,NULL,172124,3,40817,40836,57,6067,2,1,'2024-04-16','2024-04-16',1222286.80,1,855.00,'PAGO  0004 - 004045',NULL,NULL,NULL,NULL,NULL),(172125,NULL,0,NULL,172125,3,40817,40836,57,6067,2,1,'2024-04-22','2024-04-22',282282.69,1,855.00,'PAGO  0004 - 004079',NULL,NULL,NULL,NULL,NULL),(172126,NULL,0,NULL,NULL,21,40817,40836,57,6067,1,1,'2024-04-23','2024-04-23',157635.80,1,855.00,'FACTURA A 0002 - 030433',NULL,NULL,NULL,NULL,NULL),(172127,NULL,0,NULL,NULL,21,40817,40836,57,6067,1,1,'2024-04-24','2024-04-24',1048005.76,1,855.00,'FACTURA A 0002 - 030445',NULL,NULL,NULL,NULL,NULL),(172128,NULL,0,NULL,NULL,21,40817,40836,57,6067,1,1,'2024-04-24','2024-04-24',609377.40,1,855.00,'FACTURA A 0002 - 030453',NULL,NULL,NULL,NULL,NULL),(172129,NULL,0,NULL,NULL,21,40817,40836,57,6067,1,1,'2024-04-25','2024-04-25',98075.28,1,855.00,'FACTURA A 0002 - 030458',NULL,NULL,NULL,NULL,NULL),(172130,NULL,0,NULL,NULL,21,40817,40836,57,6067,1,1,'2024-04-25','2024-04-25',160073.45,1,855.00,'FACTURA A 0002 - 030464',NULL,NULL,NULL,NULL,NULL),(172131,NULL,0,NULL,172131,3,40817,40836,57,6067,2,1,'2024-04-25','2024-04-25',1657383.16,1,855.00,'PAGO  0004 - 004102',NULL,NULL,NULL,NULL,NULL),(172132,NULL,0,NULL,172132,3,40817,40836,57,6068,2,1,'2024-05-07','2024-05-07',414508.42,1,855.00,'PAGO  0004 - 004157',NULL,NULL,NULL,NULL,NULL),(172133,NULL,0,NULL,172133,3,40817,40955,57,7590,2,1,'2021-12-31','2021-12-31',859.05,1,855.00,'PAGO  0001 - 000022',NULL,NULL,NULL,NULL,NULL),(172134,NULL,0,NULL,NULL,21,40817,40955,57,7590,1,1,'2021-12-31','2021-12-31',159988.62,1,855.00,'FACTURA A 0002 - 000098',NULL,NULL,NULL,NULL,NULL),(172135,NULL,0,NULL,NULL,21,40817,40955,57,7590,1,1,'2021-12-31','2021-12-31',174777.24,1,855.00,'FACTURA A 0002 - 000099',NULL,NULL,NULL,NULL,NULL),(172136,NULL,0,NULL,172136,3,40817,40955,57,7594,2,1,'2022-01-17','2022-01-17',333906.81,1,855.00,'PAGO  0004 - 000024',NULL,NULL,NULL,NULL,NULL),(172137,NULL,0,NULL,NULL,21,40817,40955,57,7594,1,1,'2022-01-31','2022-01-31',168179.11,1,855.00,'FACTURA A 0002 - 000100',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172138,NULL,0,NULL,172138,3,40817,40955,57,7595,2,1,'2022-02-18','2022-02-18',168179.11,1,855.00,'PAGO  0004 - 000175',NULL,NULL,NULL,NULL,NULL),(172139,NULL,0,NULL,NULL,21,40817,40955,57,7595,1,1,'2022-02-28','2022-02-28',176525.69,1,855.00,'FACTURA A 0002 - 000101',NULL,NULL,NULL,NULL,NULL),(172140,NULL,0,NULL,NULL,21,40817,40955,57,7596,1,1,'2022-03-18','2022-03-18',147887.41,1,855.00,'FACTURA A 0002 - 000102',NULL,NULL,NULL,NULL,NULL),(172141,NULL,0,NULL,172141,3,40817,40955,57,7596,2,1,'2022-03-29','2022-03-29',324413.10,1,855.00,'PAGO  0004 - 000343',NULL,NULL,NULL,NULL,NULL),(172142,NULL,0,NULL,NULL,21,40817,40955,57,7596,1,1,'2022-03-31','2022-03-31',217654.80,1,855.00,'FACTURA A 0002 - 000103',NULL,NULL,NULL,NULL,NULL),(172143,NULL,0,NULL,172143,3,40817,40955,57,7597,2,1,'2022-04-28','2022-04-28',217654.80,1,855.00,'PAGO  0004 - 000489',NULL,NULL,NULL,NULL,NULL),(172144,NULL,0,NULL,NULL,21,40817,40955,57,7597,1,1,'2022-04-30','2022-04-30',257227.85,1,855.00,'FACTURA A 0002 - 000104',NULL,NULL,NULL,NULL,NULL),(172145,NULL,0,NULL,NULL,21,40817,40955,57,7598,1,1,'2022-05-31','2022-05-31',339188.41,1,855.00,'FACTURA A 0002 - 000105',NULL,NULL,NULL,NULL,NULL),(172146,NULL,0,NULL,172146,3,40817,40955,57,7599,2,1,'2022-06-02','2022-06-02',258029.89,1,855.00,'PAGO  0004 - 000644',NULL,NULL,NULL,NULL,NULL),(172147,NULL,0,NULL,172147,3,40817,40955,57,7599,2,1,'2022-06-10','2022-06-10',340256.42,1,855.00,'PAGO  0004 - 000702',NULL,NULL,NULL,NULL,NULL),(172148,NULL,0,NULL,NULL,21,40817,40955,57,7599,1,1,'2022-06-20','2022-06-20',325441.60,1,855.00,'FACTURA A 0002 - 000106',NULL,NULL,NULL,NULL,NULL),(172149,NULL,0,NULL,NULL,21,40817,40955,57,7599,1,1,'2022-06-30','2022-06-30',341368.83,1,855.00,'FACTURA A 0002 - 000107',NULL,NULL,NULL,NULL,NULL),(172150,NULL,0,NULL,172150,3,40817,40955,57,7600,2,1,'2022-07-25','2022-07-25',328728.72,1,855.00,'PAGO  0004 - 000881',NULL,NULL,NULL,NULL,NULL),(172151,NULL,0,NULL,NULL,21,40817,40955,57,7600,1,1,'2022-07-31','2022-07-31',478326.31,1,855.00,'FACTURA A 0002 - 000108',NULL,NULL,NULL,NULL,NULL),(172152,NULL,0,NULL,172152,3,40817,40955,57,7601,2,1,'2022-08-08','2022-08-08',814537.97,1,855.00,'PAGO  0004 - 000961',NULL,NULL,NULL,NULL,NULL),(172153,NULL,0,NULL,NULL,21,40817,40955,57,7601,1,1,'2022-08-16','2022-08-16',464274.58,1,855.00,'FACTURA A 0002 - 000109',NULL,NULL,NULL,NULL,NULL),(172154,NULL,0,NULL,NULL,21,40817,40955,57,7601,1,1,'2022-08-31','2022-08-31',365542.21,1,855.00,'FACTURA A 0002 - 000110',NULL,NULL,NULL,NULL,NULL),(172155,NULL,0,NULL,172155,3,40817,40955,57,7602,2,1,'2022-09-19','2022-09-19',830086.40,1,855.00,'PAGO  0004 - 001168',NULL,NULL,NULL,NULL,NULL),(172156,NULL,0,NULL,NULL,21,40817,40955,57,7602,1,1,'2022-09-23','2022-09-23',375368.62,1,855.00,'FACTURA A 0002 - 000111',NULL,NULL,NULL,NULL,NULL),(172157,NULL,0,NULL,NULL,21,40817,40955,57,7603,1,1,'2022-10-31','2022-10-31',555296.83,1,855.00,'FACTURA A 0002 - 000112',NULL,NULL,NULL,NULL,NULL),(172158,NULL,0,NULL,172158,3,40817,40955,57,7604,2,1,'2022-11-01','2022-11-01',375099.01,1,855.00,'PAGO  0004 - 001363',NULL,NULL,NULL,NULL,NULL),(172159,NULL,0,NULL,172159,3,40817,40955,57,7604,2,1,'2022-11-25','2022-11-25',557845.26,1,855.00,'PAGO  0004 - 001465',NULL,NULL,NULL,NULL,NULL),(172160,NULL,0,NULL,NULL,21,40817,40955,57,7604,1,1,'2022-11-30','2022-11-30',754798.00,1,855.00,'FACTURA A 0002 - 000113',NULL,NULL,NULL,NULL,NULL),(172161,NULL,0,NULL,NULL,21,40817,40955,57,7605,1,1,'2022-12-31','2022-12-31',853990.17,1,855.00,'FACTURA A 0002 - 000114',NULL,NULL,NULL,NULL,NULL),(172162,NULL,0,NULL,NULL,21,40817,40955,57,7609,1,1,'2023-01-31','2023-01-31',778635.00,1,855.00,'FACTURA A 0002 - 000115',NULL,NULL,NULL,NULL,NULL),(172163,NULL,0,NULL,172163,3,40817,40955,57,7610,2,1,'2023-02-02','2023-02-02',752683.82,1,855.00,'PAGO  0004 - 001782',NULL,NULL,NULL,NULL,NULL),(172164,NULL,0,NULL,NULL,21,40817,40955,57,7611,1,1,'2023-03-02','2023-03-02',949850.00,1,855.00,'FACTURA A 0002 - 000116',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172165,NULL,0,NULL,172165,3,40817,40955,57,7611,2,1,'2023-03-17','2023-03-17',854222.80,1,855.00,'PAGO  0004 - 001973',NULL,NULL,NULL,NULL,NULL),(172166,NULL,0,NULL,NULL,21,40817,40955,57,7611,1,1,'2023-03-31','2023-03-31',970821.72,1,855.00,'FACTURA A 0002 - 000117',NULL,NULL,NULL,NULL,NULL),(172167,NULL,0,NULL,172167,3,40817,40955,57,7612,2,1,'2023-04-04','2023-04-04',779059.98,1,855.00,'PAGO  0004 - 002056',NULL,NULL,NULL,NULL,NULL),(172168,NULL,0,NULL,NULL,21,40817,40955,57,7612,1,1,'2023-04-30','2023-04-30',1122049.94,1,855.00,'FACTURA A 0002 - 000118',NULL,NULL,NULL,NULL,NULL),(172169,NULL,0,NULL,172169,3,40817,40955,57,7613,2,1,'2023-05-17','2023-05-17',953671.55,1,855.00,'PAGO  0004 - 002268',NULL,NULL,NULL,NULL,NULL),(172170,NULL,0,NULL,NULL,21,40817,40955,57,7613,1,1,'2023-05-31','2023-05-31',982518.79,1,855.00,'FACTURA A 0002 - 000119',NULL,NULL,NULL,NULL,NULL),(172171,NULL,0,NULL,172171,3,40817,40955,57,7614,2,1,'2023-06-26','2023-06-26',967304.08,1,855.00,'PAGO  0004 - 002460',NULL,NULL,NULL,NULL,NULL),(172172,NULL,0,NULL,NULL,21,40817,40955,57,7614,1,1,'2023-06-30','2023-06-30',1069504.48,1,855.00,'FACTURA A 0002 - 000120',NULL,NULL,NULL,NULL,NULL),(172173,NULL,0,NULL,NULL,21,40817,40955,57,7615,1,1,'2023-07-31','2023-07-31',1075017.24,1,855.00,'FACTURA A 0002 - 000121',NULL,NULL,NULL,NULL,NULL),(172174,NULL,0,NULL,172174,3,40817,40955,57,7616,2,1,'2023-08-09','2023-08-09',1120654.17,1,855.00,'PAGO  0004 - 002696',NULL,NULL,NULL,NULL,NULL),(172175,NULL,0,NULL,172175,3,40817,40955,57,7616,2,1,'2023-08-24','2023-08-24',983987.61,1,855.00,'PAGO  0004 - 002771',NULL,NULL,NULL,NULL,NULL),(172176,NULL,0,NULL,NULL,21,40817,40955,57,7616,1,1,'2023-08-31','2023-08-31',1075688.79,1,855.00,'FACTURA A 0002 - 000122',NULL,NULL,NULL,NULL,NULL),(172177,NULL,0,NULL,172177,3,40817,40955,57,7617,2,1,'2023-09-20','2023-09-20',1068035.66,1,855.00,'PAGO  0004 - 002922',NULL,NULL,NULL,NULL,NULL),(172178,NULL,0,NULL,NULL,21,40817,40955,57,7617,1,1,'2023-09-30','2023-09-30',1102449.15,1,855.00,'FACTURA A 0002 - 000123',NULL,NULL,NULL,NULL,NULL),(172179,NULL,0,NULL,172179,3,40817,40955,57,7618,2,1,'2023-10-18','2023-10-18',1082144.39,1,855.00,'PAGO  0004 - 003063',NULL,NULL,NULL,NULL,NULL),(172180,NULL,0,NULL,NULL,21,40817,40955,57,7618,1,1,'2023-10-31','2023-10-31',1196553.27,1,855.00,'FACTURA A 0002 - 000124',NULL,NULL,NULL,NULL,NULL),(172181,NULL,0,NULL,172181,3,40817,40955,57,7619,2,1,'2023-11-23','2023-11-23',2174140.04,1,855.00,'PAGO  0004 - 003261',NULL,NULL,NULL,NULL,NULL),(172182,NULL,0,NULL,NULL,21,40817,40955,57,7619,1,1,'2023-11-30','2023-11-30',1438696.05,1,855.00,'FACTURA A 0002 - 000125',NULL,NULL,NULL,NULL,NULL),(172183,NULL,0,NULL,172183,3,40817,40955,57,7620,2,1,'2023-12-27','2023-12-27',1435566.80,1,855.00,'PAGO  0004 - 003457',NULL,NULL,NULL,NULL,NULL),(172184,NULL,0,NULL,NULL,21,40817,40955,57,7620,1,1,'2023-12-31','2023-12-31',1633474.59,1,855.00,'FACTURA A 0002 - 000126',NULL,NULL,NULL,NULL,NULL),(172185,NULL,0,NULL,172185,3,40817,40955,57,6064,2,1,'2024-01-19','2024-01-19',1215889.14,1,855.00,'PAGO  0004 - 003580',NULL,NULL,NULL,NULL,NULL),(172186,NULL,0,NULL,NULL,21,40817,40955,57,6064,1,1,'2024-01-31','2024-01-31',1676480.41,1,855.00,'FACTURA A 0002 - 000127',NULL,NULL,NULL,NULL,NULL),(172187,NULL,0,NULL,NULL,21,40817,40955,57,6065,1,1,'2024-02-29','2024-02-29',222035.00,1,855.00,'FACTURA A 0002 - 000128',NULL,NULL,NULL,NULL,NULL),(172188,NULL,0,NULL,NULL,21,40817,40955,57,6065,1,1,'2024-02-29','2024-02-29',1911800.00,1,855.00,'FACTURA A 0002 - 000129',NULL,NULL,NULL,NULL,NULL),(172189,NULL,0,NULL,172189,3,40817,40955,57,6066,2,1,'2024-03-05','2024-03-05',1847041.31,1,855.00,'PAGO  0004 - 003808',NULL,NULL,NULL,NULL,NULL),(172190,NULL,0,NULL,NULL,21,40817,40955,57,6066,1,1,'2024-03-31','2024-03-31',2274800.00,1,855.00,'FACTURA A 0002 - 000130',NULL,NULL,NULL,NULL,NULL),(172191,NULL,0,NULL,172191,3,40817,40955,57,6067,2,1,'2024-04-10','2024-04-10',1666871.72,1,855.00,'PAGO  0004 - 004003',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172192,NULL,0,NULL,172192,3,40817,40955,57,6067,2,1,'2024-04-19','2024-04-19',1913850.19,1,855.00,'PAGO  0004 - 004074',NULL,NULL,NULL,NULL,NULL),(172193,NULL,0,NULL,172193,3,40817,40955,57,6067,2,1,'2024-04-27','2024-04-27',2271490.91,1,855.00,'PAGO  0004 - 004127',NULL,NULL,NULL,NULL,NULL),(172194,NULL,0,NULL,NULL,21,40817,40955,57,6067,1,1,'2024-04-30','2024-04-30',2934917.92,1,855.00,'FACTURA A 0002 - 000131',NULL,NULL,NULL,NULL,NULL),(172195,NULL,0,NULL,172195,3,40817,40950,57,7580,2,1,'2021-02-17','2021-02-17',181000.00,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000032',NULL,NULL,NULL,NULL,NULL),(172196,NULL,0,NULL,NULL,21,40817,40950,57,7580,1,1,'2021-02-17','2021-02-17',181000.00,1,855.00,'FACTURA C 0004 - 000173',NULL,NULL,NULL,NULL,NULL),(172197,NULL,0,NULL,NULL,21,40817,40950,57,7594,1,1,'2022-01-17','2022-01-17',181000.00,1,855.00,'FACTURA C 0004 - 000169',NULL,NULL,NULL,NULL,NULL),(172198,NULL,0,NULL,172198,3,40817,40950,57,7594,2,1,'2022-01-28','2022-01-28',181000.00,1,855.00,'PAGO  0004 - 000071',NULL,NULL,NULL,NULL,NULL),(172199,NULL,0,NULL,NULL,21,40817,40950,57,7595,1,1,'2022-02-17','2022-02-17',181000.00,1,855.00,'FACTURA C 0004 - 000173',NULL,NULL,NULL,NULL,NULL),(172200,NULL,0,NULL,172200,3,40817,40950,57,7595,2,1,'2022-02-18','2022-02-18',181000.00,1,855.00,'PAGO  0004 - 000173',NULL,NULL,NULL,NULL,NULL),(172201,NULL,0,NULL,NULL,21,40817,40950,57,7596,1,1,'2022-03-17','2022-03-17',181000.00,1,855.00,'FACTURA C 0004 - 000177',NULL,NULL,NULL,NULL,NULL),(172202,NULL,0,NULL,172202,3,40817,40950,57,7596,2,1,'2022-03-17','2022-03-17',181000.00,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000026',NULL,NULL,NULL,NULL,NULL),(172203,NULL,0,NULL,NULL,21,40817,40950,57,7596,1,1,'2022-03-17','2022-03-17',181000.00,1,855.00,'FACTURA C 0003 - 000173',NULL,NULL,NULL,NULL,NULL),(172204,NULL,0,NULL,172204,3,40817,40950,57,7596,2,1,'2022-03-23','2022-03-23',181000.00,1,855.00,'PAGO  0004 - 000325',NULL,NULL,NULL,NULL,NULL),(172205,NULL,0,NULL,NULL,21,40817,40950,57,7597,1,1,'2022-04-18','2022-04-18',181000.00,1,855.00,'FACTURA C 0004 - 000181',NULL,NULL,NULL,NULL,NULL),(172206,NULL,0,NULL,172206,3,40817,40950,57,7597,2,1,'2022-04-21','2022-04-21',181000.00,1,855.00,'PAGO  0004 - 000462',NULL,NULL,NULL,NULL,NULL),(172207,NULL,0,NULL,NULL,21,40817,40950,57,7598,1,1,'2022-05-17','2022-05-17',181000.00,1,855.00,'FACTURA C 0004 - 000185',NULL,NULL,NULL,NULL,NULL),(172208,NULL,0,NULL,172208,3,40817,40950,57,7598,2,1,'2022-05-26','2022-05-26',181000.00,1,855.00,'PAGO  0004 - 000622',NULL,NULL,NULL,NULL,NULL),(172209,NULL,0,NULL,NULL,21,40817,40950,57,7599,1,1,'2022-06-16','2022-06-16',181000.00,1,855.00,'FACTURA C 0004 - 000192',NULL,NULL,NULL,NULL,NULL),(172210,NULL,0,NULL,172210,3,40817,40950,57,7599,2,1,'2022-06-24','2022-06-24',181000.00,1,855.00,'PAGO  0004 - 000753',NULL,NULL,NULL,NULL,NULL),(172211,NULL,0,NULL,NULL,21,40817,40950,57,7600,1,1,'2022-07-18','2022-07-18',181000.00,1,855.00,'FACTURA C 0004 - 000197',NULL,NULL,NULL,NULL,NULL),(172212,NULL,0,NULL,172212,3,40817,40950,57,7600,2,1,'2022-07-22','2022-07-22',181000.00,1,855.00,'PAGO  0004 - 000875',NULL,NULL,NULL,NULL,NULL),(172213,NULL,0,NULL,NULL,21,40817,40950,57,7601,1,1,'2022-08-16','2022-08-16',181000.00,1,855.00,'FACTURA C 0004 - 000202',NULL,NULL,NULL,NULL,NULL),(172214,NULL,0,NULL,172214,3,40817,40950,57,7601,2,1,'2022-08-22','2022-08-22',181000.00,1,855.00,'PAGO  0004 - 001037',NULL,NULL,NULL,NULL,NULL),(172215,NULL,0,NULL,NULL,21,40817,46977,57,6067,1,1,'2024-04-11','2024-04-11',11760000.00,1,855.00,'FACTURA A 0028 - 008480',NULL,NULL,NULL,NULL,NULL),(172216,NULL,0,NULL,172216,3,40817,46977,57,6067,2,1,'2024-04-16','2024-04-16',11760000.00,1,855.00,'PAGO  0004 - 004048',NULL,NULL,NULL,NULL,NULL),(172217,NULL,0,NULL,NULL,21,40817,40981,57,7590,1,1,'2021-12-31','2021-12-31',180895.00,1,855.00,'FACTURA A 0002 - 010416',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172218,NULL,0,NULL,NULL,21,40817,40981,57,7594,1,1,'2022-01-19','2022-01-19',111320.00,1,855.00,'FACTURA A 0002 - 010546',NULL,NULL,NULL,NULL,NULL),(172219,NULL,0,NULL,172219,3,40817,40981,57,7594,2,1,'2022-01-20','2022-01-20',2420.00,1,855.00,'NOTA DE CREDITO A 0002 - 000441',NULL,NULL,NULL,NULL,NULL),(172220,NULL,0,NULL,172220,3,40817,40981,57,7594,2,1,'2022-01-21','2022-01-21',289795.00,1,855.00,'PAGO  0004 - 000048',NULL,NULL,NULL,NULL,NULL),(172221,NULL,0,NULL,NULL,21,40817,40981,57,7594,1,1,'2022-01-26','2022-01-26',70785.00,1,855.00,'FACTURA A 0002 - 010583',NULL,NULL,NULL,NULL,NULL),(172222,NULL,0,NULL,NULL,21,40817,40981,57,7595,1,1,'2022-02-04','2022-02-04',239580.00,1,855.00,'FACTURA A 0002 - 010623',NULL,NULL,NULL,NULL,NULL),(172223,NULL,0,NULL,NULL,21,40817,40981,57,7596,1,1,'2022-03-03','2022-03-03',235950.00,1,855.00,'FACTURA A 0002 - 010741',NULL,NULL,NULL,NULL,NULL),(172224,NULL,0,NULL,172224,3,40817,40981,57,7596,2,1,'2022-03-04','2022-03-04',311430.44,1,855.00,'PAGO  0004 - 000218',NULL,NULL,NULL,NULL,NULL),(172225,NULL,0,NULL,NULL,21,40817,40981,57,7596,1,1,'2022-03-15','2022-03-15',70785.00,1,855.00,'FACTURA A 0002 - 010802',NULL,NULL,NULL,NULL,NULL),(172226,NULL,0,NULL,NULL,21,40817,40981,57,7596,1,1,'2022-03-17','2022-03-17',104060.00,1,855.00,'FACTURA A 0002 - 010812',NULL,NULL,NULL,NULL,NULL),(172227,NULL,0,NULL,172227,3,40817,40981,57,7596,2,1,'2022-03-25','2022-03-25',409729.56,1,855.00,'PAGO  0004 - 000333',NULL,NULL,NULL,NULL,NULL),(172228,NULL,0,NULL,NULL,21,40817,40981,57,7597,1,1,'2022-04-13','2022-04-13',166980.00,1,855.00,'FACTURA A 0002 - 010947',NULL,NULL,NULL,NULL,NULL),(172229,NULL,0,NULL,NULL,21,40817,40981,57,7597,1,1,'2022-04-22','2022-04-22',225907.00,1,855.00,'FACTURA A 0002 - 010997',NULL,NULL,NULL,NULL,NULL),(172230,NULL,0,NULL,172230,3,40817,40981,57,7597,2,1,'2022-04-25','2022-04-25',169120.88,1,855.00,'PAGO  0004 - 000477',NULL,NULL,NULL,NULL,NULL),(172231,NULL,0,NULL,172231,3,40817,40981,57,7598,2,1,'2022-05-26','2022-05-26',100683.40,1,855.00,'PAGO  0004 - 000628',NULL,NULL,NULL,NULL,NULL),(172232,NULL,0,NULL,172232,3,40817,40981,57,7598,2,1,'2022-05-30','2022-05-30',123410.51,1,855.00,'PAGO  0004 - 000634',NULL,NULL,NULL,NULL,NULL),(172233,NULL,0,NULL,NULL,21,40817,40981,57,7598,1,1,'2022-05-30','2022-05-30',384659.00,1,855.00,'FACTURA A 0002 - 011160',NULL,NULL,NULL,NULL,NULL),(172234,NULL,0,NULL,172234,3,40817,40981,57,7599,2,1,'2022-06-24','2022-06-24',384331.21,1,855.00,'PAGO  0004 - 000747',NULL,NULL,NULL,NULL,NULL),(172235,NULL,0,NULL,NULL,21,40817,40981,57,7599,1,1,'2022-06-28','2022-06-28',67155.00,1,855.00,'FACTURA A 0002 - 011293',NULL,NULL,NULL,NULL,NULL),(172236,NULL,0,NULL,NULL,21,40817,40981,57,7599,1,1,'2022-06-30','2022-06-30',196020.00,1,855.00,'FACTURA A 0002 - 011308',NULL,NULL,NULL,NULL,NULL),(172237,NULL,0,NULL,172237,3,40817,40981,57,7600,2,1,'2022-07-15','2022-07-15',263175.00,1,855.00,'PAGO  0001 - 000782',NULL,NULL,NULL,NULL,NULL),(172238,NULL,0,NULL,NULL,21,40817,40981,57,7600,1,1,'2022-07-19','2022-07-19',499367.00,1,855.00,'FACTURA A 0002 - 011406',NULL,NULL,NULL,NULL,NULL),(172239,NULL,0,NULL,172239,3,40817,40981,57,7601,2,1,'2022-08-10','2022-08-10',499367.00,1,855.00,'PAGO  0004 - 000983',NULL,NULL,NULL,NULL,NULL),(172240,NULL,0,NULL,NULL,21,40817,40981,57,7601,1,1,'2022-08-23','2022-08-23',381029.00,1,855.00,'FACTURA A 0002 - 011566',NULL,NULL,NULL,NULL,NULL),(172241,NULL,0,NULL,NULL,21,40817,40981,57,7601,1,1,'2022-08-30','2022-08-30',91597.00,1,855.00,'FACTURA A 0002 - 011601',NULL,NULL,NULL,NULL,NULL),(172242,NULL,0,NULL,NULL,21,40817,40981,57,7602,1,1,'2022-09-01','2022-09-01',181500.00,1,855.00,'FACTURA A 0002 - 011614',NULL,NULL,NULL,NULL,NULL),(172243,NULL,0,NULL,172243,3,40817,40981,57,7602,2,1,'2022-09-09','2022-09-09',473110.80,1,855.00,'PAGO  0004 - 001125',NULL,NULL,NULL,NULL,NULL),(172244,NULL,0,NULL,NULL,21,40817,40981,57,7602,1,1,'2022-09-14','2022-09-14',437415.00,1,855.00,'FACTURA A 0002 - 011678',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172245,NULL,0,NULL,172245,3,40817,40981,57,7602,2,1,'2022-09-15','2022-09-15',181708.21,1,855.00,'PAGO  0004 - 001156',NULL,NULL,NULL,NULL,NULL),(172246,NULL,0,NULL,172246,3,40817,40981,57,7603,2,1,'2022-10-06','2022-10-06',436721.99,1,855.00,'PAGO  0004 - 001260',NULL,NULL,NULL,NULL,NULL),(172247,NULL,0,NULL,NULL,21,40817,40981,57,7603,1,1,'2022-10-17','2022-10-17',285560.00,1,855.00,'FACTURA A 0002 - 011811',NULL,NULL,NULL,NULL,NULL),(172248,NULL,0,NULL,172248,3,40817,40981,57,7603,2,1,'2022-10-20','2022-10-20',3630.00,1,855.00,'NOTA DE CREDITO A 0002 - 000461',NULL,NULL,NULL,NULL,NULL),(172249,NULL,0,NULL,NULL,21,40817,40981,57,7603,1,1,'2022-10-24','2022-10-24',103455.00,1,855.00,'FACTURA A 0002 - 011844',NULL,NULL,NULL,NULL,NULL),(172250,NULL,0,NULL,NULL,21,40817,40981,57,7604,1,1,'2022-11-15','2022-11-15',550792.00,1,855.00,'FACTURA A 0002 - 011940',NULL,NULL,NULL,NULL,NULL),(172251,NULL,0,NULL,172251,3,40817,40981,57,7604,2,1,'2022-11-18','2022-11-18',385385.00,1,855.00,'PAGO  0004 - 001436',NULL,NULL,NULL,NULL,NULL),(172252,NULL,0,NULL,NULL,21,40817,40981,57,7604,1,1,'2022-11-24','2022-11-24',199045.00,1,855.00,'FACTURA A 0002 - 011980',NULL,NULL,NULL,NULL,NULL),(172253,NULL,0,NULL,NULL,21,40817,40981,57,7604,1,1,'2022-11-28','2022-11-28',51425.00,1,855.00,'FACTURA A 0002 - 012001',NULL,NULL,NULL,NULL,NULL),(172254,NULL,0,NULL,172254,3,40817,40981,57,7605,2,1,'2022-12-07','2022-12-07',801262.00,1,855.00,'PAGO  0004 - 001534',NULL,NULL,NULL,NULL,NULL),(172255,NULL,0,NULL,NULL,21,40817,40981,57,7605,1,1,'2022-12-21','2022-12-21',556600.00,1,855.00,'FACTURA A 0002 - 012102',NULL,NULL,NULL,NULL,NULL),(172256,NULL,0,NULL,NULL,21,40817,40981,57,7605,1,1,'2022-12-21','2022-12-21',103455.00,1,855.00,'FACTURA A 0002 - 012103',NULL,NULL,NULL,NULL,NULL),(172257,NULL,0,NULL,NULL,21,40817,40981,57,7605,1,1,'2022-12-23','2022-12-23',856075.00,1,855.00,'FACTURA A 0002 - 012114',NULL,NULL,NULL,NULL,NULL),(172258,NULL,0,NULL,172258,3,40817,40981,57,7609,2,1,'2023-01-02','2023-01-02',1516130.00,1,855.00,'PAGO  0004 - 001622',NULL,NULL,NULL,NULL,NULL),(172259,NULL,0,NULL,NULL,21,40817,40981,57,7609,1,1,'2023-01-06','2023-01-06',420475.00,1,855.00,'FACTURA A 0002 - 012216',NULL,NULL,NULL,NULL,NULL),(172260,NULL,0,NULL,172260,3,40817,40981,57,7610,2,1,'2023-02-06','2023-02-06',420475.00,1,855.00,'PAGO  0004 - 001795',NULL,NULL,NULL,NULL,NULL),(172261,NULL,0,NULL,NULL,21,40817,40981,57,7610,1,1,'2023-02-16','2023-02-16',450120.00,1,855.00,'FACTURA A 0002 - 012337',NULL,NULL,NULL,NULL,NULL),(172262,NULL,0,NULL,NULL,21,40817,40981,57,7610,1,1,'2023-02-22','2023-02-22',1172490.00,1,855.00,'FACTURA A 0002 - 012356',NULL,NULL,NULL,NULL,NULL),(172263,NULL,0,NULL,172263,3,40817,40981,57,7611,2,1,'2023-03-13','2023-03-13',1172490.00,1,855.00,'PAGO  0004 - 001945',NULL,NULL,NULL,NULL,NULL),(172264,NULL,0,NULL,NULL,21,40817,40981,57,7611,1,1,'2023-03-14','2023-03-14',87120.00,1,855.00,'FACTURA A 0002 - 012442',NULL,NULL,NULL,NULL,NULL),(172265,NULL,0,NULL,172265,3,40817,40981,57,7611,2,1,'2023-03-29','2023-03-29',450120.00,1,855.00,'PAGO  0004 - 002023',NULL,NULL,NULL,NULL,NULL),(172266,NULL,0,NULL,NULL,21,40817,40981,57,7612,1,1,'2023-04-04','2023-04-04',922625.00,1,855.00,'FACTURA A 0002 - 012544',NULL,NULL,NULL,NULL,NULL),(172267,NULL,0,NULL,172267,3,40817,40981,57,7612,2,1,'2023-04-10','2023-04-10',87458.59,1,855.00,'PAGO  0004 - 002074',NULL,NULL,NULL,NULL,NULL),(172268,NULL,0,NULL,NULL,21,40817,40981,57,7613,1,1,'2023-05-02','2023-05-02',487630.00,1,855.00,'FACTURA A 0002 - 012688',NULL,NULL,NULL,NULL,NULL),(172269,NULL,0,NULL,172269,3,40817,40981,57,7613,2,1,'2023-05-03','2023-05-03',922286.41,1,855.00,'PAGO  0004 - 002191',NULL,NULL,NULL,NULL,NULL),(172270,NULL,0,NULL,NULL,21,40817,40981,57,7613,1,1,'2023-05-09','2023-05-09',648560.00,1,855.00,'FACTURA A 0002 - 012722',NULL,NULL,NULL,NULL,NULL),(172271,NULL,0,NULL,NULL,21,40817,40981,57,7613,1,1,'2023-05-22','2023-05-22',994015.00,1,855.00,'FACTURA A 0002 - 012782',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172272,NULL,0,NULL,172272,3,40817,40981,57,7613,2,1,'2023-05-23','2023-05-23',1136843.57,1,855.00,'PAGO  0004 - 002306',NULL,NULL,NULL,NULL,NULL),(172273,NULL,0,NULL,NULL,21,40817,40981,57,7613,1,1,'2023-05-30','2023-05-30',398816.00,1,855.00,'FACTURA A 0002 - 012809',NULL,NULL,NULL,NULL,NULL),(172274,NULL,0,NULL,NULL,21,40817,40981,57,7614,1,1,'2023-06-07','2023-06-07',206910.00,1,855.00,'FACTURA A 0002 - 012857',NULL,NULL,NULL,NULL,NULL),(172275,NULL,0,NULL,172275,3,40817,40981,57,7614,2,1,'2023-06-08','2023-06-08',1392177.43,1,855.00,'PAGO  0004 - 002374',NULL,NULL,NULL,NULL,NULL),(172276,NULL,0,NULL,NULL,21,40817,40981,57,7614,1,1,'2023-06-16','2023-06-16',922387.84,1,855.00,'FACTURA A 0002 - 012894',NULL,NULL,NULL,NULL,NULL),(172277,NULL,0,NULL,NULL,21,40817,40981,57,7615,1,1,'2023-07-03','2023-07-03',3062147.00,1,855.00,'FACTURA A 0002 - 012947',NULL,NULL,NULL,NULL,NULL),(172278,NULL,0,NULL,172278,3,40817,40981,57,7615,2,1,'2023-07-05','2023-07-05',1129297.84,1,855.00,'PAGO  0004 - 002512',NULL,NULL,NULL,NULL,NULL),(172279,NULL,0,NULL,172279,3,40817,40981,57,7615,2,1,'2023-07-10','2023-07-10',3062147.00,1,855.00,'PAGO  0004 - 002519',NULL,NULL,NULL,NULL,NULL),(172280,NULL,0,NULL,NULL,21,40817,40981,57,7615,1,1,'2023-07-13','2023-07-13',296450.00,1,855.00,'FACTURA A 0002 - 013010',NULL,NULL,NULL,NULL,NULL),(172281,NULL,0,NULL,NULL,21,40817,40981,57,7615,1,1,'2023-07-14','2023-07-14',119185.00,1,855.00,'FACTURA A 0002 - 013015',NULL,NULL,NULL,NULL,NULL),(172282,NULL,0,NULL,NULL,21,40817,40981,57,7615,1,1,'2023-07-18','2023-07-18',1594131.44,1,855.00,'FACTURA A 0002 - 013032',NULL,NULL,NULL,NULL,NULL),(172283,NULL,0,NULL,172283,3,40817,40981,57,7615,2,1,'2023-07-31','2023-07-31',2009766.44,1,855.00,'PAGO  0004 - 002637',NULL,NULL,NULL,NULL,NULL),(172284,NULL,0,NULL,NULL,21,40817,40981,57,7616,1,1,'2023-08-17','2023-08-17',1391954.96,1,855.00,'FACTURA A 0002 - 013170',NULL,NULL,NULL,NULL,NULL),(172285,NULL,0,NULL,172285,3,40817,40981,57,7616,2,1,'2023-08-24','2023-08-24',1391954.96,1,855.00,'PAGO  0004 - 002772',NULL,NULL,NULL,NULL,NULL),(172286,NULL,0,NULL,NULL,21,40817,40981,57,7616,1,1,'2023-08-30','2023-08-30',387200.00,1,855.00,'FACTURA A 0002 - 013219',NULL,NULL,NULL,NULL,NULL),(172287,NULL,0,NULL,NULL,21,40817,40981,57,7617,1,1,'2023-09-19','2023-09-19',1188694.32,1,855.00,'FACTURA A 0002 - 013314',NULL,NULL,NULL,NULL,NULL),(172288,NULL,0,NULL,172288,3,40817,40981,57,7617,2,1,'2023-09-26','2023-09-26',396879.12,1,855.00,'PAGO  0004 - 002946',NULL,NULL,NULL,NULL,NULL),(172289,NULL,0,NULL,NULL,21,40817,40981,57,7618,1,1,'2023-10-02','2023-10-02',387200.00,1,855.00,'FACTURA A 0002 - 013356',NULL,NULL,NULL,NULL,NULL),(172290,NULL,0,NULL,172290,3,40817,40981,57,7618,2,1,'2023-10-04','2023-10-04',1566215.20,1,855.00,'PAGO  0004 - 002986',NULL,NULL,NULL,NULL,NULL),(172291,NULL,0,NULL,NULL,21,40817,40981,57,7618,1,1,'2023-10-17','2023-10-17',387200.00,1,855.00,'FACTURA A 0002 - 013406',NULL,NULL,NULL,NULL,NULL),(172292,NULL,0,NULL,NULL,21,40817,40981,57,7618,1,1,'2023-10-19','2023-10-19',1297168.40,1,855.00,'FACTURA A 0002 - 013418',NULL,NULL,NULL,NULL,NULL),(172293,NULL,0,NULL,172293,3,40817,40981,57,7619,2,1,'2023-11-01','2023-11-01',1684368.40,1,855.00,'PAGO  0004 - 003145',NULL,NULL,NULL,NULL,NULL),(172294,NULL,0,NULL,NULL,21,40817,40981,57,7619,1,1,'2023-11-06','2023-11-06',171820.00,1,855.00,'FACTURA A 0002 - 013506',NULL,NULL,NULL,NULL,NULL),(172295,NULL,0,NULL,NULL,21,40817,40981,57,7619,1,1,'2023-11-10','2023-11-10',1293441.60,1,855.00,'FACTURA A 0002 - 013531',NULL,NULL,NULL,NULL,NULL),(172296,NULL,0,NULL,172296,3,40817,40981,57,7619,2,1,'2023-11-29','2023-11-29',1465261.60,1,855.00,'PAGO  0004 - 003280',NULL,NULL,NULL,NULL,NULL),(172297,NULL,0,NULL,NULL,21,40817,40981,57,7620,1,1,'2023-12-18','2023-12-18',2445676.20,1,855.00,'FACTURA A 0002 - 013684',NULL,NULL,NULL,NULL,NULL),(172298,NULL,0,NULL,172298,3,40817,40981,57,6064,2,1,'2024-01-11','2024-01-11',2445676.20,1,855.00,'PAGO  0004 - 003520',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172299,NULL,0,NULL,NULL,21,40817,40981,57,6064,1,1,'2024-01-15','2024-01-15',1095292.00,1,855.00,'FACTURA A 0002 - 013779',NULL,NULL,NULL,NULL,NULL),(172300,NULL,0,NULL,NULL,21,40817,40981,57,6064,1,1,'2024-01-18','2024-01-18',2233660.00,1,855.00,'FACTURA A 0002 - 013793',NULL,NULL,NULL,NULL,NULL),(172301,NULL,0,NULL,NULL,21,40817,40981,57,6064,1,1,'2024-01-18','2024-01-18',532400.00,1,855.00,'FACTURA A 0002 - 013798',NULL,NULL,NULL,NULL,NULL),(172302,NULL,0,NULL,172302,3,40817,40981,57,6065,2,1,'2024-02-08','2024-02-08',3861352.00,1,855.00,'PAGO  0004 - 003668',NULL,NULL,NULL,NULL,NULL),(172303,NULL,0,NULL,NULL,21,40817,40981,57,6065,1,1,'2024-02-20','2024-02-20',876524.00,1,855.00,'FACTURA A 0002 - 013918',NULL,NULL,NULL,NULL,NULL),(172304,NULL,0,NULL,NULL,21,40817,40981,57,6066,1,1,'2024-03-11','2024-03-11',701800.00,1,855.00,'FACTURA A 0002 - 013993',NULL,NULL,NULL,NULL,NULL),(172305,NULL,0,NULL,NULL,21,40817,40981,57,6066,1,1,'2024-03-13','2024-03-13',1932370.00,1,855.00,'FACTURA A 0002 - 014003',NULL,NULL,NULL,NULL,NULL),(172306,NULL,0,NULL,172306,3,40817,40981,57,6066,2,1,'2024-03-13','2024-03-13',876524.00,1,855.00,'PAGO  0004 - 003859',NULL,NULL,NULL,NULL,NULL),(172307,NULL,0,NULL,172307,3,40817,40981,57,6066,2,1,'2024-03-15','2024-03-15',719831.49,1,855.00,'PAGO  0004 - 003887',NULL,NULL,NULL,NULL,NULL),(172308,NULL,0,NULL,172308,3,40817,40981,57,6066,2,1,'2024-03-15','2024-03-15',1914338.51,1,855.00,'PAGO  0004 - 003888',NULL,NULL,NULL,NULL,NULL),(172309,NULL,0,NULL,NULL,21,40817,40981,57,6067,1,1,'2024-04-12','2024-04-12',626780.00,1,855.00,'FACTURA A 0002 - 014107',NULL,NULL,NULL,NULL,NULL),(172310,NULL,0,NULL,NULL,21,40817,40981,57,6067,1,1,'2024-04-26','2024-04-26',1034550.00,1,855.00,'FACTURA A 0002 - 014155',NULL,NULL,NULL,NULL,NULL),(172311,NULL,0,NULL,172311,3,40817,40981,57,6067,2,1,'2024-04-29','2024-04-29',631228.43,1,855.00,'PAGO  0004 - 004132',NULL,NULL,NULL,NULL,NULL),(172312,NULL,0,NULL,NULL,21,40817,40981,57,6068,1,1,'2024-05-08','2024-05-08',892980.00,1,855.00,'FACTURA A 0002 - 014198',NULL,NULL,NULL,NULL,NULL),(172313,NULL,0,NULL,NULL,21,40817,40981,57,6068,1,1,'2024-05-10','2024-05-10',3402520.00,1,855.00,'FACTURA A 0002 - 014210',NULL,NULL,NULL,NULL,NULL),(172314,NULL,0,NULL,172314,3,40817,40981,57,6068,2,1,'2024-05-13','2024-05-13',1030101.57,1,855.00,'PAGO  0004 - 004185',NULL,NULL,NULL,NULL,NULL),(172315,NULL,0,NULL,NULL,21,40817,40981,57,6068,1,1,'2024-05-14','2024-05-14',6074200.00,1,855.00,'FACTURA A 0002 - 014219',NULL,NULL,NULL,NULL,NULL),(172316,NULL,0,NULL,172316,3,40817,40981,57,6068,2,1,'2024-05-16','2024-05-16',892980.00,1,855.00,'PAGO  0004 - 004211',NULL,NULL,NULL,NULL,NULL),(172317,NULL,0,NULL,172317,3,40817,40981,57,6068,2,1,'2024-05-17','2024-05-17',2250000.00,1,855.00,'PAGO  0004 - 004222',NULL,NULL,NULL,NULL,NULL),(172318,NULL,0,NULL,172318,3,40817,46978,57,7590,2,1,'2021-12-31','2021-12-31',13.24,1,855.00,'PAGO  0001 - 000051',NULL,NULL,NULL,NULL,NULL),(172319,NULL,0,NULL,NULL,21,40817,46978,57,7595,1,1,'2022-02-10','2022-02-10',48385.48,1,855.00,'FACTURA A 0003 - 001651',NULL,NULL,NULL,NULL,NULL),(172320,NULL,0,NULL,172320,3,40817,46978,57,7596,2,1,'2022-03-18','2022-03-18',48372.24,1,855.00,'PAGO  0004 - 000296',NULL,NULL,NULL,NULL,NULL),(172321,NULL,0,NULL,172321,3,40817,41000,57,7590,2,1,'2021-12-31','2021-12-31',394.24,1,855.00,'PAGO  0001 - 000052',NULL,NULL,NULL,NULL,NULL),(172322,NULL,0,NULL,NULL,21,40817,41000,57,7594,1,1,'2022-01-18','2022-01-18',13900.00,1,855.00,'FACTURA A 0003 - 001451',NULL,NULL,NULL,NULL,NULL),(172323,NULL,0,NULL,NULL,21,40817,41000,57,7594,1,1,'2022-01-18','2022-01-18',12900.00,1,855.00,'FACTURA A 0003 - 001452',NULL,NULL,NULL,NULL,NULL),(172324,NULL,0,NULL,NULL,21,40817,41000,57,7594,1,1,'2022-01-20','2022-01-20',40000.00,1,855.00,'FACTURA A 0003 - 001457',NULL,NULL,NULL,NULL,NULL),(172325,NULL,0,NULL,172325,3,40817,41000,57,7594,2,1,'2022-01-21','2022-01-21',66405.76,1,855.00,'PAGO  0004 - 000047',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172326,NULL,0,NULL,NULL,21,40817,41000,57,7595,1,1,'2022-02-01','2022-02-01',42350.00,1,855.00,'FACTURA A 0003 - 001467',NULL,NULL,NULL,NULL,NULL),(172327,NULL,0,NULL,NULL,21,40817,41000,57,7595,1,1,'2022-02-01','2022-02-01',42350.00,1,855.00,'FACTURA A 0003 - 001468',NULL,NULL,NULL,NULL,NULL),(172328,NULL,0,NULL,NULL,21,40817,41000,57,7595,1,1,'2022-02-02','2022-02-02',42350.00,1,855.00,'FACTURA A 0003 - 001469',NULL,NULL,NULL,NULL,NULL),(172329,NULL,0,NULL,172329,3,40817,41000,57,7595,2,1,'2022-02-02','2022-02-02',169400.00,1,855.00,'PAGO  0004 - 000091',NULL,NULL,NULL,NULL,NULL),(172330,NULL,0,NULL,NULL,21,40817,41000,57,7595,1,1,'2022-02-02','2022-02-02',42350.00,1,855.00,'FACTURA A 0003 - 001466',NULL,NULL,NULL,NULL,NULL),(172331,NULL,0,NULL,NULL,21,40817,41000,57,7595,1,1,'2022-02-03','2022-02-03',15600.00,1,855.00,'FACTURA A 0003 - 001470',NULL,NULL,NULL,NULL,NULL),(172332,NULL,0,NULL,NULL,21,40817,41000,57,7595,1,1,'2022-02-08','2022-02-08',33880.00,1,855.00,'FACTURA A 0003 - 001472',NULL,NULL,NULL,NULL,NULL),(172333,NULL,0,NULL,172333,3,40817,41000,57,7595,2,1,'2022-02-09','2022-02-09',49480.00,1,855.00,'PAGO  0004 - 000142',NULL,NULL,NULL,NULL,NULL),(172334,NULL,0,NULL,NULL,21,40817,41000,57,7595,1,1,'2022-02-25','2022-02-25',84700.00,1,855.00,'FACTURA A 0003 - 001486',NULL,NULL,NULL,NULL,NULL),(172335,NULL,0,NULL,NULL,21,40817,41000,57,7595,1,1,'2022-02-25','2022-02-25',30250.00,1,855.00,'FACTURA A 0003 - 001487',NULL,NULL,NULL,NULL,NULL),(172336,NULL,0,NULL,172336,3,40817,41000,57,7596,2,1,'2022-03-03','2022-03-03',114950.00,1,855.00,'PAGO  0001 - 000225',NULL,NULL,NULL,NULL,NULL),(172337,NULL,0,NULL,172337,3,40817,41000,57,7596,2,1,'2022-03-09','2022-03-09',12030.14,1,855.00,'PAGO  0004 - 000254',NULL,NULL,NULL,NULL,NULL),(172338,NULL,0,NULL,172338,3,40817,41000,57,7596,2,1,'2022-03-09','2022-03-09',52030.00,1,855.00,'PAGO CONTADO  0001 - 000270',NULL,NULL,NULL,NULL,NULL),(172339,NULL,0,NULL,NULL,21,40817,41000,57,7596,1,1,'2022-03-09','2022-03-09',52030.00,1,855.00,'FACTURA A 0003 - 001491',NULL,NULL,NULL,NULL,NULL),(172340,NULL,0,NULL,NULL,21,40817,41000,57,7596,1,1,'2022-03-09','2022-03-09',12000.01,1,855.00,'FACTURA A 0003 - 001493',NULL,NULL,NULL,NULL,NULL),(172341,NULL,0,NULL,NULL,21,40817,41000,57,7596,1,1,'2022-03-17','2022-03-17',54450.00,1,855.00,'FACTURA A 0003 - 001495',NULL,NULL,NULL,NULL,NULL),(172342,NULL,0,NULL,NULL,21,40817,41000,57,7596,1,1,'2022-03-18','2022-03-18',54450.00,1,855.00,'FACTURA A 0003 - 001498',NULL,NULL,NULL,NULL,NULL),(172343,NULL,0,NULL,NULL,21,40817,41000,57,7596,1,1,'2022-03-19','2022-03-19',54450.00,1,855.00,'FACTURA A 0003 - 001501',NULL,NULL,NULL,NULL,NULL),(172344,NULL,0,NULL,NULL,21,40817,41000,57,7596,1,1,'2022-03-21','2022-03-21',54450.00,1,855.00,'FACTURA A 0003 - 001505',NULL,NULL,NULL,NULL,NULL),(172345,NULL,0,NULL,172345,3,40817,41000,57,7596,2,1,'2022-03-22','2022-03-22',217769.87,1,855.00,'PAGO  0004 - 000313',NULL,NULL,NULL,NULL,NULL),(172346,NULL,0,NULL,172346,3,40817,41000,57,7596,2,1,'2022-03-22','2022-03-22',217996.37,1,855.00,'PAGO  0004 - 000314',NULL,NULL,NULL,NULL,NULL),(172347,NULL,0,NULL,NULL,21,40817,41000,57,7596,1,1,'2022-03-22','2022-03-22',217769.87,1,855.00,'ANULACION DE PAGOS  0001 - 000014',NULL,NULL,NULL,NULL,NULL),(172348,NULL,0,NULL,NULL,21,40817,41000,57,7596,1,1,'2022-03-28','2022-03-28',38115.00,1,855.00,'FACTURA A 0003 - 001511',NULL,NULL,NULL,NULL,NULL),(172349,NULL,0,NULL,172349,3,40817,41000,57,7596,2,1,'2022-03-29','2022-03-29',37888.50,1,855.00,'PAGO  0004 - 000339',NULL,NULL,NULL,NULL,NULL),(172350,NULL,0,NULL,NULL,21,40817,41000,57,7597,1,1,'2022-04-18','2022-04-18',42350.00,1,855.00,'FACTURA A 0003 - 001528',NULL,NULL,NULL,NULL,NULL),(172351,NULL,0,NULL,NULL,21,40817,41000,57,7597,1,1,'2022-04-18','2022-04-18',54450.00,1,855.00,'FACTURA A 0003 - 001529',NULL,NULL,NULL,NULL,NULL),(172352,NULL,0,NULL,NULL,21,40817,41000,57,7597,1,1,'2022-04-19','2022-04-19',66550.00,1,855.00,'FACTURA A 0003 - 001531',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172353,NULL,0,NULL,NULL,21,40817,41000,57,7597,1,1,'2022-04-19','2022-04-19',15300.00,1,855.00,'FACTURA A 0003 - 001532',NULL,NULL,NULL,NULL,NULL),(172354,NULL,0,NULL,172354,3,40817,41000,57,7597,2,1,'2022-04-20','2022-04-20',178650.00,1,855.00,'PAGO  0004 - 000455',NULL,NULL,NULL,NULL,NULL),(172355,NULL,0,NULL,NULL,21,40817,41000,57,7597,1,1,'2022-04-25','2022-04-25',22500.00,1,855.00,'FACTURA A 0003 - 001533',NULL,NULL,NULL,NULL,NULL),(172356,NULL,0,NULL,NULL,21,40817,41000,57,7598,1,1,'2022-05-04','2022-05-04',24200.00,1,855.00,'FACTURA A 0003 - 001537',NULL,NULL,NULL,NULL,NULL),(172357,NULL,0,NULL,172357,3,40817,41000,57,7598,2,1,'2022-05-04','2022-05-04',22500.00,1,855.00,'PAGO  0004 - 000504',NULL,NULL,NULL,NULL,NULL),(172358,NULL,0,NULL,172358,3,40817,41000,57,7598,2,1,'2022-05-11','2022-05-11',24200.00,1,855.00,'PAGO  0004 - 000554',NULL,NULL,NULL,NULL,NULL),(172359,NULL,0,NULL,NULL,21,40817,41000,57,7598,1,1,'2022-05-12','2022-05-12',21500.01,1,855.00,'FACTURA A 0003 - 001543',NULL,NULL,NULL,NULL,NULL),(172360,NULL,0,NULL,NULL,21,40817,41000,57,7598,1,1,'2022-05-13','2022-05-13',16900.00,1,855.00,'FACTURA A 0003 - 001544',NULL,NULL,NULL,NULL,NULL),(172361,NULL,0,NULL,172361,3,40817,41000,57,7598,2,1,'2022-05-17','2022-05-17',38835.34,1,855.00,'PAGO  0004 - 000584',NULL,NULL,NULL,NULL,NULL),(172362,NULL,0,NULL,NULL,21,40817,41000,57,7598,1,1,'2022-05-31','2022-05-31',21780.00,1,855.00,'FACTURA A 0003 - 001554',NULL,NULL,NULL,NULL,NULL),(172363,NULL,0,NULL,172363,3,40817,41000,57,7599,2,1,'2022-06-01','2022-06-01',21916.60,1,855.00,'PAGO  0004 - 000643',NULL,NULL,NULL,NULL,NULL),(172364,NULL,0,NULL,NULL,21,40817,41000,57,7600,1,1,'2022-07-01','2022-07-01',14700.00,1,855.00,'FACTURA A 0003 - 001565',NULL,NULL,NULL,NULL,NULL),(172365,NULL,0,NULL,NULL,21,40817,41000,57,7600,1,1,'2022-07-01','2022-07-01',32065.00,1,855.00,'FACTURA A 0003 - 001566',NULL,NULL,NULL,NULL,NULL),(172366,NULL,0,NULL,172366,3,40817,41000,57,7600,2,1,'2022-07-06','2022-07-06',46193.07,1,855.00,'PAGO  0004 - 000791',NULL,NULL,NULL,NULL,NULL),(172367,NULL,0,NULL,NULL,21,40817,41000,57,7601,1,1,'2022-08-26','2022-08-26',18000.00,1,855.00,'FACTURA A 0003 - 001588',NULL,NULL,NULL,NULL,NULL),(172368,NULL,0,NULL,NULL,21,40817,41000,57,7601,1,1,'2022-08-27','2022-08-27',29100.00,1,855.00,'FACTURA A 0003 - 001590',NULL,NULL,NULL,NULL,NULL),(172369,NULL,0,NULL,NULL,21,40817,41000,57,7601,1,1,'2022-08-30','2022-08-30',26000.00,1,855.00,'FACTURA A 0003 - 001591',NULL,NULL,NULL,NULL,NULL),(172370,NULL,0,NULL,NULL,21,40817,41000,57,7601,1,1,'2022-08-30','2022-08-30',60500.00,1,855.00,'FACTURA A 0003 - 001592',NULL,NULL,NULL,NULL,NULL),(172371,NULL,0,NULL,NULL,21,40817,41000,57,7601,1,1,'2022-08-30','2022-08-30',60500.00,1,855.00,'FACTURA A 0003 - 001593',NULL,NULL,NULL,NULL,NULL),(172372,NULL,0,NULL,NULL,21,40817,41000,57,7601,1,1,'2022-08-31','2022-08-31',60500.00,1,855.00,'FACTURA A 0003 - 001594',NULL,NULL,NULL,NULL,NULL),(172373,NULL,0,NULL,NULL,21,40817,41000,57,7601,1,1,'2022-08-31','2022-08-31',60500.00,1,855.00,'FACTURA A 0003 - 001595',NULL,NULL,NULL,NULL,NULL),(172374,NULL,0,NULL,172374,3,40817,41000,57,7602,2,1,'2022-09-05','2022-09-05',260000.00,1,855.00,'PAGO  0004 - 001099',NULL,NULL,NULL,NULL,NULL),(172375,NULL,0,NULL,172375,3,40817,41000,57,7602,2,1,'2022-09-05','2022-09-05',242000.00,1,855.00,'PAGO  0004 - 001101',NULL,NULL,NULL,NULL,NULL),(172376,NULL,0,NULL,172376,3,40817,41000,57,7602,2,1,'2022-09-05','2022-09-05',73167.82,1,855.00,'PAGO  0004 - 001102',NULL,NULL,NULL,NULL,NULL),(172377,NULL,0,NULL,NULL,21,40817,41000,57,7602,1,1,'2022-09-05','2022-09-05',260000.00,1,855.00,'ANULACION DE PAGOS  0001 - 000050',NULL,NULL,NULL,NULL,NULL),(172378,NULL,0,NULL,NULL,21,40817,41000,57,7602,1,1,'2022-09-15','2022-09-15',57224.53,1,855.00,'FACTURA A 0003 - 001602',NULL,NULL,NULL,NULL,NULL),(172379,NULL,0,NULL,NULL,21,40817,41000,57,7602,1,1,'2022-09-16','2022-09-16',62913.95,1,855.00,'FACTURA A 0003 - 001605',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172380,NULL,0,NULL,NULL,21,40817,41000,57,7602,1,1,'2022-09-17','2022-09-17',68714.69,1,855.00,'FACTURA A 0003 - 001608',NULL,NULL,NULL,NULL,NULL),(172381,NULL,0,NULL,NULL,21,40817,41000,57,7602,1,1,'2022-09-19','2022-09-19',62387.60,1,855.00,'FACTURA A 0003 - 001611',NULL,NULL,NULL,NULL,NULL),(172382,NULL,0,NULL,NULL,21,40817,41000,57,7602,1,1,'2022-09-20','2022-09-20',56603.80,1,855.00,'FACTURA A 0003 - 001614',NULL,NULL,NULL,NULL,NULL),(172383,NULL,0,NULL,172383,3,40817,41000,57,7602,2,1,'2022-09-29','2022-09-29',307776.75,1,855.00,'PAGO  0004 - 001225',NULL,NULL,NULL,NULL,NULL),(172384,NULL,0,NULL,NULL,21,40817,41000,57,7603,1,1,'2022-10-24','2022-10-24',239052.21,1,855.00,'FACTURA A 0003 - 001628',NULL,NULL,NULL,NULL,NULL),(172385,NULL,0,NULL,NULL,21,40817,41000,57,7603,1,1,'2022-10-27','2022-10-27',236873.93,1,855.00,'FACTURA A 0003 - 001633',NULL,NULL,NULL,NULL,NULL),(172386,NULL,0,NULL,172386,3,40817,41000,57,7604,2,1,'2022-11-07','2022-11-07',476005.33,1,855.00,'PAGO  0004 - 001388',NULL,NULL,NULL,NULL,NULL),(172387,NULL,0,NULL,NULL,21,40817,41000,57,7604,1,1,'2022-11-08','2022-11-08',89540.00,1,855.00,'FACTURA A 0003 - 001641',NULL,NULL,NULL,NULL,NULL),(172388,NULL,0,NULL,172388,3,40817,41000,57,7604,2,1,'2022-11-14','2022-11-14',89460.81,1,855.00,'PAGO  0004 - 001409',NULL,NULL,NULL,NULL,NULL),(172389,NULL,0,NULL,NULL,21,40817,41000,57,7604,1,1,'2022-11-25','2022-11-25',175879.55,1,855.00,'FACTURA A 0003 - 001651',NULL,NULL,NULL,NULL,NULL),(172390,NULL,0,NULL,NULL,21,40817,41000,57,7604,1,1,'2022-11-26','2022-11-26',200604.69,1,855.00,'FACTURA A 0003 - 001654',NULL,NULL,NULL,NULL,NULL),(172391,NULL,0,NULL,NULL,21,40817,41000,57,7604,1,1,'2022-11-28','2022-11-28',175786.38,1,855.00,'FACTURA A 0003 - 001657',NULL,NULL,NULL,NULL,NULL),(172392,NULL,0,NULL,NULL,21,40817,41000,57,7605,1,1,'2022-12-12','2022-12-12',25400.01,1,855.00,'FACTURA A 0003 - 001662',NULL,NULL,NULL,NULL,NULL),(172393,NULL,0,NULL,172393,3,40817,41000,57,7605,2,1,'2022-12-13','2022-12-13',552270.62,1,855.00,'PAGO  0004 - 001553',NULL,NULL,NULL,NULL,NULL),(172394,NULL,0,NULL,172394,3,40817,41000,57,7605,2,1,'2022-12-14','2022-12-14',25428.81,1,855.00,'PAGO  0004 - 001560',NULL,NULL,NULL,NULL,NULL),(172395,NULL,0,NULL,NULL,21,40817,41000,57,7605,1,1,'2022-12-19','2022-12-19',45100.00,1,855.00,'FACTURA A 0003 - 001666',NULL,NULL,NULL,NULL,NULL),(172396,NULL,0,NULL,172396,3,40817,41000,57,7605,2,1,'2022-12-22','2022-12-22',45260.55,1,855.00,'PAGO  0004 - 001586',NULL,NULL,NULL,NULL,NULL),(172397,NULL,0,NULL,NULL,21,40817,41000,57,7609,1,1,'2023-01-03','2023-01-03',25000.00,1,855.00,'FACTURA A 0003 - 001674',NULL,NULL,NULL,NULL,NULL),(172398,NULL,0,NULL,NULL,21,40817,41000,57,7609,1,1,'2023-01-05','2023-01-05',48200.00,1,855.00,'FACTURA A 0003 - 001676',NULL,NULL,NULL,NULL,NULL),(172399,NULL,0,NULL,NULL,21,40817,41000,57,7609,1,1,'2023-01-05','2023-01-05',28699.99,1,855.00,'FACTURA A 0003 - 001677',NULL,NULL,NULL,NULL,NULL),(172400,NULL,0,NULL,172400,3,40817,41000,57,7609,2,1,'2023-01-10','2023-01-10',102849.28,1,855.00,'PAGO  0004 - 001698',NULL,NULL,NULL,NULL,NULL),(172401,NULL,0,NULL,NULL,21,40817,41000,57,7609,1,1,'2023-01-12','2023-01-12',36500.00,1,855.00,'FACTURA A 0003 - 001678',NULL,NULL,NULL,NULL,NULL),(172402,NULL,0,NULL,NULL,21,40817,41000,57,7609,1,1,'2023-01-18','2023-01-18',31700.00,1,855.00,'FACTURA A 0003 - 001683',NULL,NULL,NULL,NULL,NULL),(172403,NULL,0,NULL,NULL,21,40817,41000,57,7609,1,1,'2023-01-19','2023-01-19',28800.00,1,855.00,'FACTURA A 0003 - 001685',NULL,NULL,NULL,NULL,NULL),(172404,NULL,0,NULL,172404,3,40817,41000,57,7609,2,1,'2023-01-21','2023-01-21',96250.66,1,855.00,'PAGO  0004 - 001746',NULL,NULL,NULL,NULL,NULL),(172405,NULL,0,NULL,NULL,21,40817,41000,57,7610,1,1,'2023-02-10','2023-02-10',43560.00,1,855.00,'FACTURA A 0003 - 001692',NULL,NULL,NULL,NULL,NULL),(172406,NULL,0,NULL,172406,3,40817,41000,57,7611,2,1,'2023-03-01','2023-03-01',43170.70,1,855.00,'PAGO  0004 - 001880',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172407,NULL,0,NULL,NULL,21,40817,41000,57,7611,1,1,'2023-03-25','2023-03-25',32000.00,1,855.00,'FACTURA A 0003 - 001709',NULL,NULL,NULL,NULL,NULL),(172408,NULL,0,NULL,172408,3,40817,41000,57,7612,2,1,'2023-04-10','2023-04-10',32000.00,1,855.00,'PAGO  0004 - 002075',NULL,NULL,NULL,NULL,NULL),(172409,NULL,0,NULL,NULL,21,40817,41000,57,7613,1,1,'2023-05-18','2023-05-18',38000.00,1,855.00,'FACTURA A 0003 - 001725',NULL,NULL,NULL,NULL,NULL),(172410,NULL,0,NULL,172410,3,40817,41000,57,7613,2,1,'2023-05-29','2023-05-29',38546.72,1,855.00,'PAGO  0004 - 002319',NULL,NULL,NULL,NULL,NULL),(172411,NULL,0,NULL,NULL,21,40817,41000,57,7613,1,1,'2023-05-31','2023-05-31',28000.00,1,855.00,'FACTURA A 0003 - 001730',NULL,NULL,NULL,NULL,NULL),(172412,NULL,0,NULL,172412,3,40817,41000,57,7614,2,1,'2023-06-08','2023-06-08',30129.66,1,855.00,'PAGO  0004 - 002378',NULL,NULL,NULL,NULL,NULL),(172413,NULL,0,NULL,NULL,21,40817,41000,57,7614,1,1,'2023-06-12','2023-06-12',41500.00,1,855.00,'FACTURA A 0003 - 001736',NULL,NULL,NULL,NULL,NULL),(172414,NULL,0,NULL,172414,3,40817,41000,57,7614,2,1,'2023-06-14','2023-06-14',40179.12,1,855.00,'PAGO  0004 - 002424',NULL,NULL,NULL,NULL,NULL),(172415,NULL,0,NULL,NULL,21,40817,41000,57,7614,1,1,'2023-06-16','2023-06-16',40499.99,1,855.00,'FACTURA A 0003 - 001740',NULL,NULL,NULL,NULL,NULL),(172416,NULL,0,NULL,NULL,21,40817,41000,57,7614,1,1,'2023-06-26','2023-06-26',170973.00,1,855.00,'FACTURA A 0003 - 001741',NULL,NULL,NULL,NULL,NULL),(172417,NULL,0,NULL,172417,3,40817,41000,57,7614,2,1,'2023-06-26','2023-06-26',40235.65,1,855.00,'PAGO  0004 - 002467',NULL,NULL,NULL,NULL,NULL),(172418,NULL,0,NULL,NULL,21,40817,41000,57,7614,1,1,'2023-06-27','2023-06-27',169158.00,1,855.00,'FACTURA A 0003 - 001743',NULL,NULL,NULL,NULL,NULL),(172419,NULL,0,NULL,NULL,21,40817,41000,57,7614,1,1,'2023-06-28','2023-06-28',179806.00,1,855.00,'FACTURA A 0003 - 001744',NULL,NULL,NULL,NULL,NULL),(172420,NULL,0,NULL,NULL,21,40817,41000,57,7614,1,1,'2023-06-29','2023-06-29',138545.00,1,855.00,'FACTURA A 0003 - 001745',NULL,NULL,NULL,NULL,NULL),(172421,NULL,0,NULL,NULL,21,40817,41000,57,7614,1,1,'2023-06-29','2023-06-29',90508.00,1,855.00,'FACTURA A 0003 - 001746',NULL,NULL,NULL,NULL,NULL),(172422,NULL,0,NULL,172422,3,40817,41000,57,7614,2,1,'2023-06-30','2023-06-30',749685.54,1,855.00,'PAGO  0004 - 002502',NULL,NULL,NULL,NULL,NULL),(172423,NULL,0,NULL,NULL,21,40817,41000,57,7615,1,1,'2023-07-11','2023-07-11',48499.99,1,855.00,'FACTURA A 0003 - 001756',NULL,NULL,NULL,NULL,NULL),(172424,NULL,0,NULL,NULL,21,40817,41000,57,7615,1,1,'2023-07-17','2023-07-17',176176.00,1,855.00,'FACTURA A 0003 - 001758',NULL,NULL,NULL,NULL,NULL),(172425,NULL,0,NULL,NULL,21,40817,41000,57,7615,1,1,'2023-07-17','2023-07-17',162624.00,1,855.00,'FACTURA A 0003 - 001759',NULL,NULL,NULL,NULL,NULL),(172426,NULL,0,NULL,NULL,21,40817,41000,57,7615,1,1,'2023-07-19','2023-07-19',166375.00,1,855.00,'FACTURA A 0003 - 001761',NULL,NULL,NULL,NULL,NULL),(172427,NULL,0,NULL,172427,3,40817,41000,57,7615,2,1,'2023-07-19','2023-07-19',46713.29,1,855.00,'PAGO  0004 - 002579',NULL,NULL,NULL,NULL,NULL),(172428,NULL,0,NULL,172428,3,40817,41000,57,7615,2,1,'2023-07-19','2023-07-19',338800.00,1,855.00,'PAGO  0004 - 002581',NULL,NULL,NULL,NULL,NULL),(172429,NULL,0,NULL,NULL,21,40817,41000,57,7615,1,1,'2023-07-21','2023-07-21',143385.00,1,855.00,'FACTURA A 0003 - 001762',NULL,NULL,NULL,NULL,NULL),(172430,NULL,0,NULL,NULL,21,40817,41000,57,7615,1,1,'2023-07-24','2023-07-24',167585.00,1,855.00,'FACTURA A 0003 - 001764',NULL,NULL,NULL,NULL,NULL),(172431,NULL,0,NULL,NULL,21,40817,41000,57,7615,1,1,'2023-07-25','2023-07-25',119306.00,1,855.00,'FACTURA A 0003 - 001766',NULL,NULL,NULL,NULL,NULL),(172432,NULL,0,NULL,NULL,21,40817,41000,57,7615,1,1,'2023-07-26','2023-07-26',127776.00,1,855.00,'FACTURA A 0003 - 001767',NULL,NULL,NULL,NULL,NULL),(172433,NULL,0,NULL,NULL,21,40817,41000,57,7615,1,1,'2023-07-27','2023-07-27',93533.00,1,855.00,'FACTURA A 0003 - 001769',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172434,NULL,0,NULL,172434,3,40817,41000,57,7615,2,1,'2023-07-27','2023-07-27',818397.96,1,855.00,'PAGO  0004 - 002624',NULL,NULL,NULL,NULL,NULL),(172435,NULL,0,NULL,172435,3,40817,41000,57,7616,2,1,'2023-08-04','2023-08-04',55307.80,1,855.00,'PAGO  0004 - 002665',NULL,NULL,NULL,NULL,NULL),(172436,NULL,0,NULL,NULL,21,40817,41000,57,7616,1,1,'2023-08-04','2023-08-04',55400.00,1,855.00,'FACTURA A 0003 - 001773',NULL,NULL,NULL,NULL,NULL),(172437,NULL,0,NULL,NULL,21,40817,41000,57,7616,1,1,'2023-08-07','2023-08-07',137145.03,1,855.00,'FACTURA A 0003 - 001775',NULL,NULL,NULL,NULL,NULL),(172438,NULL,0,NULL,NULL,21,40817,41000,57,7616,1,1,'2023-08-08','2023-08-08',95590.00,1,855.00,'FACTURA A 0003 - 001778',NULL,NULL,NULL,NULL,NULL),(172439,NULL,0,NULL,172439,3,40817,41000,57,7616,2,1,'2023-08-09','2023-08-09',137980.84,1,855.00,'PAGO  0004 - 002702',NULL,NULL,NULL,NULL,NULL),(172440,NULL,0,NULL,172440,3,40817,41000,57,7616,2,1,'2023-08-09','2023-08-09',96987.83,1,855.00,'PAGO  0004 - 002703',NULL,NULL,NULL,NULL,NULL),(172441,NULL,0,NULL,NULL,21,40817,41000,57,7616,1,1,'2023-08-14','2023-08-14',66800.00,1,855.00,'FACTURA A 0003 - 001781',NULL,NULL,NULL,NULL,NULL),(172442,NULL,0,NULL,NULL,21,40817,41000,57,7616,1,1,'2023-08-16','2023-08-16',168795.00,1,855.00,'FACTURA A 0003 - 001784',NULL,NULL,NULL,NULL,NULL),(172443,NULL,0,NULL,NULL,21,40817,41000,57,7616,1,1,'2023-08-22','2023-08-22',193479.00,1,855.00,'FACTURA A 0003 - 001786',NULL,NULL,NULL,NULL,NULL),(172444,NULL,0,NULL,172444,3,40817,41000,57,7616,2,1,'2023-08-22','2023-08-22',65810.54,1,855.00,'PAGO  0004 - 002755',NULL,NULL,NULL,NULL,NULL),(172445,NULL,0,NULL,NULL,21,40817,41000,57,7616,1,1,'2023-08-29','2023-08-29',187489.50,1,855.00,'FACTURA A 0003 - 001792',NULL,NULL,NULL,NULL,NULL),(172446,NULL,0,NULL,NULL,21,40817,41000,57,7616,1,1,'2023-08-30','2023-08-30',188397.00,1,855.00,'FACTURA A 0003 - 001794',NULL,NULL,NULL,NULL,NULL),(172447,NULL,0,NULL,172447,3,40817,41000,57,7617,2,1,'2023-09-01','2023-09-01',738374.76,1,855.00,'PAGO  0004 - 002797',NULL,NULL,NULL,NULL,NULL),(172448,NULL,0,NULL,NULL,21,40817,41000,57,7617,1,1,'2023-09-02','2023-09-02',185977.00,1,855.00,'FACTURA A 0003 - 001797',NULL,NULL,NULL,NULL,NULL),(172449,NULL,0,NULL,NULL,21,40817,41000,57,7617,1,1,'2023-09-08','2023-09-08',180169.00,1,855.00,'FACTURA A 0003 - 001799',NULL,NULL,NULL,NULL,NULL),(172450,NULL,0,NULL,NULL,21,40817,41000,57,7617,1,1,'2023-09-14','2023-09-14',178898.50,1,855.00,'FACTURA A 0003 - 001802',NULL,NULL,NULL,NULL,NULL),(172451,NULL,0,NULL,NULL,21,40817,41000,57,7617,1,1,'2023-09-18','2023-09-18',57500.00,1,855.00,'FACTURA A 0003 - 001804',NULL,NULL,NULL,NULL,NULL),(172452,NULL,0,NULL,NULL,21,40817,41000,57,7617,1,1,'2023-09-18','2023-09-18',192087.50,1,855.00,'FACTURA A 0003 - 001805',NULL,NULL,NULL,NULL,NULL),(172453,NULL,0,NULL,NULL,21,40817,41000,57,7617,1,1,'2023-09-25','2023-09-25',193116.00,1,855.00,'FACTURA A 0003 - 001808',NULL,NULL,NULL,NULL,NULL),(172454,NULL,0,NULL,172454,3,40817,41000,57,7617,2,1,'2023-09-26','2023-09-26',55810.95,1,855.00,'PAGO  0004 - 002953',NULL,NULL,NULL,NULL,NULL),(172455,NULL,0,NULL,172455,3,40817,41000,57,7617,2,1,'2023-09-29','2023-09-29',930132.85,1,855.00,'PAGO  0004 - 002973',NULL,NULL,NULL,NULL,NULL),(172456,NULL,0,NULL,NULL,21,40817,41000,57,7618,1,1,'2023-10-09','2023-10-09',180895.00,1,855.00,'FACTURA A 0003 - 001815',NULL,NULL,NULL,NULL,NULL),(172457,NULL,0,NULL,NULL,21,40817,41000,57,7618,1,1,'2023-10-12','2023-10-12',72000.00,1,855.00,'FACTURA A 0003 - 001817',NULL,NULL,NULL,NULL,NULL),(172458,NULL,0,NULL,NULL,21,40817,41000,57,7618,1,1,'2023-10-14','2023-10-14',190938.00,1,855.00,'FACTURA A 0003 - 001819',NULL,NULL,NULL,NULL,NULL),(172459,NULL,0,NULL,172459,3,40817,41000,57,7618,2,1,'2023-10-17','2023-10-17',72931.69,1,855.00,'PAGO  0004 - 003053',NULL,NULL,NULL,NULL,NULL),(172460,NULL,0,NULL,NULL,21,40817,41000,57,7618,1,1,'2023-10-19','2023-10-19',64000.00,1,855.00,'FACTURA A 0003 - 001823',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172461,NULL,0,NULL,NULL,21,40817,41000,57,7618,1,1,'2023-10-20','2023-10-20',188518.00,1,855.00,'FACTURA A 0003 - 001824',NULL,NULL,NULL,NULL,NULL),(172462,NULL,0,NULL,172462,3,40817,41000,57,7618,2,1,'2023-10-20','2023-10-20',63961.31,1,855.00,'PAGO  0004 - 003076',NULL,NULL,NULL,NULL,NULL),(172463,NULL,0,NULL,NULL,21,40817,41000,57,7618,1,1,'2023-10-27','2023-10-27',192027.00,1,855.00,'FACTURA A 0003 - 001827',NULL,NULL,NULL,NULL,NULL),(172464,NULL,0,NULL,NULL,21,40817,41000,57,7618,1,1,'2023-10-31','2023-10-31',178475.00,1,855.00,'FACTURA A 0003 - 001828',NULL,NULL,NULL,NULL,NULL),(172465,NULL,0,NULL,NULL,21,40817,41000,57,7619,1,1,'2023-11-07','2023-11-07',96800.00,1,855.00,'FACTURA A 0003 - 001832',NULL,NULL,NULL,NULL,NULL),(172466,NULL,0,NULL,172466,3,40817,41000,57,7619,2,1,'2023-11-07','2023-11-07',931393.54,1,855.00,'PAGO  0004 - 003171',NULL,NULL,NULL,NULL,NULL),(172467,NULL,0,NULL,172467,3,40817,41000,57,7619,2,1,'2023-11-10','2023-11-10',98171.47,1,855.00,'PAGO  0004 - 003194',NULL,NULL,NULL,NULL,NULL),(172468,NULL,0,NULL,NULL,21,40817,41000,57,7619,1,1,'2023-11-13','2023-11-13',188034.00,1,855.00,'FACTURA A 0003 - 001833',NULL,NULL,NULL,NULL,NULL),(172469,NULL,0,NULL,NULL,21,40817,41000,57,7619,1,1,'2023-11-14','2023-11-14',97499.99,1,855.00,'FACTURA A 0003 - 001835',NULL,NULL,NULL,NULL,NULL),(172470,NULL,0,NULL,172470,3,40817,41000,57,7619,2,1,'2023-11-16','2023-11-16',60450.00,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000170',NULL,NULL,NULL,NULL,NULL),(172471,NULL,0,NULL,NULL,21,40817,41000,57,7619,1,1,'2023-11-16','2023-11-16',60450.01,1,855.00,'NOTA DE DEBITO A 0003 - 000003',NULL,NULL,NULL,NULL,NULL),(172472,NULL,0,NULL,NULL,21,40817,41000,57,7619,1,1,'2023-11-16','2023-11-16',60450.00,1,855.00,'NOTA DE DEBITO A 0003 - 000003',NULL,NULL,NULL,NULL,NULL),(172473,NULL,0,NULL,172473,3,40817,41000,57,7619,2,1,'2023-11-17','2023-11-17',60000.00,1,855.00,'PAGO  0004 - 003241',NULL,NULL,NULL,NULL,NULL),(172474,NULL,0,NULL,NULL,21,40817,41000,57,7619,1,1,'2023-11-17','2023-11-17',188518.00,1,855.00,'FACTURA A 0003 - 001838',NULL,NULL,NULL,NULL,NULL),(172475,NULL,0,NULL,NULL,21,40817,41000,57,7619,1,1,'2023-11-24','2023-11-24',181258.00,1,855.00,'FACTURA A 0003 - 001839',NULL,NULL,NULL,NULL,NULL),(172476,NULL,0,NULL,NULL,21,40817,41000,57,7619,1,1,'2023-11-24','2023-11-24',84700.00,1,855.00,'FACTURA A 0003 - 001840',NULL,NULL,NULL,NULL,NULL),(172477,NULL,0,NULL,NULL,21,40817,41000,57,7619,1,1,'2023-11-25','2023-11-25',60500.00,1,855.00,'FACTURA A 0003 - 001841',NULL,NULL,NULL,NULL,NULL),(172478,NULL,0,NULL,NULL,21,40817,41000,57,7619,1,1,'2023-11-27','2023-11-27',193358.00,1,855.00,'FACTURA A 0003 - 001842',NULL,NULL,NULL,NULL,NULL),(172479,NULL,0,NULL,NULL,21,40817,41000,57,7619,1,1,'2023-11-28','2023-11-28',133500.00,1,855.00,'FACTURA A 0003 - 001845',NULL,NULL,NULL,NULL,NULL),(172480,NULL,0,NULL,172480,3,40817,41000,57,7619,2,1,'2023-11-29','2023-11-29',61337.76,1,855.00,'PAGO  0004 - 003276',NULL,NULL,NULL,NULL,NULL),(172481,NULL,0,NULL,172481,3,40817,41000,57,7619,2,1,'2023-11-29','2023-11-29',81573.58,1,855.00,'PAGO  0004 - 003277',NULL,NULL,NULL,NULL,NULL),(172482,NULL,0,NULL,NULL,21,40817,41000,57,7619,1,1,'2023-11-30','2023-11-30',102500.00,1,855.00,'FACTURA A 0003 - 001849',NULL,NULL,NULL,NULL,NULL),(172483,NULL,0,NULL,172483,3,40817,41000,57,7620,2,1,'2023-12-04','2023-12-04',135473.68,1,855.00,'PAGO  0004 - 003307',NULL,NULL,NULL,NULL,NULL),(172484,NULL,0,NULL,172484,3,40817,41000,57,7620,2,1,'2023-12-05','2023-12-05',852088.21,1,855.00,'PAGO  0004 - 003317',NULL,NULL,NULL,NULL,NULL),(172485,NULL,0,NULL,NULL,21,40817,41000,57,7620,1,1,'2023-12-11','2023-12-11',180895.00,1,855.00,'FACTURA A 0003 - 001855',NULL,NULL,NULL,NULL,NULL),(172486,NULL,0,NULL,172486,3,40817,41000,57,7620,2,1,'2023-12-13','2023-12-13',97039.75,1,855.00,'PAGO  0004 - 003367',NULL,NULL,NULL,NULL,NULL),(172487,NULL,0,NULL,NULL,21,40817,41000,57,7620,1,1,'2023-12-18','2023-12-18',193116.00,1,855.00,'FACTURA A 0003 - 001862',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172488,NULL,0,NULL,NULL,21,40817,41000,57,7620,1,1,'2023-12-20','2023-12-20',179927.00,1,855.00,'FACTURA A 0003 - 001863',NULL,NULL,NULL,NULL,NULL),(172489,NULL,0,NULL,NULL,21,40817,41000,57,7620,1,1,'2023-12-22','2023-12-22',181258.00,1,855.00,'FACTURA A 0003 - 001865',NULL,NULL,NULL,NULL,NULL),(172490,NULL,0,NULL,172490,3,40817,41000,57,6064,2,1,'2024-01-02','2024-01-02',735764.57,1,855.00,'PAGO  0004 - 003472',NULL,NULL,NULL,NULL,NULL),(172491,NULL,0,NULL,NULL,21,40817,41000,57,6064,1,1,'2024-01-03','2024-01-03',172000.00,1,855.00,'FACTURA A 0003 - 001870',NULL,NULL,NULL,NULL,NULL),(172492,NULL,0,NULL,NULL,21,40817,41000,57,6064,1,1,'2024-01-03','2024-01-03',25000.00,1,855.00,'FACTURA A 0003 - 001871',NULL,NULL,NULL,NULL,NULL),(172493,NULL,0,NULL,NULL,21,40817,41000,57,6064,1,1,'2024-01-04','2024-01-04',132000.00,1,855.00,'FACTURA A 0003 - 001873',NULL,NULL,NULL,NULL,NULL),(172494,NULL,0,NULL,172494,3,40817,41000,57,6064,2,1,'2024-01-04','2024-01-04',198260.12,1,855.00,'PAGO  0004 - 003482',NULL,NULL,NULL,NULL,NULL),(172495,NULL,0,NULL,NULL,21,40817,41000,57,6064,1,1,'2024-01-05','2024-01-05',192269.00,1,855.00,'FACTURA A 0003 - 001874',NULL,NULL,NULL,NULL,NULL),(172496,NULL,0,NULL,172496,3,40817,41000,57,6064,2,1,'2024-01-08','2024-01-08',132610.08,1,855.00,'PAGO  0004 - 003505',NULL,NULL,NULL,NULL,NULL),(172497,NULL,0,NULL,NULL,21,40817,41000,57,6064,1,1,'2024-01-11','2024-01-11',199045.00,1,855.00,'FACTURA A 0003 - 001876',NULL,NULL,NULL,NULL,NULL),(172498,NULL,0,NULL,NULL,21,40817,41000,57,6064,1,1,'2024-01-15','2024-01-15',131999.99,1,855.00,'FACTURA A 0003 - 001878',NULL,NULL,NULL,NULL,NULL),(172499,NULL,0,NULL,NULL,21,40817,41000,57,6064,1,1,'2024-01-15','2024-01-15',136000.01,1,855.00,'FACTURA A 0003 - 001879',NULL,NULL,NULL,NULL,NULL),(172500,NULL,0,NULL,172500,3,40817,41000,57,6064,2,1,'2024-01-17','2024-01-17',266693.15,1,855.00,'PAGO  0004 - 003567',NULL,NULL,NULL,NULL,NULL),(172501,NULL,0,NULL,NULL,21,40817,41000,57,6064,1,1,'2024-01-18','2024-01-18',196963.80,1,855.00,'FACTURA A 0003 - 001881',NULL,NULL,NULL,NULL,NULL),(172502,NULL,0,NULL,NULL,21,40817,41000,57,6064,1,1,'2024-01-25','2024-01-25',195778.00,1,855.00,'FACTURA A 0003 - 001884',NULL,NULL,NULL,NULL,NULL),(172503,NULL,0,NULL,NULL,21,40817,41000,57,6064,1,1,'2024-01-26','2024-01-26',108900.00,1,855.00,'FACTURA A 0003 - 001886',NULL,NULL,NULL,NULL,NULL),(172504,NULL,0,NULL,NULL,21,40817,41000,57,6064,1,1,'2024-01-29','2024-01-29',199892.00,1,855.00,'FACTURA A 0003 - 001888',NULL,NULL,NULL,NULL,NULL),(172505,NULL,0,NULL,172505,3,40817,41000,57,6064,2,1,'2024-01-29','2024-01-29',107905.42,1,855.00,'PAGO  0004 - 003620',NULL,NULL,NULL,NULL,NULL),(172506,NULL,0,NULL,172506,3,40817,41000,57,6065,2,1,'2024-02-02','2024-02-02',983810.47,1,855.00,'PAGO  0004 - 003641',NULL,NULL,NULL,NULL,NULL),(172507,NULL,0,NULL,NULL,21,40817,41000,57,6065,1,1,'2024-02-03','2024-02-03',196988.00,1,855.00,'FACTURA A 0003 - 001892',NULL,NULL,NULL,NULL,NULL),(172508,NULL,0,NULL,NULL,21,40817,41000,57,6065,1,1,'2024-02-08','2024-02-08',190938.00,1,855.00,'FACTURA A 0003 - 001893',NULL,NULL,NULL,NULL,NULL),(172509,NULL,0,NULL,NULL,21,40817,41000,57,6065,1,1,'2024-02-14','2024-02-14',146000.00,1,855.00,'FACTURA A 0003 - 001898',NULL,NULL,NULL,NULL,NULL),(172510,NULL,0,NULL,NULL,21,40817,41000,57,6065,1,1,'2024-02-16','2024-02-16',193237.00,1,855.00,'FACTURA A 0003 - 001899',NULL,NULL,NULL,NULL,NULL),(172511,NULL,0,NULL,NULL,21,40817,41000,57,6065,1,1,'2024-02-20','2024-02-20',161000.00,1,855.00,'FACTURA A 0003 - 001901',NULL,NULL,NULL,NULL,NULL),(172512,NULL,0,NULL,NULL,21,40817,41000,57,6065,1,1,'2024-02-23','2024-02-23',188518.00,1,855.00,'FACTURA A 0003 - 001904',NULL,NULL,NULL,NULL,NULL),(172513,NULL,0,NULL,NULL,21,40817,41000,57,6065,1,1,'2024-02-26','2024-02-26',192027.00,1,855.00,'FACTURA A 0003 - 001908',NULL,NULL,NULL,NULL,NULL),(172514,NULL,0,NULL,172514,3,40817,41000,57,6065,2,1,'2024-02-26','2024-02-26',310128.44,1,855.00,'PAGO  0004 - 003755',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172515,NULL,0,NULL,172515,3,40817,41000,57,6066,2,1,'2024-03-05','2024-03-05',963420.29,1,855.00,'PAGO  0004 - 003807',NULL,NULL,NULL,NULL,NULL),(172516,NULL,0,NULL,NULL,21,40817,41000,57,6066,1,1,'2024-03-06','2024-03-06',156999.99,1,855.00,'FACTURA A 0003 - 001911',NULL,NULL,NULL,NULL,NULL),(172517,NULL,0,NULL,NULL,21,40817,41000,57,6066,1,1,'2024-03-07','2024-03-07',192027.00,1,855.00,'FACTURA A 0003 - 001912',NULL,NULL,NULL,NULL,NULL),(172518,NULL,0,NULL,NULL,21,40817,41000,57,6066,1,1,'2024-03-07','2024-03-07',158000.00,1,855.00,'FACTURA A 0003 - 001913',NULL,NULL,NULL,NULL,NULL),(172519,NULL,0,NULL,172519,3,40817,41000,57,6066,2,1,'2024-03-08','2024-03-08',310159.26,1,855.00,'PAGO  0004 - 003838',NULL,NULL,NULL,NULL,NULL),(172520,NULL,0,NULL,NULL,21,40817,41000,57,6066,1,1,'2024-03-11','2024-03-11',193358.00,1,855.00,'FACTURA A 0003 - 001914',NULL,NULL,NULL,NULL,NULL),(172521,NULL,0,NULL,NULL,21,40817,41000,57,6066,1,1,'2024-03-14','2024-03-14',189728.00,1,855.00,'FACTURA A 0003 - 001915',NULL,NULL,NULL,NULL,NULL),(172522,NULL,0,NULL,NULL,21,40817,41000,57,6066,1,1,'2024-03-21','2024-03-21',196988.00,1,855.00,'FACTURA A 0003 - 001917',NULL,NULL,NULL,NULL,NULL),(172523,NULL,0,NULL,NULL,21,40817,41000,57,6066,1,1,'2024-03-27','2024-03-27',198198.00,1,855.00,'FACTURA A 0003 - 001921',NULL,NULL,NULL,NULL,NULL),(172524,NULL,0,NULL,NULL,21,40817,41000,57,6067,1,1,'2024-04-04','2024-04-04',199650.00,1,855.00,'FACTURA A 0003 - 001922',NULL,NULL,NULL,NULL,NULL),(172525,NULL,0,NULL,172525,3,40817,41000,57,6067,2,1,'2024-04-05','2024-04-05',971256.44,1,855.00,'PAGO  0004 - 003961',NULL,NULL,NULL,NULL,NULL),(172526,NULL,0,NULL,NULL,21,40817,41000,57,6067,1,1,'2024-04-09','2024-04-09',197230.00,1,855.00,'FACTURA A 0003 - 001925',NULL,NULL,NULL,NULL,NULL),(172527,NULL,0,NULL,NULL,21,40817,41000,57,6067,1,1,'2024-04-16','2024-04-16',190000.00,1,855.00,'FACTURA A 0003 - 001931',NULL,NULL,NULL,NULL,NULL),(172528,NULL,0,NULL,NULL,21,40817,41000,57,6067,1,1,'2024-04-17','2024-04-17',199892.00,1,855.00,'FACTURA A 0003 - 001933',NULL,NULL,NULL,NULL,NULL),(172529,NULL,0,NULL,NULL,21,40817,41000,57,6067,1,1,'2024-04-23','2024-04-23',199650.00,1,855.00,'FACTURA A 0003 - 001936',NULL,NULL,NULL,NULL,NULL),(172530,NULL,0,NULL,NULL,21,40817,41000,57,6067,1,1,'2024-04-30','2024-04-30',195173.00,1,855.00,'FACTURA A 0003 - 001939',NULL,NULL,NULL,NULL,NULL),(172531,NULL,0,NULL,172531,3,40817,41000,57,6068,2,1,'2024-05-02','2024-05-02',190785.12,1,855.00,'PAGO  0004 - 004143',NULL,NULL,NULL,NULL,NULL),(172532,NULL,0,NULL,172532,3,40817,41000,57,6068,2,1,'2024-05-13','2024-05-13',991769.82,1,855.00,'PAGO  0004 - 004183',NULL,NULL,NULL,NULL,NULL),(172533,NULL,0,NULL,NULL,21,40817,40969,57,7590,1,1,'2021-12-31','2021-12-31',36300.00,1,855.00,'FACTURA A 0002 - 002221',NULL,NULL,NULL,NULL,NULL),(172534,NULL,0,NULL,NULL,21,40817,40969,57,7590,1,1,'2021-12-31','2021-12-31',27830.00,1,855.00,'FACTURA A 0002 - 002242',NULL,NULL,NULL,NULL,NULL),(172535,NULL,0,NULL,172535,3,40817,40969,57,7590,2,1,'2021-12-31','2021-12-31',641.03,1,855.00,'PAGO  0001 - 000053',NULL,NULL,NULL,NULL,NULL),(172536,NULL,0,NULL,172536,3,40817,40969,57,7595,2,1,'2022-02-07','2022-02-07',63488.97,1,855.00,'PAGO  0004 - 000122',NULL,NULL,NULL,NULL,NULL),(172537,NULL,0,NULL,NULL,21,40817,40969,57,7595,1,1,'2022-02-23','2022-02-23',29040.00,1,855.00,'FACTURA A 0002 - 002274',NULL,NULL,NULL,NULL,NULL),(172538,NULL,0,NULL,NULL,21,40817,40969,57,7595,1,1,'2022-02-24','2022-02-24',35695.00,1,855.00,'FACTURA A 0002 - 002279',NULL,NULL,NULL,NULL,NULL),(172539,NULL,0,NULL,NULL,21,40817,40969,57,7596,1,1,'2022-03-11','2022-03-11',78650.00,1,855.00,'FACTURA A 0002 - 002292',NULL,NULL,NULL,NULL,NULL),(172540,NULL,0,NULL,NULL,21,40817,40969,57,7596,1,1,'2022-03-17','2022-03-17',10890.00,1,855.00,'FACTURA A 0002 - 002301',NULL,NULL,NULL,NULL,NULL),(172541,NULL,0,NULL,NULL,21,40817,40969,57,7596,1,1,'2022-03-17','2022-03-17',4840.00,1,855.00,'FACTURA A 0002 - 002302',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172542,NULL,0,NULL,NULL,21,40817,40969,57,7596,1,1,'2022-03-29','2022-03-29',117975.00,1,855.00,'FACTURA A 0002 - 002313',NULL,NULL,NULL,NULL,NULL),(172543,NULL,0,NULL,172543,3,40817,40969,57,7596,2,1,'2022-03-30','2022-03-30',159115.00,1,855.00,'PAGO  0004 - 000349',NULL,NULL,NULL,NULL,NULL),(172544,NULL,0,NULL,NULL,21,40817,40969,57,7597,1,1,'2022-04-05','2022-04-05',7260.00,1,855.00,'FACTURA A 0002 - 002318',NULL,NULL,NULL,NULL,NULL),(172545,NULL,0,NULL,NULL,21,40817,40969,57,7597,1,1,'2022-04-27','2022-04-27',43560.00,1,855.00,'FACTURA A 0002 - 002344',NULL,NULL,NULL,NULL,NULL),(172546,NULL,0,NULL,NULL,21,40817,40969,57,7597,1,1,'2022-04-27','2022-04-27',36300.00,1,855.00,'FACTURA A 0002 - 002345',NULL,NULL,NULL,NULL,NULL),(172547,NULL,0,NULL,172547,3,40817,40969,57,7598,2,1,'2022-05-16','2022-05-16',205095.00,1,855.00,'PAGO  0004 - 000581',NULL,NULL,NULL,NULL,NULL),(172548,NULL,0,NULL,NULL,21,40817,40969,57,7598,1,1,'2022-05-30','2022-05-30',82885.00,1,855.00,'FACTURA A 0002 - 002376',NULL,NULL,NULL,NULL,NULL),(172549,NULL,0,NULL,NULL,21,40817,40969,57,7598,1,1,'2022-05-30','2022-05-30',77440.00,1,855.00,'FACTURA A 0002 - 002377',NULL,NULL,NULL,NULL,NULL),(172550,NULL,0,NULL,NULL,21,40817,40969,57,7598,1,1,'2022-05-30','2022-05-30',90750.00,1,855.00,'FACTURA A 0002 - 002378',NULL,NULL,NULL,NULL,NULL),(172551,NULL,0,NULL,NULL,21,40817,40969,57,7599,1,1,'2022-06-23','2022-06-23',64130.00,1,855.00,'FACTURA A 0002 - 002405',NULL,NULL,NULL,NULL,NULL),(172552,NULL,0,NULL,172552,3,40817,40969,57,7599,2,1,'2022-06-24','2022-06-24',252055.19,1,855.00,'PAGO  0004 - 000748',NULL,NULL,NULL,NULL,NULL),(172553,NULL,0,NULL,NULL,21,40817,40969,57,7600,1,1,'2022-07-05','2022-07-05',39930.00,1,855.00,'FACTURA A 0002 - 002410',NULL,NULL,NULL,NULL,NULL),(172554,NULL,0,NULL,NULL,21,40817,40969,57,7600,1,1,'2022-07-05','2022-07-05',42350.00,1,855.00,'FACTURA A 0002 - 002411',NULL,NULL,NULL,NULL,NULL),(172555,NULL,0,NULL,NULL,21,40817,40969,57,7600,1,1,'2022-07-15','2022-07-15',87120.00,1,855.00,'FACTURA A 0002 - 002425',NULL,NULL,NULL,NULL,NULL),(172556,NULL,0,NULL,NULL,21,40817,40969,57,7600,1,1,'2022-07-15','2022-07-15',108900.00,1,855.00,'FACTURA A 0002 - 002426',NULL,NULL,NULL,NULL,NULL),(172557,NULL,0,NULL,172557,3,40817,40969,57,7600,2,1,'2022-07-22','2022-07-22',64000.00,1,855.00,'PAGO  0004 - 000872',NULL,NULL,NULL,NULL,NULL),(172558,NULL,0,NULL,NULL,21,40817,40969,57,7601,1,1,'2022-08-02','2022-08-02',171820.00,1,855.00,'FACTURA A 0002 - 002448',NULL,NULL,NULL,NULL,NULL),(172559,NULL,0,NULL,NULL,21,40817,40969,57,7601,1,1,'2022-08-02','2022-08-02',19360.00,1,855.00,'FACTURA A 0002 - 002449',NULL,NULL,NULL,NULL,NULL),(172560,NULL,0,NULL,172560,3,40817,40969,57,7601,2,1,'2022-08-03','2022-08-03',81429.81,1,855.00,'PAGO  0004 - 000927',NULL,NULL,NULL,NULL,NULL),(172561,NULL,0,NULL,172561,3,40817,40969,57,7601,2,1,'2022-08-04','2022-08-04',88817.15,1,855.00,'PAGO  0004 - 000944',NULL,NULL,NULL,NULL,NULL),(172562,NULL,0,NULL,172562,3,40817,40969,57,7601,2,1,'2022-08-12','2022-08-12',108900.00,1,855.00,'PAGO  0004 - 000993',NULL,NULL,NULL,NULL,NULL),(172563,NULL,0,NULL,172563,3,40817,40969,57,7601,2,1,'2022-08-18','2022-08-18',170122.85,1,855.00,'PAGO  0004 - 001021',NULL,NULL,NULL,NULL,NULL),(172564,NULL,0,NULL,NULL,21,40817,40969,57,7601,1,1,'2022-08-20','2022-08-20',44770.00,1,855.00,'FACTURA A 0002 - 002467',NULL,NULL,NULL,NULL,NULL),(172565,NULL,0,NULL,NULL,21,40817,40969,57,7601,1,1,'2022-08-20','2022-08-20',95590.00,1,855.00,'FACTURA A 0002 - 002468',NULL,NULL,NULL,NULL,NULL),(172566,NULL,0,NULL,NULL,21,40817,40969,57,7601,1,1,'2022-08-30','2022-08-30',78650.00,1,855.00,'FACTURA A 0002 - 002485',NULL,NULL,NULL,NULL,NULL),(172567,NULL,0,NULL,172567,3,40817,40969,57,7602,2,1,'2022-09-07','2022-09-07',238370.00,1,855.00,'PAGO  0004 - 001112',NULL,NULL,NULL,NULL,NULL),(172568,NULL,0,NULL,NULL,21,40817,40969,57,7602,1,1,'2022-09-20','2022-09-20',124630.00,1,855.00,'FACTURA A 0002 - 002506',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172569,NULL,0,NULL,NULL,21,40817,40969,57,7602,1,1,'2022-09-29','2022-09-29',45980.00,1,855.00,'FACTURA A 0002 - 002514',NULL,NULL,NULL,NULL,NULL),(172570,NULL,0,NULL,NULL,21,40817,40969,57,7603,1,1,'2022-10-17','2022-10-17',18150.00,1,855.00,'FACTURA A 0002 - 002535',NULL,NULL,NULL,NULL,NULL),(172571,NULL,0,NULL,172571,3,40817,40969,57,7603,2,1,'2022-10-22','2022-10-22',170610.00,1,855.00,'PAGO  0004 - 001324',NULL,NULL,NULL,NULL,NULL),(172572,NULL,0,NULL,172572,3,40817,40969,57,7604,2,1,'2022-11-23','2022-11-23',18150.00,1,855.00,'PAGO  0004 - 001448',NULL,NULL,NULL,NULL,NULL),(172573,NULL,0,NULL,NULL,21,40817,40969,57,7604,1,1,'2022-11-23','2022-11-23',124630.00,1,855.00,'FACTURA A 0002 - 002569',NULL,NULL,NULL,NULL,NULL),(172574,NULL,0,NULL,172574,3,40817,40969,57,7605,2,1,'2022-12-07','2022-12-07',124630.00,1,855.00,'PAGO  0004 - 001540',NULL,NULL,NULL,NULL,NULL),(172575,NULL,0,NULL,NULL,21,40817,40969,57,7605,1,1,'2022-12-15','2022-12-15',64130.00,1,855.00,'FACTURA A 0002 - 002597',NULL,NULL,NULL,NULL,NULL),(172576,NULL,0,NULL,NULL,21,40817,40969,57,7605,1,1,'2022-12-21','2022-12-21',47190.00,1,855.00,'FACTURA A 0002 - 002603',NULL,NULL,NULL,NULL,NULL),(172577,NULL,0,NULL,NULL,21,40817,40969,57,7605,1,1,'2022-12-21','2022-12-21',33880.00,1,855.00,'FACTURA A 0002 - 002604',NULL,NULL,NULL,NULL,NULL),(172578,NULL,0,NULL,NULL,21,40817,40969,57,7605,1,1,'2022-12-27','2022-12-27',7865.00,1,855.00,'FACTURA A 0002 - 002613',NULL,NULL,NULL,NULL,NULL),(172579,NULL,0,NULL,172579,3,40817,40969,57,7609,2,1,'2023-01-07','2023-01-07',111320.00,1,855.00,'PAGO  0004 - 001645',NULL,NULL,NULL,NULL,NULL),(172580,NULL,0,NULL,172580,3,40817,40969,57,7609,2,1,'2023-01-14','2023-01-14',41745.00,1,855.00,'PAGO  0004 - 001714',NULL,NULL,NULL,NULL,NULL),(172581,NULL,0,NULL,NULL,21,40817,40969,57,7610,1,1,'2023-02-27','2023-02-27',150040.00,1,855.00,'FACTURA A 0002 - 002658',NULL,NULL,NULL,NULL,NULL),(172582,NULL,0,NULL,NULL,21,40817,40969,57,7610,1,1,'2023-02-27','2023-02-27',151250.00,1,855.00,'FACTURA A 0002 - 002659',NULL,NULL,NULL,NULL,NULL),(172583,NULL,0,NULL,NULL,21,40817,40969,57,7611,1,1,'2023-03-26','2023-03-26',154880.00,1,855.00,'FACTURA A 0002 - 002691',NULL,NULL,NULL,NULL,NULL),(172584,NULL,0,NULL,172584,3,40817,40969,57,7612,2,1,'2023-04-03','2023-04-03',302998.84,1,855.00,'PAGO  0004 - 002050',NULL,NULL,NULL,NULL,NULL),(172585,NULL,0,NULL,172585,3,40817,40969,57,7613,2,1,'2023-05-15','2023-05-15',154227.78,1,855.00,'PAGO  0004 - 002256',NULL,NULL,NULL,NULL,NULL),(172586,NULL,0,NULL,NULL,21,40817,40969,57,7614,1,1,'2023-06-05','2023-06-05',187550.00,1,855.00,'FACTURA A 0002 - 002754',NULL,NULL,NULL,NULL,NULL),(172587,NULL,0,NULL,NULL,21,40817,40969,57,7614,1,1,'2023-06-06','2023-06-06',66550.00,1,855.00,'FACTURA A 0002 - 002757',NULL,NULL,NULL,NULL,NULL),(172588,NULL,0,NULL,NULL,21,40817,40969,57,7615,1,1,'2023-07-14','2023-07-14',356950.00,1,855.00,'FACTURA A 0002 - 002796',NULL,NULL,NULL,NULL,NULL),(172589,NULL,0,NULL,172589,3,40817,40969,57,7615,2,1,'2023-07-18','2023-07-18',254845.42,1,855.00,'PAGO  0004 - 002576',NULL,NULL,NULL,NULL,NULL),(172590,NULL,0,NULL,172590,3,40817,40969,57,7616,2,1,'2023-08-04','2023-08-04',355660.06,1,855.00,'PAGO  0004 - 002666',NULL,NULL,NULL,NULL,NULL),(172591,NULL,0,NULL,NULL,21,40817,40969,57,7616,1,1,'2023-08-23','2023-08-23',108900.00,1,855.00,'FACTURA A 0002 - 002838',NULL,NULL,NULL,NULL,NULL),(172592,NULL,0,NULL,NULL,21,40817,40969,57,7617,1,1,'2023-09-05','2023-09-05',701800.00,1,855.00,'FACTURA A 0002 - 002860',NULL,NULL,NULL,NULL,NULL),(172593,NULL,0,NULL,172593,3,40817,40969,57,7617,2,1,'2023-09-18','2023-09-18',814695.02,1,855.00,'PAGO  0004 - 002901',NULL,NULL,NULL,NULL,NULL),(172594,NULL,0,NULL,NULL,21,40817,40969,57,7617,1,1,'2023-09-22','2023-09-22',145200.00,1,855.00,'FACTURA A 0002 - 002878',NULL,NULL,NULL,NULL,NULL),(172595,NULL,0,NULL,NULL,21,40817,40969,57,7618,1,1,'2023-10-31','2023-10-31',217800.00,1,855.00,'FACTURA A 0002 - 002922',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172596,NULL,0,NULL,NULL,21,40817,40969,57,7618,1,1,'2023-10-31','2023-10-31',169400.00,1,855.00,'FACTURA A 0002 - 002923',NULL,NULL,NULL,NULL,NULL),(172597,NULL,0,NULL,172597,3,40817,40969,57,7619,2,1,'2023-11-01','2023-11-01',140692.88,1,855.00,'PAGO  0004 - 003138',NULL,NULL,NULL,NULL,NULL),(172598,NULL,0,NULL,172598,3,40817,40969,57,7619,2,1,'2023-11-30','2023-11-30',388746.78,1,855.00,'PAGO  0004 - 003288',NULL,NULL,NULL,NULL,NULL),(172599,NULL,0,NULL,NULL,21,40817,40969,57,7620,1,1,'2023-12-06','2023-12-06',550550.00,1,855.00,'FACTURA A 0002 - 002961',NULL,NULL,NULL,NULL,NULL),(172600,NULL,0,NULL,NULL,21,40817,40969,57,7620,1,1,'2023-12-12','2023-12-12',217800.00,1,855.00,'FACTURA A 0002 - 002963',NULL,NULL,NULL,NULL,NULL),(172601,NULL,0,NULL,172601,3,40817,40969,57,6064,2,1,'2024-01-12','2024-01-12',767722.14,1,855.00,'PAGO  0004 - 003537',NULL,NULL,NULL,NULL,NULL),(172602,NULL,0,NULL,NULL,21,40817,40969,57,6065,1,1,'2024-02-28','2024-02-28',641300.00,1,855.00,'FACTURA A 0002 - 003024',NULL,NULL,NULL,NULL,NULL),(172603,NULL,0,NULL,NULL,21,40817,40969,57,6066,1,1,'2024-03-05','2024-03-05',145200.00,1,855.00,'FACTURA A 0002 - 003034',NULL,NULL,NULL,NULL,NULL),(172604,NULL,0,NULL,172604,3,40817,40969,57,6066,2,1,'2024-03-15','2024-03-15',785581.08,1,855.00,'PAGO  0004 - 003884',NULL,NULL,NULL,NULL,NULL),(172605,NULL,0,NULL,172605,3,40817,40857,57,7590,2,1,'2021-12-31','2021-12-31',2359.10,1,855.00,'PAGO  0001 - 000058',NULL,NULL,NULL,NULL,NULL),(172606,NULL,0,NULL,NULL,21,40817,40857,57,7594,1,1,'2022-01-05','2022-01-05',69085.13,1,855.00,'FACTURA A 0002 - 013352',NULL,NULL,NULL,NULL,NULL),(172607,NULL,0,NULL,172607,3,40817,40857,57,7594,2,1,'2022-01-13','2022-01-13',69085.13,1,855.00,'PAGO  0004 - 000014',NULL,NULL,NULL,NULL,NULL),(172608,NULL,0,NULL,NULL,21,40817,40857,57,7595,1,1,'2022-02-04','2022-02-04',83072.18,1,855.00,'FACTURA A 0002 - 013558',NULL,NULL,NULL,NULL,NULL),(172609,NULL,0,NULL,172609,3,40817,40857,57,7595,2,1,'2022-02-07','2022-02-07',80713.08,1,855.00,'PAGO  0004 - 000119',NULL,NULL,NULL,NULL,NULL),(172610,NULL,0,NULL,NULL,21,40817,40857,57,7596,1,1,'2022-03-07','2022-03-07',69085.13,1,855.00,'FACTURA A 0002 - 013777',NULL,NULL,NULL,NULL,NULL),(172611,NULL,0,NULL,172611,3,40817,40857,57,7596,2,1,'2022-03-22','2022-03-22',69085.13,1,855.00,'PAGO  0004 - 000306',NULL,NULL,NULL,NULL,NULL),(172612,NULL,0,NULL,NULL,21,40817,40857,57,7597,1,1,'2022-04-05','2022-04-05',76078.65,1,855.00,'FACTURA A 0002 - 013999',NULL,NULL,NULL,NULL,NULL),(172613,NULL,0,NULL,172613,3,40817,40857,57,7597,2,1,'2022-04-20','2022-04-20',76078.65,1,855.00,'PAGO  0004 - 000449',NULL,NULL,NULL,NULL,NULL),(172614,NULL,0,NULL,NULL,21,40817,40857,57,7598,1,1,'2022-05-03','2022-05-03',95299.00,1,855.00,'FACTURA A 0002 - 014224',NULL,NULL,NULL,NULL,NULL),(172615,NULL,0,NULL,172615,3,40817,40857,57,7598,2,1,'2022-05-13','2022-05-13',95299.00,1,855.00,'PAGO  0004 - 000570',NULL,NULL,NULL,NULL,NULL),(172616,NULL,0,NULL,NULL,21,40817,40857,57,7599,1,1,'2022-06-02','2022-06-02',86608.20,1,855.00,'FACTURA A 0002 - 014459',NULL,NULL,NULL,NULL,NULL),(172617,NULL,0,NULL,172617,3,40817,40857,57,7599,2,1,'2022-06-03','2022-06-03',86608.20,1,855.00,'PAGO  0004 - 000656',NULL,NULL,NULL,NULL,NULL),(172618,NULL,0,NULL,NULL,21,40817,40857,57,7600,1,1,'2022-07-04','2022-07-04',96336.46,1,855.00,'FACTURA A 0002 - 014678',NULL,NULL,NULL,NULL,NULL),(172619,NULL,0,NULL,172619,3,40817,40857,57,7600,2,1,'2022-07-15','2022-07-15',96336.46,1,855.00,'PAGO  0004 - 000843',NULL,NULL,NULL,NULL,NULL),(172620,NULL,0,NULL,NULL,21,40817,40857,57,7601,1,1,'2022-08-04','2022-08-04',96336.46,1,855.00,'FACTURA A 0004 - 000207',NULL,NULL,NULL,NULL,NULL),(172621,NULL,0,NULL,172621,3,40817,40857,57,7601,2,1,'2022-08-09','2022-08-09',96336.46,1,855.00,'PAGO  0004 - 000969',NULL,NULL,NULL,NULL,NULL),(172622,NULL,0,NULL,NULL,21,40817,40857,57,7602,1,1,'2022-09-05','2022-09-05',96336.46,1,855.00,'FACTURA A 0004 - 000440',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172623,NULL,0,NULL,172623,3,40817,40857,57,7602,2,1,'2022-09-07','2022-09-07',96336.46,1,855.00,'PAGO  0004 - 001113',NULL,NULL,NULL,NULL,NULL),(172624,NULL,0,NULL,NULL,21,40817,40857,57,7603,1,1,'2022-10-05','2022-10-05',113561.01,1,855.00,'FACTURA A 0004 - 000696',NULL,NULL,NULL,NULL,NULL),(172625,NULL,0,NULL,172625,3,40817,40857,57,7603,2,1,'2022-10-21','2022-10-21',113561.01,1,855.00,'PAGO  0004 - 001306',NULL,NULL,NULL,NULL,NULL),(172626,NULL,0,NULL,NULL,21,40817,40857,57,7604,1,1,'2022-11-03','2022-11-03',96336.46,1,855.00,'FACTURA A 0004 - 000937',NULL,NULL,NULL,NULL,NULL),(172627,NULL,0,NULL,172627,3,40817,40857,57,7604,2,1,'2022-11-16','2022-11-16',96336.46,1,855.00,'PAGO  0004 - 001416',NULL,NULL,NULL,NULL,NULL),(172628,NULL,0,NULL,NULL,21,40817,40857,57,7605,1,1,'2022-12-05','2022-12-05',106671.22,1,855.00,'FACTURA A 0004 - 001182',NULL,NULL,NULL,NULL,NULL),(172629,NULL,0,NULL,172629,3,40817,40857,57,7605,2,1,'2022-12-07','2022-12-07',106671.22,1,855.00,'PAGO  0004 - 001541',NULL,NULL,NULL,NULL,NULL),(172630,NULL,0,NULL,NULL,21,40817,40857,57,7609,1,1,'2023-01-05','2023-01-05',150808.65,1,855.00,'FACTURA A 0004 - 001451',NULL,NULL,NULL,NULL,NULL),(172631,NULL,0,NULL,172631,3,40817,40857,57,7609,2,1,'2023-01-07','2023-01-07',150808.65,1,855.00,'PAGO  0004 - 001646',NULL,NULL,NULL,NULL,NULL),(172632,NULL,0,NULL,NULL,21,40817,40857,57,7610,1,1,'2023-02-02','2023-02-02',163245.54,1,855.00,'FACTURA A 0004 - 001684',NULL,NULL,NULL,NULL,NULL),(172633,NULL,0,NULL,172633,3,40817,40857,57,7610,2,1,'2023-02-13','2023-02-13',163245.54,1,855.00,'PAGO  0004 - 001829',NULL,NULL,NULL,NULL,NULL),(172634,NULL,0,NULL,NULL,21,40817,40857,57,7611,1,1,'2023-03-06','2023-03-06',175096.55,1,855.00,'FACTURA A 0004 - 001939',NULL,NULL,NULL,NULL,NULL),(172635,NULL,0,NULL,172635,3,40817,40857,57,7611,2,1,'2023-03-22','2023-03-22',175181.97,1,855.00,'PAGO  0004 - 001991',NULL,NULL,NULL,NULL,NULL),(172636,NULL,0,NULL,NULL,21,40817,40857,57,7612,1,1,'2023-04-04','2023-04-04',170365.85,1,855.00,'FACTURA A 0004 - 002225',NULL,NULL,NULL,NULL,NULL),(172637,NULL,0,NULL,172637,3,40817,40857,57,7612,2,1,'2023-04-18','2023-04-18',170280.43,1,855.00,'PAGO  0004 - 002125',NULL,NULL,NULL,NULL,NULL),(172638,NULL,0,NULL,NULL,21,40817,40857,57,7613,1,1,'2023-05-03','2023-05-03',185831.60,1,855.00,'FACTURA A 0004 - 002458',NULL,NULL,NULL,NULL,NULL),(172639,NULL,0,NULL,172639,3,40817,40857,57,7613,2,1,'2023-05-11','2023-05-11',185831.60,1,855.00,'PAGO  0004 - 002231',NULL,NULL,NULL,NULL,NULL),(172640,NULL,0,NULL,NULL,21,40817,40857,57,7614,1,1,'2023-06-05','2023-06-05',185831.60,1,855.00,'FACTURA A 0004 - 002758',NULL,NULL,NULL,NULL,NULL),(172641,NULL,0,NULL,172641,3,40817,40857,57,7614,2,1,'2023-06-08','2023-06-08',185831.60,1,855.00,'PAGO  0004 - 002375',NULL,NULL,NULL,NULL,NULL),(172642,NULL,0,NULL,NULL,21,40817,40857,57,7615,1,1,'2023-07-04','2023-07-04',275085.00,1,855.00,'FACTURA A 0004 - 003013',NULL,NULL,NULL,NULL,NULL),(172643,NULL,0,NULL,172643,3,40817,40857,57,7615,2,1,'2023-07-11','2023-07-11',275085.00,1,855.00,'PAGO  0004 - 002529',NULL,NULL,NULL,NULL,NULL),(172644,NULL,0,NULL,NULL,21,40817,40857,57,7616,1,1,'2023-08-03','2023-08-03',306015.64,1,855.00,'FACTURA A 0004 - 003286',NULL,NULL,NULL,NULL,NULL),(172645,NULL,0,NULL,172645,3,40817,40857,57,7616,2,1,'2023-08-04','2023-08-04',306015.64,1,855.00,'PAGO  0004 - 002667',NULL,NULL,NULL,NULL,NULL),(172646,NULL,0,NULL,NULL,21,40817,40857,57,7617,1,1,'2023-09-05','2023-09-05',290549.89,1,855.00,'FACTURA A 0004 - 003541',NULL,NULL,NULL,NULL,NULL),(172647,NULL,0,NULL,172647,3,40817,40857,57,7617,2,1,'2023-09-07','2023-09-07',290549.89,1,855.00,'PAGO  0004 - 002830',NULL,NULL,NULL,NULL,NULL),(172648,NULL,0,NULL,NULL,21,40817,40857,57,7618,1,1,'2023-10-05','2023-10-05',369140.16,1,855.00,'FACTURA A 0004 - 003818',NULL,NULL,NULL,NULL,NULL),(172649,NULL,0,NULL,172649,3,40817,40857,57,7618,2,1,'2023-10-12','2023-10-12',378088.01,1,855.00,'PAGO  0004 - 003035',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172650,NULL,0,NULL,NULL,21,40817,40857,57,7619,1,1,'2023-11-03','2023-11-03',435733.86,1,855.00,'FACTURA A 0004 - 004052',NULL,NULL,NULL,NULL,NULL),(172651,NULL,0,NULL,172651,3,40817,40857,57,7619,2,1,'2023-11-08','2023-11-08',426786.01,1,855.00,'PAGO  0004 - 003180',NULL,NULL,NULL,NULL,NULL),(172652,NULL,0,NULL,NULL,21,40817,40857,57,7620,1,1,'2023-12-05','2023-12-05',706657.41,1,855.00,'FACTURA A 0004 - 004276',NULL,NULL,NULL,NULL,NULL),(172653,NULL,0,NULL,172653,3,40817,40857,57,7620,2,1,'2023-12-16','2023-12-16',706657.41,1,855.00,'PAGO  0004 - 003390',NULL,NULL,NULL,NULL,NULL),(172654,NULL,0,NULL,NULL,21,40817,40857,57,6064,1,1,'2024-01-04','2024-01-04',635235.97,1,855.00,'FACTURA A 0004 - 004543',NULL,NULL,NULL,NULL,NULL),(172655,NULL,0,NULL,172655,3,40817,40857,57,6064,2,1,'2024-01-25','2024-01-25',635235.97,1,855.00,'PAGO  0004 - 003609',NULL,NULL,NULL,NULL,NULL),(172656,NULL,0,NULL,NULL,21,40817,40857,57,6065,1,1,'2024-02-05','2024-02-05',662823.23,1,855.00,'FACTURA A 0004 - 004826',NULL,NULL,NULL,NULL,NULL),(172657,NULL,0,NULL,172657,3,40817,40857,57,6065,2,1,'2024-02-10','2024-02-10',662823.23,1,855.00,'PAGO  0004 - 003678',NULL,NULL,NULL,NULL,NULL),(172658,NULL,0,NULL,NULL,21,40817,40857,57,6066,1,1,'2024-03-05','2024-03-05',643387.33,1,855.00,'FACTURA A 0004 - 005071',NULL,NULL,NULL,NULL,NULL),(172659,NULL,0,NULL,172659,3,40817,40857,57,6066,2,1,'2024-03-12','2024-03-12',643387.33,1,855.00,'PAGO  0004 - 003848',NULL,NULL,NULL,NULL,NULL),(172660,NULL,0,NULL,NULL,21,40817,40857,57,6067,1,1,'2024-04-10','2024-04-10',1192548.82,1,855.00,'FACTURA A 0004 - 005324',NULL,NULL,NULL,NULL,NULL),(172661,NULL,0,NULL,172661,3,40817,40857,57,6067,2,1,'2024-04-15','2024-04-15',1197586.26,1,855.00,'PAGO  0004 - 004037',NULL,NULL,NULL,NULL,NULL),(172662,NULL,0,NULL,NULL,21,40817,40857,57,6068,1,1,'2024-05-06','2024-05-06',1231850.02,1,855.00,'FACTURA A 0004 - 005567',NULL,NULL,NULL,NULL,NULL),(172663,NULL,0,NULL,172663,3,40817,40857,57,6068,2,1,'2024-05-11','2024-05-11',1226812.58,1,855.00,'PAGO  0004 - 004167',NULL,NULL,NULL,NULL,NULL),(172664,NULL,0,NULL,NULL,21,40817,40859,57,7594,1,1,'2022-01-03','2022-01-03',324667.20,1,855.00,'FACTURA A 0002 - 001270',NULL,NULL,NULL,NULL,NULL),(172665,NULL,0,NULL,172665,3,40817,40859,57,7595,2,1,'2022-02-03','2022-02-03',352823.01,1,855.00,'PAGO  0004 - 000109',NULL,NULL,NULL,NULL,NULL),(172666,NULL,0,NULL,NULL,21,40817,40859,57,7597,1,1,'2022-04-05','2022-04-05',196891.20,1,855.00,'FACTURA A 0002 - 001286',NULL,NULL,NULL,NULL,NULL),(172667,NULL,0,NULL,172667,3,40817,40859,57,7598,2,1,'2022-05-10','2022-05-10',169197.90,1,855.00,'PAGO  0004 - 000544',NULL,NULL,NULL,NULL,NULL),(172668,NULL,0,NULL,NULL,21,40817,40859,57,7599,1,1,'2022-06-02','2022-06-02',279151.84,1,855.00,'FACTURA A 0002 - 001307',NULL,NULL,NULL,NULL,NULL),(172669,NULL,0,NULL,172669,3,40817,40859,57,7600,2,1,'2022-07-11','2022-07-11',278906.61,1,855.00,'PAGO  0004 - 000801',NULL,NULL,NULL,NULL,NULL),(172670,NULL,0,NULL,NULL,21,40817,40859,57,7620,1,1,'2023-12-19','2023-12-19',217.28,1,855.00,'AJUSTE POSITIVO  0001 - 000003',NULL,NULL,NULL,NULL,NULL),(172671,NULL,0,NULL,NULL,21,40817,40945,57,7594,1,1,'2022-01-24','2022-01-24',90612.22,1,855.00,'FACTURA A 0006 - 091137',NULL,NULL,NULL,NULL,NULL),(172672,NULL,0,NULL,NULL,21,40817,40945,57,7594,1,1,'2022-01-31','2022-01-31',91046.44,1,855.00,'FACTURA A 0006 - 091469',NULL,NULL,NULL,NULL,NULL),(172673,NULL,0,NULL,172673,3,40817,40945,57,7595,2,1,'2022-02-02','2022-02-02',90612.22,1,855.00,'PAGO  0004 - 000098',NULL,NULL,NULL,NULL,NULL),(172674,NULL,0,NULL,172674,3,40817,40945,57,7595,2,1,'2022-02-21','2022-02-21',91046.44,1,855.00,'PAGO  0004 - 000178',NULL,NULL,NULL,NULL,NULL),(172675,NULL,0,NULL,NULL,21,40817,40945,57,7596,1,1,'2022-03-23','2022-03-23',12380.41,1,855.00,'FACTURA A 0006 - 093753',NULL,NULL,NULL,NULL,NULL),(172676,NULL,0,NULL,172676,3,40817,40945,57,7597,2,1,'2022-04-06','2022-04-06',12380.41,1,855.00,'PAGO  0004 - 000397',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172677,NULL,0,NULL,NULL,21,40817,40945,57,7597,1,1,'2022-04-07','2022-04-07',164396.48,1,855.00,'FACTURA A 0006 - 094453',NULL,NULL,NULL,NULL,NULL),(172678,NULL,0,NULL,172678,3,40817,40945,57,7598,2,1,'2022-05-06','2022-05-06',164396.48,1,855.00,'PAGO  0004 - 000531',NULL,NULL,NULL,NULL,NULL),(172679,NULL,0,NULL,NULL,21,40817,40945,57,7598,1,1,'2022-05-27','2022-05-27',87987.19,1,855.00,'FACTURA A 0006 - 097184',NULL,NULL,NULL,NULL,NULL),(172680,NULL,0,NULL,172680,3,40817,40945,57,7599,2,1,'2022-06-08','2022-06-08',87987.19,1,855.00,'PAGO  0004 - 000687',NULL,NULL,NULL,NULL,NULL),(172681,NULL,0,NULL,NULL,21,40817,40945,57,7599,1,1,'2022-06-16','2022-06-16',154472.97,1,855.00,'FACTURA A 0006 - 098122',NULL,NULL,NULL,NULL,NULL),(172682,NULL,0,NULL,172682,3,40817,40945,57,7600,2,1,'2022-07-12','2022-07-12',154472.97,1,855.00,'PAGO  0004 - 000810',NULL,NULL,NULL,NULL,NULL),(172683,NULL,0,NULL,172683,3,40817,40945,57,7600,2,1,'2022-07-18','2022-07-18',196523.12,1,855.00,'PAGO  0001 - 000815',NULL,NULL,NULL,NULL,NULL),(172684,NULL,0,NULL,NULL,21,40817,40945,57,7600,1,1,'2022-07-19','2022-07-19',195185.48,1,855.00,'FACTURA A 0006 - 099034',NULL,NULL,NULL,NULL,NULL),(172685,NULL,0,NULL,NULL,21,40817,40945,57,7600,1,1,'2022-07-27','2022-07-27',87481.16,1,855.00,'FACTURA A 0006 - 099340',NULL,NULL,NULL,NULL,NULL),(172686,NULL,0,NULL,172686,3,40817,40945,57,7601,2,1,'2022-08-02','2022-08-02',86143.52,1,855.00,'PAGO  0004 - 000913',NULL,NULL,NULL,NULL,NULL),(172687,NULL,0,NULL,NULL,21,40817,40945,57,7601,1,1,'2022-08-16','2022-08-16',205234.48,1,855.00,'FACTURA A 0006 - 099806',NULL,NULL,NULL,NULL,NULL),(172688,NULL,0,NULL,172688,3,40817,40945,57,7601,2,1,'2022-08-29','2022-08-29',205234.48,1,855.00,'PAGO  0004 - 001066',NULL,NULL,NULL,NULL,NULL),(172689,NULL,0,NULL,NULL,21,40817,40945,57,7602,1,1,'2022-09-05','2022-09-05',212004.97,1,855.00,'FACTURA A 0006 - 100450',NULL,NULL,NULL,NULL,NULL),(172690,NULL,0,NULL,172690,3,40817,40945,57,7602,2,1,'2022-09-14','2022-09-14',212004.97,1,855.00,'PAGO  0004 - 001138',NULL,NULL,NULL,NULL,NULL),(172691,NULL,0,NULL,NULL,21,40817,40945,57,7603,1,1,'2022-10-19','2022-10-19',70470.51,1,855.00,'FACTURA A 0006 - 101678',NULL,NULL,NULL,NULL,NULL),(172692,NULL,0,NULL,172692,3,40817,40945,57,7603,2,1,'2022-10-31','2022-10-31',70470.51,1,855.00,'PAGO  0004 - 001360',NULL,NULL,NULL,NULL,NULL),(172693,NULL,0,NULL,NULL,21,40817,40945,57,7604,1,1,'2022-11-17','2022-11-17',368792.54,1,855.00,'FACTURA A 0006 - 102835',NULL,NULL,NULL,NULL,NULL),(172694,NULL,0,NULL,172694,3,40817,40945,57,7604,2,1,'2022-11-23','2022-11-23',368792.54,1,855.00,'PAGO  0004 - 001449',NULL,NULL,NULL,NULL,NULL),(172695,NULL,0,NULL,NULL,21,40817,40945,57,7604,1,1,'2022-11-24','2022-11-24',54284.05,1,855.00,'FACTURA A 0006 - 103059',NULL,NULL,NULL,NULL,NULL),(172696,NULL,0,NULL,NULL,21,40817,40945,57,7604,1,1,'2022-11-30','2022-11-30',320002.21,1,855.00,'FACTURA A 0006 - 103249',NULL,NULL,NULL,NULL,NULL),(172697,NULL,0,NULL,172697,3,40817,40945,57,7605,2,1,'2022-12-05','2022-12-05',54284.05,1,855.00,'PAGO  0004 - 001512',NULL,NULL,NULL,NULL,NULL),(172698,NULL,0,NULL,172698,3,40817,40945,57,7605,2,1,'2022-12-07','2022-12-07',320002.21,1,855.00,'PAGO  0004 - 001542',NULL,NULL,NULL,NULL,NULL),(172699,NULL,0,NULL,NULL,21,40817,40945,57,7605,1,1,'2022-12-23','2022-12-23',607188.48,1,855.00,'FACTURA A 0006 - 103827',NULL,NULL,NULL,NULL,NULL),(172700,NULL,0,NULL,172700,3,40817,40945,57,7609,2,1,'2023-01-07','2023-01-07',607188.48,1,855.00,'PAGO  0004 - 001691',NULL,NULL,NULL,NULL,NULL),(172701,NULL,0,NULL,NULL,21,40817,40945,57,7611,1,1,'2023-03-03','2023-03-03',157214.52,1,855.00,'FACTURA A 0006 - 105826',NULL,NULL,NULL,NULL,NULL),(172702,NULL,0,NULL,172702,3,40817,40945,57,7611,2,1,'2023-03-16','2023-03-16',157214.52,1,855.00,'PAGO  0004 - 001971',NULL,NULL,NULL,NULL,NULL),(172703,NULL,0,NULL,NULL,21,40817,40945,57,7611,1,1,'2023-03-20','2023-03-20',397997.17,1,855.00,'FACTURA A 0006 - 106568',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172704,NULL,0,NULL,NULL,21,40817,40945,57,7611,1,1,'2023-03-22','2023-03-22',501010.65,1,855.00,'FACTURA A 0006 - 106680',NULL,NULL,NULL,NULL,NULL),(172705,NULL,0,NULL,172705,3,40817,40945,57,7611,2,1,'2023-03-31','2023-03-31',899007.82,1,855.00,'PAGO  0004 - 002040',NULL,NULL,NULL,NULL,NULL),(172706,NULL,0,NULL,NULL,21,40817,40945,57,7613,1,1,'2023-05-05','2023-05-05',109719.45,1,855.00,'FACTURA A 0006 - 108324',NULL,NULL,NULL,NULL,NULL),(172707,NULL,0,NULL,NULL,21,40817,40945,57,7613,1,1,'2023-05-11','2023-05-11',655286.04,1,855.00,'FACTURA A 0006 - 108657',NULL,NULL,NULL,NULL,NULL),(172708,NULL,0,NULL,172708,3,40817,40945,57,7613,2,1,'2023-05-24','2023-05-24',109719.45,1,855.00,'PAGO  0004 - 002308',NULL,NULL,NULL,NULL,NULL),(172709,NULL,0,NULL,172709,3,40817,40945,57,7613,2,1,'2023-05-24','2023-05-24',655286.04,1,855.00,'PAGO  0004 - 002309',NULL,NULL,NULL,NULL,NULL),(172710,NULL,0,NULL,NULL,21,40817,40945,57,7614,1,1,'2023-06-05','2023-06-05',284048.72,1,855.00,'FACTURA A 0006 - 109391',NULL,NULL,NULL,NULL,NULL),(172711,NULL,0,NULL,NULL,21,40817,40945,57,7614,1,1,'2023-06-06','2023-06-06',70684.15,1,855.00,'FACTURA A 0006 - 109505',NULL,NULL,NULL,NULL,NULL),(172712,NULL,0,NULL,172712,3,40817,40945,57,7614,2,1,'2023-06-22','2023-06-22',354732.87,1,855.00,'PAGO  0004 - 002451',NULL,NULL,NULL,NULL,NULL),(172713,NULL,0,NULL,172713,3,40817,40945,57,7614,2,1,'2023-06-22','2023-06-22',354732.87,1,855.00,'PAGO  0001 - 002291',NULL,NULL,NULL,NULL,NULL),(172714,NULL,0,NULL,NULL,21,40817,40945,57,7614,1,1,'2023-06-22','2023-06-22',354732.87,1,855.00,'ANULACION DE PAGOS  0001 - 000126',NULL,NULL,NULL,NULL,NULL),(172715,NULL,0,NULL,NULL,21,40817,40945,57,7614,1,1,'2023-06-23','2023-06-23',108057.11,1,855.00,'FACTURA A 0006 - 110052',NULL,NULL,NULL,NULL,NULL),(172716,NULL,0,NULL,NULL,21,40817,40945,57,7615,1,1,'2023-07-11','2023-07-11',526482.50,1,855.00,'FACTURA A 0006 - 110602',NULL,NULL,NULL,NULL,NULL),(172717,NULL,0,NULL,172717,3,40817,40945,57,7615,2,1,'2023-07-11','2023-07-11',108057.11,1,855.00,'PAGO  0004 - 002530',NULL,NULL,NULL,NULL,NULL),(172718,NULL,0,NULL,172718,3,40817,40945,57,7616,2,1,'2023-08-04','2023-08-04',526482.50,1,855.00,'PAGO  0004 - 002668',NULL,NULL,NULL,NULL,NULL),(172719,NULL,0,NULL,NULL,21,40817,40945,57,7616,1,1,'2023-08-09','2023-08-09',1050420.30,1,855.00,'FACTURA A 0006 - 111571',NULL,NULL,NULL,NULL,NULL),(172720,NULL,0,NULL,172720,3,40817,40945,57,7616,2,1,'2023-08-15','2023-08-15',1050420.30,1,855.00,'PAGO  0004 - 002733',NULL,NULL,NULL,NULL,NULL),(172721,NULL,0,NULL,NULL,21,40817,40945,57,7617,1,1,'2023-09-13','2023-09-13',738817.24,1,855.00,'FACTURA A 0006 - 112425',NULL,NULL,NULL,NULL,NULL),(172722,NULL,0,NULL,172722,3,40817,40945,57,7617,2,1,'2023-09-18','2023-09-18',738817.24,1,855.00,'PAGO  0004 - 002906',NULL,NULL,NULL,NULL,NULL),(172723,NULL,0,NULL,NULL,21,40817,40945,57,7619,1,1,'2023-11-01','2023-11-01',1397550.00,1,855.00,'FACTURA A 0006 - 113639',NULL,NULL,NULL,NULL,NULL),(172724,NULL,0,NULL,172724,3,40817,40945,57,7619,2,1,'2023-11-10','2023-11-10',1397550.00,1,855.00,'PAGO  0004 - 003192',NULL,NULL,NULL,NULL,NULL),(172725,NULL,0,NULL,NULL,21,40817,40945,57,7620,1,1,'2023-12-18','2023-12-18',1844596.84,1,855.00,'FACTURA A 0006 - 114373',NULL,NULL,NULL,NULL,NULL),(172726,NULL,0,NULL,172726,3,40817,40945,57,6064,2,1,'2024-01-02','2024-01-02',1844596.84,1,855.00,'PAGO  0004 - 003474',NULL,NULL,NULL,NULL,NULL),(172727,NULL,0,NULL,NULL,21,40817,40945,57,6064,1,1,'2024-01-15','2024-01-15',2093051.22,1,855.00,'FACTURA A 0006 - 114844',NULL,NULL,NULL,NULL,NULL),(172728,NULL,0,NULL,172728,3,40817,40945,57,6064,2,1,'2024-01-17','2024-01-17',2093051.22,1,855.00,'PAGO  0004 - 003562',NULL,NULL,NULL,NULL,NULL),(172729,NULL,0,NULL,NULL,21,40817,40945,57,6065,1,1,'2024-02-21','2024-02-21',1300804.66,1,855.00,'FACTURA A 0006 - 115479',NULL,NULL,NULL,NULL,NULL),(172730,NULL,0,NULL,172730,3,40817,40945,57,6065,2,1,'2024-02-27','2024-02-27',1300804.66,1,855.00,'PAGO  0004 - 003762',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172731,NULL,0,NULL,NULL,21,40817,40945,57,6066,1,1,'2024-03-15','2024-03-15',2331372.33,1,855.00,'FACTURA A 0006 - 115972',NULL,NULL,NULL,NULL,NULL),(172732,NULL,0,NULL,172732,3,40817,40945,57,6066,2,1,'2024-03-25','2024-03-25',2331372.33,1,855.00,'PAGO  0004 - 003928',NULL,NULL,NULL,NULL,NULL),(172733,NULL,0,NULL,NULL,21,40817,40945,57,6067,1,1,'2024-04-03','2024-04-03',1738562.89,1,855.00,'FACTURA A 0006 - 116334',NULL,NULL,NULL,NULL,NULL),(172734,NULL,0,NULL,172734,3,40817,40945,57,6067,2,1,'2024-04-11','2024-04-11',1738562.89,1,855.00,'PAGO  0004 - 004024',NULL,NULL,NULL,NULL,NULL),(172735,NULL,0,NULL,NULL,21,40817,40945,57,6067,1,1,'2024-04-25','2024-04-25',2837643.58,1,855.00,'FACTURA A 0006 - 116877',NULL,NULL,NULL,NULL,NULL),(172736,NULL,0,NULL,NULL,21,40817,40960,57,7580,1,1,'2021-02-09','2021-02-09',3740.00,1,855.00,'FACTURA A 0001 - 001792',NULL,NULL,NULL,NULL,NULL),(172737,NULL,0,NULL,NULL,21,40817,40960,57,7590,1,1,'2021-12-16','2021-12-16',1345.00,1,855.00,'FACTURA A 0001 - 001073',NULL,NULL,NULL,NULL,NULL),(172738,NULL,0,NULL,NULL,21,40817,40960,57,7590,1,1,'2021-12-20','2021-12-20',3951.00,1,855.00,'FACTURA A 0001 - 001103',NULL,NULL,NULL,NULL,NULL),(172739,NULL,0,NULL,NULL,21,40817,40960,57,7590,1,1,'2021-12-21','2021-12-21',1040.00,1,855.00,'FACTURA A 0001 - 001151',NULL,NULL,NULL,NULL,NULL),(172740,NULL,0,NULL,NULL,21,40817,40960,57,7590,1,1,'2021-12-29','2021-12-29',2370.00,1,855.00,'FACTURA A 0001 - 001231',NULL,NULL,NULL,NULL,NULL),(172741,NULL,0,NULL,NULL,21,40817,40960,57,7590,1,1,'2021-12-31','2021-12-31',7269.00,1,855.00,'FACTURA A 0001 - 001232',NULL,NULL,NULL,NULL,NULL),(172742,NULL,0,NULL,NULL,21,40817,40960,57,7590,1,1,'2021-12-31','2021-12-31',908.66,1,855.00,'FACTURA A 0001 - 001074',NULL,NULL,NULL,NULL,NULL),(172743,NULL,0,NULL,NULL,21,40817,40960,57,7590,1,1,'2021-12-31','2021-12-31',8647.01,1,855.00,'FACTURA A 0001 - 001075',NULL,NULL,NULL,NULL,NULL),(172744,NULL,0,NULL,NULL,21,40817,40960,57,7590,1,1,'2021-12-31','2021-12-31',4303.00,1,855.00,'FACTURA A 0001 - 001078',NULL,NULL,NULL,NULL,NULL),(172745,NULL,0,NULL,172745,3,40817,40960,57,7590,2,1,'2021-12-31','2021-12-31',986.00,1,855.00,'NOTA DE CREDITO A 0001 - 000047',NULL,NULL,NULL,NULL,NULL),(172746,NULL,0,NULL,NULL,21,40817,40960,57,7594,1,1,'2022-01-05','2022-01-05',202.00,1,855.00,'FACTURA A 0001 - 001293',NULL,NULL,NULL,NULL,NULL),(172747,NULL,0,NULL,172747,3,40817,40960,57,7594,2,1,'2022-01-07','2022-01-07',20141.67,1,855.00,'PAGO  0001 - 000014',NULL,NULL,NULL,NULL,NULL),(172748,NULL,0,NULL,172748,3,40817,40960,57,7594,2,1,'2022-01-07','2022-01-07',202.00,1,855.00,'PAGO  0001 - 000015',NULL,NULL,NULL,NULL,NULL),(172749,NULL,0,NULL,NULL,21,40817,40960,57,7594,1,1,'2022-01-11','2022-01-11',3883.00,1,855.00,'FACTURA A 0001 - 001372',NULL,NULL,NULL,NULL,NULL),(172750,NULL,0,NULL,NULL,21,40817,40960,57,7594,1,1,'2022-01-14','2022-01-14',1840.00,1,855.00,'FACTURA A 0001 - 001420',NULL,NULL,NULL,NULL,NULL),(172751,NULL,0,NULL,NULL,21,40817,40960,57,7594,1,1,'2022-01-27','2022-01-27',42.00,1,855.00,'FACTURA A 0001 - 001579',NULL,NULL,NULL,NULL,NULL),(172752,NULL,0,NULL,NULL,21,40817,40960,57,7594,1,1,'2022-01-27','2022-01-27',5774.00,1,855.00,'FACTURA A 0001 - 001580',NULL,NULL,NULL,NULL,NULL),(172753,NULL,0,NULL,NULL,21,40817,40960,57,7595,1,1,'2022-02-02','2022-02-02',1690.00,1,855.00,'FACTURA A 0001 - 001689',NULL,NULL,NULL,NULL,NULL),(172754,NULL,0,NULL,172754,3,40817,40960,57,7595,2,1,'2022-02-02','2022-02-02',16835.00,1,855.00,'PAGO  0004 - 000099',NULL,NULL,NULL,NULL,NULL),(172755,NULL,0,NULL,NULL,21,40817,40960,57,7595,1,1,'2022-02-08','2022-02-08',3270.00,1,855.00,'FACTURA A 0001 - 001769',NULL,NULL,NULL,NULL,NULL),(172756,NULL,0,NULL,NULL,21,40817,40960,57,7595,1,1,'2022-02-10','2022-02-10',23570.00,1,855.00,'FACTURA A 0001 - 001810',NULL,NULL,NULL,NULL,NULL),(172757,NULL,0,NULL,NULL,21,40817,40960,57,7595,1,1,'2022-02-15','2022-02-15',2108.00,1,855.00,'FACTURA A 0001 - 001690',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172758,NULL,0,NULL,NULL,21,40817,40960,57,7595,1,1,'2022-02-21','2022-02-21',699.98,1,855.00,'FACTURA A 0001 - 001930',NULL,NULL,NULL,NULL,NULL),(172759,NULL,0,NULL,NULL,21,40817,40960,57,7595,1,1,'2022-02-23','2022-02-23',395.99,1,855.00,'FACTURA A 0001 - 001965',NULL,NULL,NULL,NULL,NULL),(172760,NULL,0,NULL,172760,3,40817,40960,57,7595,2,1,'2022-02-24','2022-02-24',35667.89,1,855.00,'PAGO  0004 - 000197',NULL,NULL,NULL,NULL,NULL),(172761,NULL,0,NULL,NULL,21,40817,40960,57,7596,1,1,'2022-03-02','2022-03-02',2900.00,1,855.00,'FACTURA A 0001 - 002026',NULL,NULL,NULL,NULL,NULL),(172762,NULL,0,NULL,NULL,21,40817,40960,57,7596,1,1,'2022-03-03','2022-03-03',938.00,1,855.00,'FACTURA A 0001 - 002061',NULL,NULL,NULL,NULL,NULL),(172763,NULL,0,NULL,NULL,21,40817,40960,57,7596,1,1,'2022-03-03','2022-03-03',3461.00,1,855.00,'FACTURA A 0001 - 002072',NULL,NULL,NULL,NULL,NULL),(172764,NULL,0,NULL,NULL,21,40817,40960,57,7596,1,1,'2022-03-14','2022-03-14',1800.00,1,855.00,'FACTURA A 0001 - 002239',NULL,NULL,NULL,NULL,NULL),(172765,NULL,0,NULL,NULL,21,40817,40960,57,7596,1,1,'2022-03-14','2022-03-14',10241.00,1,855.00,'FACTURA A 0001 - 002240',NULL,NULL,NULL,NULL,NULL),(172766,NULL,0,NULL,NULL,21,40817,40960,57,7596,1,1,'2022-03-21','2022-03-21',5220.00,1,855.00,'FACTURA A 0001 - 002329',NULL,NULL,NULL,NULL,NULL),(172767,NULL,0,NULL,172767,3,40817,40960,57,7596,2,1,'2022-03-22','2022-03-22',19146.08,1,855.00,'PAGO  0004 - 000307',NULL,NULL,NULL,NULL,NULL),(172768,NULL,0,NULL,172768,3,40817,40960,57,7596,2,1,'2022-03-23','2022-03-23',2369.99,1,855.00,'NOTA DE CREDITO A 0001 - 000086',NULL,NULL,NULL,NULL,NULL),(172769,NULL,0,NULL,NULL,21,40817,40960,57,7596,1,1,'2022-03-25','2022-03-25',4490.00,1,855.00,'FACTURA A 0001 - 002420',NULL,NULL,NULL,NULL,NULL),(172770,NULL,0,NULL,NULL,21,40817,40960,57,7596,1,1,'2022-03-26','2022-03-26',1990.00,1,855.00,'FACTURA A 0001 - 002450',NULL,NULL,NULL,NULL,NULL),(172771,NULL,0,NULL,NULL,21,40817,40960,57,7596,1,1,'2022-03-28','2022-03-28',7556.00,1,855.00,'FACTURA A 0001 - 002464',NULL,NULL,NULL,NULL,NULL),(172772,NULL,0,NULL,NULL,21,40817,40960,57,7596,1,1,'2022-03-29','2022-03-29',199.99,1,855.00,'FACTURA A 0001 - 002478',NULL,NULL,NULL,NULL,NULL),(172773,NULL,0,NULL,172773,3,40817,40960,57,7596,2,1,'2022-03-29','2022-03-29',199.99,1,855.00,'PAGO CONTADO  0001 - 000342',NULL,NULL,NULL,NULL,NULL),(172774,NULL,0,NULL,172774,3,40817,40960,57,7597,2,1,'2022-04-01','2022-04-01',13816.01,1,855.00,'PAGO  0004 - 000367',NULL,NULL,NULL,NULL,NULL),(172775,NULL,0,NULL,NULL,21,40817,40960,57,7597,1,1,'2022-04-06','2022-04-06',1475.00,1,855.00,'FACTURA A 0001 - 002601',NULL,NULL,NULL,NULL,NULL),(172776,NULL,0,NULL,NULL,21,40817,40960,57,7597,1,1,'2022-04-09','2022-04-09',40327.00,1,855.00,'FACTURA A 0001 - 002677',NULL,NULL,NULL,NULL,NULL),(172777,NULL,0,NULL,NULL,21,40817,40960,57,7597,1,1,'2022-04-18','2022-04-18',144.00,1,855.00,'FACTURA A 0001 - 002780',NULL,NULL,NULL,NULL,NULL),(172778,NULL,0,NULL,172778,3,40817,40960,57,7597,2,1,'2022-04-18','2022-04-18',144.00,1,855.00,'PAGO CONTADO  0001 - 000408',NULL,NULL,NULL,NULL,NULL),(172779,NULL,0,NULL,NULL,21,40817,40960,57,7597,1,1,'2022-04-23','2022-04-23',97797.00,1,855.00,'FACTURA A 0001 - 002886',NULL,NULL,NULL,NULL,NULL),(172780,NULL,0,NULL,NULL,21,40817,40960,57,7597,1,1,'2022-04-23','2022-04-23',9204.00,1,855.00,'FACTURA A 0001 - 002888',NULL,NULL,NULL,NULL,NULL),(172781,NULL,0,NULL,NULL,21,40817,40960,57,7597,1,1,'2022-04-23','2022-04-23',810.00,1,855.00,'FACTURA A 0001 - 002891',NULL,NULL,NULL,NULL,NULL),(172782,NULL,0,NULL,NULL,21,40817,40960,57,7597,1,1,'2022-04-28','2022-04-28',6206.01,1,855.00,'FACTURA A 0001 - 002989',NULL,NULL,NULL,NULL,NULL),(172783,NULL,0,NULL,NULL,21,40817,40960,57,7597,1,1,'2022-04-29','2022-04-29',3957.00,1,855.00,'FACTURA A 0001 - 003005',NULL,NULL,NULL,NULL,NULL),(172784,NULL,0,NULL,NULL,21,40817,40960,57,7597,1,1,'2022-04-30','2022-04-30',20005.00,1,855.00,'FACTURA A 0001 - 003025',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172785,NULL,0,NULL,172785,3,40817,40960,57,7598,2,1,'2022-05-03','2022-05-03',48791.31,1,855.00,'PAGO  0004 - 000498',NULL,NULL,NULL,NULL,NULL),(172786,NULL,0,NULL,NULL,21,40817,40960,57,7598,1,1,'2022-05-09','2022-05-09',1422.01,1,855.00,'FACTURA A 0001 - 003155',NULL,NULL,NULL,NULL,NULL),(172787,NULL,0,NULL,NULL,21,40817,40960,57,7598,1,1,'2022-05-11','2022-05-11',1706.00,1,855.00,'FACTURA A 0001 - 003179',NULL,NULL,NULL,NULL,NULL),(172788,NULL,0,NULL,NULL,21,40817,40960,57,7598,1,1,'2022-05-16','2022-05-16',52535.00,1,855.00,'FACTURA A 0001 - 003254',NULL,NULL,NULL,NULL,NULL),(172789,NULL,0,NULL,NULL,21,40817,40960,57,7598,1,1,'2022-05-17','2022-05-17',992.00,1,855.00,'FACTURA A 0001 - 003274',NULL,NULL,NULL,NULL,NULL),(172790,NULL,0,NULL,172790,3,40817,40960,57,7598,2,1,'2022-05-17','2022-05-17',992.00,1,855.00,'PAGO CONTADO  0001 - 000803',NULL,NULL,NULL,NULL,NULL),(172791,NULL,0,NULL,172791,3,40817,40960,57,7598,2,1,'2022-05-19','2022-05-19',117974.01,1,855.00,'PAGO  0004 - 000588',NULL,NULL,NULL,NULL,NULL),(172792,NULL,0,NULL,NULL,21,40817,40960,57,7598,1,1,'2022-05-24','2022-05-24',29790.00,1,855.00,'FACTURA A 0001 - 003369',NULL,NULL,NULL,NULL,NULL),(172793,NULL,0,NULL,172793,3,40817,40960,57,7599,2,1,'2022-06-08','2022-06-08',104948.70,1,855.00,'PAGO  0004 - 000686',NULL,NULL,NULL,NULL,NULL),(172794,NULL,0,NULL,NULL,21,40817,40960,57,7599,1,1,'2022-06-21','2022-06-21',23329.99,1,855.00,'FACTURA A 0001 - 003767',NULL,NULL,NULL,NULL,NULL),(172795,NULL,0,NULL,NULL,21,40817,40960,57,7599,1,1,'2022-06-22','2022-06-22',239.99,1,855.00,'FACTURA A 0001 - 003777',NULL,NULL,NULL,NULL,NULL),(172796,NULL,0,NULL,172796,3,40817,40960,57,7599,2,1,'2022-06-22','2022-06-22',239.99,1,855.00,'PAGO CONTADO  0001 - 000684',NULL,NULL,NULL,NULL,NULL),(172797,NULL,0,NULL,NULL,21,40817,40960,57,7599,1,1,'2022-06-30','2022-06-30',1560.00,1,855.00,'FACTURA A 0001 - 003933',NULL,NULL,NULL,NULL,NULL),(172798,NULL,0,NULL,172798,3,40817,40960,57,7600,2,1,'2022-07-11','2022-07-11',24889.99,1,855.00,'PAGO  0004 - 000805',NULL,NULL,NULL,NULL,NULL),(172799,NULL,0,NULL,NULL,21,40817,40960,57,7600,1,1,'2022-07-22','2022-07-22',42060.09,1,855.00,'FACTURA A 0001 - 004275',NULL,NULL,NULL,NULL,NULL),(172800,NULL,0,NULL,NULL,21,40817,40960,57,7600,1,1,'2022-07-29','2022-07-29',3010.00,1,855.00,'FACTURA A 0001 - 004388',NULL,NULL,NULL,NULL,NULL),(172801,NULL,0,NULL,NULL,21,40817,40960,57,7600,1,1,'2022-07-30','2022-07-30',454.00,1,855.00,'FACTURA A 0001 - 004412',NULL,NULL,NULL,NULL,NULL),(172802,NULL,0,NULL,172802,3,40817,40960,57,7601,2,1,'2022-08-12','2022-08-12',45524.09,1,855.00,'PAGO  0004 - 000994',NULL,NULL,NULL,NULL,NULL),(172803,NULL,0,NULL,NULL,21,40817,40960,57,7601,1,1,'2022-08-12','2022-08-12',15000.00,1,855.00,'FACTURA A 0001 - 000004',NULL,NULL,NULL,NULL,NULL),(172804,NULL,0,NULL,172804,3,40817,40960,57,7601,2,1,'2022-08-17','2022-08-17',15000.00,1,855.00,'NOTA DE CREDITO A 0001 - 000231',NULL,NULL,NULL,NULL,NULL),(172805,NULL,0,NULL,NULL,21,40817,40960,57,7601,1,1,'2022-08-17','2022-08-17',15000.00,1,855.00,'NOTA DE DEBITO A 0001 - 000005',NULL,NULL,NULL,NULL,NULL),(172806,NULL,0,NULL,172806,3,40817,40960,57,7601,2,1,'2022-08-17','2022-08-17',15000.00,1,855.00,'PAGO  0004 - 001010',NULL,NULL,NULL,NULL,NULL),(172807,NULL,0,NULL,NULL,21,40817,40960,57,7601,1,1,'2022-08-25','2022-08-25',16026.00,1,855.00,'FACTURA A 0001 - 004806',NULL,NULL,NULL,NULL,NULL),(172808,NULL,0,NULL,NULL,21,40817,40960,57,7602,1,1,'2022-09-18','2022-09-18',3569.98,1,855.00,'FACTURA A 0001 - 005213',NULL,NULL,NULL,NULL,NULL),(172809,NULL,0,NULL,NULL,21,40817,40960,57,7602,1,1,'2022-09-18','2022-09-18',5985.97,1,855.00,'FACTURA A 0001 - 005214',NULL,NULL,NULL,NULL,NULL),(172810,NULL,0,NULL,NULL,21,40817,40960,57,7602,1,1,'2022-09-22','2022-09-22',25448.00,1,855.00,'FACTURA A 0001 - 005284',NULL,NULL,NULL,NULL,NULL),(172811,NULL,0,NULL,172811,3,40817,40960,57,7602,2,1,'2022-09-22','2022-09-22',25581.95,1,855.00,'PAGO  0004 - 001184',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172812,NULL,0,NULL,NULL,21,40817,40960,57,7602,1,1,'2022-09-27','2022-09-27',2510.00,1,855.00,'FACTURA A 0001 - 005362',NULL,NULL,NULL,NULL,NULL),(172813,NULL,0,NULL,NULL,21,40817,40960,57,7602,1,1,'2022-09-29','2022-09-29',2120.00,1,855.00,'FACTURA A 0001 - 005405',NULL,NULL,NULL,NULL,NULL),(172814,NULL,0,NULL,NULL,21,40817,40960,57,7603,1,1,'2022-10-01','2022-10-01',20052.00,1,855.00,'FACTURA A 0001 - 005439',NULL,NULL,NULL,NULL,NULL),(172815,NULL,0,NULL,NULL,21,40817,40960,57,7603,1,1,'2022-10-01','2022-10-01',1547.00,1,855.00,'FACTURA A 0001 - 005440',NULL,NULL,NULL,NULL,NULL),(172816,NULL,0,NULL,172816,3,40817,40960,57,7603,2,1,'2022-10-14','2022-10-14',51785.00,1,855.00,'PAGO  0004 - 001281',NULL,NULL,NULL,NULL,NULL),(172817,NULL,0,NULL,NULL,21,40817,40960,57,7603,1,1,'2022-10-18','2022-10-18',14883.98,1,855.00,'FACTURA A 0001 - 005648',NULL,NULL,NULL,NULL,NULL),(172818,NULL,0,NULL,NULL,21,40817,40960,57,7603,1,1,'2022-10-18','2022-10-18',5979.97,1,855.00,'FACTURA A 0001 - 005656',NULL,NULL,NULL,NULL,NULL),(172819,NULL,0,NULL,NULL,21,40817,40960,57,7603,1,1,'2022-10-19','2022-10-19',3750.00,1,855.00,'FACTURA A 0001 - 005659',NULL,NULL,NULL,NULL,NULL),(172820,NULL,0,NULL,NULL,21,40817,40960,57,7603,1,1,'2022-10-19','2022-10-19',3650.00,1,855.00,'FACTURA A 0001 - 005660',NULL,NULL,NULL,NULL,NULL),(172821,NULL,0,NULL,NULL,21,40817,40960,57,7603,1,1,'2022-10-25','2022-10-25',9840.00,1,855.00,'FACTURA A 0001 - 005753',NULL,NULL,NULL,NULL,NULL),(172822,NULL,0,NULL,NULL,21,40817,40960,57,7603,1,1,'2022-10-31','2022-10-31',19200.00,1,855.00,'FACTURA A 0003 - 005879',NULL,NULL,NULL,NULL,NULL),(172823,NULL,0,NULL,NULL,21,40817,40960,57,7604,1,1,'2022-11-01','2022-11-01',737.00,1,855.00,'FACTURA A 0001 - 005871',NULL,NULL,NULL,NULL,NULL),(172824,NULL,0,NULL,172824,3,40817,40960,57,7604,2,1,'2022-11-14','2022-11-14',58056.28,1,855.00,'PAGO  0004 - 001411',NULL,NULL,NULL,NULL,NULL),(172825,NULL,0,NULL,NULL,21,40817,40960,57,7604,1,1,'2022-11-19','2022-11-19',9430.00,1,855.00,'FACTURA A 0001 - 006143',NULL,NULL,NULL,NULL,NULL),(172826,NULL,0,NULL,NULL,21,40817,40960,57,7604,1,1,'2022-11-26','2022-11-26',13799.81,1,855.00,'FACTURA A 0001 - 006234',NULL,NULL,NULL,NULL,NULL),(172827,NULL,0,NULL,NULL,21,40817,40960,57,7605,1,1,'2022-12-22','2022-12-22',889.99,1,855.00,'FACTURA A 0001 - 006537',NULL,NULL,NULL,NULL,NULL),(172828,NULL,0,NULL,172828,3,40817,40960,57,7605,2,1,'2022-12-22','2022-12-22',889.99,1,855.00,'PAGO CONTADO  0001 - 001544',NULL,NULL,NULL,NULL,NULL),(172829,NULL,0,NULL,172829,3,40817,40960,57,7605,2,1,'2022-12-28','2022-12-28',23106.48,1,855.00,'PAGO  0004 - 001605',NULL,NULL,NULL,NULL,NULL),(172830,NULL,0,NULL,NULL,21,40817,40960,57,7605,1,1,'2022-12-29','2022-12-29',14344.00,1,855.00,'FACTURA A 0005 - 000014',NULL,NULL,NULL,NULL,NULL),(172831,NULL,0,NULL,NULL,21,40817,40960,57,7609,1,1,'2023-01-04','2023-01-04',33000.00,1,855.00,'FACTURA A 0001 - 006736',NULL,NULL,NULL,NULL,NULL),(172832,NULL,0,NULL,NULL,21,40817,40960,57,7609,1,1,'2023-01-06','2023-01-06',38775.00,1,855.00,'FACTURA A 0001 - 006773',NULL,NULL,NULL,NULL,NULL),(172833,NULL,0,NULL,NULL,21,40817,40960,57,7609,1,1,'2023-01-06','2023-01-06',2735.00,1,855.00,'FACTURA A 0001 - 006774',NULL,NULL,NULL,NULL,NULL),(172834,NULL,0,NULL,172834,3,40817,40960,57,7609,2,1,'2023-01-07','2023-01-07',47344.00,1,855.00,'PAGO  0004 - 001647',NULL,NULL,NULL,NULL,NULL),(172835,NULL,0,NULL,NULL,21,40817,40960,57,7609,1,1,'2023-01-14','2023-01-14',8919.99,1,855.00,'FACTURA A 0001 - 006885',NULL,NULL,NULL,NULL,NULL),(172836,NULL,0,NULL,NULL,21,40817,40960,57,7609,1,1,'2023-01-20','2023-01-20',10484.99,1,855.00,'FACTURA A 0001 - 006962',NULL,NULL,NULL,NULL,NULL),(172837,NULL,0,NULL,NULL,21,40817,40960,57,7609,1,1,'2023-01-26','2023-01-26',2122.99,1,855.00,'FACTURA A 0001 - 007049',NULL,NULL,NULL,NULL,NULL),(172838,NULL,0,NULL,NULL,21,40817,40960,57,7609,1,1,'2023-01-27','2023-01-27',27450.00,1,855.00,'FACTURA A 0001 - 007066',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172839,NULL,0,NULL,172839,3,40817,40960,57,7610,2,1,'2023-02-07','2023-02-07',80722.20,1,855.00,'PAGO  0004 - 001803',NULL,NULL,NULL,NULL,NULL),(172840,NULL,0,NULL,172840,3,40817,40960,57,7611,2,1,'2023-03-06','2023-03-06',9765.77,1,855.00,'PAGO  0004 - 001887',NULL,NULL,NULL,NULL,NULL),(172841,NULL,0,NULL,NULL,21,40817,40960,57,7611,1,1,'2023-03-08','2023-03-08',58470.00,1,855.00,'FACTURA A 0001 - 007587',NULL,NULL,NULL,NULL,NULL),(172842,NULL,0,NULL,NULL,21,40817,40960,57,7611,1,1,'2023-03-09','2023-03-09',114680.00,1,855.00,'FACTURA A 0001 - 007611',NULL,NULL,NULL,NULL,NULL),(172843,NULL,0,NULL,NULL,21,40817,40960,57,7611,1,1,'2023-03-16','2023-03-16',6495.00,1,855.00,'FACTURA A 0001 - 007708',NULL,NULL,NULL,NULL,NULL),(172844,NULL,0,NULL,NULL,21,40817,40960,57,7611,1,1,'2023-03-20','2023-03-20',1240.00,1,855.00,'FACTURA A 0001 - 007742',NULL,NULL,NULL,NULL,NULL),(172845,NULL,0,NULL,NULL,21,40817,40960,57,7611,1,1,'2023-03-21','2023-03-21',3773.00,1,855.00,'FACTURA A 0001 - 007757',NULL,NULL,NULL,NULL,NULL),(172846,NULL,0,NULL,172846,3,40817,40960,57,7612,2,1,'2023-04-10','2023-04-10',183418.00,1,855.00,'PAGO  0004 - 002072',NULL,NULL,NULL,NULL,NULL),(172847,NULL,0,NULL,NULL,21,40817,40960,57,7612,1,1,'2023-04-11','2023-04-11',3399.99,1,855.00,'FACTURA A 0001 - 008033',NULL,NULL,NULL,NULL,NULL),(172848,NULL,0,NULL,NULL,21,40817,40960,57,7612,1,1,'2023-04-27','2023-04-27',17899.97,1,855.00,'FACTURA A 0001 - 008281',NULL,NULL,NULL,NULL,NULL),(172849,NULL,0,NULL,NULL,21,40817,40960,57,7612,1,1,'2023-04-28','2023-04-28',61852.97,1,855.00,'FACTURA A 0001 - 008297',NULL,NULL,NULL,NULL,NULL),(172850,NULL,0,NULL,NULL,21,40817,40960,57,7612,1,1,'2023-04-28','2023-04-28',61852.97,1,855.00,'FACTURA A 0001 - 008297',NULL,NULL,NULL,NULL,NULL),(172851,NULL,0,NULL,NULL,21,40817,40960,57,7612,1,1,'2023-04-28','2023-04-28',10469.94,1,855.00,'FACTURA A 0001 - 008312',NULL,NULL,NULL,NULL,NULL),(172852,NULL,0,NULL,172852,3,40817,40960,57,7612,2,1,'2023-04-28','2023-04-28',61852.97,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000119',NULL,NULL,NULL,NULL,NULL),(172853,NULL,0,NULL,NULL,21,40817,40960,57,7613,1,1,'2023-05-08','2023-05-08',45099.45,1,855.00,'FACTURA A 0001 - 008403',NULL,NULL,NULL,NULL,NULL),(172854,NULL,0,NULL,NULL,21,40817,40960,57,7613,1,1,'2023-05-09','2023-05-09',2499.99,1,855.00,'FACTURA A 0001 - 008422',NULL,NULL,NULL,NULL,NULL),(172855,NULL,0,NULL,NULL,21,40817,40960,57,7613,1,1,'2023-05-11','2023-05-11',29145.98,1,855.00,'FACTURA A 0001 - 008475',NULL,NULL,NULL,NULL,NULL),(172856,NULL,0,NULL,NULL,21,40817,40960,57,7613,1,1,'2023-05-15','2023-05-15',3575.99,1,855.00,'FACTURA A 0001 - 008553',NULL,NULL,NULL,NULL,NULL),(172857,NULL,0,NULL,NULL,21,40817,40960,57,7613,1,1,'2023-05-19','2023-05-19',126508.84,1,855.00,'ANULACION DE PAGOS  0001 - 000123',NULL,NULL,NULL,NULL,NULL),(172858,NULL,0,NULL,172858,3,40817,40960,57,7613,2,1,'2023-05-19','2023-05-19',171608.29,1,855.00,'PAGO  0001 - 002184',NULL,NULL,NULL,NULL,NULL),(172859,NULL,0,NULL,172859,3,40817,40960,57,7613,2,1,'2023-05-19','2023-05-19',126508.84,1,855.00,'PAGO  0004 - 002287',NULL,NULL,NULL,NULL,NULL),(172860,NULL,0,NULL,NULL,21,40817,40960,57,7613,1,1,'2023-05-24','2023-05-24',83502.67,1,855.00,'FACTURA A 0001 - 008700',NULL,NULL,NULL,NULL,NULL),(172861,NULL,0,NULL,NULL,21,40817,40960,57,7614,1,1,'2023-06-09','2023-06-09',11513.44,1,855.00,'FACTURA A 0001 - 008891',NULL,NULL,NULL,NULL,NULL),(172862,NULL,0,NULL,NULL,21,40817,40960,57,7614,1,1,'2023-06-13','2023-06-13',5508.99,1,855.00,'FACTURA A 0001 - 008938',NULL,NULL,NULL,NULL,NULL),(172863,NULL,0,NULL,172863,3,40817,40960,57,7614,2,1,'2023-06-15','2023-06-15',5508.99,1,855.00,'NOTA DE CREDITO A 0001 - 000519',NULL,NULL,NULL,NULL,NULL),(172864,NULL,0,NULL,NULL,21,40817,40960,57,7614,1,1,'2023-06-26','2023-06-26',6479.99,1,855.00,'FACTURA A 0001 - 009101',NULL,NULL,NULL,NULL,NULL),(172865,NULL,0,NULL,172865,3,40817,40960,57,7614,2,1,'2023-06-29','2023-06-29',103104.68,1,855.00,'PAGO  0004 - 002494',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172866,NULL,0,NULL,NULL,21,40817,40960,57,7615,1,1,'2023-07-17','2023-07-17',116939.36,1,855.00,'FACTURA A 0001 - 009411',NULL,NULL,NULL,NULL,NULL),(172867,NULL,0,NULL,172867,3,40817,40960,57,7615,2,1,'2023-07-25','2023-07-25',1967.41,1,855.00,'PAGO  0004 - 002599',NULL,NULL,NULL,NULL,NULL),(172868,NULL,0,NULL,NULL,21,40817,40960,57,7616,1,1,'2023-08-11','2023-08-11',46040.12,1,855.00,'FACTURA A 0001 - 009791',NULL,NULL,NULL,NULL,NULL),(172869,NULL,0,NULL,NULL,21,40817,40960,57,7616,1,1,'2023-08-21','2023-08-21',264250.00,1,855.00,'FACTURA A 0001 - 009971',NULL,NULL,NULL,NULL,NULL),(172870,NULL,0,NULL,NULL,21,40817,40960,57,7616,1,1,'2023-08-23','2023-08-23',6695.83,1,855.00,'FACTURA A 0001 - 009996',NULL,NULL,NULL,NULL,NULL),(172871,NULL,0,NULL,172871,3,40817,40960,57,7616,2,1,'2023-08-31','2023-08-31',165575.36,1,855.00,'PAGO  0004 - 002792',NULL,NULL,NULL,NULL,NULL),(172872,NULL,0,NULL,172872,3,40817,40960,57,7617,2,1,'2023-09-26','2023-09-26',270014.77,1,855.00,'PAGO  0004 - 002949',NULL,NULL,NULL,NULL,NULL),(172873,NULL,0,NULL,NULL,21,40817,40960,57,7618,1,1,'2023-10-09','2023-10-09',4966.01,1,855.00,'FACTURA A 0001 - 010752',NULL,NULL,NULL,NULL,NULL),(172874,NULL,0,NULL,NULL,21,40817,40960,57,7618,1,1,'2023-10-17','2023-10-17',1449.99,1,855.00,'FACTURA A 0001 - 010848',NULL,NULL,NULL,NULL,NULL),(172875,NULL,0,NULL,NULL,21,40817,40960,57,7618,1,1,'2023-10-23','2023-10-23',4909.99,1,855.00,'FACTURA A 0001 - 010937',NULL,NULL,NULL,NULL,NULL),(172876,NULL,0,NULL,NULL,21,40817,40960,57,7618,1,1,'2023-10-25','2023-10-25',20572.97,1,855.00,'FACTURA A 0001 - 010963',NULL,NULL,NULL,NULL,NULL),(172877,NULL,0,NULL,NULL,21,40817,40960,57,7618,1,1,'2023-10-30','2023-10-30',11111.69,1,855.00,'FACTURA A 0001 - 011008',NULL,NULL,NULL,NULL,NULL),(172878,NULL,0,NULL,NULL,21,40817,40960,57,7618,1,1,'2023-10-30','2023-10-30',156576.78,1,855.00,'FACTURA A 0001 - 011009',NULL,NULL,NULL,NULL,NULL),(172879,NULL,0,NULL,172879,3,40817,40960,57,7619,2,1,'2023-11-01','2023-11-01',197922.61,1,855.00,'PAGO  0004 - 003142',NULL,NULL,NULL,NULL,NULL),(172880,NULL,0,NULL,NULL,21,40817,40960,57,7620,1,1,'2023-12-11','2023-12-11',3079.98,1,855.00,'FACTURA A 0001 - 011663',NULL,NULL,NULL,NULL,NULL),(172881,NULL,0,NULL,NULL,21,40817,40960,57,7620,1,1,'2023-12-18','2023-12-18',411998.00,1,855.00,'FACTURA A 0001 - 011727',NULL,NULL,NULL,NULL,NULL),(172882,NULL,0,NULL,NULL,21,40817,40960,57,7620,1,1,'2023-12-22','2023-12-22',22149.99,1,855.00,'FACTURA A 0001 - 011818',NULL,NULL,NULL,NULL,NULL),(172883,NULL,0,NULL,NULL,21,40817,40960,57,6064,1,1,'2024-01-02','2024-01-02',85496.92,1,855.00,'FACTURA A 0001 - 011923',NULL,NULL,NULL,NULL,NULL),(172884,NULL,0,NULL,NULL,21,40817,40960,57,6064,1,1,'2024-01-03','2024-01-03',165705.65,1,855.00,'FACTURA A 0001 - 011946',NULL,NULL,NULL,NULL,NULL),(172885,NULL,0,NULL,172885,3,40817,40960,57,6064,2,1,'2024-01-09','2024-01-09',3079.98,1,855.00,'NOTA DE CREDITO A 0001 - 000757',NULL,NULL,NULL,NULL,NULL),(172886,NULL,0,NULL,172886,3,40817,40960,57,6064,2,1,'2024-01-11','2024-01-11',437227.97,1,855.00,'PAGO  0004 - 003522',NULL,NULL,NULL,NULL,NULL),(172887,NULL,0,NULL,NULL,21,40817,40960,57,6064,1,1,'2024-01-22','2024-01-22',203049.57,1,855.00,'FACTURA A 0001 - 012186',NULL,NULL,NULL,NULL,NULL),(172888,NULL,0,NULL,172888,3,40817,40960,57,6065,2,1,'2024-02-16','2024-02-16',451826.66,1,855.00,'PAGO  0004 - 003713',NULL,NULL,NULL,NULL,NULL),(172889,NULL,0,NULL,NULL,21,40817,40960,57,6066,1,1,'2024-03-03','2024-03-03',422950.01,1,855.00,'FACTURA A 0001 - 012712',NULL,NULL,NULL,NULL,NULL),(172890,NULL,0,NULL,NULL,21,40817,40960,57,6066,1,1,'2024-03-03','2024-03-03',60838.93,1,855.00,'FACTURA A 0001 - 012716',NULL,NULL,NULL,NULL,NULL),(172891,NULL,0,NULL,NULL,21,40817,40960,57,6066,1,1,'2024-03-11','2024-03-11',36576.81,1,855.00,'FACTURA A 0001 - 012787',NULL,NULL,NULL,NULL,NULL),(172892,NULL,0,NULL,NULL,21,40817,40960,57,6066,1,1,'2024-03-11','2024-03-11',11900.00,1,855.00,'FACTURA A 0001 - 012811',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172893,NULL,0,NULL,NULL,21,40817,40960,57,6066,1,1,'2024-03-19','2024-03-19',2899.98,1,855.00,'FACTURA A 0001 - 012917',NULL,NULL,NULL,NULL,NULL),(172894,NULL,0,NULL,NULL,21,40817,40960,57,6067,1,1,'2024-04-03','2024-04-03',86633.19,1,855.00,'FACTURA A 0001 - 013039',NULL,NULL,NULL,NULL,NULL),(172895,NULL,0,NULL,172895,3,40817,40960,57,6067,2,1,'2024-04-07','2024-04-07',621144.42,1,855.00,'PAGO  0004 - 003975',NULL,NULL,NULL,NULL,NULL),(172896,NULL,0,NULL,NULL,21,40817,40960,57,6067,1,1,'2024-04-08','2024-04-08',311786.67,1,855.00,'FACTURA A 0001 - 013130',NULL,NULL,NULL,NULL,NULL),(172897,NULL,0,NULL,NULL,21,40817,40960,57,6067,1,1,'2024-04-08','2024-04-08',51919.98,1,855.00,'FACTURA A 0001 - 013140',NULL,NULL,NULL,NULL,NULL),(172898,NULL,0,NULL,NULL,21,40817,40960,57,6067,1,1,'2024-04-12','2024-04-12',307556.98,1,855.00,'FACTURA A 0001 - 013214',NULL,NULL,NULL,NULL,NULL),(172899,NULL,0,NULL,NULL,21,40817,40960,57,6067,1,1,'2024-04-15','2024-04-15',55599.98,1,855.00,'FACTURA A 0001 - 013248',NULL,NULL,NULL,NULL,NULL),(172900,NULL,0,NULL,NULL,21,40817,40960,57,6067,1,1,'2024-04-24','2024-04-24',74929.97,1,855.00,'FACTURA A 0001 - 013381',NULL,NULL,NULL,NULL,NULL),(172901,NULL,0,NULL,NULL,21,40817,40960,57,6068,1,1,'2024-05-02','2024-05-02',225999.99,1,855.00,'FACTURA A 0001 - 013517',NULL,NULL,NULL,NULL,NULL),(172902,NULL,0,NULL,172902,3,40817,40881,57,7590,2,1,'2021-12-31','2021-12-31',1132.03,1,855.00,'PAGO  0001 - 000054',NULL,NULL,NULL,NULL,NULL),(172903,NULL,0,NULL,NULL,21,40817,40881,57,7596,1,1,'2022-03-08','2022-03-08',42219.00,1,855.00,'FACTURA C 0003 - 000128',NULL,NULL,NULL,NULL,NULL),(172904,NULL,0,NULL,172904,3,40817,40881,57,7596,2,1,'2022-03-29','2022-03-29',41086.97,1,855.00,'PAGO  0004 - 000344',NULL,NULL,NULL,NULL,NULL),(172905,NULL,0,NULL,NULL,21,40817,40881,57,7599,1,1,'2022-06-04','2022-06-04',67348.00,1,855.00,'FACTURA C 0003 - 000139',NULL,NULL,NULL,NULL,NULL),(172906,NULL,0,NULL,172906,3,40817,40881,57,7599,2,1,'2022-06-22','2022-06-22',67348.00,1,855.00,'PAGO  0004 - 000741',NULL,NULL,NULL,NULL,NULL),(172907,NULL,0,NULL,NULL,21,40817,40881,57,7602,1,1,'2022-09-08','2022-09-08',54948.00,1,855.00,'FACTURA C 0003 - 000148',NULL,NULL,NULL,NULL,NULL),(172908,NULL,0,NULL,172908,3,40817,40881,57,7602,2,1,'2022-09-27','2022-09-27',54948.00,1,855.00,'PAGO  0004 - 001211',NULL,NULL,NULL,NULL,NULL),(172909,NULL,0,NULL,NULL,21,40817,40881,57,7602,1,1,'2022-09-27','2022-09-27',54948.00,1,855.00,'ANULACION DE PAGOS  0001 - 000063',NULL,NULL,NULL,NULL,NULL),(172910,NULL,0,NULL,172910,3,40817,40881,57,7602,2,1,'2022-09-27','2022-09-27',54948.00,1,855.00,'PAGO  0001 - 001120',NULL,NULL,NULL,NULL,NULL),(172911,NULL,0,NULL,NULL,21,40817,40881,57,7613,1,1,'2023-05-04','2023-05-04',137325.00,1,855.00,'FACTURA C 0003 - 000165',NULL,NULL,NULL,NULL,NULL),(172912,NULL,0,NULL,172912,3,40817,40881,57,7613,2,1,'2023-05-16','2023-05-16',137326.37,1,855.00,'PAGO  0004 - 002262',NULL,NULL,NULL,NULL,NULL),(172913,NULL,0,NULL,NULL,21,40817,40881,57,7620,1,1,'2023-12-19','2023-12-19',1.37,1,855.00,'AJUSTE POSITIVO  0001 - 000005',NULL,NULL,NULL,NULL,NULL),(172914,NULL,0,NULL,NULL,21,40817,40881,57,6065,1,1,'2024-02-21','2024-02-21',622970.00,1,855.00,'FACTURA C 0003 - 000199',NULL,NULL,NULL,NULL,NULL),(172915,NULL,0,NULL,172915,3,40817,40881,57,6066,2,1,'2024-03-14','2024-03-14',622970.00,1,855.00,'PAGO  0004 - 003879',NULL,NULL,NULL,NULL,NULL),(172916,NULL,0,NULL,NULL,21,40817,41750,57,7590,1,1,'2021-12-31','2021-12-31',72054.50,1,855.00,'FACTURA A 0003 - 001406',NULL,NULL,NULL,NULL,NULL),(172917,NULL,0,NULL,172917,3,40817,41750,57,7590,2,1,'2021-12-31','2021-12-31',177.06,1,855.00,'PAGO  0001 - 000055',NULL,NULL,NULL,NULL,NULL),(172918,NULL,0,NULL,NULL,21,40817,41750,57,7594,1,1,'2022-01-31','2022-01-31',72054.50,1,855.00,'FACTURA A 0003 - 001634',NULL,NULL,NULL,NULL,NULL),(172919,NULL,0,NULL,172919,3,40817,41750,57,7595,2,1,'2022-02-07','2022-02-07',143931.94,1,855.00,'PAGO  0004 - 000120',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172920,NULL,0,NULL,NULL,21,40817,41750,57,7596,1,1,'2022-03-04','2022-03-04',86586.50,1,855.00,'FACTURA A 0003 - 001793',NULL,NULL,NULL,NULL,NULL),(172921,NULL,0,NULL,172921,3,40817,41750,57,7596,2,1,'2022-03-22','2022-03-22',86586.50,1,855.00,'PAGO  0004 - 000308',NULL,NULL,NULL,NULL,NULL),(172922,NULL,0,NULL,NULL,21,40817,41750,57,7596,1,1,'2022-03-25','2022-03-25',86586.50,1,855.00,'FACTURA A 0003 - 001920',NULL,NULL,NULL,NULL,NULL),(172923,NULL,0,NULL,172923,3,40817,41750,57,7597,2,1,'2022-04-18','2022-04-18',86586.50,1,855.00,'PAGO  0004 - 000442',NULL,NULL,NULL,NULL,NULL),(172924,NULL,0,NULL,NULL,21,40817,41750,57,7604,1,1,'2022-11-04','2022-11-04',393012.00,1,855.00,'FACTURA A 0003 - 003167',NULL,NULL,NULL,NULL,NULL),(172925,NULL,0,NULL,172925,3,40817,41750,57,7605,2,1,'2022-12-07','2022-12-07',393012.00,1,855.00,'PAGO  0004 - 001543',NULL,NULL,NULL,NULL,NULL),(172926,NULL,0,NULL,NULL,21,40817,41750,57,7609,1,1,'2023-01-11','2023-01-11',393012.00,1,855.00,'FACTURA A 0003 - 003474',NULL,NULL,NULL,NULL,NULL),(172927,NULL,0,NULL,172927,3,40817,41750,57,7609,2,1,'2023-01-14','2023-01-14',393012.00,1,855.00,'PAGO  0004 - 001715',NULL,NULL,NULL,NULL,NULL),(172928,NULL,0,NULL,172928,3,40817,40861,57,7590,2,1,'2021-12-31','2021-12-31',518.13,1,855.00,'PAGO  0001 - 000056',NULL,NULL,NULL,NULL,NULL),(172929,NULL,0,NULL,NULL,21,40817,40861,57,7594,1,1,'2022-01-03','2022-01-03',1028500.00,1,855.00,'FACTURA A 0002 - 000097',NULL,NULL,NULL,NULL,NULL),(172930,NULL,0,NULL,172930,3,40817,40861,57,7594,2,1,'2022-01-07','2022-01-07',1028500.00,1,855.00,'PAGO  0001 - 000009',NULL,NULL,NULL,NULL,NULL),(172931,NULL,0,NULL,172931,3,40817,40861,57,7594,2,1,'2022-01-18','2022-01-18',50000.00,1,855.00,'PAGO  0001 - 000125',NULL,NULL,NULL,NULL,NULL),(172932,NULL,0,NULL,NULL,21,40817,40861,57,7595,1,1,'2022-02-01','2022-02-01',1028500.00,1,855.00,'FACTURA A 0002 - 000098',NULL,NULL,NULL,NULL,NULL),(172933,NULL,0,NULL,NULL,21,40817,40861,57,7595,1,1,'2022-02-01','2022-02-01',50000.00,1,855.00,'FACTURA A 0002 - 000099',NULL,NULL,NULL,NULL,NULL),(172934,NULL,0,NULL,172934,3,40817,40861,57,7595,2,1,'2022-02-03','2022-02-03',70481.87,1,855.00,'PAGO  0004 - 000113',NULL,NULL,NULL,NULL,NULL),(172935,NULL,0,NULL,172935,3,40817,40861,57,7595,2,1,'2022-02-04','2022-02-04',960487.04,1,855.00,'PAGO  0004 - 000116',NULL,NULL,NULL,NULL,NULL),(172936,NULL,0,NULL,172936,3,40817,40861,57,7596,2,1,'2022-03-03','2022-03-03',120000.00,1,855.00,'PAGO  0004 - 000214',NULL,NULL,NULL,NULL,NULL),(172937,NULL,0,NULL,NULL,21,40817,40861,57,7596,1,1,'2022-03-03','2022-03-03',1182775.00,1,855.00,'FACTURA A 0002 - 000100',NULL,NULL,NULL,NULL,NULL),(172938,NULL,0,NULL,172938,3,40817,40861,57,7596,2,1,'2022-03-07','2022-03-07',803069.05,1,855.00,'PAGO  0004 - 000231',NULL,NULL,NULL,NULL,NULL),(172939,NULL,0,NULL,172939,3,40817,40861,57,7596,2,1,'2022-03-07','2022-03-07',256718.91,1,855.00,'PAGO  0004 - 000232',NULL,NULL,NULL,NULL,NULL),(172940,NULL,0,NULL,NULL,21,40817,40861,57,7597,1,1,'2022-04-01','2022-04-01',1182775.00,1,855.00,'FACTURA A 0002 - 000101',NULL,NULL,NULL,NULL,NULL),(172941,NULL,0,NULL,172941,3,40817,40861,57,7597,2,1,'2022-04-05','2022-04-05',1182775.00,1,855.00,'PAGO  0004 - 000386',NULL,NULL,NULL,NULL,NULL),(172942,NULL,0,NULL,NULL,21,40817,40861,57,7598,1,1,'2022-05-04','2022-05-04',1182775.00,1,855.00,'FACTURA A 0002 - 000102',NULL,NULL,NULL,NULL,NULL),(172943,NULL,0,NULL,172943,3,40817,40861,57,7598,2,1,'2022-05-11','2022-05-11',635000.00,1,855.00,'PAGO  0004 - 000548',NULL,NULL,NULL,NULL,NULL),(172944,NULL,0,NULL,172944,3,40817,40861,57,7598,2,1,'2022-05-11','2022-05-11',547775.00,1,855.00,'PAGO  0004 - 000549',NULL,NULL,NULL,NULL,NULL),(172945,NULL,0,NULL,NULL,21,40817,40861,57,7599,1,1,'2022-06-02','2022-06-02',1182775.00,1,855.00,'FACTURA A 0002 - 000103',NULL,NULL,NULL,NULL,NULL),(172946,NULL,0,NULL,172946,3,40817,40861,57,7599,2,1,'2022-06-08','2022-06-08',303264.58,1,855.00,'PAGO  0004 - 000695',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172947,NULL,0,NULL,172947,3,40817,40861,57,7599,2,1,'2022-06-10','2022-06-10',546735.42,1,855.00,'PAGO  0004 - 000708',NULL,NULL,NULL,NULL,NULL),(172948,NULL,0,NULL,172948,3,40817,40861,57,7599,2,1,'2022-06-13','2022-06-13',333276.20,1,855.00,'PAGO  0004 - 000709',NULL,NULL,NULL,NULL,NULL),(172949,NULL,0,NULL,NULL,21,40817,40861,57,7600,1,1,'2022-07-01','2022-07-01',1182775.00,1,855.00,'FACTURA A 0002 - 000104',NULL,NULL,NULL,NULL,NULL),(172950,NULL,0,NULL,172950,3,40817,40861,57,7600,2,1,'2022-07-05','2022-07-05',606870.66,1,855.00,'PAGO  0004 - 000782',NULL,NULL,NULL,NULL,NULL),(172951,NULL,0,NULL,172951,3,40817,40861,57,7600,2,1,'2022-07-14','2022-07-14',575403.14,1,855.00,'PAGO  0004 - 000841',NULL,NULL,NULL,NULL,NULL),(172952,NULL,0,NULL,172952,3,40817,40861,57,7601,2,1,'2022-08-03','2022-08-03',630000.00,1,855.00,'PAGO  0004 - 000918',NULL,NULL,NULL,NULL,NULL),(172953,NULL,0,NULL,NULL,21,40817,40861,57,7601,1,1,'2022-08-03','2022-08-03',1182775.00,1,855.00,'FACTURA A 0002 - 000105',NULL,NULL,NULL,NULL,NULL),(172954,NULL,0,NULL,172954,3,40817,40861,57,7601,2,1,'2022-08-09','2022-08-09',552775.00,1,855.00,'PAGO  0004 - 000963',NULL,NULL,NULL,NULL,NULL),(172955,NULL,0,NULL,NULL,21,40817,40861,57,7602,1,1,'2022-09-01','2022-09-01',1360191.25,1,855.00,'FACTURA A 0002 - 000106',NULL,NULL,NULL,NULL,NULL),(172956,NULL,0,NULL,172956,3,40817,40861,57,7602,2,1,'2022-09-06','2022-09-06',1360191.25,1,855.00,'PAGO  0004 - 001104',NULL,NULL,NULL,NULL,NULL),(172957,NULL,0,NULL,NULL,21,40817,40861,57,7603,1,1,'2022-10-03','2022-10-03',1360191.25,1,855.00,'FACTURA A 0002 - 000107',NULL,NULL,NULL,NULL,NULL),(172958,NULL,0,NULL,172958,3,40817,40861,57,7603,2,1,'2022-10-13','2022-10-13',1360191.25,1,855.00,'PAGO  0004 - 001275',NULL,NULL,NULL,NULL,NULL),(172959,NULL,0,NULL,NULL,21,40817,40861,57,7604,1,1,'2022-11-02','2022-11-02',1360191.25,1,855.00,'FACTURA A 0002 - 000108',NULL,NULL,NULL,NULL,NULL),(172960,NULL,0,NULL,172960,3,40817,40861,57,7604,2,1,'2022-11-07','2022-11-07',1360191.25,1,855.00,'PAGO  0004 - 001389',NULL,NULL,NULL,NULL,NULL),(172961,NULL,0,NULL,NULL,21,40817,40861,57,7605,1,1,'2022-12-02','2022-12-02',1360191.25,1,855.00,'FACTURA A 0002 - 000109',NULL,NULL,NULL,NULL,NULL),(172962,NULL,0,NULL,172962,3,40817,40861,57,7605,2,1,'2022-12-20','2022-12-20',1360191.25,1,855.00,'PAGO  0004 - 001578',NULL,NULL,NULL,NULL,NULL),(172963,NULL,0,NULL,172963,3,40817,40861,57,7605,2,1,'2022-12-29','2022-12-29',90000.00,1,855.00,'PAGO  0004 - 001609',NULL,NULL,NULL,NULL,NULL),(172964,NULL,0,NULL,NULL,21,40817,40861,57,7605,1,1,'2022-12-29','2022-12-29',90000.00,1,855.00,'NOTA DE DEBITO A 0002 - 000001',NULL,NULL,NULL,NULL,NULL),(172965,NULL,0,NULL,NULL,21,40817,40861,57,7609,1,1,'2023-01-03','2023-01-03',1360191.25,1,855.00,'FACTURA A 0002 - 000110',NULL,NULL,NULL,NULL,NULL),(172966,NULL,0,NULL,172966,3,40817,40861,57,7609,2,1,'2023-01-09','2023-01-09',234692.08,1,855.00,'PAGO  0001 - 001617',NULL,NULL,NULL,NULL,NULL),(172967,NULL,0,NULL,172967,3,40817,40861,57,7609,2,1,'2023-01-25','2023-01-25',1125499.17,1,855.00,'PAGO  0004 - 001759',NULL,NULL,NULL,NULL,NULL),(172968,NULL,0,NULL,NULL,21,40817,40861,57,7610,1,1,'2023-02-04','2023-02-04',1360191.25,1,855.00,'FACTURA A 0002 - 000111',NULL,NULL,NULL,NULL,NULL),(172969,NULL,0,NULL,172969,3,40817,40861,57,7610,2,1,'2023-02-23','2023-02-23',1360191.25,1,855.00,'PAGO  0004 - 001864',NULL,NULL,NULL,NULL,NULL),(172970,NULL,0,NULL,NULL,21,40817,40861,57,7611,1,1,'2023-03-01','2023-03-01',1564219.94,1,855.00,'FACTURA A 0002 - 000112',NULL,NULL,NULL,NULL,NULL),(172971,NULL,0,NULL,172971,3,40817,40861,57,7611,2,1,'2023-03-15','2023-03-15',1564219.94,1,855.00,'PAGO  0004 - 001957',NULL,NULL,NULL,NULL,NULL),(172972,NULL,0,NULL,NULL,21,40817,40861,57,7612,1,1,'2023-04-03','2023-04-03',1564219.94,1,855.00,'FACTURA A 0002 - 000113',NULL,NULL,NULL,NULL,NULL),(172973,NULL,0,NULL,172973,3,40817,40861,57,7612,2,1,'2023-04-12','2023-04-12',191200.01,1,855.00,'PAGO  0001 - 002058',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (172974,NULL,0,NULL,NULL,21,40817,40861,57,7612,1,1,'2023-04-17','2023-04-17',191200.01,1,855.00,'NOTA DE DEBITO A 0002 - 000002',NULL,NULL,NULL,NULL,NULL),(172975,NULL,0,NULL,172975,3,40817,40861,57,7612,2,1,'2023-04-21','2023-04-21',1569832.71,1,855.00,'PAGO  0004 - 002143',NULL,NULL,NULL,NULL,NULL),(172976,NULL,0,NULL,NULL,21,40817,40861,57,7613,1,1,'2023-05-02','2023-05-02',1564219.94,1,855.00,'FACTURA A 0002 - 000114',NULL,NULL,NULL,NULL,NULL),(172977,NULL,0,NULL,172977,3,40817,40861,57,7613,2,1,'2023-05-17','2023-05-17',1558607.17,1,855.00,'PAGO  0004 - 002277',NULL,NULL,NULL,NULL,NULL),(172978,NULL,0,NULL,NULL,21,40817,40861,57,7614,1,1,'2023-06-01','2023-06-01',1564219.94,1,855.00,'FACTURA A 0002 - 000115',NULL,NULL,NULL,NULL,NULL),(172979,NULL,0,NULL,172979,3,40817,40861,57,7614,2,1,'2023-06-05','2023-06-05',1564219.94,1,855.00,'PAGO  0004 - 002345',NULL,NULL,NULL,NULL,NULL),(172980,NULL,0,NULL,NULL,21,40817,40861,57,7615,1,1,'2023-07-03','2023-07-03',2492600.00,1,855.00,'FACTURA A 0002 - 000116',NULL,NULL,NULL,NULL,NULL),(172981,NULL,0,NULL,172981,3,40817,40861,57,7615,2,1,'2023-07-07','2023-07-07',2501591.90,1,855.00,'PAGO  0004 - 002518',NULL,NULL,NULL,NULL,NULL),(172982,NULL,0,NULL,172982,3,40817,40861,57,7616,2,1,'2023-08-01','2023-08-01',540000.00,1,855.00,'PAGO  0004 - 002638',NULL,NULL,NULL,NULL,NULL),(172983,NULL,0,NULL,NULL,21,40817,40861,57,7616,1,1,'2023-08-01','2023-08-01',2492600.00,1,855.00,'FACTURA A 0002 - 000117',NULL,NULL,NULL,NULL,NULL),(172984,NULL,0,NULL,172984,3,40817,40861,57,7616,2,1,'2023-08-03','2023-08-03',805072.96,1,855.00,'PAGO  0004 - 002653',NULL,NULL,NULL,NULL,NULL),(172985,NULL,0,NULL,172985,3,40817,40861,57,7616,2,1,'2023-08-08','2023-08-08',1138535.14,1,855.00,'PAGO  0004 - 002695',NULL,NULL,NULL,NULL,NULL),(172986,NULL,0,NULL,NULL,21,40817,40861,57,7617,1,1,'2023-09-02','2023-09-02',2879800.00,1,855.00,'FACTURA A 0002 - 000118',NULL,NULL,NULL,NULL,NULL),(172987,NULL,0,NULL,172987,3,40817,40861,57,7617,2,1,'2023-09-05','2023-09-05',2879800.00,1,855.00,'PAGO  0004 - 002805',NULL,NULL,NULL,NULL,NULL),(172988,NULL,0,NULL,172988,3,40817,40861,57,7618,2,1,'2023-10-02','2023-10-02',2879800.00,1,855.00,'PAGO  0004 - 002978',NULL,NULL,NULL,NULL,NULL),(172989,NULL,0,NULL,NULL,21,40817,40861,57,7618,1,1,'2023-10-02','2023-10-02',2879800.00,1,855.00,'FACTURA A 0002 - 000119',NULL,NULL,NULL,NULL,NULL),(172990,NULL,0,NULL,NULL,21,40817,40861,57,7619,1,1,'2023-11-01','2023-11-01',2879800.00,1,855.00,'FACTURA A 0002 - 000120',NULL,NULL,NULL,NULL,NULL),(172991,NULL,0,NULL,172991,3,40817,40861,57,7619,2,1,'2023-11-09','2023-11-09',2893685.44,1,855.00,'PAGO  0004 - 003187',NULL,NULL,NULL,NULL,NULL),(172992,NULL,0,NULL,172992,3,40817,40861,57,7619,2,1,'2023-11-09','2023-11-09',2891047.66,1,855.00,'PAGO  0004 - 003188',NULL,NULL,NULL,NULL,NULL),(172993,NULL,0,NULL,NULL,21,40817,40861,57,7619,1,1,'2023-11-09','2023-11-09',2893685.44,1,855.00,'ANULACION DE PAGOS  0001 - 000167',NULL,NULL,NULL,NULL,NULL),(172994,NULL,0,NULL,NULL,21,40817,40861,57,7620,1,1,'2023-12-01','2023-12-01',2879800.00,1,855.00,'FACTURA A 0002 - 000121',NULL,NULL,NULL,NULL,NULL),(172995,NULL,0,NULL,172995,3,40817,40861,57,7620,2,1,'2023-12-04','2023-12-04',3141255.49,1,855.00,'PAGO  0004 - 003306',NULL,NULL,NULL,NULL,NULL),(172996,NULL,0,NULL,172996,3,40817,40861,57,6064,2,1,'2024-01-02','2024-01-02',2607096.85,1,855.00,'PAGO  0004 - 003469',NULL,NULL,NULL,NULL,NULL),(172997,NULL,0,NULL,NULL,21,40817,40861,57,6064,1,1,'2024-01-02','2024-01-02',2879800.00,1,855.00,'FACTURA A 0002 - 000122',NULL,NULL,NULL,NULL,NULL),(172998,NULL,0,NULL,NULL,21,40817,40861,57,6065,1,1,'2024-02-01','2024-02-01',2879800.00,1,855.00,'FACTURA A 0002 - 000123',NULL,NULL,NULL,NULL,NULL),(172999,NULL,0,NULL,172999,3,40817,40861,57,6065,2,1,'2024-02-05','2024-02-05',2888880.65,1,855.00,'PAGO  0004 - 003650',NULL,NULL,NULL,NULL,NULL),(173000,NULL,0,NULL,NULL,21,40817,40861,57,6066,1,1,'2024-03-04','2024-03-04',2879800.00,1,855.00,'FACTURA A 0002 - 000124',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173001,NULL,0,NULL,NULL,21,40817,40861,57,6066,1,1,'2024-03-04','2024-03-04',429550.00,1,855.00,'FACTURA A 0002 - 000125',NULL,NULL,NULL,NULL,NULL),(173002,NULL,0,NULL,NULL,21,40817,40861,57,6067,1,1,'2024-04-01','2024-04-01',3309350.00,1,855.00,'FACTURA A 0002 - 000126',NULL,NULL,NULL,NULL,NULL),(173003,NULL,0,NULL,173003,3,40817,40861,57,6067,2,1,'2024-04-05','2024-04-05',6631627.93,1,855.00,'PAGO  0004 - 003958',NULL,NULL,NULL,NULL,NULL),(173004,NULL,0,NULL,NULL,21,40817,40861,57,6068,1,1,'2024-05-02','2024-05-02',3309350.00,1,855.00,'FACTURA A 0002 - 000127',NULL,NULL,NULL,NULL,NULL),(173005,NULL,0,NULL,173005,3,40817,40861,57,6068,2,1,'2024-05-17','2024-05-17',3314115.00,1,855.00,'PAGO  0004 - 004224',NULL,NULL,NULL,NULL,NULL),(173006,NULL,0,NULL,NULL,21,40817,41031,57,7594,1,1,'2022-01-26','2022-01-26',36300.00,1,855.00,'FACTURA A 0003 - 003732',NULL,NULL,NULL,NULL,NULL),(173007,NULL,0,NULL,173007,3,40817,41031,57,7596,2,1,'2022-03-22','2022-03-22',36300.00,1,855.00,'PAGO  0004 - 000310',NULL,NULL,NULL,NULL,NULL),(173008,NULL,0,NULL,NULL,21,40817,41031,57,7600,1,1,'2022-07-15','2022-07-15',54450.00,1,855.00,'FACTURA A 0003 - 004034',NULL,NULL,NULL,NULL,NULL),(173009,NULL,0,NULL,173009,3,40817,41031,57,7601,2,1,'2022-08-03','2022-08-03',54450.00,1,855.00,'PAGO  0004 - 000928',NULL,NULL,NULL,NULL,NULL),(173010,NULL,0,NULL,NULL,21,40817,41031,57,7603,1,1,'2022-10-19','2022-10-19',56144.00,1,855.00,'FACTURA A 0003 - 004184',NULL,NULL,NULL,NULL,NULL),(173011,NULL,0,NULL,NULL,21,40817,41031,57,7603,1,1,'2022-10-19','2022-10-19',42350.00,1,855.00,'FACTURA A 0003 - 004202',NULL,NULL,NULL,NULL,NULL),(173012,NULL,0,NULL,NULL,21,40817,41031,57,7604,1,1,'2022-11-01','2022-11-01',42350.00,1,855.00,'FACTURA A 0003 - 004232',NULL,NULL,NULL,NULL,NULL),(173013,NULL,0,NULL,173013,3,40817,41031,57,7604,2,1,'2022-11-23','2022-11-23',140844.00,1,855.00,'PAGO  0004 - 001450',NULL,NULL,NULL,NULL,NULL),(173014,NULL,0,NULL,NULL,21,40817,41031,57,7609,1,1,'2023-01-09','2023-01-09',121968.00,1,855.00,'FACTURA A 0003 - 004349',NULL,NULL,NULL,NULL,NULL),(173015,NULL,0,NULL,173015,3,40817,41031,57,7609,2,1,'2023-01-14','2023-01-14',121968.00,1,855.00,'PAGO  0004 - 001716',NULL,NULL,NULL,NULL,NULL),(173016,NULL,0,NULL,NULL,21,40817,41031,57,7610,1,1,'2023-02-09','2023-02-09',72600.00,1,855.00,'FACTURA A 0003 - 004417',NULL,NULL,NULL,NULL,NULL),(173017,NULL,0,NULL,173017,3,40817,41031,57,7612,2,1,'2023-04-10','2023-04-10',72600.00,1,855.00,'PAGO  0004 - 002077',NULL,NULL,NULL,NULL,NULL),(173018,NULL,0,NULL,NULL,21,40817,41031,57,7616,1,1,'2023-08-09','2023-08-09',125840.00,1,855.00,'FACTURA A 0003 - 004821',NULL,NULL,NULL,NULL,NULL),(173019,NULL,0,NULL,173019,3,40817,41031,57,7617,2,1,'2023-09-13','2023-09-13',127319.51,1,855.00,'PAGO  0004 - 002868',NULL,NULL,NULL,NULL,NULL),(173020,NULL,0,NULL,NULL,21,40817,41031,57,7617,1,1,'2023-09-22','2023-09-22',96800.00,1,855.00,'FACTURA A 0003 - 004902',NULL,NULL,NULL,NULL,NULL),(173021,NULL,0,NULL,NULL,21,40817,41031,57,7617,1,1,'2023-09-27','2023-09-27',88200.00,1,855.00,'FACTURA A 0003 - 004906',NULL,NULL,NULL,NULL,NULL),(173022,NULL,0,NULL,NULL,21,40817,41031,57,7617,1,1,'2023-09-27','2023-09-27',60500.00,1,855.00,'FACTURA A 0003 - 004938',NULL,NULL,NULL,NULL,NULL),(173023,NULL,0,NULL,NULL,21,40817,41031,57,7617,1,1,'2023-09-27','2023-09-27',96800.00,1,855.00,'FACTURA A 0003 - 004939',NULL,NULL,NULL,NULL,NULL),(173024,NULL,0,NULL,NULL,21,40817,41031,57,7617,1,1,'2023-09-27','2023-09-27',96800.00,1,855.00,'FACTURA A 0003 - 004940',NULL,NULL,NULL,NULL,NULL),(173025,NULL,0,NULL,NULL,21,40817,41031,57,7618,1,1,'2023-10-09','2023-10-09',121000.00,1,855.00,'FACTURA A 0003 - 004960',NULL,NULL,NULL,NULL,NULL),(173026,NULL,0,NULL,NULL,21,40817,41031,57,7618,1,1,'2023-10-19','2023-10-19',108800.00,1,855.00,'FACTURA A 0003 - 004976',NULL,NULL,NULL,NULL,NULL),(173027,NULL,0,NULL,NULL,21,40817,41031,57,7619,1,1,'2023-11-02','2023-11-02',246000.00,1,855.00,'FACTURA A 0003 - 005003',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173028,NULL,0,NULL,NULL,21,40817,41031,57,7619,1,1,'2023-11-09','2023-11-09',318100.00,1,855.00,'FACTURA A 0003 - 005012',NULL,NULL,NULL,NULL,NULL),(173029,NULL,0,NULL,173029,3,40817,41031,57,7619,2,1,'2023-11-13','2023-11-13',721300.00,1,855.00,'PAGO  0004 - 003208',NULL,NULL,NULL,NULL,NULL),(173030,NULL,0,NULL,NULL,21,40817,41031,57,7620,1,1,'2023-12-13','2023-12-13',984500.00,1,855.00,'FACTURA A 0003 - 005055',NULL,NULL,NULL,NULL,NULL),(173031,NULL,0,NULL,173031,3,40817,41031,57,7620,2,1,'2023-12-16','2023-12-16',510220.49,1,855.00,'PAGO  0004 - 003391',NULL,NULL,NULL,NULL,NULL),(173032,NULL,0,NULL,NULL,21,40817,41031,57,6064,1,1,'2024-01-11','2024-01-11',246500.00,1,855.00,'FACTURA A 0003 - 005079',NULL,NULL,NULL,NULL,NULL),(173033,NULL,0,NULL,NULL,21,40817,41031,57,6064,1,1,'2024-01-25','2024-01-25',861500.00,1,855.00,'FACTURA A 0003 - 005103',NULL,NULL,NULL,NULL,NULL),(173034,NULL,0,NULL,173034,3,40817,41031,57,6065,2,1,'2024-02-10','2024-02-10',1237971.31,1,855.00,'PAGO  0004 - 003680',NULL,NULL,NULL,NULL,NULL),(173035,NULL,0,NULL,173035,3,40817,41031,57,6065,2,1,'2024-02-26','2024-02-26',854528.69,1,855.00,'PAGO  0004 - 003754',NULL,NULL,NULL,NULL,NULL),(173036,NULL,0,NULL,NULL,21,40817,46979,57,7590,1,1,'2021-12-31','2021-12-31',26500.00,1,855.00,'FACTURA A 0003 - 002192',NULL,NULL,NULL,NULL,NULL),(173037,NULL,0,NULL,NULL,21,40817,46979,57,7590,1,1,'2021-12-31','2021-12-31',43000.00,1,855.00,'FACTURA A 0004 - 001584',NULL,NULL,NULL,NULL,NULL),(173038,NULL,0,NULL,173038,3,40817,46979,57,7590,2,1,'2021-12-31','2021-12-31',204.92,1,855.00,'PAGO  0001 - 000043',NULL,NULL,NULL,NULL,NULL),(173039,NULL,0,NULL,173039,3,40817,46979,57,7594,2,1,'2022-01-18','2022-01-18',69295.08,1,855.00,'PAGO  0004 - 000030',NULL,NULL,NULL,NULL,NULL),(173040,NULL,0,NULL,NULL,21,40817,40882,57,7594,1,1,'2022-01-12','2022-01-12',150000.00,1,855.00,'FACTURA C 0002 - 000139',NULL,NULL,NULL,NULL,NULL),(173041,NULL,0,NULL,173041,3,40817,40882,57,7594,2,1,'2022-01-12','2022-01-12',150000.00,1,855.00,'PAGO  0001 - 000035',NULL,NULL,NULL,NULL,NULL),(173042,NULL,0,NULL,NULL,21,40817,40882,57,7595,1,1,'2022-02-01','2022-02-01',150000.00,1,855.00,'FACTURA C 0002 - 000140',NULL,NULL,NULL,NULL,NULL),(173043,NULL,0,NULL,173043,3,40817,40882,57,7595,2,1,'2022-02-02','2022-02-02',150000.00,1,855.00,'PAGO  0004 - 000108',NULL,NULL,NULL,NULL,NULL),(173044,NULL,0,NULL,173044,3,40817,40882,57,7596,2,1,'2022-03-07','2022-03-07',150000.00,1,855.00,'PAGO CONTADO  0001 - 000233',NULL,NULL,NULL,NULL,NULL),(173045,NULL,0,NULL,NULL,21,40817,40882,57,7596,1,1,'2022-03-07','2022-03-07',150000.00,1,855.00,'FACTURA C 0002 - 000141',NULL,NULL,NULL,NULL,NULL),(173046,NULL,0,NULL,NULL,21,40817,40882,57,7597,1,1,'2022-04-02','2022-04-02',150000.00,1,855.00,'FACTURA C 0002 - 000142',NULL,NULL,NULL,NULL,NULL),(173047,NULL,0,NULL,173047,3,40817,40882,57,7597,2,1,'2022-04-08','2022-04-08',150000.00,1,855.00,'PAGO  0004 - 000408',NULL,NULL,NULL,NULL,NULL),(173048,NULL,0,NULL,NULL,21,40817,40882,57,7598,1,1,'2022-05-06','2022-05-06',150000.00,1,855.00,'FACTURA C 0002 - 000143',NULL,NULL,NULL,NULL,NULL),(173049,NULL,0,NULL,173049,3,40817,40882,57,7598,2,1,'2022-05-11','2022-05-11',150000.00,1,855.00,'PAGO  0004 - 000552',NULL,NULL,NULL,NULL,NULL),(173050,NULL,0,NULL,173050,3,40817,40882,57,7599,2,1,'2022-06-04','2022-06-04',150000.00,1,855.00,'PAGO CONTADO  0001 - 000592',NULL,NULL,NULL,NULL,NULL),(173051,NULL,0,NULL,NULL,21,40817,40882,57,7599,1,1,'2022-06-04','2022-06-04',150000.00,1,855.00,'FACTURA C 0002 - 000144',NULL,NULL,NULL,NULL,NULL),(173052,NULL,0,NULL,NULL,21,40817,40882,57,7600,1,1,'2022-07-18','2022-07-18',150000.00,1,855.00,'FACTURA C 0002 - 000145',NULL,NULL,NULL,NULL,NULL),(173053,NULL,0,NULL,173053,3,40817,40882,57,7600,2,1,'2022-07-18','2022-07-18',150000.00,1,855.00,'PAGO CONTADO  0001 - 000791',NULL,NULL,NULL,NULL,NULL),(173054,NULL,0,NULL,NULL,21,40817,40882,57,7601,1,1,'2022-08-07','2022-08-07',150000.00,1,855.00,'FACTURA C 0002 - 000146',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173055,NULL,0,NULL,173055,3,40817,40882,57,7601,2,1,'2022-08-08','2022-08-08',150000.00,1,855.00,'PAGO  0004 - 000958',NULL,NULL,NULL,NULL,NULL),(173056,NULL,0,NULL,173056,3,40817,40882,57,7602,2,1,'2022-09-08','2022-09-08',150000.00,1,855.00,'PAGO CONTADO  0001 - 001026',NULL,NULL,NULL,NULL,NULL),(173057,NULL,0,NULL,NULL,21,40817,40882,57,7602,1,1,'2022-09-08','2022-09-08',150000.00,1,855.00,'FACTURA C 0002 - 000147',NULL,NULL,NULL,NULL,NULL),(173058,NULL,0,NULL,NULL,21,40817,40882,57,7603,1,1,'2022-10-13','2022-10-13',328400.00,1,855.00,'FACTURA C 0002 - 000148',NULL,NULL,NULL,NULL,NULL),(173059,NULL,0,NULL,173059,3,40817,40882,57,7603,2,1,'2022-10-13','2022-10-13',328400.00,1,855.00,'PAGO CONTADO  0001 - 001167',NULL,NULL,NULL,NULL,NULL),(173060,NULL,0,NULL,NULL,21,40817,40882,57,7604,1,1,'2022-11-14','2022-11-14',328400.00,1,855.00,'FACTURA C 0002 - 000149',NULL,NULL,NULL,NULL,NULL),(173061,NULL,0,NULL,173061,3,40817,40882,57,7604,2,1,'2022-11-16','2022-11-16',328400.00,1,855.00,'PAGO  0004 - 001418',NULL,NULL,NULL,NULL,NULL),(173062,NULL,0,NULL,NULL,21,40817,40882,57,7605,1,1,'2022-12-06','2022-12-06',328400.00,1,855.00,'FACTURA C 0002 - 000150',NULL,NULL,NULL,NULL,NULL),(173063,NULL,0,NULL,173063,3,40817,40882,57,7605,2,1,'2022-12-07','2022-12-07',328400.00,1,855.00,'PAGO  0004 - 001544',NULL,NULL,NULL,NULL,NULL),(173064,NULL,0,NULL,NULL,21,40817,40882,57,7609,1,1,'2023-01-02','2023-01-02',328400.00,1,855.00,'FACTURA C 0002 - 000151',NULL,NULL,NULL,NULL,NULL),(173065,NULL,0,NULL,173065,3,40817,40882,57,7609,2,1,'2023-01-07','2023-01-07',328400.00,1,855.00,'PAGO  0004 - 001648',NULL,NULL,NULL,NULL,NULL),(173066,NULL,0,NULL,173066,3,40817,40882,57,7610,2,1,'2023-02-13','2023-02-13',76000.00,1,855.00,'PAGO CONTADO  0001 - 001803',NULL,NULL,NULL,NULL,NULL),(173067,NULL,0,NULL,NULL,21,40817,40882,57,7610,1,1,'2023-02-13','2023-02-13',328400.00,1,855.00,'FACTURA C 0002 - 000152',NULL,NULL,NULL,NULL,NULL),(173068,NULL,0,NULL,NULL,21,40817,40882,57,7610,1,1,'2023-02-13','2023-02-13',76000.00,1,855.00,'FACTURA C 0002 - 000153',NULL,NULL,NULL,NULL,NULL),(173069,NULL,0,NULL,173069,3,40817,40882,57,7610,2,1,'2023-02-17','2023-02-17',328400.00,1,855.00,'PAGO  0004 - 001850',NULL,NULL,NULL,NULL,NULL),(173070,NULL,0,NULL,NULL,21,40817,40882,57,7611,1,1,'2023-03-14','2023-03-14',328400.00,1,855.00,'FACTURA C 0002 - 000154',NULL,NULL,NULL,NULL,NULL),(173071,NULL,0,NULL,173071,3,40817,40882,57,7611,2,1,'2023-03-16','2023-03-16',328400.00,1,855.00,'PAGO  0004 - 001967',NULL,NULL,NULL,NULL,NULL),(173072,NULL,0,NULL,NULL,21,40817,40882,57,7612,1,1,'2023-04-18','2023-04-18',399650.00,1,855.00,'FACTURA C 0002 - 000155',NULL,NULL,NULL,NULL,NULL),(173073,NULL,0,NULL,173073,3,40817,40882,57,7612,2,1,'2023-04-26','2023-04-26',399650.00,1,855.00,'PAGO  0004 - 002157',NULL,NULL,NULL,NULL,NULL),(173074,NULL,0,NULL,NULL,21,40817,40882,57,7613,1,1,'2023-05-12','2023-05-12',399650.00,1,855.00,'FACTURA C 0002 - 000156',NULL,NULL,NULL,NULL,NULL),(173075,NULL,0,NULL,173075,3,40817,40882,57,7613,2,1,'2023-05-19','2023-05-19',399650.00,1,855.00,'PAGO  0004 - 002288',NULL,NULL,NULL,NULL,NULL),(173076,NULL,0,NULL,NULL,21,40817,40882,57,7614,1,1,'2023-06-08','2023-06-08',399650.00,1,855.00,'FACTURA C 0002 - 000157',NULL,NULL,NULL,NULL,NULL),(173077,NULL,0,NULL,173077,3,40817,40882,57,7614,2,1,'2023-06-12','2023-06-12',399650.00,1,855.00,'PAGO  0004 - 002396',NULL,NULL,NULL,NULL,NULL),(173078,NULL,0,NULL,NULL,21,40817,40882,57,7615,1,1,'2023-07-10','2023-07-10',399650.00,1,855.00,'FACTURA C 0002 - 000158',NULL,NULL,NULL,NULL,NULL),(173079,NULL,0,NULL,173079,3,40817,40882,57,7615,2,1,'2023-07-13','2023-07-13',399650.00,1,855.00,'PAGO  0004 - 002559',NULL,NULL,NULL,NULL,NULL),(173080,NULL,0,NULL,NULL,21,40817,40882,57,7616,1,1,'2023-08-08','2023-08-08',502040.00,1,855.00,'FACTURA C 0002 - 000159',NULL,NULL,NULL,NULL,NULL),(173081,NULL,0,NULL,173081,3,40817,40882,57,7616,2,1,'2023-08-18','2023-08-18',502040.00,1,855.00,'PAGO  0004 - 002752',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173082,NULL,0,NULL,NULL,21,40817,40882,57,7617,1,1,'2023-09-07','2023-09-07',502040.00,1,855.00,'FACTURA C 0002 - 000160',NULL,NULL,NULL,NULL,NULL),(173083,NULL,0,NULL,173083,3,40817,40882,57,7617,2,1,'2023-09-13','2023-09-13',502040.00,1,855.00,'PAGO  0004 - 002876',NULL,NULL,NULL,NULL,NULL),(173084,NULL,0,NULL,NULL,21,40817,40882,57,7618,1,1,'2023-10-04','2023-10-04',502040.00,1,855.00,'FACTURA C 0002 - 000161',NULL,NULL,NULL,NULL,NULL),(173085,NULL,0,NULL,173085,3,40817,40882,57,7618,2,1,'2023-10-12','2023-10-12',502040.00,1,855.00,'PAGO  0004 - 003034',NULL,NULL,NULL,NULL,NULL),(173086,NULL,0,NULL,NULL,21,40817,40882,57,7619,1,1,'2023-11-07','2023-11-07',502040.00,1,855.00,'FACTURA C 0002 - 000162',NULL,NULL,NULL,NULL,NULL),(173087,NULL,0,NULL,173087,3,40817,40882,57,7619,2,1,'2023-11-10','2023-11-10',502040.00,1,855.00,'PAGO  0004 - 003196',NULL,NULL,NULL,NULL,NULL),(173088,NULL,0,NULL,NULL,21,40817,40882,57,7620,1,1,'2023-12-14','2023-12-14',812000.00,1,855.00,'FACTURA C 0002 - 000163',NULL,NULL,NULL,NULL,NULL),(173089,NULL,0,NULL,173089,3,40817,40882,57,7620,2,1,'2023-12-16','2023-12-16',812000.00,1,855.00,'PAGO  0004 - 003393',NULL,NULL,NULL,NULL,NULL),(173090,NULL,0,NULL,NULL,21,40817,40882,57,6064,1,1,'2024-01-09','2024-01-09',812000.00,1,855.00,'FACTURA C 0002 - 000164',NULL,NULL,NULL,NULL,NULL),(173091,NULL,0,NULL,173091,3,40817,40882,57,6064,2,1,'2024-01-12','2024-01-12',812000.00,1,855.00,'PAGO  0004 - 003538',NULL,NULL,NULL,NULL,NULL),(173092,NULL,0,NULL,NULL,21,40817,40882,57,6065,1,1,'2024-02-06','2024-02-06',812000.00,1,855.00,'FACTURA C 0002 - 000165',NULL,NULL,NULL,NULL,NULL),(173093,NULL,0,NULL,NULL,21,40817,40882,57,6065,1,1,'2024-02-08','2024-02-08',399200.00,1,855.00,'FACTURA C 0002 - 000166',NULL,NULL,NULL,NULL,NULL),(173094,NULL,0,NULL,173094,3,40817,40882,57,6065,2,1,'2024-02-09','2024-02-09',399200.00,1,855.00,'PAGO CONTADO  0001 - 003356',NULL,NULL,NULL,NULL,NULL),(173095,NULL,0,NULL,173095,3,40817,40882,57,6065,2,1,'2024-02-10','2024-02-10',812000.00,1,855.00,'PAGO  0004 - 003682',NULL,NULL,NULL,NULL,NULL),(173096,NULL,0,NULL,NULL,21,40817,40882,57,6066,1,1,'2024-03-06','2024-03-06',812000.00,1,855.00,'FACTURA C 0002 - 000167',NULL,NULL,NULL,NULL,NULL),(173097,NULL,0,NULL,173097,3,40817,40882,57,6066,2,1,'2024-03-12','2024-03-12',812000.00,1,855.00,'PAGO  0004 - 003849',NULL,NULL,NULL,NULL,NULL),(173098,NULL,0,NULL,NULL,21,40817,40882,57,6067,1,1,'2024-04-06','2024-04-06',1390000.00,1,855.00,'FACTURA C 0002 - 000169',NULL,NULL,NULL,NULL,NULL),(173099,NULL,0,NULL,173099,3,40817,40882,57,6067,2,1,'2024-04-11','2024-04-11',1390000.00,1,855.00,'PAGO  0004 - 004016',NULL,NULL,NULL,NULL,NULL),(173100,NULL,0,NULL,NULL,21,40817,40882,57,6068,1,1,'2024-05-04','2024-05-04',1390000.00,1,855.00,'FACTURA C 0002 - 000170',NULL,NULL,NULL,NULL,NULL),(173101,NULL,0,NULL,173101,3,40817,40882,57,6068,2,1,'2024-05-11','2024-05-11',1390000.00,1,855.00,'PAGO  0004 - 004168',NULL,NULL,NULL,NULL,NULL),(173102,NULL,0,NULL,173102,3,40817,46980,57,7596,2,1,'2022-03-25','2022-03-25',330000.00,1,855.00,'PAGO  0001 - 000316',NULL,NULL,NULL,NULL,NULL),(173103,NULL,0,NULL,NULL,21,40817,46980,57,7596,1,1,'2022-03-28','2022-03-28',330000.00,1,855.00,'FACTURA C 0003 - 000844',NULL,NULL,NULL,NULL,NULL),(173104,NULL,0,NULL,NULL,21,40817,46980,57,7600,1,1,'2022-07-20','2022-07-20',300000.00,1,855.00,'FACTURA C 0003 - 000915',NULL,NULL,NULL,NULL,NULL),(173105,NULL,0,NULL,173105,3,40817,46980,57,7600,2,1,'2022-07-20','2022-07-20',300000.00,1,855.00,'PAGO  0001 - 000812',NULL,NULL,NULL,NULL,NULL),(173106,NULL,0,NULL,173106,3,40817,46980,57,7610,2,1,'2023-02-10','2023-02-10',890000.00,1,855.00,'PAGO  0001 - 001800',NULL,NULL,NULL,NULL,NULL),(173107,NULL,0,NULL,NULL,21,40817,46980,57,7610,1,1,'2023-02-13','2023-02-13',890000.00,1,855.00,'FACTURA C 0003 - 001043',NULL,NULL,NULL,NULL,NULL),(173108,NULL,0,NULL,173108,3,40817,46980,57,7613,2,1,'2023-05-10','2023-05-10',800000.00,1,855.00,'PAGO  0001 - 002133',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173109,NULL,0,NULL,NULL,21,40817,46980,57,7613,1,1,'2023-05-11','2023-05-11',800000.00,1,855.00,'FACTURA C 0003 - 001080',NULL,NULL,NULL,NULL,NULL),(173110,NULL,0,NULL,173110,3,40817,46980,57,7616,2,1,'2023-08-31','2023-08-31',900000.00,1,855.00,'PAGO  0001 - 002594',NULL,NULL,NULL,NULL,NULL),(173111,NULL,0,NULL,NULL,21,40817,46980,57,7617,1,1,'2023-09-01','2023-09-01',900000.00,1,855.00,'FACTURA C 0003 - 001138',NULL,NULL,NULL,NULL,NULL),(173112,NULL,0,NULL,173112,3,40817,46980,57,7619,2,1,'2023-11-24','2023-11-24',1500000.00,1,855.00,'PAGO  0001 - 002960',NULL,NULL,NULL,NULL,NULL),(173113,NULL,0,NULL,NULL,21,40817,46980,57,7619,1,1,'2023-11-27','2023-11-27',1500000.00,1,855.00,'FACTURA C 0003 - 001199',NULL,NULL,NULL,NULL,NULL),(173114,NULL,0,NULL,173114,3,40817,46980,57,6065,2,1,'2024-02-06','2024-02-06',1500000.00,1,855.00,'PAGO  0001 - 003330',NULL,NULL,NULL,NULL,NULL),(173115,NULL,0,NULL,NULL,21,40817,46980,57,6065,1,1,'2024-02-15','2024-02-15',1500000.00,1,855.00,'FACTURA C 0003 - 001236',NULL,NULL,NULL,NULL,NULL),(173116,NULL,0,NULL,173116,3,40817,46980,57,6066,2,1,'2024-03-27','2024-03-27',1500000.00,1,855.00,'PAGO  0001 - 003555',NULL,NULL,NULL,NULL,NULL),(173117,NULL,0,NULL,NULL,21,40817,46980,57,6067,1,1,'2024-04-07','2024-04-07',1500000.00,1,855.00,'FACTURA C 0003 - 001265',NULL,NULL,NULL,NULL,NULL),(173118,NULL,0,NULL,173118,3,40817,46925,57,7590,2,1,'2021-12-31','2021-12-31',1613.48,1,855.00,'PAGO  0001 - 000057',NULL,NULL,NULL,NULL,NULL),(173119,NULL,0,NULL,NULL,21,40817,46925,57,7595,1,1,'2022-02-14','2022-02-14',128986.00,1,855.00,'FACTURA A 0002 - 001977',NULL,NULL,NULL,NULL,NULL),(173120,NULL,0,NULL,173120,3,40817,46925,57,7596,2,1,'2022-03-16','2022-03-16',127774.14,1,855.00,'PAGO  0004 - 000282',NULL,NULL,NULL,NULL,NULL),(173121,NULL,0,NULL,NULL,21,40817,46925,57,7597,1,1,'2022-04-05','2022-04-05',231485.10,1,855.00,'FACTURA A 0002 - 001992',NULL,NULL,NULL,NULL,NULL),(173122,NULL,0,NULL,173122,3,40817,46925,57,7597,2,1,'2022-04-27','2022-04-27',231835.43,1,855.00,'PAGO  0004 - 000485',NULL,NULL,NULL,NULL,NULL),(173123,NULL,0,NULL,NULL,21,40817,46925,57,7598,1,1,'2022-05-16','2022-05-16',138968.50,1,855.00,'FACTURA A 0002 - 002013',NULL,NULL,NULL,NULL,NULL),(173124,NULL,0,NULL,173124,3,40817,46925,57,7600,2,1,'2022-07-12','2022-07-12',138652.84,1,855.00,'PAGO  0004 - 000830',NULL,NULL,NULL,NULL,NULL),(173125,NULL,0,NULL,NULL,21,40817,46925,57,7601,1,1,'2022-08-03','2022-08-03',144994.30,1,855.00,'FACTURA A 0002 - 002046',NULL,NULL,NULL,NULL,NULL),(173126,NULL,0,NULL,173126,3,40817,46925,57,7601,2,1,'2022-08-18','2022-08-18',144558.01,1,855.00,'PAGO  0004 - 001022',NULL,NULL,NULL,NULL,NULL),(173127,NULL,0,NULL,NULL,21,40817,46925,57,7603,1,1,'2022-10-04','2022-10-04',167754.40,1,855.00,'FACTURA A 0002 - 002065',NULL,NULL,NULL,NULL,NULL),(173128,NULL,0,NULL,173128,3,40817,46925,57,7604,2,1,'2022-11-15','2022-11-15',167898.11,1,855.00,'PAGO  0004 - 001413',NULL,NULL,NULL,NULL,NULL),(173129,NULL,0,NULL,NULL,21,40817,46925,57,7605,1,1,'2022-12-05','2022-12-05',164547.90,1,855.00,'FACTURA A 0002 - 002085',NULL,NULL,NULL,NULL,NULL),(173130,NULL,0,NULL,173130,3,40817,46925,57,7605,2,1,'2022-12-30','2022-12-30',164404.19,1,855.00,'PAGO  0004 - 001619',NULL,NULL,NULL,NULL,NULL),(173131,NULL,0,NULL,NULL,21,40817,46925,57,7609,1,1,'2023-01-06','2023-01-06',199008.70,1,855.00,'FACTURA A 0002 - 002097',NULL,NULL,NULL,NULL,NULL),(173132,NULL,0,NULL,173132,3,40817,46925,57,7611,2,1,'2023-03-07','2023-03-07',199008.70,1,855.00,'PAGO  0004 - 001920',NULL,NULL,NULL,NULL,NULL),(173133,NULL,0,NULL,NULL,21,40817,46925,57,7613,1,1,'2023-05-10','2023-05-10',381876.00,1,855.00,'FACTURA A 0002 - 002141',NULL,NULL,NULL,NULL,NULL),(173134,NULL,0,NULL,NULL,21,40817,46925,57,7613,1,1,'2023-05-23','2023-05-23',104834.40,1,855.00,'FACTURA A 0002 - 002147',NULL,NULL,NULL,NULL,NULL),(173135,NULL,0,NULL,173135,3,40817,46925,57,7614,2,1,'2023-06-12','2023-06-12',383385.84,1,855.00,'PAGO  0004 - 002406',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173136,NULL,0,NULL,173136,3,40817,46925,57,7614,2,1,'2023-06-27','2023-06-27',103958.12,1,855.00,'PAGO  0004 - 002473',NULL,NULL,NULL,NULL,NULL),(173137,NULL,0,NULL,NULL,21,40817,46925,57,7617,1,1,'2023-09-06','2023-09-06',823737.75,1,855.00,'FACTURA A 0002 - 002184',NULL,NULL,NULL,NULL,NULL),(173138,NULL,0,NULL,173138,3,40817,46925,57,7618,2,1,'2023-10-26','2023-10-26',823104.19,1,855.00,'PAGO  0004 - 003109',NULL,NULL,NULL,NULL,NULL),(173139,NULL,0,NULL,NULL,21,40817,46925,57,6065,1,1,'2024-02-01','2024-02-01',2060816.34,1,855.00,'FACTURA A 0002 - 002217',NULL,NULL,NULL,NULL,NULL),(173140,NULL,0,NULL,NULL,21,40817,46925,57,6067,1,1,'2024-04-15','2024-04-15',2782286.10,1,855.00,'FACTURA A 0002 - 002229',NULL,NULL,NULL,NULL,NULL),(173141,NULL,0,NULL,173141,3,40817,46925,57,6067,2,1,'2024-04-15','2024-04-15',2060816.34,1,855.00,'PAGO  0004 - 004032',NULL,NULL,NULL,NULL,NULL),(173142,NULL,0,NULL,173142,3,40817,46925,57,6067,2,1,'2024-04-29','2024-04-29',2782286.10,1,855.00,'PAGO  0004 - 004133',NULL,NULL,NULL,NULL,NULL),(173143,NULL,0,NULL,NULL,21,40817,46925,57,6068,1,1,'2024-05-08','2024-05-08',2608215.50,1,855.00,'FACTURA A 0002 - 002239',NULL,NULL,NULL,NULL,NULL),(173144,NULL,0,NULL,173144,3,40817,40922,57,7590,2,1,'2021-12-31','2021-12-31',263894.67,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000004',NULL,NULL,NULL,NULL,NULL),(173145,NULL,0,NULL,173145,3,40817,40922,57,7590,2,1,'2021-12-31','2021-12-31',88686.62,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000005',NULL,NULL,NULL,NULL,NULL),(173146,NULL,0,NULL,NULL,21,40817,40922,57,7590,1,1,'2021-12-31','2021-12-31',263894.67,1,855.00,'FACTURA A 0009 - 004097',NULL,NULL,NULL,NULL,NULL),(173147,NULL,0,NULL,NULL,21,40817,40922,57,7590,1,1,'2021-12-31','2021-12-31',263894.67,1,855.00,'FACTURA A 0009 - 004097',NULL,NULL,NULL,NULL,NULL),(173148,NULL,0,NULL,NULL,21,40817,40922,57,7590,1,1,'2021-12-31','2021-12-31',88844.77,1,855.00,'FACTURA A 0009 - 004317',NULL,NULL,NULL,NULL,NULL),(173149,NULL,0,NULL,NULL,21,40817,40922,57,7590,1,1,'2021-12-31','2021-12-31',88686.62,1,855.00,'FACTURA A 0009 - 004317',NULL,NULL,NULL,NULL,NULL),(173150,NULL,0,NULL,173150,3,40817,40922,57,7590,2,1,'2021-12-31','2021-12-31',158.15,1,855.00,'PAGO  0001 - 000011',NULL,NULL,NULL,NULL,NULL),(173151,NULL,0,NULL,173151,3,40817,40922,57,7594,2,1,'2022-01-07','2022-01-07',352581.29,1,855.00,'PAGO  0001 - 000012',NULL,NULL,NULL,NULL,NULL),(173152,NULL,0,NULL,NULL,21,40817,40922,57,7595,1,1,'2022-02-02','2022-02-02',115937.38,1,855.00,'FACTURA A 0009 - 004925',NULL,NULL,NULL,NULL,NULL),(173153,NULL,0,NULL,NULL,21,40817,40922,57,7595,1,1,'2022-02-22','2022-02-22',76532.50,1,855.00,'FACTURA A 0009 - 005232',NULL,NULL,NULL,NULL,NULL),(173154,NULL,0,NULL,173154,3,40817,40922,57,7596,2,1,'2022-03-03','2022-03-03',115954.18,1,855.00,'PAGO  0004 - 000207',NULL,NULL,NULL,NULL,NULL),(173155,NULL,0,NULL,NULL,21,40817,40922,57,7596,1,1,'2022-03-04','2022-03-04',34328.21,1,855.00,'FACTURA A 0009 - 005383',NULL,NULL,NULL,NULL,NULL),(173156,NULL,0,NULL,NULL,21,40817,40922,57,7596,1,1,'2022-03-11','2022-03-11',149679.68,1,855.00,'FACTURA A 0009 - 005513',NULL,NULL,NULL,NULL,NULL),(173157,NULL,0,NULL,NULL,21,40817,40922,57,7596,1,1,'2022-03-21','2022-03-21',140476.00,1,855.00,'FACTURA A 0009 - 005626',NULL,NULL,NULL,NULL,NULL),(173158,NULL,0,NULL,173158,3,40817,40922,57,7596,2,1,'2022-03-22','2022-03-22',76601.64,1,855.00,'PAGO  0004 - 000309',NULL,NULL,NULL,NULL,NULL),(173159,NULL,0,NULL,NULL,21,40817,40922,57,7596,1,1,'2022-03-28','2022-03-28',11077.00,1,855.00,'FACTURA A 0009 - 005729',NULL,NULL,NULL,NULL,NULL),(173160,NULL,0,NULL,NULL,21,40817,40922,57,7596,1,1,'2022-03-29','2022-03-29',51380.27,1,855.00,'FACTURA A 0009 - 005751',NULL,NULL,NULL,NULL,NULL),(173161,NULL,0,NULL,NULL,21,40817,40922,57,7596,1,1,'2022-03-31','2022-03-31',49532.96,1,855.00,'FACTURA A 0009 - 005780',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173162,NULL,0,NULL,173162,3,40817,40922,57,7597,2,1,'2022-04-01','2022-04-01',375778.22,1,855.00,'PAGO  0004 - 000368',NULL,NULL,NULL,NULL,NULL),(173163,NULL,0,NULL,173163,3,40817,40922,57,7597,2,1,'2022-04-01','2022-04-01',375778.22,1,855.00,'PAGO  0004 - 000374',NULL,NULL,NULL,NULL,NULL),(173164,NULL,0,NULL,NULL,21,40817,40922,57,7597,1,1,'2022-04-01','2022-04-01',375778.22,1,855.00,'ANULACION DE PAGOS  0001 - 000015',NULL,NULL,NULL,NULL,NULL),(173165,NULL,0,NULL,NULL,21,40817,40922,57,7597,1,1,'2022-04-07','2022-04-07',111337.28,1,855.00,'FACTURA A 0009 - 005907',NULL,NULL,NULL,NULL,NULL),(173166,NULL,0,NULL,173166,3,40817,40922,57,7598,2,1,'2022-05-03','2022-05-03',64650.07,1,855.00,'PAGO  0004 - 000497',NULL,NULL,NULL,NULL,NULL),(173167,NULL,0,NULL,NULL,21,40817,40922,57,7598,1,1,'2022-05-05','2022-05-05',101625.56,1,855.00,'FACTURA A 0009 - 006368',NULL,NULL,NULL,NULL,NULL),(173168,NULL,0,NULL,173168,3,40817,40922,57,7598,2,1,'2022-05-12','2022-05-12',107297.17,1,855.00,'PAGO  0004 - 000558',NULL,NULL,NULL,NULL,NULL),(173169,NULL,0,NULL,NULL,21,40817,40922,57,7598,1,1,'2022-05-13','2022-05-13',44675.20,1,855.00,'FACTURA A 0009 - 006526',NULL,NULL,NULL,NULL,NULL),(173170,NULL,0,NULL,173170,3,40817,40922,57,7599,2,1,'2022-06-07','2022-06-07',147708.30,1,855.00,'PAGO  0004 - 000681',NULL,NULL,NULL,NULL,NULL),(173171,NULL,0,NULL,NULL,21,40817,40922,57,7599,1,1,'2022-06-10','2022-06-10',107229.20,1,855.00,'FACTURA A 0009 - 006964',NULL,NULL,NULL,NULL,NULL),(173172,NULL,0,NULL,NULL,21,40817,40922,57,7599,1,1,'2022-06-21','2022-06-21',45366.20,1,855.00,'FACTURA A 0009 - 007098',NULL,NULL,NULL,NULL,NULL),(173173,NULL,0,NULL,173173,3,40817,40922,57,7600,2,1,'2022-07-11','2022-07-11',151187.86,1,855.00,'PAGO  0004 - 000804',NULL,NULL,NULL,NULL,NULL),(173174,NULL,0,NULL,NULL,21,40817,40922,57,7600,1,1,'2022-07-13','2022-07-13',296503.01,1,855.00,'FACTURA A 0009 - 007454',NULL,NULL,NULL,NULL,NULL),(173175,NULL,0,NULL,173175,3,40817,40922,57,7600,2,1,'2022-07-22','2022-07-22',299367.47,1,855.00,'PAGO  0004 - 000877',NULL,NULL,NULL,NULL,NULL),(173176,NULL,0,NULL,NULL,21,40817,40922,57,7600,1,1,'2022-07-27','2022-07-27',31938.29,1,855.00,'FACTURA A 0009 - 007630',NULL,NULL,NULL,NULL,NULL),(173177,NULL,0,NULL,NULL,21,40817,40922,57,7601,1,1,'2022-08-02','2022-08-02',23473.00,1,855.00,'FACTURA A 0009 - 007747',NULL,NULL,NULL,NULL,NULL),(173178,NULL,0,NULL,173178,3,40817,40922,57,7601,2,1,'2022-08-09','2022-08-09',52546.83,1,855.00,'PAGO  0004 - 000970',NULL,NULL,NULL,NULL,NULL),(173179,NULL,0,NULL,NULL,21,40817,40922,57,7601,1,1,'2022-08-11','2022-08-11',271982.91,1,855.00,'FACTURA A 0009 - 007929',NULL,NULL,NULL,NULL,NULL),(173180,NULL,0,NULL,NULL,21,40817,40922,57,7601,1,1,'2022-08-23','2022-08-23',368220.37,1,855.00,'FACTURA A 0009 - 008103',NULL,NULL,NULL,NULL,NULL),(173181,NULL,0,NULL,173181,3,40817,40922,57,7602,2,1,'2022-09-07','2022-09-07',640203.28,1,855.00,'PAGO  0004 - 001114',NULL,NULL,NULL,NULL,NULL),(173182,NULL,0,NULL,NULL,21,40817,40922,57,7602,1,1,'2022-09-09','2022-09-09',55240.02,1,855.00,'FACTURA A 0009 - 008394',NULL,NULL,NULL,NULL,NULL),(173183,NULL,0,NULL,NULL,21,40817,40922,57,7602,1,1,'2022-09-16','2022-09-16',151625.00,1,855.00,'FACTURA A 0009 - 008521',NULL,NULL,NULL,NULL,NULL),(173184,NULL,0,NULL,NULL,21,40817,40922,57,7602,1,1,'2022-09-20','2022-09-20',54160.45,1,855.00,'FACTURA A 0009 - 008564',NULL,NULL,NULL,NULL,NULL),(173185,NULL,0,NULL,NULL,21,40817,40922,57,7602,1,1,'2022-09-23','2022-09-23',80847.27,1,855.00,'FACTURA A 0009 - 008623',NULL,NULL,NULL,NULL,NULL),(173186,NULL,0,NULL,NULL,21,40817,40922,57,7602,1,1,'2022-09-26','2022-09-26',250842.40,1,855.00,'FACTURA A 0009 - 008662',NULL,NULL,NULL,NULL,NULL),(173187,NULL,0,NULL,173187,3,40817,40922,57,7602,2,1,'2022-09-26','2022-09-26',207286.21,1,855.00,'PAGO  0004 - 001204',NULL,NULL,NULL,NULL,NULL),(173188,NULL,0,NULL,NULL,21,40817,40922,57,7602,1,1,'2022-09-30','2022-09-30',321466.47,1,855.00,'FACTURA A 0009 - 008755',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173189,NULL,0,NULL,NULL,21,40817,40922,57,7603,1,1,'2022-10-05','2022-10-05',353236.70,1,855.00,'FACTURA A 0009 - 008821',NULL,NULL,NULL,NULL,NULL),(173190,NULL,0,NULL,173190,3,40817,40922,57,7603,2,1,'2022-10-19','2022-10-19',385621.67,1,855.00,'PAGO  0004 - 001293',NULL,NULL,NULL,NULL,NULL),(173191,NULL,0,NULL,NULL,21,40817,40922,57,7603,1,1,'2022-10-25','2022-10-25',2814.16,1,855.00,'FACTURA A 0009 - 009123',NULL,NULL,NULL,NULL,NULL),(173192,NULL,0,NULL,173192,3,40817,40922,57,7604,2,1,'2022-11-02','2022-11-02',679303.92,1,855.00,'PAGO  0004 - 001366',NULL,NULL,NULL,NULL,NULL),(173193,NULL,0,NULL,NULL,21,40817,40922,57,7604,1,1,'2022-11-03','2022-11-03',25195.58,1,855.00,'FACTURA A 0009 - 009313',NULL,NULL,NULL,NULL,NULL),(173194,NULL,0,NULL,NULL,21,40817,40922,57,7604,1,1,'2022-11-11','2022-11-11',162171.97,1,855.00,'FACTURA A 0009 - 009479',NULL,NULL,NULL,NULL,NULL),(173195,NULL,0,NULL,NULL,21,40817,40922,57,7604,1,1,'2022-11-18','2022-11-18',4582.95,1,855.00,'FACTURA A 0009 - 009604',NULL,NULL,NULL,NULL,NULL),(173196,NULL,0,NULL,173196,3,40817,40922,57,7604,2,1,'2022-11-23','2022-11-23',189971.17,1,855.00,'PAGO  0004 - 001451',NULL,NULL,NULL,NULL,NULL),(173197,NULL,0,NULL,NULL,21,40817,40922,57,7604,1,1,'2022-11-25','2022-11-25',458170.82,1,855.00,'FACTURA A 0009 - 009689',NULL,NULL,NULL,NULL,NULL),(173198,NULL,0,NULL,NULL,21,40817,40922,57,7605,1,1,'2022-12-05','2022-12-05',363272.65,1,855.00,'FACTURA A 0009 - 009844',NULL,NULL,NULL,NULL,NULL),(173199,NULL,0,NULL,NULL,21,40817,40922,57,7605,1,1,'2022-12-06','2022-12-06',2983.98,1,855.00,'FACTURA A 0009 - 009869',NULL,NULL,NULL,NULL,NULL),(173200,NULL,0,NULL,NULL,21,40817,40922,57,7605,1,1,'2022-12-15','2022-12-15',180081.98,1,855.00,'FACTURA A 0009 - 009974',NULL,NULL,NULL,NULL,NULL),(173201,NULL,0,NULL,173201,3,40817,40922,57,7605,2,1,'2022-12-27','2022-12-27',458170.82,1,855.00,'PAGO  0004 - 001600',NULL,NULL,NULL,NULL,NULL),(173202,NULL,0,NULL,NULL,21,40817,40922,57,7609,1,1,'2023-01-04','2023-01-04',76540.30,1,855.00,'FACTURA A 0009 - 010226',NULL,NULL,NULL,NULL,NULL),(173203,NULL,0,NULL,173203,3,40817,40922,57,7609,2,1,'2023-01-05','2023-01-05',546338.61,1,855.00,'PAGO  0004 - 001632',NULL,NULL,NULL,NULL,NULL),(173204,NULL,0,NULL,173204,3,40817,40922,57,7609,2,1,'2023-01-14','2023-01-14',76540.30,1,855.00,'PAGO  0004 - 001717',NULL,NULL,NULL,NULL,NULL),(173205,NULL,0,NULL,NULL,21,40817,40922,57,7609,1,1,'2023-01-16','2023-01-16',683743.24,1,855.00,'FACTURA A 0009 - 010367',NULL,NULL,NULL,NULL,NULL),(173206,NULL,0,NULL,NULL,21,40817,40922,57,7610,1,1,'2023-02-07','2023-02-07',99899.97,1,855.00,'FACTURA A 0009 - 010717',NULL,NULL,NULL,NULL,NULL),(173207,NULL,0,NULL,NULL,21,40817,40922,57,7610,1,1,'2023-02-07','2023-02-07',310536.05,1,855.00,'FACTURA A 0009 - 010718',NULL,NULL,NULL,NULL,NULL),(173208,NULL,0,NULL,NULL,21,40817,40922,57,7610,1,1,'2023-02-14','2023-02-14',107891.97,1,855.00,'FACTURA A 0009 - 010807',NULL,NULL,NULL,NULL,NULL),(173209,NULL,0,NULL,173209,3,40817,40922,57,7610,2,1,'2023-02-15','2023-02-15',685884.61,1,855.00,'PAGO  0004 - 001848',NULL,NULL,NULL,NULL,NULL),(173210,NULL,0,NULL,NULL,21,40817,40922,57,7610,1,1,'2023-02-22','2023-02-22',396455.93,1,855.00,'FACTURA A 0009 - 010886',NULL,NULL,NULL,NULL,NULL),(173211,NULL,0,NULL,NULL,21,40817,40922,57,7610,1,1,'2023-02-28','2023-02-28',71567.00,1,855.00,'FACTURA A 0009 - 010990',NULL,NULL,NULL,NULL,NULL),(173212,NULL,0,NULL,NULL,21,40817,40922,57,7610,1,1,'2023-02-28','2023-02-28',191691.89,1,855.00,'FACTURA A 0009 - 010991',NULL,NULL,NULL,NULL,NULL),(173213,NULL,0,NULL,173213,3,40817,40922,57,7611,2,1,'2023-03-08','2023-03-08',1175901.44,1,855.00,'PAGO  0004 - 001932',NULL,NULL,NULL,NULL,NULL),(173214,NULL,0,NULL,NULL,21,40817,40922,57,7611,1,1,'2023-03-13','2023-03-13',178245.97,1,855.00,'FACTURA A 0009 - 011204',NULL,NULL,NULL,NULL,NULL),(173215,NULL,0,NULL,NULL,21,40817,40922,57,7611,1,1,'2023-03-15','2023-03-15',323675.93,1,855.00,'FACTURA A 0009 - 011267',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173216,NULL,0,NULL,173216,3,40817,40922,57,7612,2,1,'2023-04-10','2023-04-10',501921.90,1,855.00,'PAGO  0004 - 002073',NULL,NULL,NULL,NULL,NULL),(173217,NULL,0,NULL,NULL,21,40817,40922,57,7612,1,1,'2023-04-17','2023-04-17',292428.73,1,855.00,'FACTURA A 0009 - 011830',NULL,NULL,NULL,NULL,NULL),(173218,NULL,0,NULL,NULL,21,40817,40922,57,7612,1,1,'2023-04-24','2023-04-24',306727.67,1,855.00,'FACTURA A 0009 - 011925',NULL,NULL,NULL,NULL,NULL),(173219,NULL,0,NULL,NULL,21,40817,40922,57,7613,1,1,'2023-05-04','2023-05-04',237362.35,1,855.00,'FACTURA A 0009 - 012117',NULL,NULL,NULL,NULL,NULL),(173220,NULL,0,NULL,NULL,21,40817,40922,57,7613,1,1,'2023-05-10','2023-05-10',261098.58,1,855.00,'FACTURA A 0009 - 012223',NULL,NULL,NULL,NULL,NULL),(173221,NULL,0,NULL,173221,3,40817,40922,57,7613,2,1,'2023-05-10','2023-05-10',599156.40,1,855.00,'PAGO  0004 - 002221',NULL,NULL,NULL,NULL,NULL),(173222,NULL,0,NULL,NULL,21,40817,40922,57,7613,1,1,'2023-05-15','2023-05-15',622321.97,1,855.00,'FACTURA A 0009 - 012288',NULL,NULL,NULL,NULL,NULL),(173223,NULL,0,NULL,NULL,21,40817,40922,57,7613,1,1,'2023-05-22','2023-05-22',507445.40,1,855.00,'FACTURA A 0009 - 012397',NULL,NULL,NULL,NULL,NULL),(173224,NULL,0,NULL,173224,3,40817,40922,57,7613,2,1,'2023-05-24','2023-05-24',502974.58,1,855.00,'PAGO  0004 - 002313',NULL,NULL,NULL,NULL,NULL),(173225,NULL,0,NULL,173225,3,40817,40922,57,7614,2,1,'2023-06-08','2023-06-08',1125253.72,1,855.00,'PAGO  0004 - 002376',NULL,NULL,NULL,NULL,NULL),(173226,NULL,0,NULL,NULL,21,40817,40922,57,7614,1,1,'2023-06-14','2023-06-14',162877.71,1,855.00,'FACTURA A 0009 - 012747',NULL,NULL,NULL,NULL,NULL),(173227,NULL,0,NULL,NULL,21,40817,40922,57,7614,1,1,'2023-06-14','2023-06-14',8568.63,1,855.00,'FACTURA A 0009 - 012748',NULL,NULL,NULL,NULL,NULL),(173228,NULL,0,NULL,NULL,21,40817,40922,57,7614,1,1,'2023-06-14','2023-06-14',130549.30,1,855.00,'FACTURA A 0009 - 012750',NULL,NULL,NULL,NULL,NULL),(173229,NULL,0,NULL,NULL,21,40817,40922,57,7614,1,1,'2023-06-26','2023-06-26',597332.51,1,855.00,'FACTURA A 0009 - 012870',NULL,NULL,NULL,NULL,NULL),(173230,NULL,0,NULL,173230,3,40817,40922,57,7614,2,1,'2023-06-29','2023-06-29',902696.46,1,855.00,'PAGO  0004 - 002495',NULL,NULL,NULL,NULL,NULL),(173231,NULL,0,NULL,NULL,21,40817,40922,57,7615,1,1,'2023-07-06','2023-07-06',649489.87,1,855.00,'FACTURA A 0009 - 013034',NULL,NULL,NULL,NULL,NULL),(173232,NULL,0,NULL,NULL,21,40817,40922,57,7615,1,1,'2023-07-20','2023-07-20',420828.33,1,855.00,'FACTURA A 0009 - 013260',NULL,NULL,NULL,NULL,NULL),(173233,NULL,0,NULL,NULL,21,40817,40922,57,7616,1,1,'2023-08-03','2023-08-03',254730.12,1,855.00,'FACTURA A 0009 - 013505',NULL,NULL,NULL,NULL,NULL),(173234,NULL,0,NULL,173234,3,40817,40922,57,7616,2,1,'2023-08-04','2023-08-04',649489.87,1,855.00,'PAGO  0004 - 002669',NULL,NULL,NULL,NULL,NULL),(173235,NULL,0,NULL,173235,3,40817,40922,57,7616,2,1,'2023-08-09','2023-08-09',421460.29,1,855.00,'PAGO  0004 - 002697',NULL,NULL,NULL,NULL,NULL),(173236,NULL,0,NULL,NULL,21,40817,40922,57,7616,1,1,'2023-08-14','2023-08-14',363318.67,1,855.00,'FACTURA A 0009 - 013677',NULL,NULL,NULL,NULL,NULL),(173237,NULL,0,NULL,173237,3,40817,40922,57,7616,2,1,'2023-08-18','2023-08-18',363318.67,1,855.00,'NOTA DE CREDITO A 0009 - 000545',NULL,NULL,NULL,NULL,NULL),(173238,NULL,0,NULL,NULL,21,40817,40922,57,7616,1,1,'2023-08-22','2023-08-22',435982.40,1,855.00,'FACTURA A 0009 - 013730',NULL,NULL,NULL,NULL,NULL),(173239,NULL,0,NULL,NULL,21,40817,40922,57,7616,1,1,'2023-08-22','2023-08-22',81109.67,1,855.00,'FACTURA A 0009 - 013731',NULL,NULL,NULL,NULL,NULL),(173240,NULL,0,NULL,NULL,21,40817,40922,57,7616,1,1,'2023-08-29','2023-08-29',303250.00,1,855.00,'FACTURA A 0009 - 013861',NULL,NULL,NULL,NULL,NULL),(173241,NULL,0,NULL,173241,3,40817,40922,57,7617,2,1,'2023-09-09','2023-09-09',1071071.92,1,855.00,'PAGO  0004 - 002857',NULL,NULL,NULL,NULL,NULL),(173242,NULL,0,NULL,NULL,21,40817,40922,57,7617,1,1,'2023-09-18','2023-09-18',67099.04,1,855.00,'FACTURA A 0009 - 014138',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173243,NULL,0,NULL,NULL,21,40817,40922,57,7617,1,1,'2023-09-18','2023-09-18',244150.15,1,855.00,'FACTURA A 0009 - 014140',NULL,NULL,NULL,NULL,NULL),(173244,NULL,0,NULL,NULL,21,40817,40922,57,7617,1,1,'2023-09-28','2023-09-28',561956.15,1,855.00,'FACTURA A 0009 - 014290',NULL,NULL,NULL,NULL,NULL),(173245,NULL,0,NULL,NULL,21,40817,40922,57,7618,1,1,'2023-10-10','2023-10-10',977807.23,1,855.00,'FACTURA A 0009 - 014477',NULL,NULL,NULL,NULL,NULL),(173246,NULL,0,NULL,173246,3,40817,40922,57,7618,2,1,'2023-10-10','2023-10-10',977807.23,1,855.00,'NOTA DE CREDITO A 0009 - 000596',NULL,NULL,NULL,NULL,NULL),(173247,NULL,0,NULL,173247,3,40817,40922,57,7618,2,1,'2023-10-17','2023-10-17',324101.68,1,855.00,'PAGO  0004 - 003046',NULL,NULL,NULL,NULL,NULL),(173248,NULL,0,NULL,NULL,21,40817,40922,57,7618,1,1,'2023-10-24','2023-10-24',2131665.47,1,855.00,'FACTURA A 0009 - 014548',NULL,NULL,NULL,NULL,NULL),(173249,NULL,0,NULL,173249,3,40817,40922,57,7618,2,1,'2023-10-25','2023-10-25',549103.66,1,855.00,'PAGO  0004 - 003097',NULL,NULL,NULL,NULL,NULL),(173250,NULL,0,NULL,NULL,21,40817,40922,57,7618,1,1,'2023-10-31','2023-10-31',691410.00,1,855.00,'FACTURA A 0009 - 014640',NULL,NULL,NULL,NULL,NULL),(173251,NULL,0,NULL,NULL,21,40817,40922,57,7619,1,1,'2023-11-02','2023-11-02',509460.00,1,855.00,'FACTURA A 0009 - 014706',NULL,NULL,NULL,NULL,NULL),(173252,NULL,0,NULL,NULL,21,40817,40922,57,7619,1,1,'2023-11-23','2023-11-23',144933.65,1,855.00,'FACTURA A 0009 - 014944',NULL,NULL,NULL,NULL,NULL),(173253,NULL,0,NULL,173253,3,40817,40922,57,7619,2,1,'2023-11-27','2023-11-27',2000000.00,1,855.00,'PAGO  0004 - 003265',NULL,NULL,NULL,NULL,NULL),(173254,NULL,0,NULL,NULL,21,40817,40922,57,7619,1,1,'2023-11-30','2023-11-30',1617391.65,1,855.00,'FACTURA A 0009 - 015030',NULL,NULL,NULL,NULL,NULL),(173255,NULL,0,NULL,NULL,21,40817,40922,57,7619,1,1,'2023-11-30','2023-11-30',22112.41,1,855.00,'FACTURA A 0009 - 015031',NULL,NULL,NULL,NULL,NULL),(173256,NULL,0,NULL,173256,3,40817,40922,57,7620,2,1,'2023-12-01','2023-12-01',1478854.51,1,855.00,'PAGO  0004 - 003295',NULL,NULL,NULL,NULL,NULL),(173257,NULL,0,NULL,173257,3,40817,40922,57,7620,2,1,'2023-12-06','2023-12-06',1616006.26,1,855.00,'PAGO  0004 - 003327',NULL,NULL,NULL,NULL,NULL),(173258,NULL,0,NULL,173258,3,40817,40922,57,7620,2,1,'2023-12-16','2023-12-16',22112.41,1,855.00,'PAGO  0004 - 003392',NULL,NULL,NULL,NULL,NULL),(173259,NULL,0,NULL,NULL,21,40817,40922,57,6064,1,1,'2024-01-16','2024-01-16',3544989.19,1,855.00,'FACTURA A 0009 - 015418',NULL,NULL,NULL,NULL,NULL),(173260,NULL,0,NULL,173260,3,40817,40922,57,6064,2,1,'2024-01-17','2024-01-17',2000000.00,1,855.00,'PAGO  0004 - 003561',NULL,NULL,NULL,NULL,NULL),(173261,NULL,0,NULL,173261,3,40817,40922,57,6064,2,1,'2024-01-17','2024-01-17',267574.56,1,855.00,'NOTA DE CREDITO A 0009 - 000653',NULL,NULL,NULL,NULL,NULL),(173262,NULL,0,NULL,173262,3,40817,40922,57,6064,2,1,'2024-01-22','2024-01-22',1277414.63,1,855.00,'PAGO  0004 - 003582',NULL,NULL,NULL,NULL,NULL),(173263,NULL,0,NULL,NULL,21,40817,40922,57,6064,1,1,'2024-01-24','2024-01-24',1055310.00,1,855.00,'FACTURA A 0009 - 015509',NULL,NULL,NULL,NULL,NULL),(173264,NULL,0,NULL,173264,3,40817,40922,57,6065,2,1,'2024-02-15','2024-02-15',1057216.93,1,855.00,'PAGO  0004 - 003704',NULL,NULL,NULL,NULL,NULL),(173265,NULL,0,NULL,NULL,21,40817,40922,57,6065,1,1,'2024-02-27','2024-02-27',2281213.24,1,855.00,'FACTURA A 0009 - 015910',NULL,NULL,NULL,NULL,NULL),(173266,NULL,0,NULL,NULL,21,40817,40922,57,6066,1,1,'2024-03-11','2024-03-11',970400.00,1,855.00,'FACTURA A 0009 - 016074',NULL,NULL,NULL,NULL,NULL),(173267,NULL,0,NULL,173267,3,40817,40922,57,6066,2,1,'2024-03-13','2024-03-13',2279306.31,1,855.00,'PAGO  0004 - 003861',NULL,NULL,NULL,NULL,NULL),(173268,NULL,0,NULL,173268,3,40817,40922,57,6066,2,1,'2024-03-15','2024-03-15',971340.90,1,855.00,'PAGO  0004 - 003885',NULL,NULL,NULL,NULL,NULL),(173269,NULL,0,NULL,NULL,21,40817,40922,57,6067,1,1,'2024-04-03','2024-04-03',1684118.01,1,855.00,'FACTURA A 0009 - 016299',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173270,NULL,0,NULL,173270,3,40817,40922,57,6067,2,1,'2024-04-26','2024-04-26',1683177.11,1,855.00,'PAGO  0004 - 004112',NULL,NULL,NULL,NULL,NULL),(173271,NULL,0,NULL,NULL,21,40817,40922,57,6068,1,1,'2024-05-03','2024-05-03',2274019.20,1,855.00,'FACTURA A 0009 - 016695',NULL,NULL,NULL,NULL,NULL),(173272,NULL,0,NULL,173272,3,40817,40922,57,6068,2,1,'2024-05-15','2024-05-15',2274019.20,1,855.00,'PAGO  0004 - 004193',NULL,NULL,NULL,NULL,NULL),(173273,NULL,0,NULL,NULL,21,40817,41621,57,7590,1,1,'2021-12-31','2021-12-31',204968.78,1,855.00,'FACTURA A 0010 - 044236',NULL,NULL,NULL,NULL,NULL),(173274,NULL,0,NULL,NULL,21,40817,41621,57,7590,1,1,'2021-12-31','2021-12-31',204968.78,1,855.00,'FACTURA A 0010 - 044370',NULL,NULL,NULL,NULL,NULL),(173275,NULL,0,NULL,173275,3,40817,41621,57,7594,2,1,'2022-01-21','2022-01-21',164739.76,1,855.00,'PAGO  0001 - 000093',NULL,NULL,NULL,NULL,NULL),(173276,NULL,0,NULL,173276,3,40817,41621,57,7594,2,1,'2022-01-21','2022-01-21',40570.00,1,855.00,'PAGO  0004 - 000046',NULL,NULL,NULL,NULL,NULL),(173277,NULL,0,NULL,NULL,21,40817,41621,57,7594,1,1,'2022-01-28','2022-01-28',105558.39,1,855.00,'FACTURA A 0010 - 045029',NULL,NULL,NULL,NULL,NULL),(173278,NULL,0,NULL,173278,3,40817,41621,57,7594,2,1,'2022-01-31','2022-01-31',204627.80,1,855.00,'PAGO  0004 - 000073',NULL,NULL,NULL,NULL,NULL),(173279,NULL,0,NULL,NULL,21,40817,41621,57,7595,1,1,'2022-02-17','2022-02-17',105558.39,1,855.00,'FACTURA A 0010 - 045211',NULL,NULL,NULL,NULL,NULL),(173280,NULL,0,NULL,173280,3,40817,41621,57,7597,2,1,'2022-04-06','2022-04-06',211116.78,1,855.00,'PAGO  0004 - 000388',NULL,NULL,NULL,NULL,NULL),(173281,NULL,0,NULL,NULL,21,40817,40924,57,7599,1,1,'2022-06-10','2022-06-10',44169.84,1,855.00,'FACTURA A 0092 - 023333',NULL,NULL,NULL,NULL,NULL),(173282,NULL,0,NULL,173282,3,40817,40924,57,7599,2,1,'2022-06-10','2022-06-10',44169.84,1,855.00,'PAGO CONTADO  0001 - 000634',NULL,NULL,NULL,NULL,NULL),(173283,NULL,0,NULL,NULL,21,40817,40924,57,7614,1,1,'2023-06-16','2023-06-16',89907.84,1,855.00,'FACTURA A 0092 - 025348',NULL,NULL,NULL,NULL,NULL),(173284,NULL,0,NULL,173284,3,40817,40924,57,7615,2,1,'2023-07-07','2023-07-07',89907.84,1,855.00,'NOTA DE CREDITO A 0092 - 003445',NULL,NULL,NULL,NULL,NULL),(173285,NULL,0,NULL,NULL,21,40817,40924,57,7615,1,1,'2023-07-28','2023-07-28',16494.72,1,855.00,'FACTURA A 0092 - 025575',NULL,NULL,NULL,NULL,NULL),(173286,NULL,0,NULL,173286,3,40817,40924,57,7616,2,1,'2023-08-10','2023-08-10',16494.72,1,855.00,'PAGO  0004 - 002713',NULL,NULL,NULL,NULL,NULL),(173287,NULL,0,NULL,NULL,21,40817,40961,57,7590,1,1,'2021-12-20','2021-12-20',19650.00,1,855.00,'FACTURA A 0003 - 005229',NULL,NULL,NULL,NULL,NULL),(173288,NULL,0,NULL,NULL,21,40817,40961,57,7590,1,1,'2021-12-23','2021-12-23',10130.01,1,855.00,'FACTURA A 0003 - 052447',NULL,NULL,NULL,NULL,NULL),(173289,NULL,0,NULL,NULL,21,40817,40961,57,7590,1,1,'2021-12-28','2021-12-28',21290.00,1,855.00,'FACTURA A 0003 - 005257',NULL,NULL,NULL,NULL,NULL),(173290,NULL,0,NULL,NULL,21,40817,40961,57,7590,1,1,'2021-12-30','2021-12-30',14160.00,1,855.00,'FACTURA A 0003 - 005263',NULL,NULL,NULL,NULL,NULL),(173291,NULL,0,NULL,NULL,21,40817,40961,57,7594,1,1,'2022-01-22','2022-01-22',36840.01,1,855.00,'FACTURA A 0003 - 005314',NULL,NULL,NULL,NULL,NULL),(173292,NULL,0,NULL,NULL,21,40817,40961,57,7594,1,1,'2022-01-26','2022-01-26',9760.01,1,855.00,'FACTURA A 0003 - 005322',NULL,NULL,NULL,NULL,NULL),(173293,NULL,0,NULL,NULL,21,40817,40961,57,7594,1,1,'2022-01-26','2022-01-26',23980.00,1,855.00,'FACTURA A 0003 - 005323',NULL,NULL,NULL,NULL,NULL),(173294,NULL,0,NULL,NULL,21,40817,40961,57,7594,1,1,'2022-01-27','2022-01-27',14240.01,1,855.00,'FACTURA A 0003 - 005324',NULL,NULL,NULL,NULL,NULL),(173295,NULL,0,NULL,173295,3,40817,40961,57,7595,2,1,'2022-02-01','2022-02-01',65230.01,1,855.00,'PAGO  0004 - 000083',NULL,NULL,NULL,NULL,NULL),(173296,NULL,0,NULL,NULL,21,40817,40961,57,7595,1,1,'2022-02-12','2022-02-12',17270.00,1,855.00,'FACTURA A 0003 - 005357',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173297,NULL,0,NULL,NULL,21,40817,40961,57,7595,1,1,'2022-02-22','2022-02-22',16110.01,1,855.00,'FACTURA A 0003 - 005374',NULL,NULL,NULL,NULL,NULL),(173298,NULL,0,NULL,NULL,21,40817,40961,57,7595,1,1,'2022-02-24','2022-02-24',41380.00,1,855.00,'FACTURA A 0003 - 005379',NULL,NULL,NULL,NULL,NULL),(173299,NULL,0,NULL,NULL,21,40817,40961,57,7596,1,1,'2022-03-10','2022-03-10',19430.01,1,855.00,'FACTURA A 0003 - 005394',NULL,NULL,NULL,NULL,NULL),(173300,NULL,0,NULL,173300,3,40817,40961,57,7596,2,1,'2022-03-16','2022-03-16',160005.70,1,855.00,'PAGO  0004 - 000285',NULL,NULL,NULL,NULL,NULL),(173301,NULL,0,NULL,NULL,21,40817,40961,57,7596,1,1,'2022-03-18','2022-03-18',12110.01,1,855.00,'FACTURA A 0003 - 005410',NULL,NULL,NULL,NULL,NULL),(173302,NULL,0,NULL,NULL,21,40817,40961,57,7596,1,1,'2022-03-29','2022-03-29',22160.00,1,855.00,'FACTURA A 0003 - 005425',NULL,NULL,NULL,NULL,NULL),(173303,NULL,0,NULL,NULL,21,40817,40961,57,7596,1,1,'2022-03-30','2022-03-30',34160.01,1,855.00,'FACTURA A 0003 - 005428',NULL,NULL,NULL,NULL,NULL),(173304,NULL,0,NULL,NULL,21,40817,40961,57,7597,1,1,'2022-04-21','2022-04-21',33670.00,1,855.00,'FACTURA A 0003 - 005469',NULL,NULL,NULL,NULL,NULL),(173305,NULL,0,NULL,NULL,21,40817,40961,57,7597,1,1,'2022-04-23','2022-04-23',27230.00,1,855.00,'FACTURA A 0003 - 005477',NULL,NULL,NULL,NULL,NULL),(173306,NULL,0,NULL,NULL,21,40817,40961,57,7597,1,1,'2022-04-27','2022-04-27',26150.02,1,855.00,'FACTURA A 0003 - 005482',NULL,NULL,NULL,NULL,NULL),(173307,NULL,0,NULL,173307,3,40817,40961,57,7597,2,1,'2022-04-29','2022-04-29',87434.37,1,855.00,'PAGO  0004 - 000491',NULL,NULL,NULL,NULL,NULL),(173308,NULL,0,NULL,NULL,21,40817,40961,57,7598,1,1,'2022-05-26','2022-05-26',37660.00,1,855.00,'FACTURA A 0003 - 005545',NULL,NULL,NULL,NULL,NULL),(173309,NULL,0,NULL,NULL,21,40817,40961,57,7598,1,1,'2022-05-27','2022-05-27',15160.01,1,855.00,'FACTURA A 0003 - 005550',NULL,NULL,NULL,NULL,NULL),(173310,NULL,0,NULL,NULL,21,40817,40961,57,7598,1,1,'2022-05-27','2022-05-27',5830.01,1,855.00,'FACTURA A 0003 - 005551',NULL,NULL,NULL,NULL,NULL),(173311,NULL,0,NULL,NULL,21,40817,40961,57,7598,1,1,'2022-05-31','2022-05-31',36670.01,1,855.00,'FACTURA A 0003 - 005560',NULL,NULL,NULL,NULL,NULL),(173312,NULL,0,NULL,173312,3,40817,40961,57,7599,2,1,'2022-06-03','2022-06-03',87050.02,1,855.00,'PAGO  0004 - 000651',NULL,NULL,NULL,NULL,NULL),(173313,NULL,0,NULL,NULL,21,40817,40961,57,7599,1,1,'2022-06-21','2022-06-21',18967.00,1,855.00,'FACTURA A 0003 - 005595',NULL,NULL,NULL,NULL,NULL),(173314,NULL,0,NULL,NULL,21,40817,40961,57,7599,1,1,'2022-06-22','2022-06-22',34780.00,1,855.00,'FACTURA A 0003 - 005597',NULL,NULL,NULL,NULL,NULL),(173315,NULL,0,NULL,NULL,21,40817,40961,57,7599,1,1,'2022-06-28','2022-06-28',37220.00,1,855.00,'FACTURA A 0003 - 005617',NULL,NULL,NULL,NULL,NULL),(173316,NULL,0,NULL,173316,3,40817,40961,57,7599,2,1,'2022-06-28','2022-06-28',95531.67,1,855.00,'PAGO  0004 - 000770',NULL,NULL,NULL,NULL,NULL),(173317,NULL,0,NULL,173317,3,40817,40961,57,7600,2,1,'2022-07-15','2022-07-15',91142.50,1,855.00,'PAGO  0001 - 000783',NULL,NULL,NULL,NULL,NULL),(173318,NULL,0,NULL,NULL,21,40817,40961,57,7600,1,1,'2022-07-21','2022-07-21',30920.00,1,855.00,'FACTURA A 0003 - 005662',NULL,NULL,NULL,NULL,NULL),(173319,NULL,0,NULL,NULL,21,40817,40961,57,7600,1,1,'2022-07-22','2022-07-22',56230.01,1,855.00,'FACTURA A 0003 - 005667',NULL,NULL,NULL,NULL,NULL),(173320,NULL,0,NULL,NULL,21,40817,40961,57,7600,1,1,'2022-07-30','2022-07-30',16530.00,1,855.00,'FACTURA A 0003 - 005680',NULL,NULL,NULL,NULL,NULL),(173321,NULL,0,NULL,NULL,21,40817,40961,57,7601,1,1,'2022-08-16','2022-08-16',33480.01,1,855.00,'FACTURA A 0003 - 005711',NULL,NULL,NULL,NULL,NULL),(173322,NULL,0,NULL,NULL,21,40817,40961,57,7601,1,1,'2022-08-17','2022-08-17',13660.00,1,855.00,'FACTURA A 0003 - 005719',NULL,NULL,NULL,NULL,NULL),(173323,NULL,0,NULL,173323,3,40817,40961,57,7601,2,1,'2022-08-18','2022-08-18',103292.87,1,855.00,'PAGO  0004 - 001023',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173324,NULL,0,NULL,NULL,21,40817,40961,57,7601,1,1,'2022-08-30','2022-08-30',35450.00,1,855.00,'FACTURA A 0003 - 005746',NULL,NULL,NULL,NULL,NULL),(173325,NULL,0,NULL,NULL,21,40817,40961,57,7601,1,1,'2022-08-31','2022-08-31',39060.00,1,855.00,'FACTURA A 0003 - 005750',NULL,NULL,NULL,NULL,NULL),(173326,NULL,0,NULL,173326,3,40817,40961,57,7602,2,1,'2022-09-13','2022-09-13',121650.01,1,855.00,'PAGO  0004 - 001136',NULL,NULL,NULL,NULL,NULL),(173327,NULL,0,NULL,NULL,21,40817,40961,57,7602,1,1,'2022-09-20','2022-09-20',26340.01,1,855.00,'FACTURA A 0003 - 005782',NULL,NULL,NULL,NULL,NULL),(173328,NULL,0,NULL,NULL,21,40817,40961,57,7602,1,1,'2022-09-21','2022-09-21',23110.01,1,855.00,'FACTURA A 0003 - 005786',NULL,NULL,NULL,NULL,NULL),(173329,NULL,0,NULL,NULL,21,40817,40961,57,7602,1,1,'2022-09-24','2022-09-24',9670.01,1,855.00,'FACTURA A 0003 - 005795',NULL,NULL,NULL,NULL,NULL),(173330,NULL,0,NULL,NULL,21,40817,40961,57,7602,1,1,'2022-09-29','2022-09-29',33080.00,1,855.00,'FACTURA A 0003 - 005809',NULL,NULL,NULL,NULL,NULL),(173331,NULL,0,NULL,NULL,21,40817,40961,57,7603,1,1,'2022-10-06','2022-10-06',56680.01,1,855.00,'FACTURA A 0003 - 005819',NULL,NULL,NULL,NULL,NULL),(173332,NULL,0,NULL,173332,3,40817,40961,57,7603,2,1,'2022-10-19','2022-10-19',92321.67,1,855.00,'PAGO  0004 - 001289',NULL,NULL,NULL,NULL,NULL),(173333,NULL,0,NULL,NULL,21,40817,40961,57,7603,1,1,'2022-10-24','2022-10-24',17660.00,1,855.00,'FACTURA A 0003 - 005853',NULL,NULL,NULL,NULL,NULL),(173334,NULL,0,NULL,NULL,21,40817,40961,57,7604,1,1,'2022-11-01','2022-11-01',19200.00,1,855.00,'FACTURA A 0003 - 005879',NULL,NULL,NULL,NULL,NULL),(173335,NULL,0,NULL,NULL,21,40817,40961,57,7604,1,1,'2022-11-02','2022-11-02',23460.00,1,855.00,'FACTURA A 0003 - 005887',NULL,NULL,NULL,NULL,NULL),(173336,NULL,0,NULL,NULL,21,40817,40961,57,7604,1,1,'2022-11-19','2022-11-19',39608.01,1,855.00,'FACTURA A 0003 - 005927',NULL,NULL,NULL,NULL,NULL),(173337,NULL,0,NULL,NULL,21,40817,40961,57,7604,1,1,'2022-11-23','2022-11-23',39520.00,1,855.00,'FACTURA A 0003 - 005930',NULL,NULL,NULL,NULL,NULL),(173338,NULL,0,NULL,173338,3,40817,40961,57,7604,2,1,'2022-11-23','2022-11-23',97678.37,1,855.00,'PAGO  0004 - 001452',NULL,NULL,NULL,NULL,NULL),(173339,NULL,0,NULL,NULL,21,40817,40961,57,7605,1,1,'2022-12-06','2022-12-06',41380.00,1,855.00,'FACTURA A 0003 - 005957',NULL,NULL,NULL,NULL,NULL),(173340,NULL,0,NULL,NULL,21,40817,40961,57,7605,1,1,'2022-12-19','2022-12-19',63210.00,1,855.00,'FACTURA A 0003 - 005983',NULL,NULL,NULL,NULL,NULL),(173341,NULL,0,NULL,NULL,21,40817,40961,57,7605,1,1,'2022-12-22','2022-12-22',56240.00,1,855.00,'FACTURA A 0003 - 006000',NULL,NULL,NULL,NULL,NULL),(173342,NULL,0,NULL,173342,3,40817,40961,57,7605,2,1,'2022-12-23','2022-12-23',139708.01,1,855.00,'PAGO  0004 - 001590',NULL,NULL,NULL,NULL,NULL),(173343,NULL,0,NULL,NULL,21,40817,40961,57,7605,1,1,'2022-12-30','2022-12-30',11070.00,1,855.00,'FACTURA A 0003 - 006021',NULL,NULL,NULL,NULL,NULL),(173344,NULL,0,NULL,NULL,21,40817,40961,57,7609,1,1,'2023-01-17','2023-01-17',75740.00,1,855.00,'FACTURA A 0003 - 006063',NULL,NULL,NULL,NULL,NULL),(173345,NULL,0,NULL,NULL,21,40817,40961,57,7609,1,1,'2023-01-19','2023-01-19',46530.01,1,855.00,'FACTURA A 0003 - 006068',NULL,NULL,NULL,NULL,NULL),(173346,NULL,0,NULL,173346,3,40817,40961,57,7609,2,1,'2023-01-31','2023-01-31',130520.00,1,855.00,'PAGO  0004 - 001773',NULL,NULL,NULL,NULL,NULL),(173347,NULL,0,NULL,NULL,21,40817,40961,57,7610,1,1,'2023-02-14','2023-02-14',83650.00,1,855.00,'FACTURA A 0003 - 006126',NULL,NULL,NULL,NULL,NULL),(173348,NULL,0,NULL,NULL,21,40817,40961,57,7610,1,1,'2023-02-16','2023-02-16',43280.01,1,855.00,'FACTURA A 0003 - 006139',NULL,NULL,NULL,NULL,NULL),(173349,NULL,0,NULL,173349,3,40817,40961,57,7611,2,1,'2023-03-07','2023-03-07',249377.97,1,855.00,'PAGO  0004 - 001924',NULL,NULL,NULL,NULL,NULL),(173350,NULL,0,NULL,NULL,21,40817,40961,57,7611,1,1,'2023-03-20','2023-03-20',63240.00,1,855.00,'FACTURA A 0003 - 006182',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173351,NULL,0,NULL,NULL,21,40817,40961,57,7611,1,1,'2023-03-22','2023-03-22',47880.01,1,855.00,'FACTURA A 0003 - 006186',NULL,NULL,NULL,NULL,NULL),(173352,NULL,0,NULL,NULL,21,40817,40961,57,7611,1,1,'2023-03-28','2023-03-28',13560.01,1,855.00,'FACTURA A 0003 - 006203',NULL,NULL,NULL,NULL,NULL),(173353,NULL,0,NULL,NULL,21,40817,40961,57,7612,1,1,'2023-04-14','2023-04-14',70570.00,1,855.00,'FACTURA A 0003 - 006227',NULL,NULL,NULL,NULL,NULL),(173354,NULL,0,NULL,173354,3,40817,40961,57,7612,2,1,'2023-04-14','2023-04-14',124697.14,1,855.00,'PAGO  0004 - 002107',NULL,NULL,NULL,NULL,NULL),(173355,NULL,0,NULL,NULL,21,40817,40961,57,7612,1,1,'2023-04-20','2023-04-20',35110.00,1,855.00,'FACTURA A 0003 - 006237',NULL,NULL,NULL,NULL,NULL),(173356,NULL,0,NULL,NULL,21,40817,40961,57,7612,1,1,'2023-04-22','2023-04-22',18460.00,1,855.00,'FACTURA A 0003 - 006243',NULL,NULL,NULL,NULL,NULL),(173357,NULL,0,NULL,173357,3,40817,40961,57,7613,2,1,'2023-05-19','2023-05-19',125475.88,1,855.00,'PAGO  0004 - 002289',NULL,NULL,NULL,NULL,NULL),(173358,NULL,0,NULL,NULL,21,40817,40961,57,7613,1,1,'2023-05-23','2023-05-23',47350.00,1,855.00,'FACTURA A 0003 - 006321',NULL,NULL,NULL,NULL,NULL),(173359,NULL,0,NULL,NULL,21,40817,40961,57,7613,1,1,'2023-05-30','2023-05-30',63880.00,1,855.00,'FACTURA A 0003 - 006331',NULL,NULL,NULL,NULL,NULL),(173360,NULL,0,NULL,NULL,21,40817,40961,57,7613,1,1,'2023-05-31','2023-05-31',12350.00,1,855.00,'FACTURA A 0003 - 006335',NULL,NULL,NULL,NULL,NULL),(173361,NULL,0,NULL,NULL,21,40817,40961,57,7614,1,1,'2023-06-21','2023-06-21',56480.00,1,855.00,'FACTURA A 0003 - 006372',NULL,NULL,NULL,NULL,NULL),(173362,NULL,0,NULL,173362,3,40817,40961,57,7614,2,1,'2023-06-22','2023-06-22',122164.44,1,855.00,'PAGO  0004 - 002448',NULL,NULL,NULL,NULL,NULL),(173363,NULL,0,NULL,NULL,21,40817,40961,57,7614,1,1,'2023-06-27','2023-06-27',63280.00,1,855.00,'FACTURA A 0003 - 006390',NULL,NULL,NULL,NULL,NULL),(173364,NULL,0,NULL,173364,3,40817,40961,57,7615,2,1,'2023-07-19','2023-07-19',122157.00,1,855.00,'PAGO  0004 - 002580',NULL,NULL,NULL,NULL,NULL),(173365,NULL,0,NULL,NULL,21,40817,40961,57,7615,1,1,'2023-07-24','2023-07-24',67070.01,1,855.00,'FACTURA A 0003 - 006450',NULL,NULL,NULL,NULL,NULL),(173366,NULL,0,NULL,NULL,21,40817,40961,57,7615,1,1,'2023-07-29','2023-07-29',72600.00,1,855.00,'FACTURA A 0003 - 006470',NULL,NULL,NULL,NULL,NULL),(173367,NULL,0,NULL,NULL,21,40817,40961,57,7616,1,1,'2023-08-23','2023-08-23',127630.00,1,855.00,'FACTURA A 0003 - 006507',NULL,NULL,NULL,NULL,NULL),(173368,NULL,0,NULL,173368,3,40817,40961,57,7616,2,1,'2023-08-28','2023-08-28',137157.62,1,855.00,'PAGO  0004 - 002781',NULL,NULL,NULL,NULL,NULL),(173369,NULL,0,NULL,173369,3,40817,40961,57,7617,2,1,'2023-09-26','2023-09-26',127630.00,1,855.00,'PAGO  0004 - 002948',NULL,NULL,NULL,NULL,NULL),(173370,NULL,0,NULL,NULL,21,40817,40961,57,7617,1,1,'2023-09-30','2023-09-30',119700.00,1,855.00,'FACTURA A 0003 - 006629',NULL,NULL,NULL,NULL,NULL),(173371,NULL,0,NULL,NULL,21,40817,40961,57,7618,1,1,'2023-10-23','2023-10-23',87600.01,1,855.00,'FACTURA A 0003 - 006677',NULL,NULL,NULL,NULL,NULL),(173372,NULL,0,NULL,173372,3,40817,40961,57,7618,2,1,'2023-10-25','2023-10-25',120270.00,1,855.00,'PAGO  0004 - 003099',NULL,NULL,NULL,NULL,NULL),(173373,NULL,0,NULL,173373,3,40817,40961,57,7619,2,1,'2023-11-14','2023-11-14',88848.69,1,855.00,'PAGO  0004 - 003213',NULL,NULL,NULL,NULL,NULL),(173374,NULL,0,NULL,NULL,21,40817,41002,57,7594,1,1,'2022-01-27','2022-01-27',520471.40,1,855.00,'FACTURA A 0009 - 001999',NULL,NULL,NULL,NULL,NULL),(173375,NULL,0,NULL,NULL,21,40817,41002,57,7594,1,1,'2022-01-27','2022-01-27',520471.40,1,855.00,'FACTURA A 0009 - 002000',NULL,NULL,NULL,NULL,NULL),(173376,NULL,0,NULL,NULL,21,40817,41002,57,7594,1,1,'2022-01-27','2022-01-27',194853.56,1,855.00,'FACTURA A 0009 - 002001',NULL,NULL,NULL,NULL,NULL),(173377,NULL,0,NULL,NULL,21,40817,41002,57,7594,1,1,'2022-01-27','2022-01-27',660628.54,1,855.00,'FACTURA A 0009 - 002002',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173378,NULL,0,NULL,173378,3,40817,41002,57,7595,2,1,'2022-02-09','2022-02-09',520941.57,1,855.00,'PAGO  0004 - 000143',NULL,NULL,NULL,NULL,NULL),(173379,NULL,0,NULL,173379,3,40817,41002,57,7595,2,1,'2022-02-11','2022-02-11',520001.23,1,855.00,'PAGO  0004 - 000147',NULL,NULL,NULL,NULL,NULL),(173380,NULL,0,NULL,173380,3,40817,41002,57,7595,2,1,'2022-02-14','2022-02-14',194853.56,1,855.00,'PAGO  0004 - 000150',NULL,NULL,NULL,NULL,NULL),(173381,NULL,0,NULL,173381,3,40817,41002,57,7595,2,1,'2022-02-24','2022-02-24',303967.89,1,855.00,'PAGO  0004 - 000199',NULL,NULL,NULL,NULL,NULL),(173382,NULL,0,NULL,173382,3,40817,41002,57,7596,2,1,'2022-03-05','2022-03-05',356660.65,1,855.00,'PAGO  0004 - 000226',NULL,NULL,NULL,NULL,NULL),(173383,NULL,0,NULL,NULL,21,40817,41002,57,7600,1,1,'2022-07-01','2022-07-01',133198.31,1,855.00,'FACTURA A 0009 - 003006',NULL,NULL,NULL,NULL,NULL),(173384,NULL,0,NULL,NULL,21,40817,41002,57,7600,1,1,'2022-07-01','2022-07-01',646321.50,1,855.00,'FACTURA A 0009 - 003007',NULL,NULL,NULL,NULL,NULL),(173385,NULL,0,NULL,NULL,21,40817,41002,57,7600,1,1,'2022-07-01','2022-07-01',167706.00,1,855.00,'FACTURA A 0009 - 003008',NULL,NULL,NULL,NULL,NULL),(173386,NULL,0,NULL,173386,3,40817,41002,57,7600,2,1,'2022-07-11','2022-07-11',133198.31,1,855.00,'NOTA DE CREDITO A 0009 - 000372',NULL,NULL,NULL,NULL,NULL),(173387,NULL,0,NULL,173387,3,40817,41002,57,7600,2,1,'2022-07-11','2022-07-11',646321.50,1,855.00,'NOTA DE CREDITO A 0009 - 000373',NULL,NULL,NULL,NULL,NULL),(173388,NULL,0,NULL,173388,3,40817,41002,57,7600,2,1,'2022-07-11','2022-07-11',167706.00,1,855.00,'NOTA DE CREDITO A 0009 - 000374',NULL,NULL,NULL,NULL,NULL),(173389,NULL,0,NULL,173389,3,40817,41002,57,7600,2,1,'2022-07-12','2022-07-12',300904.31,1,855.00,'PAGO  0004 - 000831',NULL,NULL,NULL,NULL,NULL),(173390,NULL,0,NULL,NULL,21,40817,41002,57,7600,1,1,'2022-07-12','2022-07-12',949574.30,1,855.00,'FACTURA A 0009 - 003060',NULL,NULL,NULL,NULL,NULL),(173391,NULL,0,NULL,173391,3,40817,41002,57,7600,2,1,'2022-07-15','2022-07-15',648669.99,1,855.00,'PAGO  0001 - 000784',NULL,NULL,NULL,NULL,NULL),(173392,NULL,0,NULL,NULL,21,40817,41002,57,7602,1,1,'2022-09-01','2022-09-01',1551305.70,1,855.00,'FACTURA A 0009 - 003380',NULL,NULL,NULL,NULL,NULL),(173393,NULL,0,NULL,NULL,21,40817,41002,57,7602,1,1,'2022-09-01','2022-09-01',180471.65,1,855.00,'FACTURA A 0009 - 003381',NULL,NULL,NULL,NULL,NULL),(173394,NULL,0,NULL,173394,3,40817,41002,57,7602,2,1,'2022-09-19','2022-09-19',1731777.35,1,855.00,'PAGO  0004 - 001167',NULL,NULL,NULL,NULL,NULL),(173395,NULL,0,NULL,NULL,21,40817,41002,57,7604,1,1,'2022-11-02','2022-11-02',20000.00,1,855.00,'NOTA DE DEBITO A 0009 - 000035',NULL,NULL,NULL,NULL,NULL),(173396,NULL,0,NULL,173396,3,40817,41002,57,7604,2,1,'2022-11-04','2022-11-04',20000.00,1,855.00,'PAGO  0004 - 001377',NULL,NULL,NULL,NULL,NULL),(173397,NULL,0,NULL,NULL,21,40817,41002,57,7604,1,1,'2022-11-25','2022-11-25',3059991.43,1,855.00,'FACTURA A 0009 - 003907',NULL,NULL,NULL,NULL,NULL),(173398,NULL,0,NULL,NULL,21,40817,41002,57,7604,1,1,'2022-11-25','2022-11-25',127499.64,1,855.00,'FACTURA A 0009 - 003908',NULL,NULL,NULL,NULL,NULL),(173399,NULL,0,NULL,173399,3,40817,41002,57,7605,2,1,'2022-12-27','2022-12-27',3059991.43,1,855.00,'NOTA DE CREDITO A 0009 - 000491',NULL,NULL,NULL,NULL,NULL),(173400,NULL,0,NULL,173400,3,40817,41002,57,7605,2,1,'2022-12-27','2022-12-27',127499.64,1,855.00,'NOTA DE CREDITO A 0009 - 000492',NULL,NULL,NULL,NULL,NULL),(173401,NULL,0,NULL,173401,3,40817,41002,57,7610,2,1,'2023-02-03','2023-02-03',57580.01,1,855.00,'PAGO CONTADO  0001 - 001813',NULL,NULL,NULL,NULL,NULL),(173402,NULL,0,NULL,NULL,21,40817,41002,57,7610,1,1,'2023-02-03','2023-02-03',57580.01,1,855.00,'NOTA DE DEBITO A 0009 - 000040',NULL,NULL,NULL,NULL,NULL),(173403,NULL,0,NULL,NULL,21,40817,41002,57,7620,1,1,'2023-12-22','2023-12-22',3148026.12,1,855.00,'FACTURA A 0009 - 006217',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173404,NULL,0,NULL,NULL,21,40817,41002,57,6064,1,1,'2024-01-24','2024-01-24',3468330.90,1,855.00,'NOTA DE DEBITO A 0009 - 000105',NULL,NULL,NULL,NULL,NULL),(173405,NULL,0,NULL,173405,3,40817,41002,57,6064,2,1,'2024-01-24','2024-01-24',1000000.00,1,855.00,'PAGO  0004 - 003599',NULL,NULL,NULL,NULL,NULL),(173406,NULL,0,NULL,173406,3,40817,41002,57,6064,2,1,'2024-01-24','2024-01-24',2148026.12,1,855.00,'PAGO  0004 - 003601',NULL,NULL,NULL,NULL,NULL),(173407,NULL,0,NULL,173407,3,40817,41002,57,6065,2,1,'2024-02-22','2024-02-22',3468330.90,1,855.00,'NOTA DE CREDITO A 0009 - 000764',NULL,NULL,NULL,NULL,NULL),(173408,NULL,0,NULL,NULL,21,40817,41002,57,6066,1,1,'2024-03-07','2024-03-07',1704993.50,1,855.00,'NOTA DE DEBITO A 0009 - 000132',NULL,NULL,NULL,NULL,NULL),(173409,NULL,0,NULL,173409,3,40817,41002,57,6066,2,1,'2024-03-14','2024-03-14',1704993.50,1,855.00,'PAGO  0004 - 003883',NULL,NULL,NULL,NULL,NULL),(173410,NULL,0,NULL,NULL,21,40817,40822,57,7594,1,1,'2022-01-04','2022-01-04',146900.00,1,855.00,'FACTURA C 0002 - 000225',NULL,NULL,NULL,NULL,NULL),(173411,NULL,0,NULL,NULL,21,40817,40822,57,7594,1,1,'2022-01-07','2022-01-07',61000.00,1,855.00,'FACTURA C 0002 - 000228',NULL,NULL,NULL,NULL,NULL),(173412,NULL,0,NULL,173412,3,40817,40822,57,7594,2,1,'2022-01-19','2022-01-19',146900.00,1,855.00,'PAGO  0004 - 000035',NULL,NULL,NULL,NULL,NULL),(173413,NULL,0,NULL,173413,3,40817,40822,57,7594,2,1,'2022-01-19','2022-01-19',61000.00,1,855.00,'PAGO  0004 - 000036',NULL,NULL,NULL,NULL,NULL),(173414,NULL,0,NULL,NULL,21,40817,40822,57,7594,1,1,'2022-01-20','2022-01-20',40000.00,1,855.00,'FACTURA C 0002 - 000230',NULL,NULL,NULL,NULL,NULL),(173415,NULL,0,NULL,NULL,21,40817,40822,57,7595,1,1,'2022-02-01','2022-02-01',145500.00,1,855.00,'FACTURA C 0002 - 000235',NULL,NULL,NULL,NULL,NULL),(173416,NULL,0,NULL,NULL,21,40817,40822,57,7595,1,1,'2022-02-01','2022-02-01',78700.00,1,855.00,'FACTURA C 0002 - 000236',NULL,NULL,NULL,NULL,NULL),(173417,NULL,0,NULL,173417,3,40817,40822,57,7595,2,1,'2022-02-01','2022-02-01',40000.00,1,855.00,'PAGO  0004 - 000084',NULL,NULL,NULL,NULL,NULL),(173418,NULL,0,NULL,173418,3,40817,40822,57,7595,2,1,'2022-02-14','2022-02-14',79828.89,1,855.00,'PAGO  0004 - 000152',NULL,NULL,NULL,NULL,NULL),(173419,NULL,0,NULL,173419,3,40817,40822,57,7595,2,1,'2022-02-25','2022-02-25',144569.66,1,855.00,'PAGO  0004 - 000203',NULL,NULL,NULL,NULL,NULL),(173420,NULL,0,NULL,NULL,21,40817,40822,57,7596,1,1,'2022-03-04','2022-03-04',134500.00,1,855.00,'FACTURA C 0002 - 000243',NULL,NULL,NULL,NULL,NULL),(173421,NULL,0,NULL,NULL,21,40817,40822,57,7596,1,1,'2022-03-17','2022-03-17',71100.00,1,855.00,'FACTURA C 0002 - 000247',NULL,NULL,NULL,NULL,NULL),(173422,NULL,0,NULL,173422,3,40817,40822,57,7596,2,1,'2022-03-25','2022-03-25',134301.45,1,855.00,'PAGO  0004 - 000332',NULL,NULL,NULL,NULL,NULL),(173423,NULL,0,NULL,173423,3,40817,40822,57,7596,2,1,'2022-03-29','2022-03-29',71135.91,1,855.00,'PAGO  0004 - 000342',NULL,NULL,NULL,NULL,NULL),(173424,NULL,0,NULL,NULL,21,40817,40822,57,7597,1,1,'2022-04-04','2022-04-04',226900.00,1,855.00,'FACTURA C 0002 - 000250',NULL,NULL,NULL,NULL,NULL),(173425,NULL,0,NULL,173425,3,40817,40822,57,7597,2,1,'2022-04-18','2022-04-18',226864.09,1,855.00,'PAGO  0004 - 000433',NULL,NULL,NULL,NULL,NULL),(173426,NULL,0,NULL,NULL,21,40817,40822,57,7598,1,1,'2022-05-05','2022-05-05',92400.00,1,855.00,'FACTURA C 0002 - 000254',NULL,NULL,NULL,NULL,NULL),(173427,NULL,0,NULL,NULL,21,40817,40822,57,7598,1,1,'2022-05-05','2022-05-05',224050.00,1,855.00,'FACTURA C 0002 - 000255',NULL,NULL,NULL,NULL,NULL),(173428,NULL,0,NULL,173428,3,40817,40822,57,7598,2,1,'2022-05-10','2022-05-10',33000.00,1,855.00,'PAGO  0004 - 000547',NULL,NULL,NULL,NULL,NULL),(173429,NULL,0,NULL,NULL,21,40817,40822,57,7598,1,1,'2022-05-10','2022-05-10',33000.00,1,855.00,'NOTA DE DEBITO C 0002 - 000001',NULL,NULL,NULL,NULL,NULL),(173430,NULL,0,NULL,173430,3,40817,40822,57,7598,2,1,'2022-05-12','2022-05-12',224580.01,1,855.00,'PAGO  0004 - 000556',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173431,NULL,0,NULL,173431,3,40817,40822,57,7598,2,1,'2022-05-19','2022-05-19',93475.00,1,855.00,'PAGO  0004 - 000597',NULL,NULL,NULL,NULL,NULL),(173432,NULL,0,NULL,NULL,21,40817,40822,57,7599,1,1,'2022-06-01','2022-06-01',174400.00,1,855.00,'FACTURA C 0002 - 000261',NULL,NULL,NULL,NULL,NULL),(173433,NULL,0,NULL,173433,3,40817,40822,57,7599,2,1,'2022-06-15','2022-06-15',173097.62,1,855.00,'PAGO  0004 - 000725',NULL,NULL,NULL,NULL,NULL),(173434,NULL,0,NULL,NULL,21,40817,40822,57,7600,1,1,'2022-07-01','2022-07-01',164200.00,1,855.00,'FACTURA C 0002 - 000263',NULL,NULL,NULL,NULL,NULL),(173435,NULL,0,NULL,173435,3,40817,40822,57,7600,2,1,'2022-07-13','2022-07-13',164281.74,1,855.00,'PAGO  0004 - 000837',NULL,NULL,NULL,NULL,NULL),(173436,NULL,0,NULL,NULL,21,40817,40822,57,7601,1,1,'2022-08-01','2022-08-01',220000.00,1,855.00,'FACTURA C 0002 - 000272',NULL,NULL,NULL,NULL,NULL),(173437,NULL,0,NULL,173437,3,40817,40822,57,7601,2,1,'2022-08-09','2022-08-09',219615.63,1,855.00,'PAGO  0004 - 000965',NULL,NULL,NULL,NULL,NULL),(173438,NULL,0,NULL,NULL,21,40817,40822,57,7602,1,1,'2022-09-28','2022-09-28',290195.00,1,855.00,'FACTURA M 0004 - 000001',NULL,NULL,NULL,NULL,NULL),(173439,NULL,0,NULL,NULL,21,40817,40822,57,7603,1,1,'2022-10-03','2022-10-03',276485.00,1,855.00,'FACTURA M 0004 - 000006',NULL,NULL,NULL,NULL,NULL),(173440,NULL,0,NULL,173440,3,40817,40822,57,7603,2,1,'2022-10-03','2022-10-03',290195.00,1,855.00,'NOTA DE CREDITO M 0004 - 000002',NULL,NULL,NULL,NULL,NULL),(173441,NULL,0,NULL,173441,3,40817,40822,57,7603,2,1,'2022-10-14','2022-10-14',276485.00,1,855.00,'PAGO  0004 - 001280',NULL,NULL,NULL,NULL,NULL),(173442,NULL,0,NULL,NULL,21,40817,40822,57,7604,1,1,'2022-11-02','2022-11-02',243573.00,1,855.00,'FACTURA M 0004 - 000007',NULL,NULL,NULL,NULL,NULL),(173443,NULL,0,NULL,NULL,21,40817,40822,57,7604,1,1,'2022-11-02','2022-11-02',157179.00,1,855.00,'FACTURA M 0004 - 000008',NULL,NULL,NULL,NULL,NULL),(173444,NULL,0,NULL,173444,3,40817,40822,57,7604,2,1,'2022-11-14','2022-11-14',157179.00,1,855.00,'PAGO  0004 - 001410',NULL,NULL,NULL,NULL,NULL),(173445,NULL,0,NULL,173445,3,40817,40822,57,7604,2,1,'2022-11-23','2022-11-23',243573.00,1,855.00,'PAGO  0004 - 001456',NULL,NULL,NULL,NULL,NULL),(173446,NULL,0,NULL,NULL,21,40817,40822,57,7605,1,1,'2022-12-05','2022-12-05',306614.00,1,855.00,'FACTURA M 0004 - 000012',NULL,NULL,NULL,NULL,NULL),(173447,NULL,0,NULL,NULL,21,40817,40822,57,7605,1,1,'2022-12-25','2022-12-25',301774.00,1,855.00,'FACTURA M 0004 - 000013',NULL,NULL,NULL,NULL,NULL),(173448,NULL,0,NULL,173448,3,40817,40822,57,7605,2,1,'2022-12-26','2022-12-26',200000.00,1,855.00,'PAGO  0004 - 001595',NULL,NULL,NULL,NULL,NULL),(173449,NULL,0,NULL,NULL,21,40817,40822,57,7609,1,1,'2023-01-01','2023-01-01',348238.00,1,855.00,'FACTURA M 0004 - 000016',NULL,NULL,NULL,NULL,NULL),(173450,NULL,0,NULL,173450,3,40817,40822,57,7609,2,1,'2023-01-02','2023-01-02',106614.00,1,855.00,'PAGO  0004 - 001621',NULL,NULL,NULL,NULL,NULL),(173451,NULL,0,NULL,NULL,21,40817,40822,57,7609,1,1,'2023-01-08','2023-01-08',72842.00,1,855.00,'FACTURA M 0004 - 000018',NULL,NULL,NULL,NULL,NULL),(173452,NULL,0,NULL,173452,3,40817,40822,57,7609,2,1,'2023-01-13','2023-01-13',650012.00,1,855.00,'PAGO  0004 - 001706',NULL,NULL,NULL,NULL,NULL),(173453,NULL,0,NULL,NULL,21,40817,40822,57,7609,1,1,'2023-01-23','2023-01-23',68970.00,1,855.00,'FACTURA M 0004 - 000019',NULL,NULL,NULL,NULL,NULL),(173454,NULL,0,NULL,NULL,21,40817,40822,57,7609,1,1,'2023-01-23','2023-01-23',88330.00,1,855.00,'FACTURA M 0004 - 000020',NULL,NULL,NULL,NULL,NULL),(173455,NULL,0,NULL,NULL,21,40817,40822,57,7609,1,1,'2023-01-31','2023-01-31',109747.00,1,855.00,'FACTURA M 0004 - 000023',NULL,NULL,NULL,NULL,NULL),(173456,NULL,0,NULL,173456,3,40817,40822,57,7609,2,1,'2023-01-31','2023-01-31',109747.00,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000092',NULL,NULL,NULL,NULL,NULL),(173457,NULL,0,NULL,NULL,21,40817,40822,57,7610,1,1,'2023-02-06','2023-02-06',125598.00,1,855.00,'FACTURA M 0004 - 000024',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173458,NULL,0,NULL,173458,3,40817,40822,57,7610,2,1,'2023-02-08','2023-02-08',230142.00,1,855.00,'PAGO  0004 - 001817',NULL,NULL,NULL,NULL,NULL),(173459,NULL,0,NULL,NULL,21,40817,40822,57,7610,1,1,'2023-02-12','2023-02-12',120395.00,1,855.00,'FACTURA M 0004 - 000026',NULL,NULL,NULL,NULL,NULL),(173460,NULL,0,NULL,NULL,21,40817,40822,57,7610,1,1,'2023-02-27','2023-02-27',139150.00,1,855.00,'FACTURA A 0004 - 000001',NULL,NULL,NULL,NULL,NULL),(173461,NULL,0,NULL,173461,3,40817,40822,57,7611,2,1,'2023-03-02','2023-03-02',245993.00,1,855.00,'PAGO  0004 - 001884',NULL,NULL,NULL,NULL,NULL),(173462,NULL,0,NULL,NULL,21,40817,40822,57,7611,1,1,'2023-03-06','2023-03-06',134794.00,1,855.00,'FACTURA A 0004 - 000007',NULL,NULL,NULL,NULL,NULL),(173463,NULL,0,NULL,173463,3,40817,40822,57,7611,2,1,'2023-03-22','2023-03-22',274188.63,1,855.00,'PAGO  0004 - 001996',NULL,NULL,NULL,NULL,NULL),(173464,NULL,0,NULL,NULL,21,40817,40822,57,7612,1,1,'2023-04-02','2023-04-02',189365.00,1,855.00,'FACTURA A 0004 - 000009',NULL,NULL,NULL,NULL,NULL),(173465,NULL,0,NULL,NULL,21,40817,40822,57,7612,1,1,'2023-04-02','2023-04-02',283624.00,1,855.00,'FACTURA A 0004 - 000010',NULL,NULL,NULL,NULL,NULL),(173466,NULL,0,NULL,NULL,21,40817,40822,57,7612,1,1,'2023-04-10','2023-04-10',137819.00,1,855.00,'FACTURA A 0004 - 000012',NULL,NULL,NULL,NULL,NULL),(173467,NULL,0,NULL,173467,3,40817,40822,57,7612,2,1,'2023-04-12','2023-04-12',473120.15,1,855.00,'PAGO  0004 - 002088',NULL,NULL,NULL,NULL,NULL),(173468,NULL,0,NULL,NULL,21,40817,40822,57,7612,1,1,'2023-04-17','2023-04-17',77440.00,1,855.00,'FACTURA A 0004 - 000016',NULL,NULL,NULL,NULL,NULL),(173469,NULL,0,NULL,NULL,21,40817,40822,57,7612,1,1,'2023-04-24','2023-04-24',82522.00,1,855.00,'FACTURA A 0004 - 000018',NULL,NULL,NULL,NULL,NULL),(173470,NULL,0,NULL,173470,3,40817,40822,57,7612,2,1,'2023-04-28','2023-04-28',141572.31,1,855.00,'PAGO  0004 - 002165',NULL,NULL,NULL,NULL,NULL),(173471,NULL,0,NULL,173471,3,40817,40822,57,7612,2,1,'2023-04-28','2023-04-28',155936.64,1,855.00,'PAGO  0004 - 002171',NULL,NULL,NULL,NULL,NULL),(173472,NULL,0,NULL,NULL,21,40817,40822,57,7613,1,1,'2023-05-03','2023-05-03',147741.00,1,855.00,'FACTURA A 0004 - 000019',NULL,NULL,NULL,NULL,NULL),(173473,NULL,0,NULL,NULL,21,40817,40822,57,7613,1,1,'2023-05-07','2023-05-07',104423.00,1,855.00,'FACTURA A 0004 - 000024',NULL,NULL,NULL,NULL,NULL),(173474,NULL,0,NULL,NULL,21,40817,40822,57,7613,1,1,'2023-05-15','2023-05-15',86273.00,1,855.00,'FACTURA A 0004 - 000026',NULL,NULL,NULL,NULL,NULL),(173475,NULL,0,NULL,173475,3,40817,40822,57,7613,2,1,'2023-05-22','2023-05-22',148629.05,1,855.00,'PAGO  0004 - 002294',NULL,NULL,NULL,NULL,NULL),(173476,NULL,0,NULL,NULL,21,40817,40822,57,7613,1,1,'2023-05-23','2023-05-23',117491.00,1,855.00,'FACTURA A 0004 - 000028',NULL,NULL,NULL,NULL,NULL),(173477,NULL,0,NULL,173477,3,40817,40822,57,7613,2,1,'2023-05-29','2023-05-29',189704.22,1,855.00,'PAGO  0004 - 002318',NULL,NULL,NULL,NULL,NULL),(173478,NULL,0,NULL,NULL,21,40817,40822,57,7613,1,1,'2023-05-30','2023-05-30',93896.00,1,855.00,'FACTURA A 0004 - 000029',NULL,NULL,NULL,NULL,NULL),(173479,NULL,0,NULL,173479,3,40817,40822,57,7614,2,1,'2023-06-08','2023-06-08',213205.32,1,855.00,'PAGO  0004 - 002379',NULL,NULL,NULL,NULL,NULL),(173480,NULL,0,NULL,NULL,21,40817,40822,57,7614,1,1,'2023-06-14','2023-06-14',171820.00,1,855.00,'FACTURA A 0004 - 000031',NULL,NULL,NULL,NULL,NULL),(173481,NULL,0,NULL,NULL,21,40817,40822,57,7614,1,1,'2023-06-14','2023-06-14',95348.00,1,855.00,'FACTURA A 0004 - 000032',NULL,NULL,NULL,NULL,NULL),(173482,NULL,0,NULL,NULL,21,40817,40822,57,7614,1,1,'2023-06-27','2023-06-27',155606.00,1,855.00,'FACTURA A 0004 - 000035',NULL,NULL,NULL,NULL,NULL),(173483,NULL,0,NULL,173483,3,40817,40822,57,7614,2,1,'2023-06-27','2023-06-27',266135.41,1,855.00,'PAGO  0004 - 002469',NULL,NULL,NULL,NULL,NULL),(173484,NULL,0,NULL,NULL,21,40817,40822,57,7615,1,1,'2023-07-06','2023-07-06',1887600.00,1,855.00,'FACTURA A 0004 - 000036',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173485,NULL,0,NULL,NULL,21,40817,40822,57,7615,1,1,'2023-07-06','2023-07-06',92928.00,1,855.00,'FACTURA A 0004 - 000037',NULL,NULL,NULL,NULL,NULL),(173486,NULL,0,NULL,173486,3,40817,40822,57,7615,2,1,'2023-07-10','2023-07-10',156158.21,1,855.00,'PAGO  0004 - 002520',NULL,NULL,NULL,NULL,NULL),(173487,NULL,0,NULL,173487,3,40817,40822,57,7615,2,1,'2023-07-10','2023-07-10',1890055.82,1,855.00,'PAGO  0004 - 002522',NULL,NULL,NULL,NULL,NULL),(173488,NULL,0,NULL,NULL,21,40817,40822,57,7615,1,1,'2023-07-14','2023-07-14',134310.00,1,855.00,'FACTURA A 0004 - 000038',NULL,NULL,NULL,NULL,NULL),(173489,NULL,0,NULL,NULL,21,40817,40822,57,7615,1,1,'2023-07-20','2023-07-20',137698.00,1,855.00,'FACTURA A 0004 - 000039',NULL,NULL,NULL,NULL,NULL),(173490,NULL,0,NULL,NULL,21,40817,40822,57,7616,1,1,'2023-08-01','2023-08-01',180290.00,1,855.00,'FACTURA A 0004 - 000041',NULL,NULL,NULL,NULL,NULL),(173491,NULL,0,NULL,173491,3,40817,40822,57,7616,2,1,'2023-08-01','2023-08-01',224257.44,1,855.00,'PAGO  0004 - 002642',NULL,NULL,NULL,NULL,NULL),(173492,NULL,0,NULL,NULL,21,40817,40822,57,7616,1,1,'2023-08-09','2023-08-09',237402.00,1,855.00,'FACTURA A 0004 - 000043',NULL,NULL,NULL,NULL,NULL),(173493,NULL,0,NULL,NULL,21,40817,40822,57,7616,1,1,'2023-08-14','2023-08-14',117975.00,1,855.00,'FACTURA A 0004 - 000044',NULL,NULL,NULL,NULL,NULL),(173494,NULL,0,NULL,173494,3,40817,40822,57,7616,2,1,'2023-08-17','2023-08-17',317174.80,1,855.00,'PAGO  0004 - 002746',NULL,NULL,NULL,NULL,NULL),(173495,NULL,0,NULL,NULL,21,40817,40822,57,7616,1,1,'2023-08-22','2023-08-22',122210.00,1,855.00,'FACTURA A 0004 - 000046',NULL,NULL,NULL,NULL,NULL),(173496,NULL,0,NULL,173496,3,40817,40822,57,7616,2,1,'2023-08-24','2023-08-24',479671.46,1,855.00,'PAGO  0004 - 002770',NULL,NULL,NULL,NULL,NULL),(173497,NULL,0,NULL,NULL,21,40817,40822,57,7617,1,1,'2023-09-07','2023-09-07',211024.00,1,855.00,'FACTURA A 0004 - 000050',NULL,NULL,NULL,NULL,NULL),(173498,NULL,0,NULL,NULL,21,40817,40822,57,7617,1,1,'2023-09-11','2023-09-11',113135.00,1,855.00,'FACTURA A 0004 - 000051',NULL,NULL,NULL,NULL,NULL),(173499,NULL,0,NULL,NULL,21,40817,40822,57,7617,1,1,'2023-09-21','2023-09-21',185130.00,1,855.00,'FACTURA A 0004 - 000053',NULL,NULL,NULL,NULL,NULL),(173500,NULL,0,NULL,173500,3,40817,40822,57,7617,2,1,'2023-09-21','2023-09-21',325041.45,1,855.00,'PAGO  0004 - 002929',NULL,NULL,NULL,NULL,NULL),(173501,NULL,0,NULL,NULL,21,40817,40822,57,7618,1,1,'2023-10-05','2023-10-05',330330.00,1,855.00,'FACTURA A 0004 - 000055',NULL,NULL,NULL,NULL,NULL),(173502,NULL,0,NULL,NULL,21,40817,40822,57,7618,1,1,'2023-10-10','2023-10-10',170973.00,1,855.00,'FACTURA A 0004 - 000061',NULL,NULL,NULL,NULL,NULL),(173503,NULL,0,NULL,NULL,21,40817,40822,57,7618,1,1,'2023-10-17','2023-10-17',131890.00,1,855.00,'FACTURA A 0004 - 000062',NULL,NULL,NULL,NULL,NULL),(173504,NULL,0,NULL,173504,3,40817,40822,57,7618,2,1,'2023-10-17','2023-10-17',517848.68,1,855.00,'PAGO  0004 - 003055',NULL,NULL,NULL,NULL,NULL),(173505,NULL,0,NULL,173505,3,40817,40822,57,7618,2,1,'2023-10-26','2023-10-26',345579.40,1,855.00,'PAGO  0004 - 003111',NULL,NULL,NULL,NULL,NULL),(173506,NULL,0,NULL,NULL,21,40817,40822,57,7618,1,1,'2023-10-26','2023-10-26',210903.00,1,855.00,'FACTURA A 0004 - 000064',NULL,NULL,NULL,NULL,NULL),(173507,NULL,0,NULL,NULL,21,40817,40822,57,7618,1,1,'2023-10-26','2023-10-26',45353.00,1,855.00,'NOTA DE DEBITO A 0004 - 000001',NULL,NULL,NULL,NULL,NULL),(173508,NULL,0,NULL,NULL,21,40817,40822,57,7619,1,1,'2023-11-07','2023-11-07',108295.00,1,855.00,'FACTURA A 0004 - 000068',NULL,NULL,NULL,NULL,NULL),(173509,NULL,0,NULL,NULL,21,40817,40822,57,7619,1,1,'2023-11-07','2023-11-07',244420.00,1,855.00,'FACTURA A 0004 - 000069',NULL,NULL,NULL,NULL,NULL),(173510,NULL,0,NULL,173510,3,40817,40822,57,7619,2,1,'2023-11-14','2023-11-14',209792.76,1,855.00,'PAGO  0004 - 003219',NULL,NULL,NULL,NULL,NULL),(173511,NULL,0,NULL,173511,3,40817,40822,57,7619,2,1,'2023-11-16','2023-11-16',107195.99,1,855.00,'PAGO  0004 - 003232',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173512,NULL,0,NULL,NULL,21,40817,40822,57,7619,1,1,'2023-11-27','2023-11-27',560835.00,1,855.00,'FACTURA A 0004 - 000071',NULL,NULL,NULL,NULL,NULL),(173513,NULL,0,NULL,173513,3,40817,40822,57,7619,2,1,'2023-11-30','2023-11-30',247318.31,1,855.00,'PAGO  0004 - 003285',NULL,NULL,NULL,NULL,NULL),(173514,NULL,0,NULL,NULL,21,40817,40822,57,7620,1,1,'2023-12-05','2023-12-05',151855.00,1,855.00,'FACTURA A 0004 - 000074',NULL,NULL,NULL,NULL,NULL),(173515,NULL,0,NULL,NULL,21,40817,40822,57,7620,1,1,'2023-12-05','2023-12-05',347875.00,1,855.00,'FACTURA A 0004 - 000075',NULL,NULL,NULL,NULL,NULL),(173516,NULL,0,NULL,NULL,21,40817,40822,57,7620,1,1,'2023-12-05','2023-12-05',471900.00,1,855.00,'FACTURA A 0004 - 000076',NULL,NULL,NULL,NULL,NULL),(173517,NULL,0,NULL,173517,3,40817,40822,57,7620,2,1,'2023-12-18','2023-12-18',713345.14,1,855.00,'PAGO  0004 - 003402',NULL,NULL,NULL,NULL,NULL),(173518,NULL,0,NULL,NULL,21,40817,40822,57,7620,1,1,'2023-12-21','2023-12-21',281325.00,1,855.00,'FACTURA A 0004 - 000077',NULL,NULL,NULL,NULL,NULL),(173519,NULL,0,NULL,NULL,21,40817,40822,57,7620,1,1,'2023-12-21','2023-12-21',139150.00,1,855.00,'FACTURA A 0004 - 000078',NULL,NULL,NULL,NULL,NULL),(173520,NULL,0,NULL,173520,3,40817,40822,57,7620,2,1,'2023-12-29','2023-12-29',345317.81,1,855.00,'PAGO  0004 - 003465',NULL,NULL,NULL,NULL,NULL),(173521,NULL,0,NULL,173521,3,40817,40822,57,6064,2,1,'2024-01-09','2024-01-09',470394.00,1,855.00,'PAGO  0004 - 003512',NULL,NULL,NULL,NULL,NULL),(173522,NULL,0,NULL,173522,3,40817,40822,57,6064,2,1,'2024-01-12','2024-01-12',421711.36,1,855.00,'PAGO  0004 - 003534',NULL,NULL,NULL,NULL,NULL),(173523,NULL,0,NULL,NULL,21,40817,40822,57,6064,1,1,'2024-01-14','2024-01-14',472505.00,1,855.00,'FACTURA A 0004 - 000081',NULL,NULL,NULL,NULL,NULL),(173524,NULL,0,NULL,NULL,21,40817,40822,57,6064,1,1,'2024-01-14','2024-01-14',231110.00,1,855.00,'FACTURA A 0004 - 000082',NULL,NULL,NULL,NULL,NULL),(173525,NULL,0,NULL,NULL,21,40817,40822,57,6064,1,1,'2024-01-21','2024-01-21',519090.00,1,855.00,'FACTURA A 0004 - 000084',NULL,NULL,NULL,NULL,NULL),(173526,NULL,0,NULL,173526,3,40817,40822,57,6065,2,1,'2024-02-06','2024-02-06',702378.64,1,855.00,'PAGO  0004 - 003656',NULL,NULL,NULL,NULL,NULL),(173527,NULL,0,NULL,NULL,21,40817,40822,57,6065,1,1,'2024-02-10','2024-02-10',519090.00,1,855.00,'FACTURA A 0004 - 000086',NULL,NULL,NULL,NULL,NULL),(173528,NULL,0,NULL,NULL,21,40817,40822,57,6065,1,1,'2024-02-10','2024-02-10',474925.00,1,855.00,'FACTURA A 0004 - 000087',NULL,NULL,NULL,NULL,NULL),(173529,NULL,0,NULL,NULL,21,40817,40822,57,6065,1,1,'2024-02-20','2024-02-20',185735.00,1,855.00,'FACTURA A 0004 - 000093',NULL,NULL,NULL,NULL,NULL),(173530,NULL,0,NULL,173530,3,40817,40822,57,6065,2,1,'2024-02-22','2024-02-22',522056.96,1,855.00,'PAGO  0004 - 003739',NULL,NULL,NULL,NULL,NULL),(173531,NULL,0,NULL,173531,3,40817,40822,57,6065,2,1,'2024-02-29','2024-02-29',663638.71,1,855.00,'PAGO  0004 - 003776',NULL,NULL,NULL,NULL,NULL),(173532,NULL,0,NULL,NULL,21,40817,40822,57,6066,1,1,'2024-03-07','2024-03-07',1051490.00,1,855.00,'FACTURA A 0004 - 000099',NULL,NULL,NULL,NULL,NULL),(173533,NULL,0,NULL,173533,3,40817,40822,57,6066,2,1,'2024-03-07','2024-03-07',519090.00,1,855.00,'NOTA DE CREDITO A 0004 - 000001',NULL,NULL,NULL,NULL,NULL),(173534,NULL,0,NULL,NULL,21,40817,40822,57,6066,1,1,'2024-03-13','2024-03-13',257730.00,1,855.00,'FACTURA A 0004 - 000103',NULL,NULL,NULL,NULL,NULL),(173535,NULL,0,NULL,173535,3,40817,40822,57,6066,2,1,'2024-03-19','2024-03-19',1053790.14,1,855.00,'PAGO  0004 - 003898',NULL,NULL,NULL,NULL,NULL),(173536,NULL,0,NULL,NULL,21,40817,40822,57,6066,1,1,'2024-03-20','2024-03-20',320045.00,1,855.00,'FACTURA A 0004 - 000104',NULL,NULL,NULL,NULL,NULL),(173537,NULL,0,NULL,NULL,21,40817,40822,57,6066,1,1,'2024-03-25','2024-03-25',488840.00,1,855.00,'FACTURA A 0004 - 000106',NULL,NULL,NULL,NULL,NULL),(173538,NULL,0,NULL,NULL,21,40817,40822,57,6067,1,1,'2024-04-03','2024-04-03',280115.00,1,855.00,'FACTURA A 0004 - 000108',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173539,NULL,0,NULL,173539,3,40817,40822,57,6067,2,1,'2024-04-16','2024-04-16',1348020.17,1,855.00,'PAGO  0004 - 004047',NULL,NULL,NULL,NULL,NULL),(173540,NULL,0,NULL,NULL,21,40817,40822,57,6067,1,1,'2024-04-30','2024-04-30',707850.00,1,855.00,'FACTURA A 0004 - 000113',NULL,NULL,NULL,NULL,NULL),(173541,NULL,0,NULL,NULL,21,40817,40822,57,6067,1,1,'2024-04-30','2024-04-30',409585.00,1,855.00,'FACTURA A 0004 - 000114',NULL,NULL,NULL,NULL,NULL),(173542,NULL,0,NULL,173542,3,40817,40822,57,6068,2,1,'2024-05-16','2024-05-16',1112692.30,1,855.00,'PAGO  0004 - 004207',NULL,NULL,NULL,NULL,NULL),(173543,NULL,0,NULL,173543,3,40817,40868,57,7590,2,1,'2021-12-31','2021-12-31',28.19,1,855.00,'PAGO  0001 - 000059',NULL,NULL,NULL,NULL,NULL),(173544,NULL,0,NULL,NULL,21,40817,40868,57,7595,1,1,'2022-02-11','2022-02-11',15650.31,1,855.00,'FACTURA A 0036 - 075357',NULL,NULL,NULL,NULL,NULL),(173545,NULL,0,NULL,173545,3,40817,40868,57,7596,2,1,'2022-03-23','2022-03-23',15622.12,1,855.00,'PAGO  0004 - 000321',NULL,NULL,NULL,NULL,NULL),(173546,NULL,0,NULL,NULL,21,40817,40868,57,7599,1,1,'2022-06-03','2022-06-03',34756.86,1,855.00,'FACTURA A 0036 - 079489',NULL,NULL,NULL,NULL,NULL),(173547,NULL,0,NULL,173547,3,40817,40868,57,7599,2,1,'2022-06-24','2022-06-24',34756.86,1,855.00,'PAGO  0004 - 000754',NULL,NULL,NULL,NULL,NULL),(173548,NULL,0,NULL,173548,3,40817,40868,57,7600,2,1,'2022-07-07','2022-07-07',2997.71,1,855.00,'PAGO CONTADO  0001 - 000762',NULL,NULL,NULL,NULL,NULL),(173549,NULL,0,NULL,NULL,21,40817,40868,57,7600,1,1,'2022-07-07','2022-07-07',2997.71,1,855.00,'FACTURA A 0036 - 080774',NULL,NULL,NULL,NULL,NULL),(173550,NULL,0,NULL,NULL,21,40817,40868,57,7600,1,1,'2022-07-29','2022-07-29',5792.86,1,855.00,'FACTURA A 0036 - 081591',NULL,NULL,NULL,NULL,NULL),(173551,NULL,0,NULL,173551,3,40817,40868,57,7600,2,1,'2022-07-29','2022-07-29',5792.86,1,855.00,'PAGO CONTADO  0001 - 000875',NULL,NULL,NULL,NULL,NULL),(173552,NULL,0,NULL,173552,3,40817,40919,57,7590,2,1,'2021-12-28','2021-12-28',26942.71,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000001',NULL,NULL,NULL,NULL,NULL),(173553,NULL,0,NULL,NULL,21,40817,40919,57,7590,1,1,'2021-12-28','2021-12-28',27005.50,1,855.00,'FACTURA A 0004 - 012287',NULL,NULL,NULL,NULL,NULL),(173554,NULL,0,NULL,NULL,21,40817,40919,57,7590,1,1,'2021-12-28','2021-12-28',26942.71,1,855.00,'FACTURA A 0004 - 012287',NULL,NULL,NULL,NULL,NULL),(173555,NULL,0,NULL,NULL,21,40817,40919,57,7590,1,1,'2021-12-31','2021-12-31',26986.90,1,855.00,'FACTURA A 0004 - 012288',NULL,NULL,NULL,NULL,NULL),(173556,NULL,0,NULL,NULL,21,40817,40919,57,7590,1,1,'2021-12-31','2021-12-31',6438.07,1,855.00,'FACTURA A 0001 - 012287',NULL,NULL,NULL,NULL,NULL),(173557,NULL,0,NULL,NULL,21,40817,40919,57,7594,1,1,'2022-01-18','2022-01-18',27005.50,1,855.00,'AJUSTE POSITIVO  0001 - 000001',NULL,NULL,NULL,NULL,NULL),(173558,NULL,0,NULL,173558,3,40817,40919,57,7594,2,1,'2022-01-18','2022-01-18',54011.00,1,855.00,'AJUSTE NEGATIVO  0001 - 000001',NULL,NULL,NULL,NULL,NULL),(173559,NULL,0,NULL,173559,3,40817,40919,57,7594,2,1,'2022-01-18','2022-01-18',60430.47,1,855.00,'PAGO  0004 - 000025',NULL,NULL,NULL,NULL,NULL),(173560,NULL,0,NULL,NULL,21,40817,40919,57,7594,1,1,'2022-01-28','2022-01-28',45081.22,1,855.00,'FACTURA A 0004 - 012430',NULL,NULL,NULL,NULL,NULL),(173561,NULL,0,NULL,NULL,21,40817,40919,57,7594,1,1,'2022-01-28','2022-01-28',44882.18,1,855.00,'FACTURA A 0004 - 012431',NULL,NULL,NULL,NULL,NULL),(173562,NULL,0,NULL,173562,3,40817,40919,57,7596,2,1,'2022-03-07','2022-03-07',63482.94,1,855.00,'PAGO  0004 - 000230',NULL,NULL,NULL,NULL,NULL),(173563,NULL,0,NULL,NULL,21,40817,40919,57,7596,1,1,'2022-03-30','2022-03-30',78313.35,1,855.00,'FACTURA A 0004 - 012700',NULL,NULL,NULL,NULL,NULL),(173564,NULL,0,NULL,NULL,21,40817,40919,57,7596,1,1,'2022-03-30','2022-03-30',45127.45,1,855.00,'FACTURA A 0004 - 012701',NULL,NULL,NULL,NULL,NULL),(173565,NULL,0,NULL,NULL,21,40817,40919,57,7596,1,1,'2022-03-30','2022-03-30',81359.32,1,855.00,'FACTURA A 0004 - 012702',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173566,NULL,0,NULL,NULL,21,40817,40919,57,7596,1,1,'2022-03-31','2022-03-31',11249.43,1,855.00,'FACTURA A 0004 - 012716',NULL,NULL,NULL,NULL,NULL),(173567,NULL,0,NULL,173567,3,40817,40919,57,7596,2,1,'2022-03-31','2022-03-31',10352.50,1,855.00,'NOTA DE CREDITO A 0004 - 001357',NULL,NULL,NULL,NULL,NULL),(173568,NULL,0,NULL,173568,3,40817,40919,57,7597,2,1,'2022-04-18','2022-04-18',215524.51,1,855.00,'PAGO  0004 - 000443',NULL,NULL,NULL,NULL,NULL),(173569,NULL,0,NULL,NULL,21,40817,40919,57,7598,1,1,'2022-05-02','2022-05-02',96674.14,1,855.00,'FACTURA A 0004 - 012870',NULL,NULL,NULL,NULL,NULL),(173570,NULL,0,NULL,173570,3,40817,40919,57,7598,2,1,'2022-05-16','2022-05-16',86321.64,1,855.00,'PAGO  0004 - 000582',NULL,NULL,NULL,NULL,NULL),(173571,NULL,0,NULL,NULL,21,40817,40919,57,7598,1,1,'2022-05-30','2022-05-30',51473.23,1,855.00,'FACTURA A 0004 - 013003',NULL,NULL,NULL,NULL,NULL),(173572,NULL,0,NULL,NULL,21,40817,40919,57,7598,1,1,'2022-05-31','2022-05-31',8056.35,1,855.00,'FACTURA A 0004 - 013014',NULL,NULL,NULL,NULL,NULL),(173573,NULL,0,NULL,173573,3,40817,40919,57,7599,2,1,'2022-06-08','2022-06-08',59529.58,1,855.00,'PAGO  0004 - 000688',NULL,NULL,NULL,NULL,NULL),(173574,NULL,0,NULL,NULL,21,40817,40919,57,7599,1,1,'2022-06-09','2022-06-09',62920.00,1,855.00,'FACTURA A 0004 - 013100',NULL,NULL,NULL,NULL,NULL),(173575,NULL,0,NULL,NULL,21,40817,40919,57,7599,1,1,'2022-06-30','2022-06-30',19758.78,1,855.00,'FACTURA A 0004 - 013195',NULL,NULL,NULL,NULL,NULL),(173576,NULL,0,NULL,NULL,21,40817,40919,57,7599,1,1,'2022-06-30','2022-06-30',39229.71,1,855.00,'FACTURA A 0004 - 013196',NULL,NULL,NULL,NULL,NULL),(173577,NULL,0,NULL,173577,3,40817,40919,57,7600,2,1,'2022-07-11','2022-07-11',121908.49,1,855.00,'PAGO  0004 - 000803',NULL,NULL,NULL,NULL,NULL),(173578,NULL,0,NULL,NULL,21,40817,40919,57,7600,1,1,'2022-07-28','2022-07-28',33750.42,1,855.00,'FACTURA A 0004 - 013310',NULL,NULL,NULL,NULL,NULL),(173579,NULL,0,NULL,NULL,21,40817,40919,57,7600,1,1,'2022-07-28','2022-07-28',12487.18,1,855.00,'FACTURA A 0004 - 013311',NULL,NULL,NULL,NULL,NULL),(173580,NULL,0,NULL,173580,3,40817,40919,57,7601,2,1,'2022-08-09','2022-08-09',46237.60,1,855.00,'PAGO  0004 - 000971',NULL,NULL,NULL,NULL,NULL),(173581,NULL,0,NULL,NULL,21,40817,40919,57,7601,1,1,'2022-08-30','2022-08-30',125633.96,1,855.00,'FACTURA A 0004 - 013481',NULL,NULL,NULL,NULL,NULL),(173582,NULL,0,NULL,NULL,21,40817,40919,57,7601,1,1,'2022-08-30','2022-08-30',4831.13,1,855.00,'FACTURA A 0004 - 013482',NULL,NULL,NULL,NULL,NULL),(173583,NULL,0,NULL,NULL,21,40817,40919,57,7601,1,1,'2022-08-30','2022-08-30',46845.51,1,855.00,'FACTURA A 0004 - 013483',NULL,NULL,NULL,NULL,NULL),(173584,NULL,0,NULL,NULL,21,40817,40919,57,7601,1,1,'2022-08-30','2022-08-30',33823.21,1,855.00,'FACTURA A 0004 - 013484',NULL,NULL,NULL,NULL,NULL),(173585,NULL,0,NULL,173585,3,40817,40919,57,7602,2,1,'2022-09-07','2022-09-07',51676.64,1,855.00,'PAGO  0004 - 001115',NULL,NULL,NULL,NULL,NULL),(173586,NULL,0,NULL,173586,3,40817,40919,57,7602,2,1,'2022-09-16','2022-09-16',159735.30,1,855.00,'PAGO  0004 - 001162',NULL,NULL,NULL,NULL,NULL),(173587,NULL,0,NULL,NULL,21,40817,40919,57,7603,1,1,'2022-10-27','2022-10-27',73661.67,1,855.00,'FACTURA A 0004 - 013835',NULL,NULL,NULL,NULL,NULL),(173588,NULL,0,NULL,NULL,21,40817,40919,57,7603,1,1,'2022-10-27','2022-10-27',128698.03,1,855.00,'FACTURA A 0004 - 013836',NULL,NULL,NULL,NULL,NULL),(173589,NULL,0,NULL,NULL,21,40817,40919,57,7603,1,1,'2022-10-27','2022-10-27',36069.69,1,855.00,'FACTURA A 0004 - 013837',NULL,NULL,NULL,NULL,NULL),(173590,NULL,0,NULL,NULL,21,40817,40919,57,7603,1,1,'2022-10-27','2022-10-27',22474.15,1,855.00,'FACTURA A 0004 - 013838',NULL,NULL,NULL,NULL,NULL),(173591,NULL,0,NULL,NULL,21,40817,40919,57,7603,1,1,'2022-10-31','2022-10-31',16851.04,1,855.00,'FACTURA A 0004 - 013871',NULL,NULL,NULL,NULL,NULL),(173592,NULL,0,NULL,173592,3,40817,40919,57,7604,2,1,'2022-11-14','2022-11-14',278099.78,1,855.00,'PAGO  0004 - 001412',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173593,NULL,0,NULL,NULL,21,40817,40919,57,7604,1,1,'2022-11-29','2022-11-29',23298.57,1,855.00,'FACTURA A 0004 - 014004',NULL,NULL,NULL,NULL,NULL),(173594,NULL,0,NULL,NULL,21,40817,40919,57,7604,1,1,'2022-11-29','2022-11-29',21127.05,1,855.00,'FACTURA A 0004 - 014005',NULL,NULL,NULL,NULL,NULL),(173595,NULL,0,NULL,173595,3,40817,40919,57,7605,2,1,'2022-12-07','2022-12-07',43802.29,1,855.00,'PAGO  0004 - 001545',NULL,NULL,NULL,NULL,NULL),(173596,NULL,0,NULL,NULL,21,40817,40919,57,7605,1,1,'2022-12-29','2022-12-29',92940.20,1,855.00,'FACTURA A 0004 - 014162',NULL,NULL,NULL,NULL,NULL),(173597,NULL,0,NULL,NULL,21,40817,40919,57,7605,1,1,'2022-12-29','2022-12-29',19550.67,1,855.00,'FACTURA A 0004 - 014163',NULL,NULL,NULL,NULL,NULL),(173598,NULL,0,NULL,NULL,21,40817,40919,57,7605,1,1,'2022-12-29','2022-12-29',264024.96,1,855.00,'FACTURA A 0004 - 014164',NULL,NULL,NULL,NULL,NULL),(173599,NULL,0,NULL,NULL,21,40817,40919,57,7609,1,1,'2023-01-03','2023-01-03',398502.51,1,855.00,'FACTURA A 0004 - 014220',NULL,NULL,NULL,NULL,NULL),(173600,NULL,0,NULL,173600,3,40817,40919,57,7609,2,1,'2023-01-07','2023-01-07',112490.87,1,855.00,'PAGO  0004 - 001649',NULL,NULL,NULL,NULL,NULL),(173601,NULL,0,NULL,173601,3,40817,40919,57,7609,2,1,'2023-01-11','2023-01-11',662527.47,1,855.00,'PAGO  0004 - 001700',NULL,NULL,NULL,NULL,NULL),(173602,NULL,0,NULL,NULL,21,40817,40919,57,7609,1,1,'2023-01-31','2023-01-31',131491.96,1,855.00,'FACTURA A 0004 - 014294',NULL,NULL,NULL,NULL,NULL),(173603,NULL,0,NULL,NULL,21,40817,40919,57,7609,1,1,'2023-01-31','2023-01-31',59205.47,1,855.00,'FACTURA A 0004 - 014295',NULL,NULL,NULL,NULL,NULL),(173604,NULL,0,NULL,NULL,21,40817,40919,57,7609,1,1,'2023-01-31','2023-01-31',10487.32,1,855.00,'FACTURA A 0004 - 014299',NULL,NULL,NULL,NULL,NULL),(173605,NULL,0,NULL,NULL,21,40817,40919,57,7610,1,1,'2023-02-22','2023-02-22',169349.72,1,855.00,'FACTURA A 0004 - 014407',NULL,NULL,NULL,NULL,NULL),(173606,NULL,0,NULL,173606,3,40817,40919,57,7610,2,1,'2023-02-22','2023-02-22',370534.47,1,855.00,'PAGO  0004 - 001860',NULL,NULL,NULL,NULL,NULL),(173607,NULL,0,NULL,NULL,21,40817,40919,57,7611,1,1,'2023-03-29','2023-03-29',70519.22,1,855.00,'FACTURA A 0004 - 014609',NULL,NULL,NULL,NULL,NULL),(173608,NULL,0,NULL,NULL,21,40817,40919,57,7611,1,1,'2023-03-29','2023-03-29',198201.27,1,855.00,'FACTURA A 0004 - 014610',NULL,NULL,NULL,NULL,NULL),(173609,NULL,0,NULL,173609,3,40817,40919,57,7612,2,1,'2023-04-14','2023-04-14',269620.53,1,855.00,'PAGO  0004 - 002102',NULL,NULL,NULL,NULL,NULL),(173610,NULL,0,NULL,173610,3,40817,40919,57,7612,2,1,'2023-04-21','2023-04-21',6315.33,1,855.00,'NOTA DE CREDITO A 0004 - 001513',NULL,NULL,NULL,NULL,NULL),(173611,NULL,0,NULL,NULL,21,40817,40919,57,7612,1,1,'2023-04-26','2023-04-26',41432.58,1,855.00,'FACTURA A 0004 - 014864',NULL,NULL,NULL,NULL,NULL),(173612,NULL,0,NULL,NULL,21,40817,40919,57,7612,1,1,'2023-04-26','2023-04-26',65343.16,1,855.00,'FACTURA A 0004 - 014865',NULL,NULL,NULL,NULL,NULL),(173613,NULL,0,NULL,173613,3,40817,40919,57,7613,2,1,'2023-05-11','2023-05-11',99560.37,1,855.00,'PAGO  0004 - 002232',NULL,NULL,NULL,NULL,NULL),(173614,NULL,0,NULL,NULL,21,40817,40919,57,7613,1,1,'2023-05-29','2023-05-29',144098.72,1,855.00,'FACTURA A 0004 - 015136',NULL,NULL,NULL,NULL,NULL),(173615,NULL,0,NULL,173615,3,40817,40919,57,7614,2,1,'2023-06-05','2023-06-05',9486.40,1,855.00,'NOTA DE CREDITO A 0004 - 001536',NULL,NULL,NULL,NULL,NULL),(173616,NULL,0,NULL,173616,3,40817,40919,57,7614,2,1,'2023-06-26','2023-06-26',135188.74,1,855.00,'PAGO  0004 - 002463',NULL,NULL,NULL,NULL,NULL),(173617,NULL,0,NULL,NULL,21,40817,40919,57,7614,1,1,'2023-06-29','2023-06-29',103275.12,1,855.00,'FACTURA A 0004 - 015433',NULL,NULL,NULL,NULL,NULL),(173618,NULL,0,NULL,NULL,21,40817,40919,57,7614,1,1,'2023-06-29','2023-06-29',6690.77,1,855.00,'FACTURA A 0004 - 015434',NULL,NULL,NULL,NULL,NULL),(173619,NULL,0,NULL,173619,3,40817,40919,57,7615,2,1,'2023-07-17','2023-07-17',110184.24,1,855.00,'PAGO  0004 - 002566',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173620,NULL,0,NULL,NULL,21,40817,40919,57,7615,1,1,'2023-07-29','2023-07-29',28909.99,1,855.00,'FACTURA A 0004 - 015760',NULL,NULL,NULL,NULL,NULL),(173621,NULL,0,NULL,173621,3,40817,40919,57,7616,2,1,'2023-08-17','2023-08-17',30313.65,1,855.00,'PAGO  0004 - 002745',NULL,NULL,NULL,NULL,NULL),(173622,NULL,0,NULL,NULL,21,40817,40919,57,7616,1,1,'2023-08-30','2023-08-30',276702.67,1,855.00,'FACTURA A 0004 - 016050',NULL,NULL,NULL,NULL,NULL),(173623,NULL,0,NULL,NULL,21,40817,40919,57,7616,1,1,'2023-08-30','2023-08-30',399145.16,1,855.00,'FACTURA A 0004 - 016051',NULL,NULL,NULL,NULL,NULL),(173624,NULL,0,NULL,173624,3,40817,40919,57,7617,2,1,'2023-09-13','2023-09-13',678861.97,1,855.00,'PAGO  0004 - 002867',NULL,NULL,NULL,NULL,NULL),(173625,NULL,0,NULL,NULL,21,40817,40919,57,7617,1,1,'2023-09-29','2023-09-29',34396.62,1,855.00,'FACTURA A 0004 - 016283',NULL,NULL,NULL,NULL,NULL),(173626,NULL,0,NULL,NULL,21,40817,40919,57,7617,1,1,'2023-09-30','2023-09-30',26364.93,1,855.00,'FACTURA A 0004 - 016313',NULL,NULL,NULL,NULL,NULL),(173627,NULL,0,NULL,173627,3,40817,40919,57,7618,2,1,'2023-10-11','2023-10-11',55548.98,1,855.00,'PAGO  0004 - 003012',NULL,NULL,NULL,NULL,NULL),(173628,NULL,0,NULL,NULL,21,40817,40919,57,7618,1,1,'2023-10-31','2023-10-31',237910.64,1,855.00,'FACTURA A 0004 - 016518',NULL,NULL,NULL,NULL,NULL),(173629,NULL,0,NULL,NULL,21,40817,40919,57,7619,1,1,'2023-11-01','2023-11-01',17658.98,1,855.00,'FACTURA A 0004 - 016558',NULL,NULL,NULL,NULL,NULL),(173630,NULL,0,NULL,173630,3,40817,40919,57,7619,2,1,'2023-11-01','2023-11-01',16425.56,1,855.00,'NOTA DE CREDITO A 0004 - 001580',NULL,NULL,NULL,NULL,NULL),(173631,NULL,0,NULL,173631,3,40817,40919,57,7619,2,1,'2023-11-10','2023-11-10',239144.06,1,855.00,'PAGO  0004 - 003204',NULL,NULL,NULL,NULL,NULL),(173632,NULL,0,NULL,NULL,21,40817,40919,57,7619,1,1,'2023-11-30','2023-11-30',367709.60,1,855.00,'FACTURA A 0004 - 016824',NULL,NULL,NULL,NULL,NULL),(173633,NULL,0,NULL,173633,3,40817,40919,57,7620,2,1,'2023-12-16','2023-12-16',367709.60,1,855.00,'PAGO  0004 - 003394',NULL,NULL,NULL,NULL,NULL),(173634,NULL,0,NULL,NULL,21,40817,40919,57,6064,1,1,'2024-01-08','2024-01-08',119663.99,1,855.00,'FACTURA A 0004 - 016975',NULL,NULL,NULL,NULL,NULL),(173635,NULL,0,NULL,NULL,21,40817,40919,57,6064,1,1,'2024-01-08','2024-01-08',402719.71,1,855.00,'FACTURA A 0004 - 016976',NULL,NULL,NULL,NULL,NULL),(173636,NULL,0,NULL,173636,3,40817,40919,57,6064,2,1,'2024-01-18','2024-01-18',522777.07,1,855.00,'PAGO  0004 - 003573',NULL,NULL,NULL,NULL,NULL),(173637,NULL,0,NULL,NULL,21,40817,40919,57,6064,1,1,'2024-01-31','2024-01-31',42950.84,1,855.00,'FACTURA A 0004 - 017175',NULL,NULL,NULL,NULL,NULL),(173638,NULL,0,NULL,NULL,21,40817,40919,57,6065,1,1,'2024-02-28','2024-02-28',331556.18,1,855.00,'FACTURA A 0004 - 017329',NULL,NULL,NULL,NULL,NULL),(173639,NULL,0,NULL,173639,3,40817,40919,57,6066,2,1,'2024-03-07','2024-03-07',42557.47,1,855.00,'PAGO  0004 - 003826',NULL,NULL,NULL,NULL,NULL),(173640,NULL,0,NULL,173640,3,40817,40919,57,6066,2,1,'2024-03-14','2024-03-14',331556.18,1,855.00,'PAGO  0004 - 003881',NULL,NULL,NULL,NULL,NULL),(173641,NULL,0,NULL,NULL,21,40817,40919,57,6066,1,1,'2024-03-27','2024-03-27',771562.08,1,855.00,'FACTURA A 0004 - 017581',NULL,NULL,NULL,NULL,NULL),(173642,NULL,0,NULL,NULL,21,40817,40919,57,6066,1,1,'2024-03-28','2024-03-28',212060.72,1,855.00,'FACTURA A 0004 - 017599',NULL,NULL,NULL,NULL,NULL),(173643,NULL,0,NULL,173643,3,40817,40919,57,6067,2,1,'2024-04-25','2024-04-25',983622.80,1,855.00,'PAGO  0004 - 004107',NULL,NULL,NULL,NULL,NULL),(173644,NULL,0,NULL,NULL,21,40817,40919,57,6067,1,1,'2024-04-29','2024-04-29',109950.27,1,855.00,'FACTURA A 0004 - 017835',NULL,NULL,NULL,NULL,NULL),(173645,NULL,0,NULL,NULL,21,40817,46981,57,7595,1,1,'2022-02-16','2022-02-16',21557.84,1,855.00,'FACTURA A 0004 - 001632',NULL,NULL,NULL,NULL,NULL),(173646,NULL,0,NULL,173646,3,40817,46981,57,7595,2,1,'2022-02-21','2022-02-21',21557.84,1,855.00,'PAGO  0004 - 000184',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173647,NULL,0,NULL,NULL,21,40817,46981,57,7598,1,1,'2022-05-31','2022-05-31',32518.75,1,855.00,'FACTURA A 0004 - 001800',NULL,NULL,NULL,NULL,NULL),(173648,NULL,0,NULL,173648,3,40817,46981,57,7599,2,1,'2022-06-06','2022-06-06',32518.75,1,855.00,'PAGO  0004 - 000675',NULL,NULL,NULL,NULL,NULL),(173649,NULL,0,NULL,NULL,21,40817,46981,57,7610,1,1,'2023-02-02','2023-02-02',93008.34,1,855.00,'FACTURA A 0004 - 002234',NULL,NULL,NULL,NULL,NULL),(173650,NULL,0,NULL,173650,3,40817,46981,57,7611,2,1,'2023-03-01','2023-03-01',93008.34,1,855.00,'PAGO  0004 - 001881',NULL,NULL,NULL,NULL,NULL),(173651,NULL,0,NULL,173651,3,40817,46981,57,7620,2,1,'2023-12-06','2023-12-06',49462.38,1,855.00,'PAGO  0004 - 003330',NULL,NULL,NULL,NULL,NULL),(173652,NULL,0,NULL,NULL,21,40817,46981,57,7620,1,1,'2023-12-06','2023-12-06',49462.38,1,855.00,'FACTURA A 0004 - 002811',NULL,NULL,NULL,NULL,NULL),(173653,NULL,0,NULL,173653,3,40817,46982,57,7590,2,1,'2021-12-31','2021-12-31',1620.67,1,855.00,'PAGO  0001 - 000060',NULL,NULL,NULL,NULL,NULL),(173654,NULL,0,NULL,NULL,21,40817,46982,57,7596,1,1,'2022-03-09','2022-03-09',3704.27,1,855.00,'FACTURA A 0002 - 042425',NULL,NULL,NULL,NULL,NULL),(173655,NULL,0,NULL,NULL,21,40817,46982,57,7597,1,1,'2022-04-09','2022-04-09',4894.61,1,855.00,'FACTURA A 0002 - 043002',NULL,NULL,NULL,NULL,NULL),(173656,NULL,0,NULL,NULL,21,40817,46982,57,7597,1,1,'2022-04-13','2022-04-13',14981.52,1,855.00,'FACTURA A 0002 - 043072',NULL,NULL,NULL,NULL,NULL),(173657,NULL,0,NULL,173657,3,40817,46982,57,7598,2,1,'2022-05-04','2022-05-04',21959.73,1,855.00,'PAGO  0004 - 000513',NULL,NULL,NULL,NULL,NULL),(173658,NULL,0,NULL,NULL,21,40817,46982,57,7600,1,1,'2022-07-21','2022-07-21',14637.23,1,855.00,'FACTURA A 0002 - 044905',NULL,NULL,NULL,NULL,NULL),(173659,NULL,0,NULL,NULL,21,40817,46982,57,7600,1,1,'2022-07-27','2022-07-27',50015.12,1,855.00,'FACTURA A 0002 - 045011',NULL,NULL,NULL,NULL,NULL),(173660,NULL,0,NULL,173660,3,40817,46982,57,7601,2,1,'2022-08-02','2022-08-02',64652.35,1,855.00,'PAGO  0004 - 000916',NULL,NULL,NULL,NULL,NULL),(173661,NULL,0,NULL,NULL,21,40817,46982,57,7601,1,1,'2022-08-04','2022-08-04',99031.24,1,855.00,'FACTURA A 0002 - 045195',NULL,NULL,NULL,NULL,NULL),(173662,NULL,0,NULL,NULL,21,40817,46982,57,7601,1,1,'2022-08-16','2022-08-16',5736.75,1,855.00,'FACTURA A 0002 - 045367',NULL,NULL,NULL,NULL,NULL),(173663,NULL,0,NULL,173663,3,40817,46982,57,7601,2,1,'2022-08-18','2022-08-18',104767.99,1,855.00,'PAGO  0004 - 001024',NULL,NULL,NULL,NULL,NULL),(173664,NULL,0,NULL,NULL,21,40817,46982,57,7601,1,1,'2022-08-22','2022-08-22',191598.66,1,855.00,'FACTURA A 0002 - 045478',NULL,NULL,NULL,NULL,NULL),(173665,NULL,0,NULL,NULL,21,40817,46982,57,7601,1,1,'2022-08-26','2022-08-26',1508.62,1,855.00,'FACTURA A 0002 - 045596',NULL,NULL,NULL,NULL,NULL),(173666,NULL,0,NULL,NULL,21,40817,46982,57,7601,1,1,'2022-08-29','2022-08-29',5138.97,1,855.00,'FACTURA A 0002 - 045636',NULL,NULL,NULL,NULL,NULL),(173667,NULL,0,NULL,173667,3,40817,46982,57,7602,2,1,'2022-09-07','2022-09-07',198246.25,1,855.00,'PAGO  0004 - 001116',NULL,NULL,NULL,NULL,NULL),(173668,NULL,0,NULL,NULL,21,40817,46982,57,7603,1,1,'2022-10-15','2022-10-15',104767.99,1,855.00,'NOTA DE DEBITO A 0002 - 000148',NULL,NULL,NULL,NULL,NULL),(173669,NULL,0,NULL,NULL,21,40817,46982,57,7603,1,1,'2022-10-18','2022-10-18',11480.40,1,855.00,'FACTURA A 0002 - 046465',NULL,NULL,NULL,NULL,NULL),(173670,NULL,0,NULL,NULL,21,40817,46982,57,7603,1,1,'2022-10-18','2022-10-18',6270.66,1,855.00,'FACTURA A 0002 - 046554',NULL,NULL,NULL,NULL,NULL),(173671,NULL,0,NULL,173671,3,40817,46982,57,7603,2,1,'2022-10-21','2022-10-21',125000.00,1,855.00,'PAGO  0004 - 001318',NULL,NULL,NULL,NULL,NULL),(173672,NULL,0,NULL,NULL,21,40817,46982,57,7604,1,1,'2022-11-18','2022-11-18',9489.19,1,855.00,'FACTURA A 0002 - 047234',NULL,NULL,NULL,NULL,NULL),(173673,NULL,0,NULL,173673,3,40817,46982,57,7605,2,1,'2022-12-07','2022-12-07',7008.24,1,855.00,'PAGO  0004 - 001546',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173674,NULL,0,NULL,NULL,21,40817,46982,57,7605,1,1,'2022-12-10','2022-12-10',11951.61,1,855.00,'FACTURA A 0002 - 047573',NULL,NULL,NULL,NULL,NULL),(173675,NULL,0,NULL,NULL,21,40817,46982,57,7605,1,1,'2022-12-22','2022-12-22',22130.44,1,855.00,'FACTURA A 0002 - 047772',NULL,NULL,NULL,NULL,NULL),(173676,NULL,0,NULL,173676,3,40817,46982,57,7609,2,1,'2023-01-07','2023-01-07',34082.05,1,855.00,'PAGO  0004 - 001650',NULL,NULL,NULL,NULL,NULL),(173677,NULL,0,NULL,NULL,21,40817,46982,57,7609,1,1,'2023-01-19','2023-01-19',10024.17,1,855.00,'FACTURA A 0002 - 048260',NULL,NULL,NULL,NULL,NULL),(173678,NULL,0,NULL,NULL,21,40817,46982,57,7610,1,1,'2023-02-07','2023-02-07',8478.68,1,855.00,'FACTURA A 0002 - 048599',NULL,NULL,NULL,NULL,NULL),(173679,NULL,0,NULL,173679,3,40817,46982,57,7610,2,1,'2023-02-07','2023-02-07',10024.17,1,855.00,'PAGO  0004 - 001811',NULL,NULL,NULL,NULL,NULL),(173680,NULL,0,NULL,173680,3,40817,46982,57,7611,2,1,'2023-03-07','2023-03-07',8478.68,1,855.00,'PAGO  0004 - 001901',NULL,NULL,NULL,NULL,NULL),(173681,NULL,0,NULL,NULL,21,40817,46982,57,7617,1,1,'2023-09-22','2023-09-22',62019.03,1,855.00,'FACTURA A 0002 - 052967',NULL,NULL,NULL,NULL,NULL),(173682,NULL,0,NULL,173682,3,40817,46982,57,7618,2,1,'2023-10-24','2023-10-24',62019.03,1,855.00,'PAGO  0004 - 003093',NULL,NULL,NULL,NULL,NULL),(173683,NULL,0,NULL,NULL,21,40817,46982,57,7619,1,1,'2023-11-13','2023-11-13',3691.71,1,855.00,'FACTURA A 0002 - 053998',NULL,NULL,NULL,NULL,NULL),(173684,NULL,0,NULL,173684,3,40817,46982,57,7619,2,1,'2023-11-28','2023-11-28',3691.71,1,855.00,'PAGO  0004 - 003269',NULL,NULL,NULL,NULL,NULL),(173685,NULL,0,NULL,NULL,21,40817,41001,57,7580,1,1,'2021-02-15','2021-02-15',10000.00,1,855.00,'FACTURA A 0002 - 000227',NULL,NULL,NULL,NULL,NULL),(173686,NULL,0,NULL,NULL,21,40817,41001,57,7594,1,1,'2022-01-05','2022-01-05',10000.00,1,855.00,'FACTURA A 0002 - 000219',NULL,NULL,NULL,NULL,NULL),(173687,NULL,0,NULL,NULL,21,40817,41001,57,7594,1,1,'2022-01-05','2022-01-05',10000.00,1,855.00,'FACTURA A 0002 - 000220',NULL,NULL,NULL,NULL,NULL),(173688,NULL,0,NULL,NULL,21,40817,41001,57,7594,1,1,'2022-01-05','2022-01-05',10000.00,1,855.00,'FACTURA A 0002 - 000221',NULL,NULL,NULL,NULL,NULL),(173689,NULL,0,NULL,NULL,21,40817,41001,57,7594,1,1,'2022-01-05','2022-01-05',3360.00,1,855.00,'FACTURA A 0002 - 000222',NULL,NULL,NULL,NULL,NULL),(173690,NULL,0,NULL,173690,3,40817,41001,57,7594,2,1,'2022-01-06','2022-01-06',33360.00,1,855.00,'PAGO  0001 - 000006',NULL,NULL,NULL,NULL,NULL),(173691,NULL,0,NULL,NULL,21,40817,41001,57,7595,1,1,'2022-02-15','2022-02-15',1440.00,1,855.00,'FACTURA A 0002 - 000228',NULL,NULL,NULL,NULL,NULL),(173692,NULL,0,NULL,NULL,21,40817,41001,57,7595,1,1,'2022-02-15','2022-02-15',10000.00,1,855.00,'FACTURA A 0002 - 000224',NULL,NULL,NULL,NULL,NULL),(173693,NULL,0,NULL,NULL,21,40817,41001,57,7595,1,1,'2022-02-15','2022-02-15',10000.00,1,855.00,'FACTURA A 0002 - 000225',NULL,NULL,NULL,NULL,NULL),(173694,NULL,0,NULL,NULL,21,40817,41001,57,7595,1,1,'2022-02-15','2022-02-15',10000.00,1,855.00,'FACTURA A 0002 - 000226',NULL,NULL,NULL,NULL,NULL),(173695,NULL,0,NULL,173695,3,40817,41001,57,7595,2,1,'2022-02-16','2022-02-16',41440.00,1,855.00,'PAGO  0004 - 000160',NULL,NULL,NULL,NULL,NULL),(173696,NULL,0,NULL,NULL,21,40817,41001,57,7596,1,1,'2022-03-01','2022-03-01',10000.00,1,855.00,'FACTURA A 0002 - 000229',NULL,NULL,NULL,NULL,NULL),(173697,NULL,0,NULL,NULL,21,40817,41001,57,7596,1,1,'2022-03-01','2022-03-01',8600.00,1,855.00,'FACTURA A 0002 - 000230',NULL,NULL,NULL,NULL,NULL),(173698,NULL,0,NULL,173698,3,40817,41001,57,7596,2,1,'2022-03-04','2022-03-04',20000.00,1,855.00,'PAGO  0004 - 000220',NULL,NULL,NULL,NULL,NULL),(173699,NULL,0,NULL,NULL,21,40817,41001,57,7597,1,1,'2022-04-01','2022-04-01',10000.00,1,855.00,'FACTURA A 0002 - 000231',NULL,NULL,NULL,NULL,NULL),(173700,NULL,0,NULL,NULL,21,40817,41001,57,7597,1,1,'2022-04-01','2022-04-01',10000.00,1,855.00,'FACTURA A 0002 - 000232',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173701,NULL,0,NULL,NULL,21,40817,41001,57,7597,1,1,'2022-04-01','2022-04-01',10000.00,1,855.00,'FACTURA A 0002 - 000233',NULL,NULL,NULL,NULL,NULL),(173702,NULL,0,NULL,NULL,21,40817,41001,57,7597,1,1,'2022-04-01','2022-04-01',10000.00,1,855.00,'FACTURA A 0002 - 000234',NULL,NULL,NULL,NULL,NULL),(173703,NULL,0,NULL,NULL,21,40817,41001,57,7597,1,1,'2022-04-01','2022-04-01',10000.00,1,855.00,'FACTURA A 0002 - 000235',NULL,NULL,NULL,NULL,NULL),(173704,NULL,0,NULL,NULL,21,40817,41001,57,7597,1,1,'2022-04-01','2022-04-01',7490.00,1,855.00,'FACTURA A 0002 - 000236',NULL,NULL,NULL,NULL,NULL),(173705,NULL,0,NULL,173705,3,40817,41001,57,7597,2,1,'2022-04-06','2022-04-06',57932.80,1,855.00,'PAGO  0004 - 000391',NULL,NULL,NULL,NULL,NULL),(173706,NULL,0,NULL,NULL,21,40817,41001,57,7597,1,1,'2022-04-29','2022-04-29',10000.00,1,855.00,'FACTURA A 0002 - 000239',NULL,NULL,NULL,NULL,NULL),(173707,NULL,0,NULL,NULL,21,40817,41001,57,7597,1,1,'2022-04-29','2022-04-29',10000.00,1,855.00,'FACTURA A 0002 - 000240',NULL,NULL,NULL,NULL,NULL),(173708,NULL,0,NULL,NULL,21,40817,41001,57,7597,1,1,'2022-04-29','2022-04-29',10000.00,1,855.00,'FACTURA A 0002 - 000241',NULL,NULL,NULL,NULL,NULL),(173709,NULL,0,NULL,NULL,21,40817,41001,57,7597,1,1,'2022-04-29','2022-04-29',10000.00,1,855.00,'FACTURA A 0002 - 000242',NULL,NULL,NULL,NULL,NULL),(173710,NULL,0,NULL,NULL,21,40817,41001,57,7597,1,1,'2022-04-29','2022-04-29',3040.00,1,855.00,'FACTURA A 0002 - 000243',NULL,NULL,NULL,NULL,NULL),(173711,NULL,0,NULL,NULL,21,40817,41001,57,7598,1,1,'2022-05-04','2022-05-04',1210.00,1,855.00,'FACTURA A 0004 - 000001',NULL,NULL,NULL,NULL,NULL),(173712,NULL,0,NULL,173712,3,40817,41001,57,7598,2,1,'2022-05-05','2022-05-05',41972.55,1,855.00,'PAGO  0004 - 000525',NULL,NULL,NULL,NULL,NULL),(173713,NULL,0,NULL,NULL,21,40817,41001,57,7598,1,1,'2022-05-28','2022-05-28',61710.00,1,855.00,'FACTURA A 0004 - 000005',NULL,NULL,NULL,NULL,NULL),(173714,NULL,0,NULL,173714,3,40817,41001,57,7599,2,1,'2022-06-01','2022-06-01',62144.65,1,855.00,'PAGO  0004 - 000640',NULL,NULL,NULL,NULL,NULL),(173715,NULL,0,NULL,NULL,21,40817,41001,57,7600,1,1,'2022-07-01','2022-07-01',53920.00,1,855.00,'FACTURA A 0004 - 000009',NULL,NULL,NULL,NULL,NULL),(173716,NULL,0,NULL,173716,3,40817,41001,57,7600,2,1,'2022-07-05','2022-07-05',53920.00,1,855.00,'PAGO  0004 - 000784',NULL,NULL,NULL,NULL,NULL),(173717,NULL,0,NULL,173717,3,40817,41001,57,7601,2,1,'2022-08-02','2022-08-02',38040.00,1,855.00,'PAGO CONTADO  0001 - 000881',NULL,NULL,NULL,NULL,NULL),(173718,NULL,0,NULL,NULL,21,40817,41001,57,7601,1,1,'2022-08-02','2022-08-02',38040.00,1,855.00,'FACTURA A 0004 - 000011',NULL,NULL,NULL,NULL,NULL),(173719,NULL,0,NULL,NULL,21,40817,41001,57,7602,1,1,'2022-09-01','2022-09-01',115200.00,1,855.00,'FACTURA A 0004 - 000012',NULL,NULL,NULL,NULL,NULL),(173720,NULL,0,NULL,173720,3,40817,41001,57,7602,2,1,'2022-09-05','2022-09-05',115200.00,1,855.00,'PAGO  0004 - 001097',NULL,NULL,NULL,NULL,NULL),(173721,NULL,0,NULL,NULL,21,40817,41001,57,7603,1,1,'2022-10-06','2022-10-06',103600.01,1,855.00,'FACTURA A 0004 - 000013',NULL,NULL,NULL,NULL,NULL),(173722,NULL,0,NULL,173722,3,40817,41001,57,7603,2,1,'2022-10-12','2022-10-12',103600.01,1,855.00,'PAGO  0004 - 001266',NULL,NULL,NULL,NULL,NULL),(173723,NULL,0,NULL,173723,3,40817,41001,57,7603,2,1,'2022-10-30','2022-10-30',96880.01,1,855.00,'PAGO CONTADO  0001 - 001285',NULL,NULL,NULL,NULL,NULL),(173724,NULL,0,NULL,NULL,21,40817,41001,57,7603,1,1,'2022-10-30','2022-10-30',96880.01,1,855.00,'FACTURA A 0004 - 000014',NULL,NULL,NULL,NULL,NULL),(173725,NULL,0,NULL,NULL,21,40817,41001,57,7605,1,1,'2022-12-01','2022-12-01',115650.00,1,855.00,'FACTURA A 0004 - 000015',NULL,NULL,NULL,NULL,NULL),(173726,NULL,0,NULL,173726,3,40817,41001,57,7605,2,1,'2022-12-01','2022-12-01',115650.00,1,855.00,'PAGO CONTADO  0001 - 001413',NULL,NULL,NULL,NULL,NULL),(173727,NULL,0,NULL,173727,3,40817,41001,57,7605,2,1,'2022-12-21','2022-12-21',8000.00,1,855.00,'PAGO CONTADO  0001 - 001554',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173728,NULL,0,NULL,NULL,21,40817,41001,57,7605,1,1,'2022-12-21','2022-12-21',8000.00,1,855.00,'FACTURA A 0004 - 000016',NULL,NULL,NULL,NULL,NULL),(173729,NULL,0,NULL,NULL,21,40817,41001,57,7605,1,1,'2022-12-23','2022-12-23',8712.00,1,855.00,'FACTURA A 0004 - 000017',NULL,NULL,NULL,NULL,NULL),(173730,NULL,0,NULL,173730,3,40817,41001,57,7605,2,1,'2022-12-23','2022-12-23',8712.00,1,855.00,'PAGO CONTADO  0001 - 001555',NULL,NULL,NULL,NULL,NULL),(173731,NULL,0,NULL,173731,3,40817,41001,57,7605,2,1,'2022-12-28','2022-12-28',10164.00,1,855.00,'PAGO CONTADO  0001 - 001571',NULL,NULL,NULL,NULL,NULL),(173732,NULL,0,NULL,NULL,21,40817,41001,57,7605,1,1,'2022-12-28','2022-12-28',10164.00,1,855.00,'FACTURA A 0004 - 000018',NULL,NULL,NULL,NULL,NULL),(173733,NULL,0,NULL,NULL,21,40817,41001,57,7609,1,1,'2023-01-03','2023-01-03',98489.99,1,855.00,'FACTURA A 0004 - 000019',NULL,NULL,NULL,NULL,NULL),(173734,NULL,0,NULL,173734,3,40817,41001,57,7609,2,1,'2023-01-06','2023-01-06',98489.99,1,855.00,'PAGO  0004 - 001635',NULL,NULL,NULL,NULL,NULL),(173735,NULL,0,NULL,NULL,21,40817,41001,57,7609,1,1,'2023-01-11','2023-01-11',9410.00,1,855.00,'FACTURA A 0005 - 000012',NULL,NULL,NULL,NULL,NULL),(173736,NULL,0,NULL,NULL,21,40817,41001,57,7609,1,1,'2023-01-19','2023-01-19',7865.00,1,855.00,'FACTURA A 0004 - 000021',NULL,NULL,NULL,NULL,NULL),(173737,NULL,0,NULL,173737,3,40817,41001,57,7609,2,1,'2023-01-31','2023-01-31',17275.00,1,855.00,'PAGO  0001 - 001763',NULL,NULL,NULL,NULL,NULL),(173738,NULL,0,NULL,NULL,21,40817,41001,57,7610,1,1,'2023-02-01','2023-02-01',99040.00,1,855.00,'FACTURA A 0004 - 000024',NULL,NULL,NULL,NULL,NULL),(173739,NULL,0,NULL,173739,3,40817,41001,57,7610,2,1,'2023-02-01','2023-02-01',99040.00,1,855.00,'PAGO CONTADO  0001 - 001758',NULL,NULL,NULL,NULL,NULL),(173740,NULL,0,NULL,NULL,21,40817,41001,57,7611,1,1,'2023-03-01','2023-03-01',61800.00,1,855.00,'FACTURA A 0004 - 000027',NULL,NULL,NULL,NULL,NULL),(173741,NULL,0,NULL,173741,3,40817,41001,57,7611,2,1,'2023-03-06','2023-03-06',61800.00,1,855.00,'PAGO  0004 - 001888',NULL,NULL,NULL,NULL,NULL),(173742,NULL,0,NULL,NULL,21,40817,41001,57,7612,1,1,'2023-04-04','2023-04-04',132089.99,1,855.00,'FACTURA A 0004 - 000030',NULL,NULL,NULL,NULL,NULL),(173743,NULL,0,NULL,173743,3,40817,41001,57,7612,2,1,'2023-04-10','2023-04-10',132089.99,1,855.00,'PAGO  0004 - 002078',NULL,NULL,NULL,NULL,NULL),(173744,NULL,0,NULL,NULL,21,40817,41001,57,7613,1,1,'2023-05-02','2023-05-02',98849.99,1,855.00,'FACTURA A 0004 - 000031',NULL,NULL,NULL,NULL,NULL),(173745,NULL,0,NULL,173745,3,40817,41001,57,7613,2,1,'2023-05-05','2023-05-05',98849.99,1,855.00,'PAGO  0004 - 002203',NULL,NULL,NULL,NULL,NULL),(173746,NULL,0,NULL,NULL,21,40817,41001,57,7613,1,1,'2023-05-31','2023-05-31',123730.97,1,855.00,'FACTURA A 0004 - 000032',NULL,NULL,NULL,NULL,NULL),(173747,NULL,0,NULL,173747,3,40817,41001,57,7614,2,1,'2023-06-02','2023-06-02',123730.97,1,855.00,'PAGO  0004 - 002340',NULL,NULL,NULL,NULL,NULL),(173748,NULL,0,NULL,NULL,21,40817,41001,57,7615,1,1,'2023-07-02','2023-07-02',187029.99,1,855.00,'FACTURA A 0004 - 000033',NULL,NULL,NULL,NULL,NULL),(173749,NULL,0,NULL,173749,3,40817,41001,57,7615,2,1,'2023-07-05','2023-07-05',187029.99,1,855.00,'PAGO  0004 - 002515',NULL,NULL,NULL,NULL,NULL),(173750,NULL,0,NULL,NULL,21,40817,41001,57,7616,1,1,'2023-08-02','2023-08-02',98500.00,1,855.00,'FACTURA A 0004 - 000034',NULL,NULL,NULL,NULL,NULL),(173751,NULL,0,NULL,173751,3,40817,41001,57,7616,2,1,'2023-08-03','2023-08-03',98500.00,1,855.00,'PAGO  0004 - 002652',NULL,NULL,NULL,NULL,NULL),(173752,NULL,0,NULL,NULL,21,40817,41001,57,7616,1,1,'2023-08-31','2023-08-31',199928.30,1,855.00,'FACTURA A 0004 - 000035',NULL,NULL,NULL,NULL,NULL),(173753,NULL,0,NULL,173753,3,40817,41001,57,7617,2,1,'2023-09-07','2023-09-07',199928.30,1,855.00,'PAGO  0004 - 002831',NULL,NULL,NULL,NULL,NULL),(173754,NULL,0,NULL,NULL,21,40817,41001,57,7618,1,1,'2023-10-03','2023-10-03',146710.00,1,855.00,'FACTURA A 0004 - 000036',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173755,NULL,0,NULL,NULL,21,40817,41001,57,7618,1,1,'2023-10-03','2023-10-03',34690.00,1,855.00,'FACTURA A 0005 - 000102',NULL,NULL,NULL,NULL,NULL),(173756,NULL,0,NULL,173756,3,40817,41001,57,7618,2,1,'2023-10-05','2023-10-05',146710.00,1,855.00,'PAGO  0004 - 002992',NULL,NULL,NULL,NULL,NULL),(173757,NULL,0,NULL,173757,3,40817,41001,57,7618,2,1,'2023-10-11','2023-10-11',34690.00,1,855.00,'PAGO  0004 - 003010',NULL,NULL,NULL,NULL,NULL),(173758,NULL,0,NULL,NULL,21,40817,41001,57,7618,1,1,'2023-10-31','2023-10-31',111441.00,1,855.00,'FACTURA A 0004 - 000037',NULL,NULL,NULL,NULL,NULL),(173759,NULL,0,NULL,173759,3,40817,41001,57,7619,2,1,'2023-11-01','2023-11-01',111441.00,1,855.00,'PAGO  0004 - 003133',NULL,NULL,NULL,NULL,NULL),(173760,NULL,0,NULL,173760,3,40817,41001,57,7620,2,1,'2023-12-01','2023-12-01',304920.00,1,855.00,'PAGO CONTADO  0001 - 003014',NULL,NULL,NULL,NULL,NULL),(173761,NULL,0,NULL,NULL,21,40817,41001,57,7620,1,1,'2023-12-01','2023-12-01',304920.00,1,855.00,'FACTURA A 0004 - 000038',NULL,NULL,NULL,NULL,NULL),(173762,NULL,0,NULL,NULL,21,40817,41001,57,6064,1,1,'2024-01-02','2024-01-02',389899.99,1,855.00,'FACTURA A 0004 - 000040',NULL,NULL,NULL,NULL,NULL),(173763,NULL,0,NULL,173763,3,40817,41001,57,6064,2,1,'2024-01-03','2024-01-03',389899.99,1,855.00,'PAGO  0004 - 003476',NULL,NULL,NULL,NULL,NULL),(173764,NULL,0,NULL,NULL,21,40817,41001,57,6064,1,1,'2024-01-30','2024-01-30',3896.01,1,855.00,'FACTURA A 0004 - 000041',NULL,NULL,NULL,NULL,NULL),(173765,NULL,0,NULL,NULL,21,40817,41001,57,6064,1,1,'2024-01-30','2024-01-30',381900.01,1,855.00,'FACTURA A 0004 - 000042',NULL,NULL,NULL,NULL,NULL),(173766,NULL,0,NULL,173766,3,40817,41001,57,6065,2,1,'2024-02-02','2024-02-02',391311.87,1,855.00,'PAGO  0004 - 003643',NULL,NULL,NULL,NULL,NULL),(173767,NULL,0,NULL,NULL,21,40817,41001,57,6065,1,1,'2024-02-29','2024-02-29',162900.00,1,855.00,'FACTURA A 0004 - 000043',NULL,NULL,NULL,NULL,NULL),(173768,NULL,0,NULL,173768,3,40817,41001,57,6066,2,1,'2024-03-07','2024-03-07',157384.15,1,855.00,'PAGO  0004 - 003824',NULL,NULL,NULL,NULL,NULL),(173769,NULL,0,NULL,NULL,21,40817,41001,57,6066,1,1,'2024-03-30','2024-03-30',585640.00,1,855.00,'FACTURA A 0004 - 000044',NULL,NULL,NULL,NULL,NULL),(173770,NULL,0,NULL,173770,3,40817,41001,57,6067,2,1,'2024-04-03','2024-04-03',588245.01,1,855.00,'PAGO  0004 - 003949',NULL,NULL,NULL,NULL,NULL),(173771,NULL,0,NULL,NULL,21,40817,41001,57,6067,1,1,'2024-04-30','2024-04-30',547500.00,1,855.00,'FACTURA A 0004 - 000045',NULL,NULL,NULL,NULL,NULL),(173772,NULL,0,NULL,173772,3,40817,41001,57,6068,2,1,'2024-05-02','2024-05-02',544894.99,1,855.00,'PAGO  0004 - 004139',NULL,NULL,NULL,NULL,NULL),(173773,NULL,0,NULL,173773,3,40817,46983,57,7590,2,1,'2021-12-31','2021-12-31',99.63,1,855.00,'PAGO  0001 - 000061',NULL,NULL,NULL,NULL,NULL),(173774,NULL,0,NULL,NULL,21,40817,46983,57,7596,1,1,'2022-03-07','2022-03-07',695558.82,1,855.00,'FACTURA A 0005 - 000881',NULL,NULL,NULL,NULL,NULL),(173775,NULL,0,NULL,NULL,21,40817,46983,57,7596,1,1,'2022-03-09','2022-03-09',1460.23,1,855.00,'FACTURA A 0005 - 000884',NULL,NULL,NULL,NULL,NULL),(173776,NULL,0,NULL,173776,3,40817,46983,57,7596,2,1,'2022-03-14','2022-03-14',695459.19,1,855.00,'PAGO  0004 - 000272',NULL,NULL,NULL,NULL,NULL),(173777,NULL,0,NULL,173777,3,40817,46983,57,7597,2,1,'2022-04-01','2022-04-01',1460.23,1,855.00,'PAGO CONTADO  0001 - 000422',NULL,NULL,NULL,NULL,NULL),(173778,NULL,0,NULL,NULL,21,40817,46983,57,7605,1,1,'2022-12-19','2022-12-19',99806.85,1,855.00,'FACTURA A 0005 - 001016',NULL,NULL,NULL,NULL,NULL),(173779,NULL,0,NULL,NULL,21,40817,46983,57,7605,1,1,'2022-12-21','2022-12-21',98478.77,1,855.00,'FACTURA A 0005 - 001017',NULL,NULL,NULL,NULL,NULL),(173780,NULL,0,NULL,NULL,21,40817,46983,57,7605,1,1,'2022-12-22','2022-12-22',99589.17,1,855.00,'FACTURA A 0005 - 001021',NULL,NULL,NULL,NULL,NULL),(173781,NULL,0,NULL,NULL,21,40817,46983,57,7605,1,1,'2022-12-27','2022-12-27',96372.87,1,855.00,'FACTURA A 0005 - 001025',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173782,NULL,0,NULL,NULL,21,40817,46983,57,7605,1,1,'2022-12-28','2022-12-28',92623.01,1,855.00,'FACTURA A 0005 - 001026',NULL,NULL,NULL,NULL,NULL),(173783,NULL,0,NULL,NULL,21,40817,46983,57,7605,1,1,'2022-12-29','2022-12-29',98927.74,1,855.00,'FACTURA A 0005 - 001032',NULL,NULL,NULL,NULL,NULL),(173784,NULL,0,NULL,173784,3,40817,46983,57,7605,2,1,'2022-12-31','2022-12-31',585798.41,1,855.00,'PAGO  0001 - 001576',NULL,NULL,NULL,NULL,NULL),(173785,NULL,0,NULL,NULL,21,40817,46983,57,7609,1,1,'2023-01-02','2023-01-02',585798.41,1,855.00,'ANULACION DE PAGOS  0001 - 000082',NULL,NULL,NULL,NULL,NULL),(173786,NULL,0,NULL,173786,3,40817,46983,57,7609,2,1,'2023-01-02','2023-01-02',585798.41,1,855.00,'PAGO  0001 - 001575',NULL,NULL,NULL,NULL,NULL),(173787,NULL,0,NULL,NULL,21,40817,46983,57,7612,1,1,'2023-04-25','2023-04-25',200706.52,1,855.00,'FACTURA A 0005 - 001087',NULL,NULL,NULL,NULL,NULL),(173788,NULL,0,NULL,NULL,21,40817,46983,57,7612,1,1,'2023-04-27','2023-04-27',23815.98,1,855.00,'FACTURA A 0005 - 001090',NULL,NULL,NULL,NULL,NULL),(173789,NULL,0,NULL,NULL,21,40817,46983,57,7612,1,1,'2023-04-27','2023-04-27',29100.50,1,855.00,'FACTURA A 0005 - 001091',NULL,NULL,NULL,NULL,NULL),(173790,NULL,0,NULL,173790,3,40817,46983,57,7613,2,1,'2023-05-05','2023-05-05',52916.48,1,855.00,'PAGO  0004 - 002198',NULL,NULL,NULL,NULL,NULL),(173791,NULL,0,NULL,173791,3,40817,46983,57,7613,2,1,'2023-05-12','2023-05-12',200706.52,1,855.00,'PAGO  0004 - 002247',NULL,NULL,NULL,NULL,NULL),(173792,NULL,0,NULL,NULL,21,40817,46983,57,7620,1,1,'2023-12-19','2023-12-19',864324.68,1,855.00,'FACTURA A 0005 - 001271',NULL,NULL,NULL,NULL,NULL),(173793,NULL,0,NULL,173793,3,40817,46983,57,7620,2,1,'2023-12-20','2023-12-20',864324.68,1,855.00,'PAGO  0004 - 003420',NULL,NULL,NULL,NULL,NULL),(173794,NULL,0,NULL,NULL,21,40817,40904,57,7590,1,1,'2021-12-31','2021-12-31',58697.10,1,855.00,'FACTURA A 0002 - 014722',NULL,NULL,NULL,NULL,NULL),(173795,NULL,0,NULL,173795,3,40817,40904,57,7594,2,1,'2022-01-18','2022-01-18',58697.10,1,855.00,'PAGO  0004 - 000028',NULL,NULL,NULL,NULL,NULL),(173796,NULL,0,NULL,NULL,21,40817,40904,57,7594,1,1,'2022-01-19','2022-01-19',27364.15,1,855.00,'FACTURA A 0002 - 014911',NULL,NULL,NULL,NULL,NULL),(173797,NULL,0,NULL,NULL,21,40817,40904,57,7594,1,1,'2022-01-19','2022-01-19',133402.50,1,855.00,'FACTURA A 0002 - 014912',NULL,NULL,NULL,NULL,NULL),(173798,NULL,0,NULL,NULL,21,40817,40904,57,7594,1,1,'2022-01-26','2022-01-26',76139.25,1,855.00,'FACTURA A 0002 - 014943',NULL,NULL,NULL,NULL,NULL),(173799,NULL,0,NULL,NULL,21,40817,40904,57,7595,1,1,'2022-02-02','2022-02-02',231608.52,1,855.00,'FACTURA A 0002 - 014982',NULL,NULL,NULL,NULL,NULL),(173800,NULL,0,NULL,173800,3,40817,40904,57,7595,2,1,'2022-02-08','2022-02-08',240469.84,1,855.00,'PAGO  0004 - 000134',NULL,NULL,NULL,NULL,NULL),(173801,NULL,0,NULL,173801,3,40817,40904,57,7595,2,1,'2022-02-17','2022-02-17',228044.58,1,855.00,'PAGO  0004 - 000169',NULL,NULL,NULL,NULL,NULL),(173802,NULL,0,NULL,NULL,21,40817,40904,57,7596,1,1,'2022-03-15','2022-03-15',179572.47,1,855.00,'FACTURA A 0002 - 015186',NULL,NULL,NULL,NULL,NULL),(173803,NULL,0,NULL,NULL,21,40817,40904,57,7596,1,1,'2022-03-22','2022-03-22',219523.04,1,855.00,'FACTURA A 0002 - 015233',NULL,NULL,NULL,NULL,NULL),(173804,NULL,0,NULL,173804,3,40817,40904,57,7597,2,1,'2022-04-19','2022-04-19',399095.51,1,855.00,'PAGO  0004 - 000444',NULL,NULL,NULL,NULL,NULL),(173805,NULL,0,NULL,173805,3,40817,40904,57,7597,2,1,'2022-04-19','2022-04-19',399095.51,1,855.00,'PAGO  0004 - 000445',NULL,NULL,NULL,NULL,NULL),(173806,NULL,0,NULL,NULL,21,40817,40904,57,7597,1,1,'2022-04-19','2022-04-19',399095.51,1,855.00,'ANULACION DE PAGOS  0001 - 000017',NULL,NULL,NULL,NULL,NULL),(173807,NULL,0,NULL,NULL,21,40817,40904,57,7598,1,1,'2022-05-17','2022-05-17',210405.69,1,855.00,'FACTURA A 0002 - 015566',NULL,NULL,NULL,NULL,NULL),(173808,NULL,0,NULL,NULL,21,40817,40904,57,7599,1,1,'2022-06-07','2022-06-07',232670.90,1,855.00,'FACTURA A 0002 - 015676',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173809,NULL,0,NULL,NULL,21,40817,40904,57,7599,1,1,'2022-06-07','2022-06-07',103149.11,1,855.00,'FACTURA A 0002 - 015677',NULL,NULL,NULL,NULL,NULL),(173810,NULL,0,NULL,173810,3,40817,40904,57,7599,2,1,'2022-06-21','2022-06-21',210924.60,1,855.00,'PAGO  0004 - 000734',NULL,NULL,NULL,NULL,NULL),(173811,NULL,0,NULL,NULL,21,40817,40904,57,7599,1,1,'2022-06-28','2022-06-28',77440.00,1,855.00,'FACTURA A 0002 - 015785',NULL,NULL,NULL,NULL,NULL),(173812,NULL,0,NULL,173812,3,40817,40904,57,7600,2,1,'2022-07-12','2022-07-12',413643.28,1,855.00,'PAGO  0004 - 000832',NULL,NULL,NULL,NULL,NULL),(173813,NULL,0,NULL,NULL,21,40817,40904,57,7601,1,1,'2022-08-24','2022-08-24',47262.60,1,855.00,'FACTURA A 0002 - 016059',NULL,NULL,NULL,NULL,NULL),(173814,NULL,0,NULL,NULL,21,40817,40904,57,7602,1,1,'2022-09-19','2022-09-19',181500.00,1,855.00,'FACTURA A 0002 - 016197',NULL,NULL,NULL,NULL,NULL),(173815,NULL,0,NULL,173815,3,40817,40904,57,7602,2,1,'2022-09-22','2022-09-22',46360.42,1,855.00,'PAGO  0004 - 001192',NULL,NULL,NULL,NULL,NULL),(173816,NULL,0,NULL,173816,3,40817,40904,57,7602,2,1,'2022-09-28','2022-09-28',181944.01,1,855.00,'PAGO  0004 - 001221',NULL,NULL,NULL,NULL,NULL),(173817,NULL,0,NULL,NULL,21,40817,40904,57,7602,1,1,'2022-09-28','2022-09-28',181944.01,1,855.00,'ANULACION DE PAGOS  0001 - 000062',NULL,NULL,NULL,NULL,NULL),(173818,NULL,0,NULL,NULL,21,40817,40904,57,7602,1,1,'2022-09-28','2022-09-28',149846.40,1,855.00,'FACTURA A 0002 - 016246',NULL,NULL,NULL,NULL,NULL),(173819,NULL,0,NULL,173819,3,40817,40904,57,7602,2,1,'2022-09-28','2022-09-28',181944.01,1,855.00,'PAGO  0001 - 001121',NULL,NULL,NULL,NULL,NULL),(173820,NULL,0,NULL,173820,3,40817,40904,57,7603,2,1,'2022-10-22','2022-10-22',149402.39,1,855.00,'PAGO  0004 - 001325',NULL,NULL,NULL,NULL,NULL),(173821,NULL,0,NULL,NULL,21,40817,40904,57,7604,1,1,'2022-11-22','2022-11-22',259494.18,1,855.00,'FACTURA A 0002 - 016550',NULL,NULL,NULL,NULL,NULL),(173822,NULL,0,NULL,173822,3,40817,40904,57,7605,2,1,'2022-12-07','2022-12-07',259494.18,1,855.00,'PAGO  0004 - 001549',NULL,NULL,NULL,NULL,NULL),(173823,NULL,0,NULL,NULL,21,40817,40904,57,7605,1,1,'2022-12-22','2022-12-22',719260.30,1,855.00,'FACTURA A 0002 - 016723',NULL,NULL,NULL,NULL,NULL),(173824,NULL,0,NULL,173824,3,40817,40904,57,7605,2,1,'2022-12-30','2022-12-30',719260.30,1,855.00,'PAGO  0004 - 001617',NULL,NULL,NULL,NULL,NULL),(173825,NULL,0,NULL,NULL,21,40817,40904,57,7609,1,1,'2023-01-11','2023-01-11',655220.75,1,855.00,'FACTURA A 0002 - 016837',NULL,NULL,NULL,NULL,NULL),(173826,NULL,0,NULL,NULL,21,40817,40904,57,7610,1,1,'2023-02-01','2023-02-01',2807200.00,1,855.00,'FACTURA A 0002 - 016938',NULL,NULL,NULL,NULL,NULL),(173827,NULL,0,NULL,NULL,21,40817,40904,57,7610,1,1,'2023-02-01','2023-02-01',3000000.00,1,855.00,'FACTURA A 0002 - 016939',NULL,NULL,NULL,NULL,NULL),(173828,NULL,0,NULL,173828,3,40817,40904,57,7610,2,1,'2023-02-01','2023-02-01',3655220.75,1,855.00,'PAGO  0004 - 001777',NULL,NULL,NULL,NULL,NULL),(173829,NULL,0,NULL,173829,3,40817,40904,57,7610,2,1,'2023-02-01','2023-02-01',2807200.00,1,855.00,'NOTA DE CREDITO A 0002 - 000509',NULL,NULL,NULL,NULL,NULL),(173830,NULL,0,NULL,173830,3,40817,40904,57,7610,2,1,'2023-02-28','2023-02-28',3000000.00,1,855.00,'NOTA DE CREDITO A 0002 - 000522',NULL,NULL,NULL,NULL,NULL),(173831,NULL,0,NULL,NULL,21,40817,40904,57,7610,1,1,'2023-02-28','2023-02-28',131466.50,1,855.00,'FACTURA A 0002 - 017065',NULL,NULL,NULL,NULL,NULL),(173832,NULL,0,NULL,NULL,21,40817,40904,57,7610,1,1,'2023-02-28','2023-02-28',3825124.60,1,855.00,'FACTURA A 0002 - 017066',NULL,NULL,NULL,NULL,NULL),(173833,NULL,0,NULL,173833,3,40817,40904,57,7611,2,1,'2023-03-08','2023-03-08',957785.08,1,855.00,'PAGO  0004 - 001928',NULL,NULL,NULL,NULL,NULL),(173834,NULL,0,NULL,NULL,21,40817,40904,57,7614,1,1,'2023-06-07','2023-06-07',1681833.45,1,855.00,'FACTURA A 0002 - 017612',NULL,NULL,NULL,NULL,NULL),(173835,NULL,0,NULL,173835,3,40817,40904,57,7614,2,1,'2023-06-26','2023-06-26',1688690.12,1,855.00,'PAGO  0004 - 002464',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173836,NULL,0,NULL,NULL,21,40817,40904,57,7615,1,1,'2023-07-11','2023-07-11',324739.80,1,855.00,'FACTURA A 0002 - 017808',NULL,NULL,NULL,NULL,NULL),(173837,NULL,0,NULL,NULL,21,40817,40904,57,7615,1,1,'2023-07-13','2023-07-13',333941.85,1,855.00,'FACTURA A 0002 - 017831',NULL,NULL,NULL,NULL,NULL),(173838,NULL,0,NULL,173838,3,40817,40904,57,7615,2,1,'2023-07-28','2023-07-28',653815.18,1,855.00,'PAGO  0004 - 002627',NULL,NULL,NULL,NULL,NULL),(173839,NULL,0,NULL,NULL,21,40817,40911,57,7595,1,1,'2022-02-09','2022-02-09',24000.00,1,855.00,'FACTURA C 0003 - 000028',NULL,NULL,NULL,NULL,NULL),(173840,NULL,0,NULL,173840,3,40817,40911,57,7595,2,1,'2022-02-09','2022-02-09',24000.00,1,855.00,'PAGO CONTADO  0001 - 000154',NULL,NULL,NULL,NULL,NULL),(173841,NULL,0,NULL,NULL,21,40817,40911,57,7596,1,1,'2022-03-29','2022-03-29',24000.00,1,855.00,'FACTURA C 0003 - 000029',NULL,NULL,NULL,NULL,NULL),(173842,NULL,0,NULL,173842,3,40817,40911,57,7596,2,1,'2022-03-30','2022-03-30',24000.00,1,855.00,'PAGO  0004 - 000354',NULL,NULL,NULL,NULL,NULL),(173843,NULL,0,NULL,173843,3,40817,40911,57,7599,2,1,'2022-06-07','2022-06-07',24000.00,1,855.00,'PAGO CONTADO  0001 - 000599',NULL,NULL,NULL,NULL,NULL),(173844,NULL,0,NULL,173844,3,40817,40911,57,7599,2,1,'2022-06-07','2022-06-07',24000.00,1,855.00,'PAGO CONTADO  0001 - 000600',NULL,NULL,NULL,NULL,NULL),(173845,NULL,0,NULL,NULL,21,40817,40911,57,7599,1,1,'2022-06-07','2022-06-07',24000.00,1,855.00,'FACTURA C 0003 - 000031',NULL,NULL,NULL,NULL,NULL),(173846,NULL,0,NULL,NULL,21,40817,40911,57,7599,1,1,'2022-06-07','2022-06-07',24000.00,1,855.00,'FACTURA C 0003 - 000032',NULL,NULL,NULL,NULL,NULL),(173847,NULL,0,NULL,NULL,21,40817,40911,57,7599,1,1,'2022-06-23','2022-06-23',24000.00,1,855.00,'FACTURA C 0003 - 000033',NULL,NULL,NULL,NULL,NULL),(173848,NULL,0,NULL,173848,3,40817,40911,57,7599,2,1,'2022-06-23','2022-06-23',24000.00,1,855.00,'PAGO CONTADO  0001 - 000661',NULL,NULL,NULL,NULL,NULL),(173849,NULL,0,NULL,NULL,21,40817,40911,57,7600,1,1,'2022-07-15','2022-07-15',24000.00,1,855.00,'FACTURA C 0003 - 000034',NULL,NULL,NULL,NULL,NULL),(173850,NULL,0,NULL,173850,3,40817,40911,57,7600,2,1,'2022-07-18','2022-07-18',24000.00,1,855.00,'PAGO  0004 - 000852',NULL,NULL,NULL,NULL,NULL),(173851,NULL,0,NULL,NULL,21,40817,40911,57,7601,1,1,'2022-08-24','2022-08-24',24000.00,1,855.00,'FACTURA C 0003 - 000035',NULL,NULL,NULL,NULL,NULL),(173852,NULL,0,NULL,173852,3,40817,40911,57,7601,2,1,'2022-08-25','2022-08-25',24000.00,1,855.00,'PAGO  0004 - 001051',NULL,NULL,NULL,NULL,NULL),(173853,NULL,0,NULL,NULL,21,40817,40911,57,7602,1,1,'2022-09-27','2022-09-27',24000.00,1,855.00,'FACTURA C 0003 - 000036',NULL,NULL,NULL,NULL,NULL),(173854,NULL,0,NULL,173854,3,40817,40911,57,7603,2,1,'2022-10-04','2022-10-04',24000.00,1,855.00,'PAGO  0004 - 001241',NULL,NULL,NULL,NULL,NULL),(173855,NULL,0,NULL,173855,3,40817,40911,57,7603,2,1,'2022-10-21','2022-10-21',45455.00,1,855.00,'PAGO CONTADO  0001 - 001195',NULL,NULL,NULL,NULL,NULL),(173856,NULL,0,NULL,NULL,21,40817,40911,57,7603,1,1,'2022-10-21','2022-10-21',45455.00,1,855.00,'FACTURA C 0003 - 000037',NULL,NULL,NULL,NULL,NULL),(173857,NULL,0,NULL,NULL,21,40817,40911,57,7604,1,1,'2022-11-17','2022-11-17',40000.00,1,855.00,'FACTURA C 0003 - 000038',NULL,NULL,NULL,NULL,NULL),(173858,NULL,0,NULL,173858,3,40817,40911,57,7604,2,1,'2022-11-23','2022-11-23',40000.00,1,855.00,'PAGO  0004 - 001453',NULL,NULL,NULL,NULL,NULL),(173859,NULL,0,NULL,NULL,21,40817,40911,57,7605,1,1,'2022-12-05','2022-12-05',40000.00,1,855.00,'FACTURA C 0003 - 000040',NULL,NULL,NULL,NULL,NULL),(173860,NULL,0,NULL,173860,3,40817,40911,57,7605,2,1,'2022-12-07','2022-12-07',40000.00,1,855.00,'PAGO  0004 - 001548',NULL,NULL,NULL,NULL,NULL),(173861,NULL,0,NULL,NULL,21,40817,40911,57,7609,1,1,'2023-01-16','2023-01-16',40000.00,1,855.00,'FACTURA C 0003 - 000041',NULL,NULL,NULL,NULL,NULL),(173862,NULL,0,NULL,173862,3,40817,40911,57,7609,2,1,'2023-01-25','2023-01-25',40000.00,1,855.00,'PAGO  0004 - 001761',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173863,NULL,0,NULL,NULL,21,40817,40911,57,7610,1,1,'2023-02-22','2023-02-22',40000.00,1,855.00,'FACTURA C 0003 - 000043',NULL,NULL,NULL,NULL,NULL),(173864,NULL,0,NULL,173864,3,40817,40911,57,7611,2,1,'2023-03-07','2023-03-07',40000.00,1,855.00,'PAGO  0004 - 001899',NULL,NULL,NULL,NULL,NULL),(173865,NULL,0,NULL,NULL,21,40817,40911,57,7611,1,1,'2023-03-22','2023-03-22',46774.30,1,855.00,'FACTURA C 0003 - 000044',NULL,NULL,NULL,NULL,NULL),(173866,NULL,0,NULL,173866,3,40817,40911,57,7611,2,1,'2023-03-23','2023-03-23',46774.30,1,855.00,'PAGO  0004 - 002003',NULL,NULL,NULL,NULL,NULL),(173867,NULL,0,NULL,NULL,21,40817,40911,57,7612,1,1,'2023-04-26','2023-04-26',40000.00,1,855.00,'FACTURA C 0003 - 000045',NULL,NULL,NULL,NULL,NULL),(173868,NULL,0,NULL,173868,3,40817,40911,57,7612,2,1,'2023-04-29','2023-04-29',40000.00,1,855.00,'PAGO  0004 - 002185',NULL,NULL,NULL,NULL,NULL),(173869,NULL,0,NULL,NULL,21,40817,40911,57,7613,1,1,'2023-05-17','2023-05-17',60000.00,1,855.00,'FACTURA C 0003 - 000046',NULL,NULL,NULL,NULL,NULL),(173870,NULL,0,NULL,173870,3,40817,40911,57,7613,2,1,'2023-05-23','2023-05-23',60000.00,1,855.00,'PAGO  0004 - 002303',NULL,NULL,NULL,NULL,NULL),(173871,NULL,0,NULL,NULL,21,40817,40911,57,7614,1,1,'2023-06-09','2023-06-09',60000.00,1,855.00,'FACTURA C 0003 - 000048',NULL,NULL,NULL,NULL,NULL),(173872,NULL,0,NULL,173872,3,40817,40911,57,7614,2,1,'2023-06-14','2023-06-14',60000.00,1,855.00,'PAGO  0004 - 002425',NULL,NULL,NULL,NULL,NULL),(173873,NULL,0,NULL,NULL,21,40817,40911,57,7615,1,1,'2023-07-06','2023-07-06',60000.00,1,855.00,'FACTURA C 0003 - 000049',NULL,NULL,NULL,NULL,NULL),(173874,NULL,0,NULL,173874,3,40817,40911,57,7615,2,1,'2023-07-11','2023-07-11',60000.00,1,855.00,'PAGO  0004 - 002531',NULL,NULL,NULL,NULL,NULL),(173875,NULL,0,NULL,173875,3,40817,40911,57,7616,2,1,'2023-08-04','2023-08-04',60000.00,1,855.00,'PAGO  0004 - 002670',NULL,NULL,NULL,NULL,NULL),(173876,NULL,0,NULL,NULL,21,40817,40911,57,7616,1,1,'2023-08-04','2023-08-04',60000.00,1,855.00,'FACTURA C 0003 - 000050',NULL,NULL,NULL,NULL,NULL),(173877,NULL,0,NULL,NULL,21,40817,40911,57,7617,1,1,'2023-09-15','2023-09-15',75000.00,1,855.00,'FACTURA C 0003 - 000051',NULL,NULL,NULL,NULL,NULL),(173878,NULL,0,NULL,173878,3,40817,40911,57,7617,2,1,'2023-09-26','2023-09-26',75000.00,1,855.00,'PAGO  0004 - 002947',NULL,NULL,NULL,NULL,NULL),(173879,NULL,0,NULL,NULL,21,40817,40911,57,7618,1,1,'2023-10-17','2023-10-17',75000.00,1,855.00,'FACTURA C 0003 - 000052',NULL,NULL,NULL,NULL,NULL),(173880,NULL,0,NULL,173880,3,40817,40911,57,7618,2,1,'2023-10-24','2023-10-24',75000.00,1,855.00,'PAGO  0004 - 003092',NULL,NULL,NULL,NULL,NULL),(173881,NULL,0,NULL,NULL,21,40817,40911,57,7619,1,1,'2023-11-14','2023-11-14',75000.00,1,855.00,'FACTURA C 0003 - 000053',NULL,NULL,NULL,NULL,NULL),(173882,NULL,0,NULL,173882,3,40817,40911,57,7619,2,1,'2023-11-30','2023-11-30',75000.00,1,855.00,'PAGO  0004 - 003289',NULL,NULL,NULL,NULL,NULL),(173883,NULL,0,NULL,NULL,21,40817,40911,57,7620,1,1,'2023-12-07','2023-12-07',93750.00,1,855.00,'FACTURA C 0003 - 000054',NULL,NULL,NULL,NULL,NULL),(173884,NULL,0,NULL,173884,3,40817,40911,57,7620,2,1,'2023-12-11','2023-12-11',93750.00,1,855.00,'PAGO  0004 - 003347',NULL,NULL,NULL,NULL,NULL),(173885,NULL,0,NULL,NULL,21,40817,40911,57,6064,1,1,'2024-01-05','2024-01-05',93500.00,1,855.00,'FACTURA C 0003 - 000058',NULL,NULL,NULL,NULL,NULL),(173886,NULL,0,NULL,173886,3,40817,40911,57,6064,2,1,'2024-01-11','2024-01-11',93500.00,1,855.00,'PAGO  0004 - 003528',NULL,NULL,NULL,NULL,NULL),(173887,NULL,0,NULL,NULL,21,40817,40911,57,6066,1,1,'2024-03-01','2024-03-01',125000.00,1,855.00,'FACTURA C 0003 - 000060',NULL,NULL,NULL,NULL,NULL),(173888,NULL,0,NULL,173888,3,40817,40911,57,6066,2,1,'2024-03-07','2024-03-07',125000.00,1,855.00,'PAGO  0004 - 003827',NULL,NULL,NULL,NULL,NULL),(173889,NULL,0,NULL,NULL,21,40817,40911,57,6066,1,1,'2024-03-20','2024-03-20',125000.00,1,855.00,'FACTURA C 0003 - 000063',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173890,NULL,0,NULL,173890,3,40817,40911,57,6066,2,1,'2024-03-25','2024-03-25',125000.00,1,855.00,'PAGO  0004 - 003929',NULL,NULL,NULL,NULL,NULL),(173891,NULL,0,NULL,NULL,21,40817,40911,57,6067,1,1,'2024-04-22','2024-04-22',150000.00,1,855.00,'FACTURA C 0003 - 000065',NULL,NULL,NULL,NULL,NULL),(173892,NULL,0,NULL,173892,3,40817,40911,57,6067,2,1,'2024-04-26','2024-04-26',150000.00,1,855.00,'PAGO  0004 - 004113',NULL,NULL,NULL,NULL,NULL),(173893,NULL,0,NULL,NULL,21,40817,46984,57,7609,1,1,'2023-01-02','2023-01-02',1471528.50,1,855.00,'FACTURA A 0003 - 011634',NULL,NULL,NULL,NULL,NULL),(173894,NULL,0,NULL,NULL,21,40817,46984,57,7609,1,1,'2023-01-02','2023-01-02',39204.00,1,855.00,'FACTURA A 0003 - 011635',NULL,NULL,NULL,NULL,NULL),(173895,NULL,0,NULL,173895,3,40817,46984,57,7609,2,1,'2023-01-03','2023-01-03',39204.00,1,855.00,'NOTA DE CREDITO A 0003 - 000417',NULL,NULL,NULL,NULL,NULL),(173896,NULL,0,NULL,173896,3,40817,46984,57,7609,2,1,'2023-01-09','2023-01-09',1471528.50,1,855.00,'PAGO  0004 - 001696',NULL,NULL,NULL,NULL,NULL),(173897,NULL,0,NULL,NULL,21,40817,46984,57,7609,1,1,'2023-01-18','2023-01-18',104604.50,1,855.00,'FACTURA A 0003 - 011696',NULL,NULL,NULL,NULL,NULL),(173898,NULL,0,NULL,NULL,21,40817,46984,57,7609,1,1,'2023-01-20','2023-01-20',1599487.50,1,855.00,'FACTURA A 0003 - 011707',NULL,NULL,NULL,NULL,NULL),(173899,NULL,0,NULL,NULL,21,40817,46984,57,7609,1,1,'2023-01-20','2023-01-20',41817.60,1,855.00,'FACTURA A 0003 - 011708',NULL,NULL,NULL,NULL,NULL),(173900,NULL,0,NULL,173900,3,40817,46984,57,7609,2,1,'2023-01-21','2023-01-21',1745909.60,1,855.00,'PAGO  0004 - 001747',NULL,NULL,NULL,NULL,NULL),(173901,NULL,0,NULL,NULL,21,40817,46984,57,7616,1,1,'2023-08-15','2023-08-15',103321.90,1,855.00,'FACTURA A 0003 - 012728',NULL,NULL,NULL,NULL,NULL),(173902,NULL,0,NULL,173902,3,40817,46984,57,7616,2,1,'2023-08-16','2023-08-16',103321.90,1,855.00,'PAGO  0004 - 002738',NULL,NULL,NULL,NULL,NULL),(173903,NULL,0,NULL,173903,3,40817,46984,57,7617,2,1,'2023-09-13','2023-09-13',462946.00,1,855.00,'PAGO  0004 - 002877',NULL,NULL,NULL,NULL,NULL),(173904,NULL,0,NULL,NULL,21,40817,46984,57,7617,1,1,'2023-09-13','2023-09-13',462946.00,1,855.00,'FACTURA A 0003 - 012843',NULL,NULL,NULL,NULL,NULL),(173905,NULL,0,NULL,NULL,21,40817,46984,57,7619,1,1,'2023-11-24','2023-11-24',219984.05,1,855.00,'FACTURA A 0003 - 013178',NULL,NULL,NULL,NULL,NULL),(173906,NULL,0,NULL,173906,3,40817,46984,57,7619,2,1,'2023-11-27','2023-11-27',219984.05,1,855.00,'PAGO  0004 - 003266',NULL,NULL,NULL,NULL,NULL),(173907,NULL,0,NULL,NULL,21,40817,46984,57,6066,1,1,'2024-03-25','2024-03-25',354457.40,1,855.00,'FACTURA A 0003 - 013646',NULL,NULL,NULL,NULL,NULL),(173908,NULL,0,NULL,173908,3,40817,46984,57,6067,2,1,'2024-04-04','2024-04-04',354457.40,1,855.00,'PAGO  0004 - 003956',NULL,NULL,NULL,NULL,NULL),(173909,NULL,0,NULL,NULL,21,40817,42249,57,7596,1,1,'2022-03-30','2022-03-30',42385.00,1,855.00,'FACTURA A 0005 - 002078',NULL,NULL,NULL,NULL,NULL),(173910,NULL,0,NULL,173910,3,40817,42249,57,7596,2,1,'2022-03-31','2022-03-31',42385.00,1,855.00,'PAGO  0001 - 000332',NULL,NULL,NULL,NULL,NULL),(173911,NULL,0,NULL,NULL,21,40817,42249,57,7600,1,1,'2022-07-27','2022-07-27',2459478.80,1,855.00,'FACTURA A 0005 - 002174',NULL,NULL,NULL,NULL,NULL),(173912,NULL,0,NULL,173912,3,40817,42249,57,7601,2,1,'2022-08-03','2022-08-03',2459478.80,1,855.00,'PAGO  0004 - 000929',NULL,NULL,NULL,NULL,NULL),(173913,NULL,0,NULL,NULL,21,40817,42249,57,7603,1,1,'2022-10-05','2022-10-05',48520.00,1,855.00,'FACTURA A 0005 - 002248',NULL,NULL,NULL,NULL,NULL),(173914,NULL,0,NULL,173914,3,40817,42249,57,7604,2,1,'2022-11-30','2022-11-30',48520.00,1,855.00,'PAGO  0004 - 001498',NULL,NULL,NULL,NULL,NULL),(173915,NULL,0,NULL,NULL,21,40817,42249,57,7609,1,1,'2023-01-13','2023-01-13',157690.00,1,855.00,'FACTURA A 0005 - 002323',NULL,NULL,NULL,NULL,NULL),(173916,NULL,0,NULL,NULL,21,40817,42249,57,7610,1,1,'2023-02-01','2023-02-01',72780.00,1,855.00,'FACTURA A 0005 - 002337',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173917,NULL,0,NULL,173917,3,40817,42249,57,7610,2,1,'2023-02-15','2023-02-15',157690.00,1,855.00,'PAGO  0004 - 001843',NULL,NULL,NULL,NULL,NULL),(173918,NULL,0,NULL,173918,3,40817,42249,57,7611,2,1,'2023-03-07','2023-03-07',72780.00,1,855.00,'PAGO  0004 - 001917',NULL,NULL,NULL,NULL,NULL),(173919,NULL,0,NULL,NULL,21,40817,42249,57,7615,1,1,'2023-07-07','2023-07-07',291120.00,1,855.00,'FACTURA A 0005 - 002446',NULL,NULL,NULL,NULL,NULL),(173920,NULL,0,NULL,173920,3,40817,42249,57,7616,2,1,'2023-08-04','2023-08-04',291120.00,1,855.00,'PAGO  0004 - 002671',NULL,NULL,NULL,NULL,NULL),(173921,NULL,0,NULL,NULL,21,40817,42249,57,6065,1,1,'2024-02-05','2024-02-05',139495.00,1,855.00,'FACTURA A 0005 - 002612',NULL,NULL,NULL,NULL,NULL),(173922,NULL,0,NULL,173922,3,40817,42249,57,6066,2,1,'2024-03-11','2024-03-11',139495.00,1,855.00,'PAGO  0004 - 003844',NULL,NULL,NULL,NULL,NULL),(173923,NULL,0,NULL,NULL,21,40817,40980,57,7594,1,1,'2022-01-03','2022-01-03',12051.60,1,855.00,'FACTURA A 0005 - 001090',NULL,NULL,NULL,NULL,NULL),(173924,NULL,0,NULL,NULL,21,40817,40980,57,7594,1,1,'2022-01-03','2022-01-03',18077.40,1,855.00,'FACTURA A 0005 - 001091',NULL,NULL,NULL,NULL,NULL),(173925,NULL,0,NULL,173925,3,40817,40980,57,7594,2,1,'2022-01-12','2022-01-12',30129.00,1,855.00,'PAGO  0004 - 000004',NULL,NULL,NULL,NULL,NULL),(173926,NULL,0,NULL,NULL,21,40817,40980,57,7595,1,1,'2022-02-01','2022-02-01',18077.40,1,855.00,'FACTURA A 0005 - 001130',NULL,NULL,NULL,NULL,NULL),(173927,NULL,0,NULL,NULL,21,40817,40980,57,7595,1,1,'2022-02-02','2022-02-02',6025.80,1,855.00,'FACTURA A 0005 - 001132',NULL,NULL,NULL,NULL,NULL),(173928,NULL,0,NULL,173928,3,40817,40980,57,7595,2,1,'2022-02-02','2022-02-02',24103.20,1,855.00,'PAGO  0004 - 000100',NULL,NULL,NULL,NULL,NULL),(173929,NULL,0,NULL,NULL,21,40817,40980,57,7595,1,1,'2022-02-14','2022-02-14',6025.80,1,855.00,'FACTURA A 0005 - 001156',NULL,NULL,NULL,NULL,NULL),(173930,NULL,0,NULL,NULL,21,40817,40980,57,7596,1,1,'2022-03-02','2022-03-02',7833.54,1,855.00,'FACTURA A 0005 - 001172',NULL,NULL,NULL,NULL,NULL),(173931,NULL,0,NULL,NULL,21,40817,40980,57,7596,1,1,'2022-03-02','2022-03-02',30760.62,1,855.00,'FACTURA A 0005 - 001173',NULL,NULL,NULL,NULL,NULL),(173932,NULL,0,NULL,173932,3,40817,40980,57,7596,2,1,'2022-03-07','2022-03-07',6025.80,1,855.00,'NOTA DE CREDITO A 0005 - 000042',NULL,NULL,NULL,NULL,NULL),(173933,NULL,0,NULL,173933,3,40817,40980,57,7596,2,1,'2022-03-11','2022-03-11',38594.16,1,855.00,'PAGO  0004 - 000270',NULL,NULL,NULL,NULL,NULL),(173934,NULL,0,NULL,NULL,21,40817,40980,57,7596,1,1,'2022-03-28','2022-03-28',15667.08,1,855.00,'FACTURA A 0005 - 001212',NULL,NULL,NULL,NULL,NULL),(173935,NULL,0,NULL,NULL,21,40817,40980,57,7596,1,1,'2022-03-28','2022-03-28',15667.08,1,855.00,'FACTURA A 0005 - 001213',NULL,NULL,NULL,NULL,NULL),(173936,NULL,0,NULL,173936,3,40817,40980,57,7597,2,1,'2022-04-01','2022-04-01',31334.16,1,855.00,'PAGO  0004 - 000369',NULL,NULL,NULL,NULL,NULL),(173937,NULL,0,NULL,NULL,21,40817,40980,57,7598,1,1,'2022-05-02','2022-05-02',15667.08,1,855.00,'FACTURA A 0005 - 001260',NULL,NULL,NULL,NULL,NULL),(173938,NULL,0,NULL,NULL,21,40817,40980,57,7598,1,1,'2022-05-02','2022-05-02',21717.08,1,855.00,'FACTURA A 0005 - 001261',NULL,NULL,NULL,NULL,NULL),(173939,NULL,0,NULL,173939,3,40817,40980,57,7598,2,1,'2022-05-04','2022-05-04',37384.16,1,855.00,'PAGO  0004 - 000514',NULL,NULL,NULL,NULL,NULL),(173940,NULL,0,NULL,NULL,21,40817,40980,57,7598,1,1,'2022-05-29','2022-05-29',15667.08,1,855.00,'FACTURA A 0005 - 001301',NULL,NULL,NULL,NULL,NULL),(173941,NULL,0,NULL,NULL,21,40817,40980,57,7598,1,1,'2022-05-29','2022-05-29',15667.08,1,855.00,'FACTURA A 0005 - 001302',NULL,NULL,NULL,NULL,NULL),(173942,NULL,0,NULL,173942,3,40817,40980,57,7599,2,1,'2022-06-03','2022-06-03',31334.16,1,855.00,'PAGO  0004 - 000657',NULL,NULL,NULL,NULL,NULL),(173943,NULL,0,NULL,NULL,21,40817,40980,57,7599,1,1,'2022-06-27','2022-06-27',7840.00,1,855.00,'FACTURA A 0005 - 001341',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173944,NULL,0,NULL,NULL,21,40817,40980,57,7599,1,1,'2022-06-27','2022-06-27',7840.00,1,855.00,'FACTURA A 0005 - 001342',NULL,NULL,NULL,NULL,NULL),(173945,NULL,0,NULL,173945,3,40817,40980,57,7600,2,1,'2022-07-12','2022-07-12',15680.00,1,855.00,'PAGO  0004 - 000811',NULL,NULL,NULL,NULL,NULL),(173946,NULL,0,NULL,NULL,21,40817,40980,57,7600,1,1,'2022-07-28','2022-07-28',20400.04,1,855.00,'FACTURA A 0005 - 001378',NULL,NULL,NULL,NULL,NULL),(173947,NULL,0,NULL,NULL,21,40817,40980,57,7600,1,1,'2022-07-28','2022-07-28',20400.04,1,855.00,'FACTURA A 0005 - 001379',NULL,NULL,NULL,NULL,NULL),(173948,NULL,0,NULL,173948,3,40817,40980,57,7601,2,1,'2022-08-02','2022-08-02',40800.08,1,855.00,'PAGO  0004 - 000912',NULL,NULL,NULL,NULL,NULL),(173949,NULL,0,NULL,NULL,21,40817,40980,57,7601,1,1,'2022-08-30','2022-08-30',20400.02,1,855.00,'FACTURA A 0005 - 001417',NULL,NULL,NULL,NULL,NULL),(173950,NULL,0,NULL,NULL,21,40817,40980,57,7601,1,1,'2022-08-30','2022-08-30',29530.03,1,855.00,'FACTURA A 0005 - 001418',NULL,NULL,NULL,NULL,NULL),(173951,NULL,0,NULL,173951,3,40817,40980,57,7602,2,1,'2022-09-05','2022-09-05',49930.05,1,855.00,'PAGO  0004 - 001100',NULL,NULL,NULL,NULL,NULL),(173952,NULL,0,NULL,NULL,21,40817,40980,57,7602,1,1,'2022-09-29','2022-09-29',23500.04,1,855.00,'FACTURA A 0005 - 001453',NULL,NULL,NULL,NULL,NULL),(173953,NULL,0,NULL,NULL,21,40817,40980,57,7602,1,1,'2022-09-29','2022-09-29',28265.02,1,855.00,'FACTURA A 0005 - 001454',NULL,NULL,NULL,NULL,NULL),(173954,NULL,0,NULL,173954,3,40817,40980,57,7603,2,1,'2022-10-04','2022-10-04',51765.06,1,855.00,'PAGO  0004 - 001242',NULL,NULL,NULL,NULL,NULL),(173955,NULL,0,NULL,NULL,21,40817,40980,57,7603,1,1,'2022-10-30','2022-10-30',20400.02,1,855.00,'FACTURA A 0005 - 001485',NULL,NULL,NULL,NULL,NULL),(173956,NULL,0,NULL,NULL,21,40817,40980,57,7603,1,1,'2022-10-30','2022-10-30',30600.03,1,855.00,'FACTURA A 0005 - 001486',NULL,NULL,NULL,NULL,NULL),(173957,NULL,0,NULL,173957,3,40817,40980,57,7604,2,1,'2022-11-04','2022-11-04',51000.05,1,855.00,'PAGO  0004 - 001378',NULL,NULL,NULL,NULL,NULL),(173958,NULL,0,NULL,NULL,21,40817,40980,57,7604,1,1,'2022-11-27','2022-11-27',20400.02,1,855.00,'FACTURA A 0005 - 001519',NULL,NULL,NULL,NULL,NULL),(173959,NULL,0,NULL,NULL,21,40817,40980,57,7604,1,1,'2022-11-27','2022-11-27',30080.02,1,855.00,'FACTURA A 0005 - 001520',NULL,NULL,NULL,NULL,NULL),(173960,NULL,0,NULL,173960,3,40817,40980,57,7605,2,1,'2022-12-05','2022-12-05',50480.04,1,855.00,'PAGO  0004 - 001513',NULL,NULL,NULL,NULL,NULL),(173961,NULL,0,NULL,NULL,21,40817,40980,57,7609,1,1,'2023-01-02','2023-01-02',23619.20,1,855.00,'FACTURA A 0005 - 001555',NULL,NULL,NULL,NULL,NULL),(173962,NULL,0,NULL,NULL,21,40817,40980,57,7609,1,1,'2023-01-02','2023-01-02',57692.80,1,855.00,'FACTURA A 0005 - 001556',NULL,NULL,NULL,NULL,NULL),(173963,NULL,0,NULL,173963,3,40817,40980,57,7609,2,1,'2023-01-07','2023-01-07',81312.00,1,855.00,'PAGO  0004 - 001651',NULL,NULL,NULL,NULL,NULL),(173964,NULL,0,NULL,NULL,21,40817,40980,57,7609,1,1,'2023-01-30','2023-01-30',34751.20,1,855.00,'FACTURA A 0005 - 001590',NULL,NULL,NULL,NULL,NULL),(173965,NULL,0,NULL,NULL,21,40817,40980,57,7609,1,1,'2023-01-30','2023-01-30',45883.20,1,855.00,'FACTURA A 0005 - 001591',NULL,NULL,NULL,NULL,NULL),(173966,NULL,0,NULL,173966,3,40817,40980,57,7610,2,1,'2023-02-07','2023-02-07',81681.22,1,855.00,'PAGO  0004 - 001804',NULL,NULL,NULL,NULL,NULL),(173967,NULL,0,NULL,NULL,21,40817,40980,57,7610,1,1,'2023-02-27','2023-02-27',34751.20,1,855.00,'FACTURA A 0005 - 001622',NULL,NULL,NULL,NULL,NULL),(173968,NULL,0,NULL,NULL,21,40817,40980,57,7610,1,1,'2023-02-27','2023-02-27',34751.20,1,855.00,'FACTURA A 0005 - 001623',NULL,NULL,NULL,NULL,NULL),(173969,NULL,0,NULL,173969,3,40817,40980,57,7611,2,1,'2023-03-07','2023-03-07',68455.58,1,855.00,'PAGO  0004 - 001915',NULL,NULL,NULL,NULL,NULL),(173970,NULL,0,NULL,NULL,21,40817,40980,57,7611,1,1,'2023-03-28','2023-03-28',34751.20,1,855.00,'FACTURA A 0005 - 001657',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173971,NULL,0,NULL,NULL,21,40817,40980,57,7611,1,1,'2023-03-28','2023-03-28',45883.20,1,855.00,'FACTURA A 0005 - 001658',NULL,NULL,NULL,NULL,NULL),(173972,NULL,0,NULL,173972,3,40817,40980,57,7612,2,1,'2023-04-03','2023-04-03',82262.06,1,855.00,'PAGO  0004 - 002051',NULL,NULL,NULL,NULL,NULL),(173973,NULL,0,NULL,NULL,21,40817,40980,57,7612,1,1,'2023-04-29','2023-04-29',52800.02,1,855.00,'FACTURA A 0005 - 001689',NULL,NULL,NULL,NULL,NULL),(173974,NULL,0,NULL,NULL,21,40817,40980,57,7612,1,1,'2023-04-29','2023-04-29',79200.04,1,855.00,'FACTURA A 0005 - 001690',NULL,NULL,NULL,NULL,NULL),(173975,NULL,0,NULL,173975,3,40817,40980,57,7613,2,1,'2023-05-12','2023-05-12',130372.40,1,855.00,'PAGO  0004 - 002246',NULL,NULL,NULL,NULL,NULL),(173976,NULL,0,NULL,NULL,21,40817,40980,57,7613,1,1,'2023-05-28','2023-05-28',52800.02,1,855.00,'FACTURA A 0005 - 001726',NULL,NULL,NULL,NULL,NULL),(173977,NULL,0,NULL,NULL,21,40817,40980,57,7613,1,1,'2023-05-28','2023-05-28',52800.02,1,855.00,'FACTURA A 0005 - 001727',NULL,NULL,NULL,NULL,NULL),(173978,NULL,0,NULL,173978,3,40817,40980,57,7614,2,1,'2023-06-08','2023-06-08',105600.04,1,855.00,'PAGO  0004 - 002380',NULL,NULL,NULL,NULL,NULL),(173979,NULL,0,NULL,NULL,21,40817,40980,57,7614,1,1,'2023-06-24','2023-06-24',52800.02,1,855.00,'FACTURA A 0005 - 001775',NULL,NULL,NULL,NULL,NULL),(173980,NULL,0,NULL,NULL,21,40817,40980,57,7614,1,1,'2023-06-24','2023-06-24',52800.02,1,855.00,'FACTURA A 0005 - 001776',NULL,NULL,NULL,NULL,NULL),(173981,NULL,0,NULL,173981,3,40817,40980,57,7615,2,1,'2023-07-05','2023-07-05',105871.88,1,855.00,'PAGO  0004 - 002513',NULL,NULL,NULL,NULL,NULL),(173982,NULL,0,NULL,NULL,21,40817,40980,57,7615,1,1,'2023-07-29','2023-07-29',63360.00,1,855.00,'FACTURA A 0005 - 001826',NULL,NULL,NULL,NULL,NULL),(173983,NULL,0,NULL,NULL,21,40817,40980,57,7615,1,1,'2023-07-29','2023-07-29',95040.00,1,855.00,'FACTURA A 0005 - 001827',NULL,NULL,NULL,NULL,NULL),(173984,NULL,0,NULL,173984,3,40817,40980,57,7616,2,1,'2023-08-04','2023-08-04',158128.16,1,855.00,'PAGO  0004 - 002672',NULL,NULL,NULL,NULL,NULL),(173985,NULL,0,NULL,NULL,21,40817,40980,57,7616,1,1,'2023-08-26','2023-08-26',63360.00,1,855.00,'FACTURA A 0005 - 001870',NULL,NULL,NULL,NULL,NULL),(173986,NULL,0,NULL,NULL,21,40817,40980,57,7616,1,1,'2023-08-26','2023-08-26',63360.00,1,855.00,'FACTURA A 0005 - 001871',NULL,NULL,NULL,NULL,NULL),(173987,NULL,0,NULL,173987,3,40817,40980,57,7617,2,1,'2023-09-07','2023-09-07',126720.00,1,855.00,'PAGO  0004 - 002832',NULL,NULL,NULL,NULL,NULL),(173988,NULL,0,NULL,NULL,21,40817,40980,57,7617,1,1,'2023-09-30','2023-09-30',63360.00,1,855.00,'FACTURA A 0005 - 001910',NULL,NULL,NULL,NULL,NULL),(173989,NULL,0,NULL,NULL,21,40817,40980,57,7617,1,1,'2023-09-30','2023-09-30',95040.00,1,855.00,'FACTURA A 0005 - 001911',NULL,NULL,NULL,NULL,NULL),(173990,NULL,0,NULL,173990,3,40817,40980,57,7618,2,1,'2023-10-12','2023-10-12',161458.79,1,855.00,'PAGO  0004 - 003032',NULL,NULL,NULL,NULL,NULL),(173991,NULL,0,NULL,NULL,21,40817,40980,57,7618,1,1,'2023-10-31','2023-10-31',63360.00,1,855.00,'FACTURA A 0005 - 001947',NULL,NULL,NULL,NULL,NULL),(173992,NULL,0,NULL,NULL,21,40817,40980,57,7618,1,1,'2023-10-31','2023-10-31',63360.00,1,855.00,'FACTURA A 0005 - 001948',NULL,NULL,NULL,NULL,NULL),(173993,NULL,0,NULL,173993,3,40817,40980,57,7619,2,1,'2023-11-01','2023-11-01',123661.21,1,855.00,'PAGO  0004 - 003141',NULL,NULL,NULL,NULL,NULL),(173994,NULL,0,NULL,NULL,21,40817,40980,57,7619,1,1,'2023-11-25','2023-11-25',72600.00,1,855.00,'FACTURA A 0005 - 001992',NULL,NULL,NULL,NULL,NULL),(173995,NULL,0,NULL,NULL,21,40817,40980,57,7619,1,1,'2023-11-25','2023-11-25',72600.00,1,855.00,'FACTURA A 0005 - 001993',NULL,NULL,NULL,NULL,NULL),(173996,NULL,0,NULL,173996,3,40817,40980,57,7620,2,1,'2023-12-12','2023-12-12',145200.00,1,855.00,'PAGO  0004 - 003352',NULL,NULL,NULL,NULL,NULL),(173997,NULL,0,NULL,NULL,21,40817,40980,57,7620,1,1,'2023-12-30','2023-12-30',83800.00,1,855.00,'FACTURA A 0005 - 002044',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (173998,NULL,0,NULL,NULL,21,40817,40980,57,7620,1,1,'2023-12-30','2023-12-30',125700.01,1,855.00,'FACTURA A 0005 - 002045',NULL,NULL,NULL,NULL,NULL),(173999,NULL,0,NULL,173999,3,40817,40980,57,6064,2,1,'2024-01-05','2024-01-05',209500.01,1,855.00,'PAGO  0004 - 003493',NULL,NULL,NULL,NULL,NULL),(174000,NULL,0,NULL,NULL,21,40817,40980,57,6064,1,1,'2024-01-29','2024-01-29',108000.00,1,855.00,'FACTURA A 0005 - 002099',NULL,NULL,NULL,NULL,NULL),(174001,NULL,0,NULL,NULL,21,40817,40980,57,6064,1,1,'2024-01-29','2024-01-29',108000.00,1,855.00,'FACTURA A 0005 - 002100',NULL,NULL,NULL,NULL,NULL),(174002,NULL,0,NULL,174002,3,40817,40980,57,6065,2,1,'2024-02-10','2024-02-10',216000.00,1,855.00,'PAGO  0004 - 003684',NULL,NULL,NULL,NULL,NULL),(174003,NULL,0,NULL,NULL,21,40817,40980,57,6065,1,1,'2024-02-28','2024-02-28',128000.02,1,855.00,'FACTURA A 0005 - 002137',NULL,NULL,NULL,NULL,NULL),(174004,NULL,0,NULL,NULL,21,40817,40980,57,6065,1,1,'2024-02-28','2024-02-28',128000.02,1,855.00,'FACTURA A 0005 - 002138',NULL,NULL,NULL,NULL,NULL),(174005,NULL,0,NULL,174005,3,40817,40980,57,6066,2,1,'2024-03-07','2024-03-07',256000.04,1,855.00,'PAGO  0004 - 003830',NULL,NULL,NULL,NULL,NULL),(174006,NULL,0,NULL,NULL,21,40817,40980,57,6066,1,1,'2024-03-31','2024-03-31',144000.02,1,855.00,'FACTURA A 0005 - 002176',NULL,NULL,NULL,NULL,NULL),(174007,NULL,0,NULL,NULL,21,40817,40980,57,6066,1,1,'2024-03-31','2024-03-31',216000.03,1,855.00,'FACTURA A 0005 - 002177',NULL,NULL,NULL,NULL,NULL),(174008,NULL,0,NULL,174008,3,40817,40980,57,6067,2,1,'2024-04-07','2024-04-07',360000.05,1,855.00,'PAGO  0004 - 003976',NULL,NULL,NULL,NULL,NULL),(174009,NULL,0,NULL,NULL,21,40817,40980,57,6067,1,1,'2024-04-30','2024-04-30',200000.03,1,855.00,'FACTURA A 0005 - 002218',NULL,NULL,NULL,NULL,NULL),(174010,NULL,0,NULL,NULL,21,40817,40980,57,6067,1,1,'2024-04-30','2024-04-30',200000.03,1,855.00,'FACTURA A 0005 - 002219',NULL,NULL,NULL,NULL,NULL),(174011,NULL,0,NULL,174011,3,40817,40980,57,6068,2,1,'2024-05-11','2024-05-11',400000.06,1,855.00,'PAGO  0004 - 004169',NULL,NULL,NULL,NULL,NULL),(174012,NULL,0,NULL,NULL,21,40817,40930,57,7599,1,1,'2022-06-10','2022-06-10',2401.01,1,855.00,'FACTURA A 0005 - 001800',NULL,NULL,NULL,NULL,NULL),(174013,NULL,0,NULL,174013,3,40817,40930,57,7599,2,1,'2022-06-10','2022-06-10',2401.01,1,855.00,'PAGO CONTADO  0001 - 000636',NULL,NULL,NULL,NULL,NULL),(174014,NULL,0,NULL,NULL,21,40817,40930,57,7609,1,1,'2023-01-20','2023-01-20',10653.01,1,855.00,'FACTURA A 0005 - 002214',NULL,NULL,NULL,NULL,NULL),(174015,NULL,0,NULL,174015,3,40817,40930,57,7610,2,1,'2023-02-07','2023-02-07',10653.01,1,855.00,'PAGO  0004 - 001812',NULL,NULL,NULL,NULL,NULL),(174016,NULL,0,NULL,NULL,21,40817,40930,57,6064,1,1,'2024-01-09','2024-01-09',168310.37,1,855.00,'FACTURA A 0005 - 002927',NULL,NULL,NULL,NULL,NULL),(174017,NULL,0,NULL,174017,3,40817,40930,57,6065,2,1,'2024-02-10','2024-02-10',168310.37,1,855.00,'PAGO  0004 - 003686',NULL,NULL,NULL,NULL,NULL),(174018,NULL,0,NULL,174018,3,40817,40930,57,6066,2,1,'2024-03-04','2024-03-04',155540.73,1,855.00,'PAGO  0004 - 003803',NULL,NULL,NULL,NULL,NULL),(174019,NULL,0,NULL,NULL,21,40817,40930,57,6066,1,1,'2024-03-04','2024-03-04',155540.73,1,855.00,'NOTA DE DEBITO A 0005 - 000029',NULL,NULL,NULL,NULL,NULL),(174020,NULL,0,NULL,NULL,21,40817,46985,57,7590,1,1,'2021-12-27','2021-12-27',219655.00,1,855.00,'FACTURA A 0001 - 559861',NULL,NULL,NULL,NULL,NULL),(174021,NULL,0,NULL,174021,3,40817,46985,57,7594,2,1,'2022-01-20','2022-01-20',219655.00,1,855.00,'PAGO  0001 - 000047',NULL,NULL,NULL,NULL,NULL),(174022,NULL,0,NULL,174022,3,40817,46985,57,7595,2,1,'2022-02-15','2022-02-15',222626.00,1,855.00,'PAGO CONTADO  0001 - 000205',NULL,NULL,NULL,NULL,NULL),(174023,NULL,0,NULL,NULL,21,40817,46985,57,7595,1,1,'2022-02-15','2022-02-15',222626.00,1,855.00,'FACTURA A 0009 - 448886',NULL,NULL,NULL,NULL,NULL),(174024,NULL,0,NULL,NULL,21,40817,46985,57,7596,1,1,'2022-03-02','2022-03-02',219234.00,1,855.00,'FACTURA A 0010 - 448886',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174025,NULL,0,NULL,174025,3,40817,46985,57,7596,2,1,'2022-03-02','2022-03-02',219234.00,1,855.00,'PAGO CONTADO  0001 - 000206',NULL,NULL,NULL,NULL,NULL),(174026,NULL,0,NULL,174026,3,40817,46985,57,7597,2,1,'2022-04-05','2022-04-05',246306.00,1,855.00,'PAGO CONTADO  0001 - 000349',NULL,NULL,NULL,NULL,NULL),(174027,NULL,0,NULL,NULL,21,40817,46985,57,7597,1,1,'2022-04-05','2022-04-05',246306.00,1,855.00,'FACTURA A 0011 - 048886',NULL,NULL,NULL,NULL,NULL),(174028,NULL,0,NULL,NULL,21,40817,46985,57,7598,1,1,'2022-05-03','2022-05-03',234734.00,1,855.00,'FACTURA A 0012 - 048886',NULL,NULL,NULL,NULL,NULL),(174029,NULL,0,NULL,174029,3,40817,46985,57,7598,2,1,'2022-05-03','2022-05-03',234734.00,1,855.00,'PAGO CONTADO  0001 - 000444',NULL,NULL,NULL,NULL,NULL),(174030,NULL,0,NULL,174030,3,40817,41023,57,7590,2,1,'2021-12-31','2021-12-31',1198.69,1,855.00,'PAGO  0001 - 000062',NULL,NULL,NULL,NULL,NULL),(174031,NULL,0,NULL,NULL,21,40817,41023,57,7596,1,1,'2022-03-04','2022-03-04',70098.02,1,855.00,'FACTURA A 0005 - 006871',NULL,NULL,NULL,NULL,NULL),(174032,NULL,0,NULL,174032,3,40817,41023,57,7596,2,1,'2022-03-04','2022-03-04',70098.02,1,855.00,'PAGO CONTADO  0001 - 000238',NULL,NULL,NULL,NULL,NULL),(174033,NULL,0,NULL,174033,3,40817,41023,57,7597,2,1,'2022-04-22','2022-04-22',6300.00,1,855.00,'PAGO CONTADO  0001 - 000425',NULL,NULL,NULL,NULL,NULL),(174034,NULL,0,NULL,NULL,21,40817,41023,57,7597,1,1,'2022-04-22','2022-04-22',4900.02,1,855.00,'FACTURA A 0005 - 007360',NULL,NULL,NULL,NULL,NULL),(174035,NULL,0,NULL,NULL,21,40817,41023,57,7597,1,1,'2022-04-22','2022-04-22',6300.00,1,855.00,'FACTURA A 0005 - 007365',NULL,NULL,NULL,NULL,NULL),(174036,NULL,0,NULL,NULL,21,40817,41023,57,7597,1,1,'2022-04-22','2022-04-22',84420.00,1,855.00,'FACTURA A 0005 - 007366',NULL,NULL,NULL,NULL,NULL),(174037,NULL,0,NULL,174037,3,40817,41023,57,7598,2,1,'2022-05-19','2022-05-19',88121.33,1,855.00,'PAGO  0004 - 000589',NULL,NULL,NULL,NULL,NULL),(174038,NULL,0,NULL,NULL,21,40817,41023,57,7600,1,1,'2022-07-11','2022-07-11',34240.00,1,855.00,'FACTURA A 0005 - 008204',NULL,NULL,NULL,NULL,NULL),(174039,NULL,0,NULL,174039,3,40817,41023,57,7600,2,1,'2022-07-15','2022-07-15',34240.00,1,855.00,'PAGO  0004 - 000844',NULL,NULL,NULL,NULL,NULL),(174040,NULL,0,NULL,NULL,21,40817,41023,57,7610,1,1,'2023-02-10','2023-02-10',6100.00,1,855.00,'FACTURA A 0005 - 010705',NULL,NULL,NULL,NULL,NULL),(174041,NULL,0,NULL,174041,3,40817,41023,57,7611,2,1,'2023-03-07','2023-03-07',6100.00,1,855.00,'PAGO  0004 - 001900',NULL,NULL,NULL,NULL,NULL),(174042,NULL,0,NULL,NULL,21,40817,41023,57,7614,1,1,'2023-06-14','2023-06-14',39600.02,1,855.00,'FACTURA A 0005 - 012008',NULL,NULL,NULL,NULL,NULL),(174043,NULL,0,NULL,174043,3,40817,41023,57,7614,2,1,'2023-06-27','2023-06-27',40463.74,1,855.00,'PAGO  0004 - 002475',NULL,NULL,NULL,NULL,NULL),(174044,NULL,0,NULL,NULL,21,40817,41023,57,7619,1,1,'2023-11-29','2023-11-29',32425.00,1,855.00,'FACTURA A 0005 - 014242',NULL,NULL,NULL,NULL,NULL),(174045,NULL,0,NULL,NULL,21,40817,41023,57,7620,1,1,'2023-12-11','2023-12-11',2500.01,1,855.00,'FACTURA A 0005 - 014402',NULL,NULL,NULL,NULL,NULL),(174046,NULL,0,NULL,NULL,21,40817,41023,57,7620,1,1,'2023-12-12','2023-12-12',71700.00,1,855.00,'FACTURA A 0005 - 014426',NULL,NULL,NULL,NULL,NULL),(174047,NULL,0,NULL,174047,3,40817,41023,57,7620,2,1,'2023-12-16','2023-12-16',105761.29,1,855.00,'PAGO  0004 - 003395',NULL,NULL,NULL,NULL,NULL),(174048,NULL,0,NULL,NULL,21,40817,41023,57,6064,1,1,'2024-01-16','2024-01-16',405798.01,1,855.00,'FACTURA A 0005 - 014804',NULL,NULL,NULL,NULL,NULL),(174049,NULL,0,NULL,NULL,21,40817,41023,57,6064,1,1,'2024-01-18','2024-01-18',122799.98,1,855.00,'FACTURA A 0005 - 014831',NULL,NULL,NULL,NULL,NULL),(174050,NULL,0,NULL,174050,3,40817,41023,57,6064,2,1,'2024-01-23','2024-01-23',528597.99,1,855.00,'PAGO  0004 - 003596',NULL,NULL,NULL,NULL,NULL),(174051,NULL,0,NULL,NULL,21,40817,41023,57,6065,1,1,'2024-02-14','2024-02-14',16000.02,1,855.00,'FACTURA A 0005 - 015104',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174052,NULL,0,NULL,174052,3,40817,41023,57,6066,2,1,'2024-03-07','2024-03-07',16000.02,1,855.00,'PAGO  0004 - 003829',NULL,NULL,NULL,NULL,NULL),(174053,NULL,0,NULL,NULL,21,40817,41023,57,6067,1,1,'2024-04-12','2024-04-12',69460.00,1,855.00,'FACTURA A 0005 - 015602',NULL,NULL,NULL,NULL,NULL),(174054,NULL,0,NULL,NULL,21,40817,41023,57,6067,1,1,'2024-04-22','2024-04-22',2117144.02,1,855.00,'FACTURA A 0005 - 015704',NULL,NULL,NULL,NULL,NULL),(174055,NULL,0,NULL,174055,3,40817,41023,57,6067,2,1,'2024-04-26','2024-04-26',69460.00,1,855.00,'PAGO  0004 - 004114',NULL,NULL,NULL,NULL,NULL),(174056,NULL,0,NULL,NULL,21,40817,40837,57,7594,1,1,'2022-01-03','2022-01-03',54450.00,1,855.00,'FACTURA A 0002 - 003311',NULL,NULL,NULL,NULL,NULL),(174057,NULL,0,NULL,174057,3,40817,40837,57,7594,2,1,'2022-01-12','2022-01-12',54450.00,1,855.00,'PAGO  0001 - 000031',NULL,NULL,NULL,NULL,NULL),(174058,NULL,0,NULL,NULL,21,40817,40837,57,7595,1,1,'2022-02-01','2022-02-01',54450.00,1,855.00,'FACTURA A 0002 - 003345',NULL,NULL,NULL,NULL,NULL),(174059,NULL,0,NULL,174059,3,40817,40837,57,7595,2,1,'2022-02-02','2022-02-02',54450.00,1,855.00,'PAGO  0004 - 000101',NULL,NULL,NULL,NULL,NULL),(174060,NULL,0,NULL,NULL,21,40817,40837,57,7596,1,1,'2022-03-01','2022-03-01',110110.00,1,855.00,'FACTURA A 0002 - 003378',NULL,NULL,NULL,NULL,NULL),(174061,NULL,0,NULL,174061,3,40817,40837,57,7596,2,1,'2022-03-08','2022-03-08',110110.00,1,855.00,'PAGO  0004 - 000235',NULL,NULL,NULL,NULL,NULL),(174062,NULL,0,NULL,174062,3,40817,40837,57,7597,2,1,'2022-04-01','2022-04-01',83490.00,1,855.00,'PAGO  0004 - 000371',NULL,NULL,NULL,NULL,NULL),(174063,NULL,0,NULL,NULL,21,40817,40837,57,7597,1,1,'2022-04-01','2022-04-01',83490.00,1,855.00,'FACTURA A 0002 - 003410',NULL,NULL,NULL,NULL,NULL),(174064,NULL,0,NULL,NULL,21,40817,40837,57,7598,1,1,'2022-05-01','2022-05-01',110110.00,1,855.00,'FACTURA A 0002 - 003441',NULL,NULL,NULL,NULL,NULL),(174065,NULL,0,NULL,174065,3,40817,40837,57,7598,2,1,'2022-05-04','2022-05-04',110110.00,1,855.00,'PAGO  0004 - 000515',NULL,NULL,NULL,NULL,NULL),(174066,NULL,0,NULL,NULL,21,40817,40837,57,7599,1,1,'2022-06-01','2022-06-01',108900.00,1,855.00,'FACTURA A 0002 - 003473',NULL,NULL,NULL,NULL,NULL),(174067,NULL,0,NULL,174067,3,40817,40837,57,7599,2,1,'2022-06-03','2022-06-03',108900.00,1,855.00,'PAGO  0004 - 000658',NULL,NULL,NULL,NULL,NULL),(174068,NULL,0,NULL,NULL,21,40817,40837,57,7600,1,1,'2022-07-01','2022-07-01',93170.00,1,855.00,'FACTURA A 0002 - 003507',NULL,NULL,NULL,NULL,NULL),(174069,NULL,0,NULL,174069,3,40817,40837,57,7600,2,1,'2022-07-12','2022-07-12',93170.00,1,855.00,'PAGO  0004 - 000812',NULL,NULL,NULL,NULL,NULL),(174070,NULL,0,NULL,NULL,21,40817,40837,57,7601,1,1,'2022-08-01','2022-08-01',252890.00,1,855.00,'FACTURA A 0002 - 003539',NULL,NULL,NULL,NULL,NULL),(174071,NULL,0,NULL,174071,3,40817,40837,57,7601,2,1,'2022-08-03','2022-08-03',252890.00,1,855.00,'PAGO  0004 - 000930',NULL,NULL,NULL,NULL,NULL),(174072,NULL,0,NULL,174072,3,40817,40837,57,7601,2,1,'2022-08-11','2022-08-11',133100.00,1,855.00,'PAGO CONTADO  0001 - 000911',NULL,NULL,NULL,NULL,NULL),(174073,NULL,0,NULL,NULL,21,40817,40837,57,7601,1,1,'2022-08-11','2022-08-11',133100.00,1,855.00,'FACTURA A 0002 - 003563',NULL,NULL,NULL,NULL,NULL),(174074,NULL,0,NULL,NULL,21,40817,40837,57,7602,1,1,'2022-09-01','2022-09-01',131890.00,1,855.00,'FACTURA A 0002 - 003571',NULL,NULL,NULL,NULL,NULL),(174075,NULL,0,NULL,NULL,21,40817,40837,57,7602,1,1,'2022-09-01','2022-09-01',133100.00,1,855.00,'FACTURA A 0002 - 003594',NULL,NULL,NULL,NULL,NULL),(174076,NULL,0,NULL,174076,3,40817,40837,57,7602,2,1,'2022-09-12','2022-09-12',264990.00,1,855.00,'PAGO  0004 - 001128',NULL,NULL,NULL,NULL,NULL),(174077,NULL,0,NULL,NULL,21,40817,40837,57,7603,1,1,'2022-10-01','2022-10-01',54450.00,1,855.00,'FACTURA A 0002 - 003602',NULL,NULL,NULL,NULL,NULL),(174078,NULL,0,NULL,NULL,21,40817,40837,57,7603,1,1,'2022-10-01','2022-10-01',133100.00,1,855.00,'FACTURA A 0002 - 003625',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174079,NULL,0,NULL,174079,3,40817,40837,57,7603,2,1,'2022-10-12','2022-10-12',187550.00,1,855.00,'PAGO  0004 - 001270',NULL,NULL,NULL,NULL,NULL),(174080,NULL,0,NULL,NULL,21,40817,40837,57,7604,1,1,'2022-11-01','2022-11-01',54450.00,1,855.00,'FACTURA A 0002 - 003633',NULL,NULL,NULL,NULL,NULL),(174081,NULL,0,NULL,NULL,21,40817,40837,57,7604,1,1,'2022-11-01','2022-11-01',133100.00,1,855.00,'FACTURA A 0002 - 003655',NULL,NULL,NULL,NULL,NULL),(174082,NULL,0,NULL,174082,3,40817,40837,57,7604,2,1,'2022-11-04','2022-11-04',187550.00,1,855.00,'PAGO  0004 - 001379',NULL,NULL,NULL,NULL,NULL),(174083,NULL,0,NULL,NULL,21,40817,40837,57,7604,1,1,'2022-11-26','2022-11-26',163350.00,1,855.00,'FACTURA A 0002 - 003657',NULL,NULL,NULL,NULL,NULL),(174084,NULL,0,NULL,NULL,21,40817,40837,57,7605,1,1,'2022-12-01','2022-12-01',54450.00,1,855.00,'FACTURA A 0002 - 003665',NULL,NULL,NULL,NULL,NULL),(174085,NULL,0,NULL,NULL,21,40817,40837,57,7605,1,1,'2022-12-01','2022-12-01',133100.00,1,855.00,'FACTURA A 0002 - 003687',NULL,NULL,NULL,NULL,NULL),(174086,NULL,0,NULL,174086,3,40817,40837,57,7605,2,1,'2022-12-05','2022-12-05',350900.00,1,855.00,'PAGO  0004 - 001514',NULL,NULL,NULL,NULL,NULL),(174087,NULL,0,NULL,NULL,21,40817,40837,57,7609,1,1,'2023-01-04','2023-01-04',139392.00,1,855.00,'FACTURA A 0002 - 003697',NULL,NULL,NULL,NULL,NULL),(174088,NULL,0,NULL,NULL,21,40817,40837,57,7609,1,1,'2023-01-04','2023-01-04',133100.00,1,855.00,'FACTURA A 0002 - 003718',NULL,NULL,NULL,NULL,NULL),(174089,NULL,0,NULL,174089,3,40817,40837,57,7609,2,1,'2023-01-07','2023-01-07',272492.00,1,855.00,'PAGO  0004 - 001652',NULL,NULL,NULL,NULL,NULL),(174090,NULL,0,NULL,NULL,21,40817,40837,57,7610,1,1,'2023-02-01','2023-02-01',100672.00,1,855.00,'FACTURA A 0002 - 003729',NULL,NULL,NULL,NULL,NULL),(174091,NULL,0,NULL,NULL,21,40817,40837,57,7610,1,1,'2023-02-01','2023-02-01',133100.00,1,855.00,'FACTURA A 0002 - 003752',NULL,NULL,NULL,NULL,NULL),(174092,NULL,0,NULL,174092,3,40817,40837,57,7610,2,1,'2023-02-09','2023-02-09',233772.00,1,855.00,'PAGO  0004 - 001823',NULL,NULL,NULL,NULL,NULL),(174093,NULL,0,NULL,NULL,21,40817,40837,57,7611,1,1,'2023-03-01','2023-03-01',100672.00,1,855.00,'FACTURA A 0002 - 003763',NULL,NULL,NULL,NULL,NULL),(174094,NULL,0,NULL,NULL,21,40817,40837,57,7611,1,1,'2023-03-01','2023-03-01',133100.00,1,855.00,'FACTURA A 0002 - 003786',NULL,NULL,NULL,NULL,NULL),(174095,NULL,0,NULL,174095,3,40817,40837,57,7611,2,1,'2023-03-07','2023-03-07',233772.00,1,855.00,'PAGO  0004 - 001902',NULL,NULL,NULL,NULL,NULL),(174096,NULL,0,NULL,NULL,21,40817,40837,57,7612,1,1,'2023-04-02','2023-04-02',100672.00,1,855.00,'FACTURA A 0002 - 003800',NULL,NULL,NULL,NULL,NULL),(174097,NULL,0,NULL,NULL,21,40817,40837,57,7612,1,1,'2023-04-02','2023-04-02',133100.00,1,855.00,'FACTURA A 0002 - 003823',NULL,NULL,NULL,NULL,NULL),(174098,NULL,0,NULL,174098,3,40817,40837,57,7612,2,1,'2023-04-13','2023-04-13',233772.00,1,855.00,'PAGO  0004 - 002095',NULL,NULL,NULL,NULL,NULL),(174099,NULL,0,NULL,NULL,21,40817,40837,57,7613,1,1,'2023-05-01','2023-05-01',125840.00,1,855.00,'FACTURA A 0002 - 003837',NULL,NULL,NULL,NULL,NULL),(174100,NULL,0,NULL,NULL,21,40817,40837,57,7613,1,1,'2023-05-01','2023-05-01',166375.00,1,855.00,'FACTURA A 0002 - 003859',NULL,NULL,NULL,NULL,NULL),(174101,NULL,0,NULL,174101,3,40817,40837,57,7613,2,1,'2023-05-11','2023-05-11',292215.00,1,855.00,'PAGO  0004 - 002233',NULL,NULL,NULL,NULL,NULL),(174102,NULL,0,NULL,NULL,21,40817,40837,57,7614,1,1,'2023-06-01','2023-06-01',175934.00,1,855.00,'FACTURA A 0002 - 003872',NULL,NULL,NULL,NULL,NULL),(174103,NULL,0,NULL,NULL,21,40817,40837,57,7614,1,1,'2023-06-01','2023-06-01',166375.00,1,855.00,'FACTURA A 0002 - 003893',NULL,NULL,NULL,NULL,NULL),(174104,NULL,0,NULL,174104,3,40817,40837,57,7614,2,1,'2023-06-08','2023-06-08',342309.00,1,855.00,'PAGO  0004 - 002381',NULL,NULL,NULL,NULL,NULL),(174105,NULL,0,NULL,NULL,21,40817,40837,57,7615,1,1,'2023-07-01','2023-07-01',196020.00,1,855.00,'FACTURA A 0002 - 003906',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174106,NULL,0,NULL,NULL,21,40817,40837,57,7615,1,1,'2023-07-01','2023-07-01',166375.00,1,855.00,'FACTURA A 0002 - 003927',NULL,NULL,NULL,NULL,NULL),(174107,NULL,0,NULL,174107,3,40817,40837,57,7615,2,1,'2023-07-11','2023-07-11',362395.00,1,855.00,'PAGO  0004 - 002532',NULL,NULL,NULL,NULL,NULL),(174108,NULL,0,NULL,NULL,21,40817,40837,57,7616,1,1,'2023-08-01','2023-08-01',196020.00,1,855.00,'FACTURA A 0002 - 003939',NULL,NULL,NULL,NULL,NULL),(174109,NULL,0,NULL,NULL,21,40817,40837,57,7616,1,1,'2023-08-01','2023-08-01',217800.00,1,855.00,'FACTURA A 0002 - 003962',NULL,NULL,NULL,NULL,NULL),(174110,NULL,0,NULL,174110,3,40817,40837,57,7616,2,1,'2023-08-04','2023-08-04',413820.00,1,855.00,'PAGO  0004 - 002673',NULL,NULL,NULL,NULL,NULL),(174111,NULL,0,NULL,NULL,21,40817,40837,57,7617,1,1,'2023-09-01','2023-09-01',350900.00,1,855.00,'FACTURA A 0002 - 003973',NULL,NULL,NULL,NULL,NULL),(174112,NULL,0,NULL,NULL,21,40817,40837,57,7617,1,1,'2023-09-01','2023-09-01',217800.00,1,855.00,'FACTURA A 0002 - 003996',NULL,NULL,NULL,NULL,NULL),(174113,NULL,0,NULL,174113,3,40817,40837,57,7617,2,1,'2023-09-07','2023-09-07',568700.00,1,855.00,'PAGO  0004 - 002833',NULL,NULL,NULL,NULL,NULL),(174114,NULL,0,NULL,NULL,21,40817,40837,57,7618,1,1,'2023-10-01','2023-10-01',181500.00,1,855.00,'FACTURA A 0002 - 004008',NULL,NULL,NULL,NULL,NULL),(174115,NULL,0,NULL,NULL,21,40817,40837,57,7618,1,1,'2023-10-01','2023-10-01',217800.00,1,855.00,'FACTURA A 0002 - 004029',NULL,NULL,NULL,NULL,NULL),(174116,NULL,0,NULL,174116,3,40817,40837,57,7618,2,1,'2023-10-17','2023-10-17',399300.00,1,855.00,'PAGO  0004 - 003042',NULL,NULL,NULL,NULL,NULL),(174117,NULL,0,NULL,174117,3,40817,40837,57,7619,2,1,'2023-11-01','2023-11-01',617100.00,1,855.00,'PAGO  0004 - 003143',NULL,NULL,NULL,NULL,NULL),(174118,NULL,0,NULL,NULL,21,40817,40837,57,7619,1,1,'2023-11-01','2023-11-01',181500.00,1,855.00,'FACTURA A 0002 - 004039',NULL,NULL,NULL,NULL,NULL),(174119,NULL,0,NULL,NULL,21,40817,40837,57,7619,1,1,'2023-11-01','2023-11-01',435600.00,1,855.00,'FACTURA A 0002 - 004060',NULL,NULL,NULL,NULL,NULL),(174120,NULL,0,NULL,NULL,21,40817,40837,57,7619,1,1,'2023-11-13','2023-11-13',359128.00,1,855.00,'FACTURA A 0002 - 004064',NULL,NULL,NULL,NULL,NULL),(174121,NULL,0,NULL,174121,3,40817,40837,57,7619,2,1,'2023-11-14','2023-11-14',360364.85,1,855.00,'PAGO  0004 - 003220',NULL,NULL,NULL,NULL,NULL),(174122,NULL,0,NULL,NULL,21,40817,40837,57,7620,1,1,'2023-12-01','2023-12-01',181500.00,1,855.00,'FACTURA A 0002 - 004072',NULL,NULL,NULL,NULL,NULL),(174123,NULL,0,NULL,NULL,21,40817,40837,57,7620,1,1,'2023-12-01','2023-12-01',435600.00,1,855.00,'FACTURA A 0002 - 004093',NULL,NULL,NULL,NULL,NULL),(174124,NULL,0,NULL,174124,3,40817,40837,57,7620,2,1,'2023-12-14','2023-12-14',615863.15,1,855.00,'PAGO  0004 - 003372',NULL,NULL,NULL,NULL,NULL),(174125,NULL,0,NULL,NULL,21,40817,40837,57,6064,1,1,'2024-01-02','2024-01-02',399300.00,1,855.00,'FACTURA A 0002 - 004104',NULL,NULL,NULL,NULL,NULL),(174126,NULL,0,NULL,NULL,21,40817,40837,57,6064,1,1,'2024-01-02','2024-01-02',217800.00,1,855.00,'FACTURA A 0002 - 004125',NULL,NULL,NULL,NULL,NULL),(174127,NULL,0,NULL,174127,3,40817,40837,57,6064,2,1,'2024-01-05','2024-01-05',617100.00,1,855.00,'PAGO  0004 - 003497',NULL,NULL,NULL,NULL,NULL),(174128,NULL,0,NULL,NULL,21,40817,40837,57,6065,1,1,'2024-02-01','2024-02-01',308550.00,1,855.00,'FACTURA A 0002 - 004137',NULL,NULL,NULL,NULL,NULL),(174129,NULL,0,NULL,NULL,21,40817,40837,57,6065,1,1,'2024-02-01','2024-02-01',217800.00,1,855.00,'FACTURA A 0002 - 004158',NULL,NULL,NULL,NULL,NULL),(174130,NULL,0,NULL,174130,3,40817,40837,57,6065,2,1,'2024-02-10','2024-02-10',526350.00,1,855.00,'PAGO  0004 - 003690',NULL,NULL,NULL,NULL,NULL),(174131,NULL,0,NULL,NULL,21,40817,40837,57,6066,1,1,'2024-03-01','2024-03-01',477950.00,1,855.00,'FACTURA A 0002 - 004170',NULL,NULL,NULL,NULL,NULL),(174132,NULL,0,NULL,NULL,21,40817,40837,57,6066,1,1,'2024-03-01','2024-03-01',278300.00,1,855.00,'FACTURA A 0002 - 004192',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174133,NULL,0,NULL,174133,3,40817,40837,57,6066,2,1,'2024-03-12','2024-03-12',756250.00,1,855.00,'PAGO  0004 - 003850',NULL,NULL,NULL,NULL,NULL),(174134,NULL,0,NULL,NULL,21,40817,40837,57,6067,1,1,'2024-04-01','2024-04-01',598950.00,1,855.00,'FACTURA A 0002 - 004204',NULL,NULL,NULL,NULL,NULL),(174135,NULL,0,NULL,NULL,21,40817,40837,57,6067,1,1,'2024-04-01','2024-04-01',278300.00,1,855.00,'FACTURA A 0002 - 004225',NULL,NULL,NULL,NULL,NULL),(174136,NULL,0,NULL,174136,3,40817,40837,57,6067,2,1,'2024-04-07','2024-04-07',877250.00,1,855.00,'PAGO  0004 - 003977',NULL,NULL,NULL,NULL,NULL),(174137,NULL,0,NULL,NULL,21,40817,40837,57,6068,1,1,'2024-05-04','2024-05-04',465850.00,1,855.00,'FACTURA A 0002 - 004237',NULL,NULL,NULL,NULL,NULL),(174138,NULL,0,NULL,NULL,21,40817,40837,57,6068,1,1,'2024-05-04','2024-05-04',278300.00,1,855.00,'FACTURA A 0002 - 004258',NULL,NULL,NULL,NULL,NULL),(174139,NULL,0,NULL,NULL,21,40817,40837,57,6068,1,1,'2024-05-04','2024-05-04',395428.00,1,855.00,'FACTURA A 0002 - 004260',NULL,NULL,NULL,NULL,NULL),(174140,NULL,0,NULL,174140,3,40817,40837,57,6068,2,1,'2024-05-11','2024-05-11',1139578.00,1,855.00,'PAGO  0004 - 004170',NULL,NULL,NULL,NULL,NULL),(174141,NULL,0,NULL,NULL,21,40817,40951,57,7580,1,1,'2021-02-17','2021-02-17',181000.00,1,855.00,'FACTURA C 0002 - 000083',NULL,NULL,NULL,NULL,NULL),(174142,NULL,0,NULL,174142,3,40817,40951,57,7580,2,1,'2021-02-17','2021-02-17',181000.00,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000033',NULL,NULL,NULL,NULL,NULL),(174143,NULL,0,NULL,NULL,21,40817,40951,57,7594,1,1,'2022-01-17','2022-01-17',181000.00,1,855.00,'FACTURA C 0002 - 000081',NULL,NULL,NULL,NULL,NULL),(174144,NULL,0,NULL,174144,3,40817,40951,57,7594,2,1,'2022-01-28','2022-01-28',181000.00,1,855.00,'PAGO  0004 - 000072',NULL,NULL,NULL,NULL,NULL),(174145,NULL,0,NULL,NULL,21,40817,40951,57,7595,1,1,'2022-02-17','2022-02-17',181000.00,1,855.00,'FACTURA C 0002 - 000083',NULL,NULL,NULL,NULL,NULL),(174146,NULL,0,NULL,174146,3,40817,40951,57,7595,2,1,'2022-02-18','2022-02-18',181000.00,1,855.00,'PAGO  0004 - 000174',NULL,NULL,NULL,NULL,NULL),(174147,NULL,0,NULL,NULL,21,40817,40951,57,7596,1,1,'2022-03-17','2022-03-17',181000.00,1,855.00,'FACTURA C 0003 - 000173',NULL,NULL,NULL,NULL,NULL),(174148,NULL,0,NULL,174148,3,40817,40951,57,7596,2,1,'2022-03-23','2022-03-23',181000.00,1,855.00,'PAGO  0004 - 000326',NULL,NULL,NULL,NULL,NULL),(174149,NULL,0,NULL,NULL,21,40817,40951,57,7597,1,1,'2022-04-18','2022-04-18',181000.00,1,855.00,'FACTURA C 0002 - 000084',NULL,NULL,NULL,NULL,NULL),(174150,NULL,0,NULL,174150,3,40817,40951,57,7597,2,1,'2022-04-21','2022-04-21',181000.00,1,855.00,'PAGO  0004 - 000463',NULL,NULL,NULL,NULL,NULL),(174151,NULL,0,NULL,NULL,21,40817,40951,57,7598,1,1,'2022-05-17','2022-05-17',181000.00,1,855.00,'FACTURA C 0002 - 000086',NULL,NULL,NULL,NULL,NULL),(174152,NULL,0,NULL,174152,3,40817,40951,57,7598,2,1,'2022-05-26','2022-05-26',181000.00,1,855.00,'PAGO  0004 - 000623',NULL,NULL,NULL,NULL,NULL),(174153,NULL,0,NULL,NULL,21,40817,40951,57,7599,1,1,'2022-06-16','2022-06-16',1810000.00,1,855.00,'FACTURA C 0002 - 000088',NULL,NULL,NULL,NULL,NULL),(174154,NULL,0,NULL,NULL,21,40817,40951,57,7599,1,1,'2022-06-16','2022-06-16',181000.00,1,855.00,'FACTURA C 0002 - 000089',NULL,NULL,NULL,NULL,NULL),(174155,NULL,0,NULL,174155,3,40817,40951,57,7599,2,1,'2022-06-16','2022-06-16',1810000.00,1,855.00,'NOTA DE CREDITO C 0002 - 000002',NULL,NULL,NULL,NULL,NULL),(174156,NULL,0,NULL,174156,3,40817,40951,57,7599,2,1,'2022-06-29','2022-06-29',181000.00,1,855.00,'PAGO  0004 - 000772',NULL,NULL,NULL,NULL,NULL),(174157,NULL,0,NULL,NULL,21,40817,40951,57,7600,1,1,'2022-07-18','2022-07-18',181000.00,1,855.00,'FACTURA C 0003 - 000175',NULL,NULL,NULL,NULL,NULL),(174158,NULL,0,NULL,174158,3,40817,40951,57,7600,2,1,'2022-07-22','2022-07-22',181000.00,1,855.00,'PAGO  0004 - 000876',NULL,NULL,NULL,NULL,NULL),(174159,NULL,0,NULL,NULL,21,40817,40951,57,7601,1,1,'2022-08-16','2022-08-16',181000.00,1,855.00,'FACTURA C 0003 - 000176',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174160,NULL,0,NULL,174160,3,40817,40951,57,7601,2,1,'2022-08-22','2022-08-22',181000.00,1,855.00,'PAGO  0004 - 001038',NULL,NULL,NULL,NULL,NULL),(174161,NULL,0,NULL,NULL,21,40817,40990,57,7597,1,1,'2022-04-05','2022-04-05',109357.38,1,855.00,'FACTURA A 0004 - 001383',NULL,NULL,NULL,NULL,NULL),(174162,NULL,0,NULL,174162,3,40817,40990,57,7597,2,1,'2022-04-06','2022-04-06',109357.38,1,855.00,'PAGO  0004 - 000389',NULL,NULL,NULL,NULL,NULL),(174163,NULL,0,NULL,NULL,21,40817,40990,57,7598,1,1,'2022-05-19','2022-05-19',16489.88,1,855.00,'FACTURA A 0004 - 001436',NULL,NULL,NULL,NULL,NULL),(174164,NULL,0,NULL,174164,3,40817,40990,57,7598,2,1,'2022-05-20','2022-05-20',16489.88,1,855.00,'PAGO  0004 - 000606',NULL,NULL,NULL,NULL,NULL),(174165,NULL,0,NULL,NULL,21,40817,40990,57,7599,1,1,'2022-06-29','2022-06-29',99885.50,1,855.00,'FACTURA A 0004 - 001483',NULL,NULL,NULL,NULL,NULL),(174166,NULL,0,NULL,174166,3,40817,40990,57,7600,2,1,'2022-07-05','2022-07-05',99885.50,1,855.00,'PAGO  0004 - 000783',NULL,NULL,NULL,NULL,NULL),(174167,NULL,0,NULL,NULL,21,40817,40990,57,7600,1,1,'2022-07-27','2022-07-27',130411.38,1,855.00,'FACTURA A 0004 - 001508',NULL,NULL,NULL,NULL,NULL),(174168,NULL,0,NULL,174168,3,40817,40990,57,7600,2,1,'2022-07-27','2022-07-27',130411.38,1,855.00,'PAGO CONTADO  0001 - 000842',NULL,NULL,NULL,NULL,NULL),(174169,NULL,0,NULL,NULL,21,40817,40990,57,7603,1,1,'2022-10-04','2022-10-04',22950.00,1,855.00,'FACTURA A 0004 - 001596',NULL,NULL,NULL,NULL,NULL),(174170,NULL,0,NULL,NULL,21,40817,40990,57,7603,1,1,'2022-10-04','2022-10-04',22950.00,1,855.00,'FACTURA A 0004 - 001597',NULL,NULL,NULL,NULL,NULL),(174171,NULL,0,NULL,174171,3,40817,40990,57,7603,2,1,'2022-10-13','2022-10-13',22950.00,1,855.00,'PAGO  0004 - 001272',NULL,NULL,NULL,NULL,NULL),(174172,NULL,0,NULL,NULL,21,40817,40990,57,7603,1,1,'2022-10-14','2022-10-14',42047.50,1,855.00,'FACTURA A 0004 - 001608',NULL,NULL,NULL,NULL,NULL),(174173,NULL,0,NULL,174173,3,40817,40990,57,7603,2,1,'2022-10-19','2022-10-19',42047.50,1,855.00,'PAGO  0004 - 001291',NULL,NULL,NULL,NULL,NULL),(174174,NULL,0,NULL,174174,3,40817,40990,57,7603,2,1,'2022-10-19','2022-10-19',22950.00,1,855.00,'NOTA DE CREDITO A 0004 - 000025',NULL,NULL,NULL,NULL,NULL),(174175,NULL,0,NULL,NULL,21,40817,40990,57,7605,1,1,'2022-12-06','2022-12-06',227189.60,1,855.00,'FACTURA A 0004 - 001676',NULL,NULL,NULL,NULL,NULL),(174176,NULL,0,NULL,174176,3,40817,40990,57,7605,2,1,'2022-12-07','2022-12-07',227189.60,1,855.00,'PAGO  0004 - 001547',NULL,NULL,NULL,NULL,NULL),(174177,NULL,0,NULL,NULL,21,40817,40990,57,7611,1,1,'2023-03-13','2023-03-13',64795.50,1,855.00,'FACTURA A 0004 - 001808',NULL,NULL,NULL,NULL,NULL),(174178,NULL,0,NULL,NULL,21,40817,40990,57,7611,1,1,'2023-03-16','2023-03-16',38115.00,1,855.00,'FACTURA A 0004 - 001813',NULL,NULL,NULL,NULL,NULL),(174179,NULL,0,NULL,174179,3,40817,40990,57,7611,2,1,'2023-03-20','2023-03-20',102910.50,1,855.00,'PAGO  0004 - 001979',NULL,NULL,NULL,NULL,NULL),(174180,NULL,0,NULL,NULL,21,40817,40990,57,7611,1,1,'2023-03-28','2023-03-28',107992.50,1,855.00,'FACTURA A 0004 - 001829',NULL,NULL,NULL,NULL,NULL),(174181,NULL,0,NULL,174181,3,40817,40990,57,7611,2,1,'2023-03-28','2023-03-28',102910.50,1,855.00,'PAGO  0001 - 001975',NULL,NULL,NULL,NULL,NULL),(174182,NULL,0,NULL,174182,3,40817,40990,57,7612,2,1,'2023-04-03','2023-04-03',5082.00,1,855.00,'PAGO  0004 - 002052',NULL,NULL,NULL,NULL,NULL),(174183,NULL,0,NULL,NULL,21,40817,40990,57,7612,1,1,'2023-04-18','2023-04-18',157052.00,1,855.00,'FACTURA A 0004 - 001857',NULL,NULL,NULL,NULL,NULL),(174184,NULL,0,NULL,174184,3,40817,40990,57,7612,2,1,'2023-04-21','2023-04-21',157052.00,1,855.00,'PAGO  0004 - 002141',NULL,NULL,NULL,NULL,NULL),(174185,NULL,0,NULL,NULL,21,40817,40990,57,7614,1,1,'2023-06-26','2023-06-26',56265.00,1,855.00,'FACTURA A 0004 - 001945',NULL,NULL,NULL,NULL,NULL),(174186,NULL,0,NULL,NULL,21,40817,40990,57,7614,1,1,'2023-06-28','2023-06-28',171979.72,1,855.00,'FACTURA A 0004 - 001949',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174187,NULL,0,NULL,174187,3,40817,40990,57,7614,2,1,'2023-06-29','2023-06-29',231031.74,1,855.00,'PAGO  0004 - 002496',NULL,NULL,NULL,NULL,NULL),(174188,NULL,0,NULL,NULL,21,40817,40990,57,7616,1,1,'2023-08-15','2023-08-15',74657.00,1,855.00,'FACTURA A 0004 - 002011',NULL,NULL,NULL,NULL,NULL),(174189,NULL,0,NULL,NULL,21,40817,40990,57,7616,1,1,'2023-08-15','2023-08-15',93508.99,1,855.00,'FACTURA A 0004 - 002013',NULL,NULL,NULL,NULL,NULL),(174190,NULL,0,NULL,174190,3,40817,40990,57,7616,2,1,'2023-08-16','2023-08-16',165378.97,1,855.00,'PAGO  0004 - 002739',NULL,NULL,NULL,NULL,NULL),(174191,NULL,0,NULL,NULL,21,40817,40990,57,7617,1,1,'2023-09-04','2023-09-04',43076.00,1,855.00,'FACTURA A 0004 - 002043',NULL,NULL,NULL,NULL,NULL),(174192,NULL,0,NULL,174192,3,40817,40990,57,7617,2,1,'2023-09-07','2023-09-07',43076.00,1,855.00,'PAGO  0004 - 002834',NULL,NULL,NULL,NULL,NULL),(174193,NULL,0,NULL,NULL,21,40817,40990,57,7619,1,1,'2023-11-03','2023-11-03',155727.00,1,855.00,'FACTURA A 0004 - 002116',NULL,NULL,NULL,NULL,NULL),(174194,NULL,0,NULL,174194,3,40817,40990,57,7619,2,1,'2023-11-06','2023-11-06',155727.00,1,855.00,'PAGO  0004 - 003158',NULL,NULL,NULL,NULL,NULL),(174195,NULL,0,NULL,NULL,21,40817,40990,57,7620,1,1,'2023-12-13','2023-12-13',713631.38,1,855.00,'FACTURA A 0004 - 002166',NULL,NULL,NULL,NULL,NULL),(174196,NULL,0,NULL,174196,3,40817,40990,57,7620,2,1,'2023-12-14','2023-12-14',713631.38,1,855.00,'PAGO  0004 - 003376',NULL,NULL,NULL,NULL,NULL),(174197,NULL,0,NULL,NULL,21,40817,40990,57,6064,1,1,'2024-01-29','2024-01-29',644869.50,1,855.00,'FACTURA A 0004 - 002225',NULL,NULL,NULL,NULL,NULL),(174198,NULL,0,NULL,NULL,21,40817,40990,57,6064,1,1,'2024-01-30','2024-01-30',69938.00,1,855.00,'FACTURA A 0004 - 002226',NULL,NULL,NULL,NULL,NULL),(174199,NULL,0,NULL,174199,3,40817,40990,57,6064,2,1,'2024-01-31','2024-01-31',715065.87,1,855.00,'PAGO  0004 - 003631',NULL,NULL,NULL,NULL,NULL),(174200,NULL,0,NULL,NULL,21,40817,40990,57,6065,1,1,'2024-02-15','2024-02-15',274065.00,1,855.00,'FACTURA A 0004 - 002242',NULL,NULL,NULL,NULL,NULL),(174201,NULL,0,NULL,174201,3,40817,40990,57,6065,2,1,'2024-02-16','2024-02-16',273806.63,1,855.00,'PAGO  0004 - 003714',NULL,NULL,NULL,NULL,NULL),(174202,NULL,0,NULL,NULL,21,40817,40990,57,6067,1,1,'2024-04-15','2024-04-15',248599.34,1,855.00,'FACTURA A 0004 - 002319',NULL,NULL,NULL,NULL,NULL),(174203,NULL,0,NULL,174203,3,40817,40990,57,6067,2,1,'2024-04-17','2024-04-17',248599.34,1,855.00,'PAGO  0004 - 004050',NULL,NULL,NULL,NULL,NULL),(174204,NULL,0,NULL,NULL,21,40817,40990,57,6068,1,1,'2024-05-13','2024-05-13',304536.43,1,855.00,'FACTURA A 0004 - 002350',NULL,NULL,NULL,NULL,NULL),(174205,NULL,0,NULL,174205,3,40817,40990,57,6068,2,1,'2024-05-15','2024-05-15',304536.43,1,855.00,'PAGO  0004 - 004205',NULL,NULL,NULL,NULL,NULL),(174206,NULL,0,NULL,NULL,21,40817,46986,57,7603,1,1,'2022-10-03','2022-10-03',45600.00,1,855.00,'FACTURA A 0004 - 007619',NULL,NULL,NULL,NULL,NULL),(174207,NULL,0,NULL,174207,3,40817,46986,57,7603,2,1,'2022-10-19','2022-10-19',45600.00,1,855.00,'PAGO  0004 - 001290',NULL,NULL,NULL,NULL,NULL),(174208,NULL,0,NULL,NULL,21,40817,40989,57,7590,1,1,'2021-12-15','2021-12-15',31702.00,1,855.00,'FACTURA A 0003 - 009740',NULL,NULL,NULL,NULL,NULL),(174209,NULL,0,NULL,NULL,21,40817,40989,57,7590,1,1,'2021-12-30','2021-12-30',513513.11,1,855.00,'FACTURA A 0003 - 009801',NULL,NULL,NULL,NULL,NULL),(174210,NULL,0,NULL,NULL,21,40817,40989,57,7590,1,1,'2021-12-30','2021-12-30',77803.00,1,855.00,'FACTURA A 0003 - 009802',NULL,NULL,NULL,NULL,NULL),(174211,NULL,0,NULL,NULL,21,40817,40989,57,7590,1,1,'2021-12-30','2021-12-30',81860.74,1,855.00,'FACTURA A 0003 - 009813',NULL,NULL,NULL,NULL,NULL),(174212,NULL,0,NULL,NULL,21,40817,40989,57,7590,1,1,'2021-12-30','2021-12-30',26499.00,1,855.00,'FACTURA A 0003 - 009815',NULL,NULL,NULL,NULL,NULL),(174213,NULL,0,NULL,174213,3,40817,40989,57,7590,2,1,'2021-12-31','2021-12-31',6072.75,1,855.00,'PAGO  0001 - 000063',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174214,NULL,0,NULL,174214,3,40817,40989,57,7594,2,1,'2022-01-20','2022-01-20',749837.06,1,855.00,'PAGO  0004 - 000045',NULL,NULL,NULL,NULL,NULL),(174215,NULL,0,NULL,NULL,21,40817,40989,57,7594,1,1,'2022-01-20','2022-01-20',733890.40,1,855.00,'FACTURA A 0003 - 009865',NULL,NULL,NULL,NULL,NULL),(174216,NULL,0,NULL,174216,3,40817,40989,57,7595,2,1,'2022-02-15','2022-02-15',31804.36,1,855.00,'PAGO  0004 - 000154',NULL,NULL,NULL,NULL,NULL),(174217,NULL,0,NULL,174217,3,40817,40989,57,7595,2,1,'2022-02-15','2022-02-15',243663.68,1,855.00,'PAGO  0004 - 000155',NULL,NULL,NULL,NULL,NULL),(174218,NULL,0,NULL,NULL,21,40817,40989,57,7595,1,1,'2022-02-17','2022-02-17',280245.07,1,855.00,'FACTURA A 0003 - 009947',NULL,NULL,NULL,NULL,NULL),(174219,NULL,0,NULL,NULL,21,40817,40989,57,7595,1,1,'2022-02-23','2022-02-23',37248.04,1,855.00,'FACTURA A 0003 - 009965',NULL,NULL,NULL,NULL,NULL),(174220,NULL,0,NULL,174220,3,40817,40989,57,7595,2,1,'2022-02-24','2022-02-24',208890.80,1,855.00,'PAGO  0004 - 000198',NULL,NULL,NULL,NULL,NULL),(174221,NULL,0,NULL,174221,3,40817,40989,57,7596,2,1,'2022-03-08','2022-03-08',224999.60,1,855.00,'PAGO  0004 - 000234',NULL,NULL,NULL,NULL,NULL),(174222,NULL,0,NULL,174222,3,40817,40989,57,7596,2,1,'2022-03-31','2022-03-31',317493.11,1,855.00,'PAGO  0004 - 000356',NULL,NULL,NULL,NULL,NULL),(174223,NULL,0,NULL,NULL,21,40817,40989,57,7597,1,1,'2022-04-11','2022-04-11',29463.50,1,855.00,'FACTURA A 0003 - 010095',NULL,NULL,NULL,NULL,NULL),(174224,NULL,0,NULL,NULL,21,40817,40989,57,7597,1,1,'2022-04-29','2022-04-29',350649.52,1,855.00,'FACTURA A 0003 - 010177',NULL,NULL,NULL,NULL,NULL),(174225,NULL,0,NULL,NULL,21,40817,40989,57,7598,1,1,'2022-05-11','2022-05-11',52151.00,1,855.00,'FACTURA A 0003 - 010190',NULL,NULL,NULL,NULL,NULL),(174226,NULL,0,NULL,174226,3,40817,40989,57,7599,2,1,'2022-06-01','2022-06-01',432264.02,1,855.00,'PAGO  0004 - 000642',NULL,NULL,NULL,NULL,NULL),(174227,NULL,0,NULL,NULL,21,40817,40989,57,7599,1,1,'2022-06-29','2022-06-29',425151.65,1,855.00,'FACTURA A 0003 - 010293',NULL,NULL,NULL,NULL,NULL),(174228,NULL,0,NULL,174228,3,40817,40989,57,7600,2,1,'2022-07-22','2022-07-22',425151.65,1,855.00,'PAGO  0004 - 000870',NULL,NULL,NULL,NULL,NULL),(174229,NULL,0,NULL,NULL,21,40817,40989,57,7601,1,1,'2022-08-22','2022-08-22',35574.00,1,855.00,'FACTURA A 0003 - 010455',NULL,NULL,NULL,NULL,NULL),(174230,NULL,0,NULL,NULL,21,40817,40989,57,7601,1,1,'2022-08-31','2022-08-31',641868.70,1,855.00,'FACTURA A 0003 - 010514',NULL,NULL,NULL,NULL,NULL),(174231,NULL,0,NULL,NULL,21,40817,40989,57,7601,1,1,'2022-08-31','2022-08-31',618636.70,1,855.00,'FACTURA A 0003 - 010515',NULL,NULL,NULL,NULL,NULL),(174232,NULL,0,NULL,174232,3,40817,40989,57,7601,2,1,'2022-08-31','2022-08-31',641868.70,1,855.00,'NOTA DE CREDITO A 0003 - 000785',NULL,NULL,NULL,NULL,NULL),(174233,NULL,0,NULL,NULL,21,40817,40989,57,7602,1,1,'2022-09-21','2022-09-21',38659.50,1,855.00,'FACTURA A 0003 - 010558',NULL,NULL,NULL,NULL,NULL),(174234,NULL,0,NULL,174234,3,40817,40989,57,7602,2,1,'2022-09-26','2022-09-26',655717.18,1,855.00,'PAGO  0004 - 001203',NULL,NULL,NULL,NULL,NULL),(174235,NULL,0,NULL,NULL,21,40817,40989,57,7603,1,1,'2022-10-19','2022-10-19',638389.95,1,855.00,'FACTURA A 0003 - 010646',NULL,NULL,NULL,NULL,NULL),(174236,NULL,0,NULL,NULL,21,40817,40989,57,7603,1,1,'2022-10-20','2022-10-20',326177.28,1,855.00,'FACTURA A 0003 - 010650',NULL,NULL,NULL,NULL,NULL),(174237,NULL,0,NULL,174237,3,40817,40989,57,7603,2,1,'2022-10-22','2022-10-22',37153.02,1,855.00,'PAGO  0004 - 001326',NULL,NULL,NULL,NULL,NULL),(174238,NULL,0,NULL,NULL,21,40817,40989,57,7604,1,1,'2022-11-07','2022-11-07',38659.50,1,855.00,'FACTURA A 0003 - 010701',NULL,NULL,NULL,NULL,NULL),(174239,NULL,0,NULL,174239,3,40817,40989,57,7604,2,1,'2022-11-18','2022-11-18',1003226.73,1,855.00,'PAGO  0004 - 001437',NULL,NULL,NULL,NULL,NULL),(174240,NULL,0,NULL,NULL,21,40817,40989,57,7605,1,1,'2022-12-30','2022-12-30',726704.22,1,855.00,'FACTURA A 0003 - 010881',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174241,NULL,0,NULL,NULL,21,40817,40989,57,7605,1,1,'2022-12-30','2022-12-30',344692.70,1,855.00,'FACTURA A 0003 - 010882',NULL,NULL,NULL,NULL,NULL),(174242,NULL,0,NULL,174242,3,40817,40989,57,7609,2,1,'2023-01-07','2023-01-07',1071396.92,1,855.00,'PAGO  0004 - 001692',NULL,NULL,NULL,NULL,NULL),(174243,NULL,0,NULL,NULL,21,40817,40989,57,7609,1,1,'2023-01-11','2023-01-11',104432.64,1,855.00,'NOTA DE DEBITO A 0003 - 000136',NULL,NULL,NULL,NULL,NULL),(174244,NULL,0,NULL,NULL,21,40817,40989,57,7609,1,1,'2023-01-11','2023-01-11',104432.63,1,855.00,'NOTA DE DEBITO A 0003 - 000136',NULL,NULL,NULL,NULL,NULL),(174245,NULL,0,NULL,174245,3,40817,40989,57,7609,2,1,'2023-01-11','2023-01-11',104432.64,1,855.00,'PAGO CONTADO  0001 - 001634',NULL,NULL,NULL,NULL,NULL),(174246,NULL,0,NULL,174246,3,40817,40989,57,7609,2,1,'2023-01-11','2023-01-11',104432.63,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000074',NULL,NULL,NULL,NULL,NULL),(174247,NULL,0,NULL,NULL,21,40817,40989,57,7609,1,1,'2023-01-12','2023-01-12',104432.63,1,855.00,'ANULACION DE PAGOS  0001 - 000086',NULL,NULL,NULL,NULL,NULL),(174248,NULL,0,NULL,174248,3,40817,40989,57,7609,2,1,'2023-01-12','2023-01-12',104432.63,1,855.00,'PAGO  0004 - 001704',NULL,NULL,NULL,NULL,NULL),(174249,NULL,0,NULL,NULL,21,40817,40989,57,7609,1,1,'2023-01-23','2023-01-23',1814019.90,1,855.00,'FACTURA A 0003 - 010974',NULL,NULL,NULL,NULL,NULL),(174250,NULL,0,NULL,174250,3,40817,40989,57,7611,2,1,'2023-03-02','2023-03-02',1814019.90,1,855.00,'PAGO  0004 - 001885',NULL,NULL,NULL,NULL,NULL),(174251,NULL,0,NULL,NULL,21,40817,40989,57,7611,1,1,'2023-03-20','2023-03-20',64637.37,1,855.00,'NOTA DE DEBITO A 0003 - 000137',NULL,NULL,NULL,NULL,NULL),(174252,NULL,0,NULL,174252,3,40817,40989,57,7611,2,1,'2023-03-23','2023-03-23',64637.37,1,855.00,'PAGO  0004 - 002001',NULL,NULL,NULL,NULL,NULL),(174253,NULL,0,NULL,NULL,21,40817,40989,57,7613,1,1,'2023-05-12','2023-05-12',2271266.80,1,855.00,'FACTURA A 0003 - 011266',NULL,NULL,NULL,NULL,NULL),(174254,NULL,0,NULL,NULL,21,40817,40989,57,7613,1,1,'2023-05-15','2023-05-15',65037.50,1,855.00,'FACTURA A 0003 - 011276',NULL,NULL,NULL,NULL,NULL),(174255,NULL,0,NULL,174255,3,40817,40989,57,7614,2,1,'2023-06-13','2023-06-13',2336304.30,1,855.00,'PAGO  0004 - 002412',NULL,NULL,NULL,NULL,NULL),(174256,NULL,0,NULL,NULL,21,40817,40989,57,7616,1,1,'2023-08-16','2023-08-16',1388539.13,1,855.00,'FACTURA A 0003 - 011550',NULL,NULL,NULL,NULL,NULL),(174257,NULL,0,NULL,174257,3,40817,40989,57,7617,2,1,'2023-09-19','2023-09-19',1388539.13,1,855.00,'PAGO  0004 - 002914',NULL,NULL,NULL,NULL,NULL),(174258,NULL,0,NULL,NULL,21,40817,40989,57,7618,1,1,'2023-10-24','2023-10-24',1055410.40,1,855.00,'FACTURA A 0003 - 011738',NULL,NULL,NULL,NULL,NULL),(174259,NULL,0,NULL,NULL,21,40817,40989,57,7618,1,1,'2023-10-25','2023-10-25',110739.20,1,855.00,'FACTURA A 0003 - 011739',NULL,NULL,NULL,NULL,NULL),(174260,NULL,0,NULL,NULL,21,40817,40989,57,7619,1,1,'2023-11-08','2023-11-08',1886706.54,1,855.00,'FACTURA A 0003 - 011785',NULL,NULL,NULL,NULL,NULL),(174261,NULL,0,NULL,174261,3,40817,40989,57,7620,2,1,'2023-12-13','2023-12-13',1169217.60,1,855.00,'PAGO  0004 - 003369',NULL,NULL,NULL,NULL,NULL),(174262,NULL,0,NULL,174262,3,40817,40989,57,7620,2,1,'2023-12-19','2023-12-19',1885110.33,1,855.00,'PAGO  0004 - 003410',NULL,NULL,NULL,NULL,NULL),(174263,NULL,0,NULL,NULL,21,40817,40989,57,6064,1,1,'2024-01-04','2024-01-04',395065.00,1,855.00,'FACTURA A 0003 - 011949',NULL,NULL,NULL,NULL,NULL),(174264,NULL,0,NULL,NULL,21,40817,40989,57,6064,1,1,'2024-01-29','2024-01-29',3517923.70,1,855.00,'FACTURA A 0003 - 012029',NULL,NULL,NULL,NULL,NULL),(174265,NULL,0,NULL,NULL,21,40817,40989,57,6065,1,1,'2024-02-12','2024-02-12',7669743.51,1,855.00,'FACTURA A 0003 - 012073',NULL,NULL,NULL,NULL,NULL),(174266,NULL,0,NULL,174266,3,40817,40989,57,6065,2,1,'2024-02-26','2024-02-26',393593.21,1,855.00,'PAGO  0004 - 003753',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174267,NULL,0,NULL,174267,3,40817,40989,57,6065,2,1,'2024-02-26','2024-02-26',1500000.00,1,855.00,'PAGO  0004 - 003756',NULL,NULL,NULL,NULL,NULL),(174268,NULL,0,NULL,174268,3,40817,40989,57,6065,2,1,'2024-02-27','2024-02-27',1119591.48,1,855.00,'PAGO  0004 - 003758',NULL,NULL,NULL,NULL,NULL),(174269,NULL,0,NULL,174269,3,40817,40989,57,6065,2,1,'2024-02-29','2024-02-29',899998.76,1,855.00,'PAGO  0004 - 003777',NULL,NULL,NULL,NULL,NULL),(174270,NULL,0,NULL,174270,3,40817,40989,57,6066,2,1,'2024-03-28','2024-03-28',7668076.97,1,855.00,'PAGO  0004 - 003939',NULL,NULL,NULL,NULL,NULL),(174271,NULL,0,NULL,NULL,21,40817,40989,57,6067,1,1,'2024-04-16','2024-04-16',3262142.00,1,855.00,'FACTURA A 0003 - 012186',NULL,NULL,NULL,NULL,NULL),(174272,NULL,0,NULL,NULL,21,40817,40989,57,6067,1,1,'2024-04-19','2024-04-19',563860.00,1,855.00,'FACTURA A 0003 - 012196',NULL,NULL,NULL,NULL,NULL),(174273,NULL,0,NULL,NULL,21,40817,40989,57,6067,1,1,'2024-04-24','2024-04-24',498193.30,1,855.00,'FACTURA A 0003 - 012213',NULL,NULL,NULL,NULL,NULL),(174274,NULL,0,NULL,NULL,21,40817,40989,57,6067,1,1,'2024-04-24','2024-04-24',131587.50,1,855.00,'FACTURA A 0003 - 012215',NULL,NULL,NULL,NULL,NULL),(174275,NULL,0,NULL,174275,3,40817,40989,57,6067,2,1,'2024-04-26','2024-04-26',3265284.51,1,855.00,'PAGO  0004 - 004116',NULL,NULL,NULL,NULL,NULL),(174276,NULL,0,NULL,174276,3,40817,40989,57,6068,2,1,'2024-05-16','2024-05-16',1190498.29,1,855.00,'PAGO  0004 - 004208',NULL,NULL,NULL,NULL,NULL),(174277,NULL,0,NULL,NULL,21,40817,40913,57,7594,1,1,'2022-01-11','2022-01-11',12584.00,1,855.00,'FACTURA A 0003 - 003430',NULL,NULL,NULL,NULL,NULL),(174278,NULL,0,NULL,174278,3,40817,40913,57,7595,2,1,'2022-02-02','2022-02-02',12584.00,1,855.00,'PAGO  0004 - 000102',NULL,NULL,NULL,NULL,NULL),(174279,NULL,0,NULL,NULL,21,40817,40913,57,7595,1,1,'2022-02-18','2022-02-18',17871.70,1,855.00,'FACTURA A 0003 - 003470',NULL,NULL,NULL,NULL,NULL),(174280,NULL,0,NULL,174280,3,40817,40913,57,7595,2,1,'2022-02-21','2022-02-21',17871.70,1,855.00,'PAGO  0004 - 000179',NULL,NULL,NULL,NULL,NULL),(174281,NULL,0,NULL,NULL,21,40817,40913,57,7596,1,1,'2022-03-11','2022-03-11',474731.40,1,855.00,'FACTURA A 0003 - 003477',NULL,NULL,NULL,NULL,NULL),(174282,NULL,0,NULL,NULL,21,40817,40913,57,7596,1,1,'2022-03-11','2022-03-11',17871.70,1,855.00,'FACTURA A 0003 - 003480',NULL,NULL,NULL,NULL,NULL),(174283,NULL,0,NULL,NULL,21,40817,40913,57,7597,1,1,'2022-04-12','2022-04-12',17871.70,1,855.00,'FACTURA A 0003 - 003519',NULL,NULL,NULL,NULL,NULL),(174284,NULL,0,NULL,174284,3,40817,40913,57,7597,2,1,'2022-04-13','2022-04-13',35743.40,1,855.00,'PAGO  0004 - 000420',NULL,NULL,NULL,NULL,NULL),(174285,NULL,0,NULL,174285,3,40817,40913,57,7597,2,1,'2022-04-13','2022-04-13',474731.40,1,855.00,'PAGO  0004 - 000421',NULL,NULL,NULL,NULL,NULL),(174286,NULL,0,NULL,NULL,21,40817,40913,57,7598,1,1,'2022-05-02','2022-05-02',129330.85,1,855.00,'FACTURA A 0003 - 003539',NULL,NULL,NULL,NULL,NULL),(174287,NULL,0,NULL,NULL,21,40817,40913,57,7598,1,1,'2022-05-05','2022-05-05',17871.70,1,855.00,'FACTURA A 0003 - 003550',NULL,NULL,NULL,NULL,NULL),(174288,NULL,0,NULL,174288,3,40817,40913,57,7598,2,1,'2022-05-19','2022-05-19',147202.55,1,855.00,'PAGO  0004 - 000591',NULL,NULL,NULL,NULL,NULL),(174289,NULL,0,NULL,NULL,21,40817,40913,57,7599,1,1,'2022-06-08','2022-06-08',17871.70,1,855.00,'FACTURA A 0003 - 003578',NULL,NULL,NULL,NULL,NULL),(174290,NULL,0,NULL,NULL,21,40817,40913,57,7599,1,1,'2022-06-08','2022-06-08',16171.65,1,855.00,'FACTURA A 0003 - 003579',NULL,NULL,NULL,NULL,NULL),(174291,NULL,0,NULL,174291,3,40817,40913,57,7599,2,1,'2022-06-14','2022-06-14',34043.35,1,855.00,'PAGO  0004 - 000718',NULL,NULL,NULL,NULL,NULL),(174292,NULL,0,NULL,NULL,21,40817,40913,57,7600,1,1,'2022-07-06','2022-07-06',17871.70,1,855.00,'FACTURA A 0003 - 003610',NULL,NULL,NULL,NULL,NULL),(174293,NULL,0,NULL,NULL,21,40817,40913,57,7600,1,1,'2022-07-07','2022-07-07',17871.70,1,855.00,'FACTURA A 0003 - 003616',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174294,NULL,0,NULL,174294,3,40817,40913,57,7600,2,1,'2022-07-07','2022-07-07',17871.70,1,855.00,'NOTA DE CREDITO A 0003 - 000379',NULL,NULL,NULL,NULL,NULL),(174295,NULL,0,NULL,174295,3,40817,40913,57,7600,2,1,'2022-07-12','2022-07-12',17871.70,1,855.00,'PAGO  0004 - 000813',NULL,NULL,NULL,NULL,NULL),(174296,NULL,0,NULL,NULL,21,40817,40913,57,7601,1,1,'2022-08-01','2022-08-01',23948.32,1,855.00,'FACTURA A 0003 - 003657',NULL,NULL,NULL,NULL,NULL),(174297,NULL,0,NULL,174297,3,40817,40913,57,7601,2,1,'2022-08-03','2022-08-03',23948.32,1,855.00,'PAGO  0004 - 000931',NULL,NULL,NULL,NULL,NULL),(174298,NULL,0,NULL,174298,3,40817,40913,57,7602,2,1,'2022-09-14','2022-09-14',23948.32,1,855.00,'NOTA DE CREDITO A 0003 - 000404',NULL,NULL,NULL,NULL,NULL),(174299,NULL,0,NULL,NULL,21,40817,40913,57,7602,1,1,'2022-09-14','2022-09-14',23948.32,1,855.00,'FACTURA A 0003 - 003707',NULL,NULL,NULL,NULL,NULL),(174300,NULL,0,NULL,NULL,21,40817,40913,57,7602,1,1,'2022-09-14','2022-09-14',23948.32,1,855.00,'FACTURA A 0003 - 003709',NULL,NULL,NULL,NULL,NULL),(174301,NULL,0,NULL,174301,3,40817,40913,57,7602,2,1,'2022-09-28','2022-09-28',23948.32,1,855.00,'PAGO  0004 - 001219',NULL,NULL,NULL,NULL,NULL),(174302,NULL,0,NULL,NULL,21,40817,40913,57,7603,1,1,'2022-10-13','2022-10-13',23948.32,1,855.00,'FACTURA A 0003 - 003742',NULL,NULL,NULL,NULL,NULL),(174303,NULL,0,NULL,174303,3,40817,40913,57,7603,2,1,'2022-10-21','2022-10-21',23948.32,1,855.00,'PAGO  0004 - 001307',NULL,NULL,NULL,NULL,NULL),(174304,NULL,0,NULL,174304,3,40817,40913,57,7604,2,1,'2022-11-10','2022-11-10',23948.32,1,855.00,'NOTA DE CREDITO A 0003 - 000415',NULL,NULL,NULL,NULL,NULL),(174305,NULL,0,NULL,174305,3,40817,40913,57,7604,2,1,'2022-11-10','2022-11-10',23948.32,1,855.00,'NOTA DE CREDITO A 0003 - 000416',NULL,NULL,NULL,NULL,NULL),(174306,NULL,0,NULL,NULL,21,40817,40913,57,7604,1,1,'2022-11-10','2022-11-10',23948.32,1,855.00,'FACTURA A 0003 - 003784',NULL,NULL,NULL,NULL,NULL),(174307,NULL,0,NULL,NULL,21,40817,40913,57,7604,1,1,'2022-11-10','2022-11-10',23948.32,1,855.00,'FACTURA A 0003 - 003785',NULL,NULL,NULL,NULL,NULL),(174308,NULL,0,NULL,NULL,21,40817,40913,57,7604,1,1,'2022-11-10','2022-11-10',23948.32,1,855.00,'FACTURA A 0003 - 003786',NULL,NULL,NULL,NULL,NULL),(174309,NULL,0,NULL,174309,3,40817,40913,57,7604,2,1,'2022-11-16','2022-11-16',23948.32,1,855.00,'PAGO  0004 - 001417',NULL,NULL,NULL,NULL,NULL),(174310,NULL,0,NULL,174310,3,40817,40913,57,7605,2,1,'2022-12-19','2022-12-19',23948.32,1,855.00,'NOTA DE CREDITO A 0003 - 000428',NULL,NULL,NULL,NULL,NULL),(174311,NULL,0,NULL,NULL,21,40817,40913,57,7605,1,1,'2022-12-19','2022-12-19',23948.32,1,855.00,'FACTURA A 0003 - 003823',NULL,NULL,NULL,NULL,NULL),(174312,NULL,0,NULL,NULL,21,40817,40913,57,7605,1,1,'2022-12-19','2022-12-19',23948.32,1,855.00,'FACTURA A 0003 - 003824',NULL,NULL,NULL,NULL,NULL),(174313,NULL,0,NULL,NULL,21,40817,40913,57,7605,1,1,'2022-12-23','2022-12-23',23948.32,1,855.00,'FACTURA A 0003 - 003840',NULL,NULL,NULL,NULL,NULL),(174314,NULL,0,NULL,NULL,21,40817,40913,57,7605,1,1,'2022-12-23','2022-12-23',43620.50,1,855.00,'FACTURA A 0003 - 003841',NULL,NULL,NULL,NULL,NULL),(174315,NULL,0,NULL,174315,3,40817,40913,57,7605,2,1,'2022-12-23','2022-12-23',23948.32,1,855.00,'NOTA DE CREDITO A 0003 - 000434',NULL,NULL,NULL,NULL,NULL),(174316,NULL,0,NULL,174316,3,40817,40913,57,7605,2,1,'2022-12-29','2022-12-29',67568.82,1,855.00,'PAGO  0004 - 001613',NULL,NULL,NULL,NULL,NULL),(174317,NULL,0,NULL,NULL,21,40817,40913,57,7609,1,1,'2023-01-04','2023-01-04',23948.32,1,855.00,'FACTURA A 0003 - 003852',NULL,NULL,NULL,NULL,NULL),(174318,NULL,0,NULL,174318,3,40817,40913,57,7609,2,1,'2023-01-07','2023-01-07',23948.32,1,855.00,'PAGO  0004 - 001653',NULL,NULL,NULL,NULL,NULL),(174319,NULL,0,NULL,NULL,21,40817,40913,57,7610,1,1,'2023-02-09','2023-02-09',34485.00,1,855.00,'FACTURA A 0003 - 003905',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174320,NULL,0,NULL,NULL,21,40817,40913,57,7610,1,1,'2023-02-09','2023-02-09',33880.00,1,855.00,'FACTURA A 0003 - 003906',NULL,NULL,NULL,NULL,NULL),(174321,NULL,0,NULL,174321,3,40817,40913,57,7610,2,1,'2023-02-15','2023-02-15',70142.88,1,855.00,'PAGO  0004 - 001844',NULL,NULL,NULL,NULL,NULL),(174322,NULL,0,NULL,NULL,21,40817,40913,57,7611,1,1,'2023-03-10','2023-03-10',34485.00,1,855.00,'FACTURA A 0003 - 003927',NULL,NULL,NULL,NULL,NULL),(174323,NULL,0,NULL,174323,3,40817,40913,57,7611,2,1,'2023-03-30','2023-03-30',32707.12,1,855.00,'PAGO  0004 - 002035',NULL,NULL,NULL,NULL,NULL),(174324,NULL,0,NULL,NULL,21,40817,40913,57,7612,1,1,'2023-04-04','2023-04-04',34485.00,1,855.00,'FACTURA A 0003 - 003961',NULL,NULL,NULL,NULL,NULL),(174325,NULL,0,NULL,174325,3,40817,40913,57,7612,2,1,'2023-04-13','2023-04-13',34485.00,1,855.00,'PAGO  0004 - 002097',NULL,NULL,NULL,NULL,NULL),(174326,NULL,0,NULL,NULL,21,40817,40913,57,7613,1,1,'2023-05-15','2023-05-15',34485.00,1,855.00,'FACTURA A 0003 - 004020',NULL,NULL,NULL,NULL,NULL),(174327,NULL,0,NULL,174327,3,40817,40913,57,7613,2,1,'2023-05-17','2023-05-17',34485.00,1,855.00,'PAGO  0004 - 002272',NULL,NULL,NULL,NULL,NULL),(174328,NULL,0,NULL,NULL,21,40817,40913,57,7614,1,1,'2023-06-06','2023-06-06',34485.00,1,855.00,'FACTURA A 0003 - 004041',NULL,NULL,NULL,NULL,NULL),(174329,NULL,0,NULL,174329,3,40817,40913,57,7614,2,1,'2023-06-14','2023-06-14',34485.00,1,855.00,'PAGO  0004 - 002426',NULL,NULL,NULL,NULL,NULL),(174330,NULL,0,NULL,NULL,21,40817,40913,57,7614,1,1,'2023-06-30','2023-06-30',34485.00,1,855.00,'FACTURA A 0003 - 004076',NULL,NULL,NULL,NULL,NULL),(174331,NULL,0,NULL,NULL,21,40817,40913,57,7614,1,1,'2023-06-30','2023-06-30',66066.00,1,855.00,'FACTURA A 0003 - 004077',NULL,NULL,NULL,NULL,NULL),(174332,NULL,0,NULL,174332,3,40817,40913,57,7615,2,1,'2023-07-11','2023-07-11',100551.00,1,855.00,'PAGO  0004 - 002533',NULL,NULL,NULL,NULL,NULL),(174333,NULL,0,NULL,NULL,21,40817,40913,57,7616,1,1,'2023-08-03','2023-08-03',51727.50,1,855.00,'FACTURA A 0003 - 004127',NULL,NULL,NULL,NULL,NULL),(174334,NULL,0,NULL,174334,3,40817,40913,57,7616,2,1,'2023-08-04','2023-08-04',51727.50,1,855.00,'PAGO  0004 - 002674',NULL,NULL,NULL,NULL,NULL),(174335,NULL,0,NULL,NULL,21,40817,40913,57,7616,1,1,'2023-08-29','2023-08-29',51727.50,1,855.00,'FACTURA A 0003 - 004164',NULL,NULL,NULL,NULL,NULL),(174336,NULL,0,NULL,174336,3,40817,40913,57,7617,2,1,'2023-09-07','2023-09-07',51727.50,1,855.00,'PAGO  0004 - 002835',NULL,NULL,NULL,NULL,NULL),(174337,NULL,0,NULL,NULL,21,40817,40913,57,7618,1,1,'2023-10-06','2023-10-06',51727.50,1,855.00,'FACTURA A 0003 - 004228',NULL,NULL,NULL,NULL,NULL),(174338,NULL,0,NULL,174338,3,40817,40913,57,7618,2,1,'2023-10-11','2023-10-11',51727.50,1,855.00,'PAGO  0004 - 003025',NULL,NULL,NULL,NULL,NULL),(174339,NULL,0,NULL,NULL,21,40817,40913,57,7619,1,1,'2023-11-06','2023-11-06',51727.50,1,855.00,'FACTURA A 0003 - 004271',NULL,NULL,NULL,NULL,NULL),(174340,NULL,0,NULL,174340,3,40817,40913,57,7619,2,1,'2023-11-10','2023-11-10',51727.50,1,855.00,'PAGO  0004 - 003197',NULL,NULL,NULL,NULL,NULL),(174341,NULL,0,NULL,NULL,21,40817,40913,57,7620,1,1,'2023-12-13','2023-12-13',51727.50,1,855.00,'FACTURA A 0003 - 004329',NULL,NULL,NULL,NULL,NULL),(174342,NULL,0,NULL,NULL,21,40817,40913,57,7620,1,1,'2023-12-14','2023-12-14',6050.00,1,855.00,'FACTURA A 0003 - 004331',NULL,NULL,NULL,NULL,NULL),(174343,NULL,0,NULL,174343,3,40817,40913,57,7620,2,1,'2023-12-16','2023-12-16',57777.50,1,855.00,'PAGO  0004 - 003396',NULL,NULL,NULL,NULL,NULL),(174344,NULL,0,NULL,NULL,21,40817,40913,57,6064,1,1,'2024-01-10','2024-01-10',51727.50,1,855.00,'FACTURA A 0003 - 004341',NULL,NULL,NULL,NULL,NULL),(174345,NULL,0,NULL,NULL,21,40817,40913,57,6065,1,1,'2024-02-02','2024-02-02',108621.70,1,855.00,'FACTURA A 0003 - 004387',NULL,NULL,NULL,NULL,NULL),(174346,NULL,0,NULL,174346,3,40817,40913,57,6065,2,1,'2024-02-10','2024-02-10',160349.20,1,855.00,'PAGO  0004 - 003687',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174347,NULL,0,NULL,NULL,21,40817,40913,57,6066,1,1,'2024-03-11','2024-03-11',108621.70,1,855.00,'FACTURA A 0003 - 004433',NULL,NULL,NULL,NULL,NULL),(174348,NULL,0,NULL,174348,3,40817,40913,57,6066,2,1,'2024-03-14','2024-03-14',111790.59,1,855.00,'PAGO  0004 - 003882',NULL,NULL,NULL,NULL,NULL),(174349,NULL,0,NULL,NULL,21,40817,40913,57,6067,1,1,'2024-04-10','2024-04-10',108621.70,1,855.00,'FACTURA A 0003 - 004466',NULL,NULL,NULL,NULL,NULL),(174350,NULL,0,NULL,174350,3,40817,40913,57,6067,2,1,'2024-04-27','2024-04-27',105452.81,1,855.00,'PAGO  0004 - 004117',NULL,NULL,NULL,NULL,NULL),(174351,NULL,0,NULL,NULL,21,40817,40913,57,6068,1,1,'2024-05-08','2024-05-08',162932.55,1,855.00,'FACTURA A 0003 - 004504',NULL,NULL,NULL,NULL,NULL),(174352,NULL,0,NULL,174352,3,40817,40913,57,6068,2,1,'2024-05-11','2024-05-11',162932.55,1,855.00,'PAGO  0004 - 004171',NULL,NULL,NULL,NULL,NULL),(174353,NULL,0,NULL,NULL,21,40817,41027,57,7594,1,1,'2022-01-12','2022-01-12',9075.00,1,855.00,'FACTURA A 0003 - 000434',NULL,NULL,NULL,NULL,NULL),(174354,NULL,0,NULL,174354,3,40817,41027,57,7594,2,1,'2022-01-21','2022-01-21',9075.00,1,855.00,'PAGO  0004 - 000052',NULL,NULL,NULL,NULL,NULL),(174355,NULL,0,NULL,NULL,21,40817,41027,57,7596,1,1,'2022-03-03','2022-03-03',26620.00,1,855.00,'FACTURA A 0003 - 000442',NULL,NULL,NULL,NULL,NULL),(174356,NULL,0,NULL,174356,3,40817,41027,57,7596,2,1,'2022-03-21','2022-03-21',26620.00,1,855.00,'PAGO  0004 - 000300',NULL,NULL,NULL,NULL,NULL),(174357,NULL,0,NULL,NULL,21,40817,41027,57,7600,1,1,'2022-07-13','2022-07-13',51546.00,1,855.00,'FACTURA A 0003 - 000479',NULL,NULL,NULL,NULL,NULL),(174358,NULL,0,NULL,174358,3,40817,41027,57,7600,2,1,'2022-07-22','2022-07-22',51546.00,1,855.00,'PAGO  0004 - 000873',NULL,NULL,NULL,NULL,NULL),(174359,NULL,0,NULL,NULL,21,40817,46987,57,7590,1,1,'2021-12-29','2021-12-29',113500.00,1,855.00,'FACTURA C 0002 - 000075',NULL,NULL,NULL,NULL,NULL),(174360,NULL,0,NULL,174360,3,40817,46987,57,7594,2,1,'2022-01-31','2022-01-31',113500.00,1,855.00,'PAGO  0004 - 000077',NULL,NULL,NULL,NULL,NULL),(174361,NULL,0,NULL,NULL,21,40817,46987,57,7612,1,1,'2023-04-28','2023-04-28',24000.00,1,855.00,'FACTURA C 0002 - 000111',NULL,NULL,NULL,NULL,NULL),(174362,NULL,0,NULL,174362,3,40817,46987,57,7613,2,1,'2023-05-12','2023-05-12',24000.00,1,855.00,'PAGO  0004 - 002248',NULL,NULL,NULL,NULL,NULL),(174363,NULL,0,NULL,174363,3,40817,40855,57,7590,2,1,'2021-12-31','2021-12-31',1074.30,1,855.00,'PAGO  0001 - 000036',NULL,NULL,NULL,NULL,NULL),(174364,NULL,0,NULL,NULL,21,40817,40855,57,7594,1,1,'2022-01-04','2022-01-04',24533.96,1,855.00,'FACTURA A 0003 - 046991',NULL,NULL,NULL,NULL,NULL),(174365,NULL,0,NULL,174365,3,40817,40855,57,7594,2,1,'2022-01-13','2022-01-13',23459.66,1,855.00,'PAGO  0004 - 000008',NULL,NULL,NULL,NULL,NULL),(174366,NULL,0,NULL,NULL,21,40817,40855,57,7595,1,1,'2022-02-02','2022-02-02',111605.56,1,855.00,'FACTURA A 0003 - 047376',NULL,NULL,NULL,NULL,NULL),(174367,NULL,0,NULL,174367,3,40817,40855,57,7595,2,1,'2022-02-15','2022-02-15',111605.56,1,855.00,'PAGO  0004 - 000158',NULL,NULL,NULL,NULL,NULL),(174368,NULL,0,NULL,NULL,21,40817,40855,57,7596,1,1,'2022-03-04','2022-03-04',14406.26,1,855.00,'FACTURA A 0003 - 047728',NULL,NULL,NULL,NULL,NULL),(174369,NULL,0,NULL,174369,3,40817,40855,57,7596,2,1,'2022-03-08','2022-03-08',14406.26,1,855.00,'PAGO  0004 - 000244',NULL,NULL,NULL,NULL,NULL),(174370,NULL,0,NULL,NULL,21,40817,40855,57,7597,1,1,'2022-04-04','2022-04-04',19448.33,1,855.00,'FACTURA A 0003 - 048133',NULL,NULL,NULL,NULL,NULL),(174371,NULL,0,NULL,174371,3,40817,40855,57,7597,2,1,'2022-04-18','2022-04-18',19448.33,1,855.00,'PAGO  0004 - 000435',NULL,NULL,NULL,NULL,NULL),(174372,NULL,0,NULL,NULL,21,40817,40855,57,7597,1,1,'2022-04-18','2022-04-18',10240.00,1,855.00,'NOTA DE DEBITO A 0003 - 000398',NULL,NULL,NULL,NULL,NULL),(174373,NULL,0,NULL,174373,3,40817,40855,57,7597,2,1,'2022-04-20','2022-04-20',10240.00,1,855.00,'PAGO  0004 - 000456',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174374,NULL,0,NULL,NULL,21,40817,40855,57,7598,1,1,'2022-05-03','2022-05-03',19448.33,1,855.00,'FACTURA A 0003 - 048531',NULL,NULL,NULL,NULL,NULL),(174375,NULL,0,NULL,174375,3,40817,40855,57,7598,2,1,'2022-05-04','2022-05-04',19448.33,1,855.00,'PAGO  0004 - 000516',NULL,NULL,NULL,NULL,NULL),(174376,NULL,0,NULL,NULL,21,40817,40855,57,7599,1,1,'2022-06-02','2022-06-02',19448.33,1,855.00,'FACTURA A 0003 - 048929',NULL,NULL,NULL,NULL,NULL),(174377,NULL,0,NULL,174377,3,40817,40855,57,7599,2,1,'2022-06-03','2022-06-03',19448.33,1,855.00,'PAGO  0004 - 000659',NULL,NULL,NULL,NULL,NULL),(174378,NULL,0,NULL,NULL,21,40817,40855,57,7600,1,1,'2022-07-04','2022-07-04',19448.33,1,855.00,'FACTURA A 0003 - 049313',NULL,NULL,NULL,NULL,NULL),(174379,NULL,0,NULL,174379,3,40817,40855,57,7600,2,1,'2022-07-12','2022-07-12',19448.33,1,855.00,'PAGO  0004 - 000814',NULL,NULL,NULL,NULL,NULL),(174380,NULL,0,NULL,NULL,21,40817,40855,57,7601,1,1,'2022-08-02','2022-08-02',19448.33,1,855.00,'FACTURA A 0003 - 049689',NULL,NULL,NULL,NULL,NULL),(174381,NULL,0,NULL,174381,3,40817,40855,57,7601,2,1,'2022-08-03','2022-08-03',19448.33,1,855.00,'PAGO  0004 - 000932',NULL,NULL,NULL,NULL,NULL),(174382,NULL,0,NULL,NULL,21,40817,40855,57,7602,1,1,'2022-09-05','2022-09-05',19448.33,1,855.00,'FACTURA A 0003 - 050079',NULL,NULL,NULL,NULL,NULL),(174383,NULL,0,NULL,174383,3,40817,40855,57,7602,2,1,'2022-09-07','2022-09-07',19448.33,1,855.00,'PAGO  0004 - 001117',NULL,NULL,NULL,NULL,NULL),(174384,NULL,0,NULL,174384,3,40817,40855,57,7603,2,1,'2022-10-04','2022-10-04',19448.33,1,855.00,'PAGO CONTADO  0001 - 001125',NULL,NULL,NULL,NULL,NULL),(174385,NULL,0,NULL,NULL,21,40817,40855,57,7603,1,1,'2022-10-04','2022-10-04',19448.33,1,855.00,'FACTURA A 0003 - 050468',NULL,NULL,NULL,NULL,NULL),(174386,NULL,0,NULL,NULL,21,40817,40855,57,7604,1,1,'2022-11-02','2022-11-02',22365.64,1,855.00,'FACTURA A 0003 - 050838',NULL,NULL,NULL,NULL,NULL),(174387,NULL,0,NULL,174387,3,40817,40855,57,7604,2,1,'2022-11-04','2022-11-04',22365.64,1,855.00,'PAGO  0004 - 001380',NULL,NULL,NULL,NULL,NULL),(174388,NULL,0,NULL,NULL,21,40817,40855,57,7605,1,1,'2022-12-02','2022-12-02',22365.64,1,855.00,'FACTURA A 0003 - 051256',NULL,NULL,NULL,NULL,NULL),(174389,NULL,0,NULL,174389,3,40817,40855,57,7605,2,1,'2022-12-05','2022-12-05',22365.64,1,855.00,'PAGO  0004 - 001515',NULL,NULL,NULL,NULL,NULL),(174390,NULL,0,NULL,NULL,21,40817,40855,57,7609,1,1,'2023-01-03','2023-01-03',33981.64,1,855.00,'FACTURA A 0003 - 051626',NULL,NULL,NULL,NULL,NULL),(174391,NULL,0,NULL,174391,3,40817,40855,57,7609,2,1,'2023-01-07','2023-01-07',33981.64,1,855.00,'PAGO  0004 - 001654',NULL,NULL,NULL,NULL,NULL),(174392,NULL,0,NULL,NULL,21,40817,40855,57,7610,1,1,'2023-02-02','2023-02-02',22365.64,1,855.00,'FACTURA A 0003 - 051978',NULL,NULL,NULL,NULL,NULL),(174393,NULL,0,NULL,174393,3,40817,40855,57,7610,2,1,'2023-02-07','2023-02-07',22365.64,1,855.00,'PAGO  0004 - 001813',NULL,NULL,NULL,NULL,NULL),(174394,NULL,0,NULL,NULL,21,40817,40855,57,7612,1,1,'2023-04-03','2023-04-03',30193.13,1,855.00,'FACTURA A 0003 - 052579',NULL,NULL,NULL,NULL,NULL),(174395,NULL,0,NULL,NULL,21,40817,40855,57,7612,1,1,'2023-04-04','2023-04-04',30193.13,1,855.00,'FACTURA A 0003 - 052712',NULL,NULL,NULL,NULL,NULL),(174396,NULL,0,NULL,174396,3,40817,40855,57,7612,2,1,'2023-04-13','2023-04-13',60386.26,1,855.00,'PAGO  0004 - 002096',NULL,NULL,NULL,NULL,NULL),(174397,NULL,0,NULL,NULL,21,40817,40855,57,7613,1,1,'2023-05-03','2023-05-03',114944.16,1,855.00,'FACTURA A 0006 - 022599',NULL,NULL,NULL,NULL,NULL),(174398,NULL,0,NULL,174398,3,40817,40855,57,7613,2,1,'2023-05-03','2023-05-03',114944.16,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000116',NULL,NULL,NULL,NULL,NULL),(174399,NULL,0,NULL,NULL,21,40817,40855,57,7613,1,1,'2023-05-03','2023-05-03',30193.13,1,855.00,'FACTURA A 0003 - 053102',NULL,NULL,NULL,NULL,NULL),(174400,NULL,0,NULL,174400,3,40817,40855,57,7613,2,1,'2023-05-11','2023-05-11',30193.13,1,855.00,'PAGO  0004 - 002234',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174401,NULL,0,NULL,NULL,21,40817,40855,57,7614,1,1,'2023-06-02','2023-06-02',30193.13,1,855.00,'FACTURA A 0003 - 053504',NULL,NULL,NULL,NULL,NULL),(174402,NULL,0,NULL,174402,3,40817,40855,57,7614,2,1,'2023-06-08','2023-06-08',30193.13,1,855.00,'PAGO  0004 - 002382',NULL,NULL,NULL,NULL,NULL),(174403,NULL,0,NULL,NULL,21,40817,40855,57,7615,1,1,'2023-07-04','2023-07-04',37741.11,1,855.00,'FACTURA A 0003 - 053879',NULL,NULL,NULL,NULL,NULL),(174404,NULL,0,NULL,174404,3,40817,40855,57,7615,2,1,'2023-07-11','2023-07-11',37741.11,1,855.00,'PAGO  0004 - 002534',NULL,NULL,NULL,NULL,NULL),(174405,NULL,0,NULL,NULL,21,40817,40855,57,7616,1,1,'2023-08-02','2023-08-02',62667.11,1,855.00,'FACTURA A 0003 - 054237',NULL,NULL,NULL,NULL,NULL),(174406,NULL,0,NULL,174406,3,40817,40855,57,7616,2,1,'2023-08-04','2023-08-04',62667.11,1,855.00,'PAGO  0004 - 002675',NULL,NULL,NULL,NULL,NULL),(174407,NULL,0,NULL,NULL,21,40817,40855,57,7617,1,1,'2023-09-04','2023-09-04',167332.11,1,855.00,'FACTURA A 0003 - 054634',NULL,NULL,NULL,NULL,NULL),(174408,NULL,0,NULL,174408,3,40817,40855,57,7617,2,1,'2023-09-07','2023-09-07',167332.11,1,855.00,'PAGO  0004 - 002836',NULL,NULL,NULL,NULL,NULL),(174409,NULL,0,NULL,NULL,21,40817,40855,57,7618,1,1,'2023-10-03','2023-10-03',50950.68,1,855.00,'FACTURA A 0003 - 055038',NULL,NULL,NULL,NULL,NULL),(174410,NULL,0,NULL,174410,3,40817,40855,57,7618,2,1,'2023-10-11','2023-10-11',50950.68,1,855.00,'PAGO  0004 - 003026',NULL,NULL,NULL,NULL,NULL),(174411,NULL,0,NULL,NULL,21,40817,40855,57,7619,1,1,'2023-11-02','2023-11-02',50950.68,1,855.00,'FACTURA A 0003 - 055406',NULL,NULL,NULL,NULL,NULL),(174412,NULL,0,NULL,174412,3,40817,40855,57,7619,2,1,'2023-11-07','2023-11-07',50950.68,1,855.00,'PAGO  0004 - 003163',NULL,NULL,NULL,NULL,NULL),(174413,NULL,0,NULL,NULL,21,40817,40855,57,7620,1,1,'2023-12-04','2023-12-04',50950.68,1,855.00,'FACTURA A 0003 - 055760',NULL,NULL,NULL,NULL,NULL),(174414,NULL,0,NULL,174414,3,40817,40855,57,7620,2,1,'2023-12-11','2023-12-11',50950.68,1,855.00,'PAGO  0004 - 003341',NULL,NULL,NULL,NULL,NULL),(174415,NULL,0,NULL,NULL,21,40817,40855,57,6064,1,1,'2024-01-03','2024-01-03',68783.66,1,855.00,'FACTURA A 0003 - 056113',NULL,NULL,NULL,NULL,NULL),(174416,NULL,0,NULL,174416,3,40817,40855,57,6064,2,1,'2024-01-05','2024-01-05',68783.66,1,855.00,'PAGO  0004 - 003502',NULL,NULL,NULL,NULL,NULL),(174417,NULL,0,NULL,NULL,21,40817,40855,57,6065,1,1,'2024-02-02','2024-02-02',68783.66,1,855.00,'FACTURA A 0003 - 056455',NULL,NULL,NULL,NULL,NULL),(174418,NULL,0,NULL,174418,3,40817,40855,57,6065,2,1,'2024-02-16','2024-02-16',68783.66,1,855.00,'PAGO  0004 - 003715',NULL,NULL,NULL,NULL,NULL),(174419,NULL,0,NULL,NULL,21,40817,40855,57,6066,1,1,'2024-03-04','2024-03-04',92857.82,1,855.00,'FACTURA A 0003 - 056808',NULL,NULL,NULL,NULL,NULL),(174420,NULL,0,NULL,174420,3,40817,40855,57,6066,2,1,'2024-03-07','2024-03-07',92857.82,1,855.00,'PAGO  0004 - 003831',NULL,NULL,NULL,NULL,NULL),(174421,NULL,0,NULL,NULL,21,40817,40855,57,6067,1,1,'2024-04-04','2024-04-04',105712.86,1,855.00,'FACTURA A 0003 - 057191',NULL,NULL,NULL,NULL,NULL),(174422,NULL,0,NULL,174422,3,40817,40855,57,6067,2,1,'2024-04-07','2024-04-07',105712.86,1,855.00,'PAGO  0004 - 003978',NULL,NULL,NULL,NULL,NULL),(174423,NULL,0,NULL,NULL,21,40817,40855,57,6068,1,1,'2024-05-03','2024-05-03',106786.13,1,855.00,'FACTURA A 0003 - 057588',NULL,NULL,NULL,NULL,NULL),(174424,NULL,0,NULL,174424,3,40817,40855,57,6068,2,1,'2024-05-11','2024-05-11',106786.13,1,855.00,'PAGO  0004 - 004172',NULL,NULL,NULL,NULL,NULL),(174425,NULL,0,NULL,174425,3,40817,46956,57,7590,2,1,'2021-12-31','2021-12-31',765.38,1,855.00,'PAGO  0001 - 000064',NULL,NULL,NULL,NULL,NULL),(174426,NULL,0,NULL,NULL,21,40817,46956,57,7609,1,1,'2023-01-31','2023-01-31',149072.00,1,855.00,'FACTURA C 0003 - 000117',NULL,NULL,NULL,NULL,NULL),(174427,NULL,0,NULL,174427,3,40817,46956,57,7610,2,1,'2023-02-02','2023-02-02',148666.53,1,855.00,'PAGO  0004 - 001781',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174428,NULL,0,NULL,NULL,21,40817,46956,57,7615,1,1,'2023-07-05','2023-07-05',26500.00,1,855.00,'FACTURA C 0003 - 000154',NULL,NULL,NULL,NULL,NULL),(174429,NULL,0,NULL,174429,3,40817,46956,57,7615,2,1,'2023-07-05','2023-07-05',26500.00,1,855.00,'PAGO CONTADO  0001 - 002347',NULL,NULL,NULL,NULL,NULL),(174430,NULL,0,NULL,NULL,21,40817,46956,57,7620,1,1,'2023-12-19','2023-12-19',359.91,1,855.00,'AJUSTE POSITIVO  0001 - 000006',NULL,NULL,NULL,NULL,NULL),(174431,NULL,0,NULL,NULL,21,40817,46956,57,6065,1,1,'2024-02-20','2024-02-20',233000.00,1,855.00,'FACTURA C 0003 - 000183',NULL,NULL,NULL,NULL,NULL),(174432,NULL,0,NULL,174432,3,40817,46956,57,6065,2,1,'2024-02-23','2024-02-23',233000.00,1,855.00,'PAGO  0004 - 003746',NULL,NULL,NULL,NULL,NULL),(174433,NULL,0,NULL,NULL,21,40817,46956,57,6066,1,1,'2024-03-04','2024-03-04',540645.00,1,855.00,'FACTURA C 0003 - 000186',NULL,NULL,NULL,NULL,NULL),(174434,NULL,0,NULL,174434,3,40817,46956,57,6066,2,1,'2024-03-05','2024-03-05',543310.71,1,855.00,'PAGO  0004 - 003811',NULL,NULL,NULL,NULL,NULL),(174435,NULL,0,NULL,NULL,21,40817,40877,57,7589,1,1,'2021-11-03','2021-11-03',15487.64,1,855.00,'FACTURA A 0006 - 010615',NULL,NULL,NULL,NULL,NULL),(174436,NULL,0,NULL,NULL,21,40817,40877,57,7589,1,1,'2021-11-16','2021-11-16',7644712.42,1,855.00,'FACTURA A 0006 - 010676',NULL,NULL,NULL,NULL,NULL),(174437,NULL,0,NULL,NULL,21,40817,40877,57,7589,1,1,'2021-11-16','2021-11-16',7384.51,1,855.00,'FACTURA A 0006 - 010677',NULL,NULL,NULL,NULL,NULL),(174438,NULL,0,NULL,NULL,21,40817,40877,57,7589,1,1,'2021-11-16','2021-11-16',54539.88,1,855.00,'FACTURA A 0006 - 010678',NULL,NULL,NULL,NULL,NULL),(174439,NULL,0,NULL,NULL,21,40817,40877,57,7589,1,1,'2021-11-30','2021-11-30',7390132.77,1,855.00,'FACTURA A 0006 - 010781',NULL,NULL,NULL,NULL,NULL),(174440,NULL,0,NULL,NULL,21,40817,40877,57,7589,1,1,'2021-11-30','2021-11-30',36395.09,1,855.00,'FACTURA A 0006 - 010782',NULL,NULL,NULL,NULL,NULL),(174441,NULL,0,NULL,NULL,21,40817,40877,57,7590,1,1,'2021-12-16','2021-12-16',7556026.75,1,855.00,'FACTURA A 0006 - 010911',NULL,NULL,NULL,NULL,NULL),(174442,NULL,0,NULL,NULL,21,40817,40877,57,7590,1,1,'2021-12-16','2021-12-16',10021.84,1,855.00,'FACTURA A 0006 - 010912',NULL,NULL,NULL,NULL,NULL),(174443,NULL,0,NULL,NULL,21,40817,40877,57,7590,1,1,'2021-12-16','2021-12-16',40140.09,1,855.00,'FACTURA A 0006 - 010913',NULL,NULL,NULL,NULL,NULL),(174444,NULL,0,NULL,NULL,21,40817,40877,57,7590,1,1,'2021-12-31','2021-12-31',8030472.24,1,855.00,'FACTURA A 0006 - 011031',NULL,NULL,NULL,NULL,NULL),(174445,NULL,0,NULL,NULL,21,40817,40877,57,7590,1,1,'2021-12-31','2021-12-31',28746.84,1,855.00,'FACTURA A 0006 - 011032',NULL,NULL,NULL,NULL,NULL),(174446,NULL,0,NULL,174446,3,40817,40877,57,7590,2,1,'2021-12-31','2021-12-31',11899.87,1,855.00,'NOTA DE CREDITO A 0011 - 000078',NULL,NULL,NULL,NULL,NULL),(174447,NULL,0,NULL,174447,3,40817,40877,57,7590,2,1,'2021-12-31','2021-12-31',77412.03,1,855.00,'PAGO  0001 - 000024',NULL,NULL,NULL,NULL,NULL),(174448,NULL,0,NULL,NULL,21,40817,40877,57,7590,1,1,'2021-12-31','2021-12-31',56853.51,1,855.00,'NOTA DE DEBITO A 0011 - 000048',NULL,NULL,NULL,NULL,NULL),(174449,NULL,0,NULL,NULL,21,40817,40877,57,7590,1,1,'2021-12-31','2021-12-31',56853.51,1,855.00,'NOTA DE DEBITO A 0011 - 000048',NULL,NULL,NULL,NULL,NULL),(174450,NULL,0,NULL,174450,3,40817,40877,57,7590,2,1,'2021-12-31','2021-12-31',2809380.04,1,855.00,'PAGO  0001 - 000449',NULL,NULL,NULL,NULL,NULL),(174451,NULL,0,NULL,174451,3,40817,40877,57,7590,2,1,'2021-12-31','2021-12-31',56853.51,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000011',NULL,NULL,NULL,NULL,NULL),(174452,NULL,0,NULL,NULL,21,40817,40877,57,7594,1,1,'2022-01-11','2022-01-11',2866462.78,1,855.00,'ANULACION DE PAGOS  0001 - 000019',NULL,NULL,NULL,NULL,NULL),(174453,NULL,0,NULL,174453,3,40817,40877,57,7594,2,1,'2022-01-11','2022-01-11',2866462.78,1,855.00,'PAGO  0001 - 000025',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174454,NULL,0,NULL,174454,3,40817,40877,57,7594,2,1,'2022-01-11','2022-01-11',1300000.00,1,855.00,'PAGO  0001 - 000026',NULL,NULL,NULL,NULL,NULL),(174455,NULL,0,NULL,174455,3,40817,40877,57,7594,2,1,'2022-01-12','2022-01-12',4295.21,1,855.00,'NOTA DE CREDITO A 0011 - 000086',NULL,NULL,NULL,NULL,NULL),(174456,NULL,0,NULL,174456,3,40817,40877,57,7594,2,1,'2022-01-17','2022-01-17',56853.51,1,855.00,'PAGO  0001 - 000037',NULL,NULL,NULL,NULL,NULL),(174457,NULL,0,NULL,174457,3,40817,40877,57,7594,2,1,'2022-01-17','2022-01-17',742917.26,1,855.00,'PAGO  0001 - 000040',NULL,NULL,NULL,NULL,NULL),(174458,NULL,0,NULL,NULL,21,40817,40877,57,7594,1,1,'2022-01-17','2022-01-17',5342405.48,1,855.00,'FACTURA A 0006 - 011156',NULL,NULL,NULL,NULL,NULL),(174459,NULL,0,NULL,NULL,21,40817,40877,57,7594,1,1,'2022-01-17','2022-01-17',8966.90,1,855.00,'FACTURA A 0006 - 011157',NULL,NULL,NULL,NULL,NULL),(174460,NULL,0,NULL,NULL,21,40817,40877,57,7594,1,1,'2022-01-17','2022-01-17',20465.64,1,855.00,'FACTURA A 0006 - 011158',NULL,NULL,NULL,NULL,NULL),(174461,NULL,0,NULL,174461,3,40817,40877,57,7594,2,1,'2022-01-18','2022-01-18',1026081.71,1,855.00,'PAGO  0004 - 000031',NULL,NULL,NULL,NULL,NULL),(174462,NULL,0,NULL,174462,3,40817,40877,57,7594,2,1,'2022-01-24','2022-01-24',1430584.16,1,855.00,'PAGO  0001 - 000096',NULL,NULL,NULL,NULL,NULL),(174463,NULL,0,NULL,174463,3,40817,40877,57,7594,2,1,'2022-01-24','2022-01-24',127008.90,1,855.00,'PAGO  0001 - 000097',NULL,NULL,NULL,NULL,NULL),(174464,NULL,0,NULL,174464,3,40817,40877,57,7594,2,1,'2022-01-28','2022-01-28',1304748.22,1,855.00,'PAGO  0001 - 000123',NULL,NULL,NULL,NULL,NULL),(174465,NULL,0,NULL,NULL,21,40817,40877,57,7594,1,1,'2022-01-28','2022-01-28',1304748.22,1,855.00,'ANULACION DE PAGOS  0001 - 000007',NULL,NULL,NULL,NULL,NULL),(174466,NULL,0,NULL,174466,3,40817,40877,57,7594,2,1,'2022-01-28','2022-01-28',1304748.22,1,855.00,'PAGO  0004 - 000067',NULL,NULL,NULL,NULL,NULL),(174467,NULL,0,NULL,NULL,21,40817,40877,57,7594,1,1,'2022-01-31','2022-01-31',7519059.71,1,855.00,'FACTURA A 0007 - 000765',NULL,NULL,NULL,NULL,NULL),(174468,NULL,0,NULL,NULL,21,40817,40877,57,7594,1,1,'2022-01-31','2022-01-31',30962.20,1,855.00,'FACTURA A 0007 - 000766',NULL,NULL,NULL,NULL,NULL),(174469,NULL,0,NULL,174469,3,40817,40877,57,7595,2,1,'2022-02-01','2022-02-01',1448542.17,1,855.00,'PAGO  0004 - 000087',NULL,NULL,NULL,NULL,NULL),(174470,NULL,0,NULL,174470,3,40817,40877,57,7595,2,1,'2022-02-07','2022-02-07',1000000.00,1,855.00,'PAGO  0004 - 000126',NULL,NULL,NULL,NULL,NULL),(174471,NULL,0,NULL,174471,3,40817,40877,57,7595,2,1,'2022-02-11','2022-02-11',1700000.00,1,855.00,'PAGO  0004 - 000146',NULL,NULL,NULL,NULL,NULL),(174472,NULL,0,NULL,174472,3,40817,40877,57,7595,2,1,'2022-02-16','2022-02-16',1000000.00,1,855.00,'PAGO  0004 - 000164',NULL,NULL,NULL,NULL,NULL),(174473,NULL,0,NULL,NULL,21,40817,40877,57,7595,1,1,'2022-02-16','2022-02-16',8808070.04,1,855.00,'FACTURA A 0006 - 011303',NULL,NULL,NULL,NULL,NULL),(174474,NULL,0,NULL,NULL,21,40817,40877,57,7595,1,1,'2022-02-16','2022-02-16',10127.33,1,855.00,'FACTURA A 0006 - 011304',NULL,NULL,NULL,NULL,NULL),(174475,NULL,0,NULL,NULL,21,40817,40877,57,7595,1,1,'2022-02-16','2022-02-16',17089.87,1,855.00,'FACTURA A 0006 - 011305',NULL,NULL,NULL,NULL,NULL),(174476,NULL,0,NULL,174476,3,40817,40877,57,7595,2,1,'2022-02-17','2022-02-17',1200000.00,1,855.00,'PAGO  0004 - 000170',NULL,NULL,NULL,NULL,NULL),(174477,NULL,0,NULL,174477,3,40817,40877,57,7595,2,1,'2022-02-17','2022-02-17',92494.62,1,855.00,'PAGO  0004 - 000171',NULL,NULL,NULL,NULL,NULL),(174478,NULL,0,NULL,174478,3,40817,40877,57,7595,2,1,'2022-02-21','2022-02-21',600000.00,1,855.00,'PAGO  0004 - 000177',NULL,NULL,NULL,NULL,NULL),(174479,NULL,0,NULL,174479,3,40817,40877,57,7595,2,1,'2022-02-22','2022-02-22',890899.51,1,855.00,'PAGO  0004 - 000189',NULL,NULL,NULL,NULL,NULL),(174480,NULL,0,NULL,NULL,21,40817,40877,57,7595,1,1,'2022-02-28','2022-02-28',7538557.11,1,855.00,'FACTURA A 0006 - 011410',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174481,NULL,0,NULL,NULL,21,40817,40877,57,7595,1,1,'2022-02-28','2022-02-28',27723.55,1,855.00,'FACTURA A 0006 - 011411',NULL,NULL,NULL,NULL,NULL),(174482,NULL,0,NULL,174482,3,40817,40877,57,7596,2,1,'2022-03-02','2022-03-02',750496.67,1,855.00,'PAGO  0004 - 000206',NULL,NULL,NULL,NULL,NULL),(174483,NULL,0,NULL,174483,3,40817,40877,57,7596,2,1,'2022-03-04','2022-03-04',691093.93,1,855.00,'PAGO  0001 - 000227',NULL,NULL,NULL,NULL,NULL),(174484,NULL,0,NULL,174484,3,40817,40877,57,7596,2,1,'2022-03-04','2022-03-04',570470.11,1,855.00,'PAGO  0001 - 000231',NULL,NULL,NULL,NULL,NULL),(174485,NULL,0,NULL,NULL,21,40817,40877,57,7596,1,1,'2022-03-09','2022-03-09',21242.00,1,855.00,'NOTA DE DEBITO A 0011 - 000052',NULL,NULL,NULL,NULL,NULL),(174486,NULL,0,NULL,NULL,21,40817,40877,57,7596,1,1,'2022-03-09','2022-03-09',634424.00,1,855.00,'NOTA DE DEBITO A 0011 - 000053',NULL,NULL,NULL,NULL,NULL),(174487,NULL,0,NULL,174487,3,40817,40877,57,7596,2,1,'2022-03-09','2022-03-09',4008575.42,1,855.00,'PAGO  0004 - 000253',NULL,NULL,NULL,NULL,NULL),(174488,NULL,0,NULL,174488,3,40817,40877,57,7596,2,1,'2022-03-10','2022-03-10',655666.00,1,855.00,'PAGO  0004 - 000264',NULL,NULL,NULL,NULL,NULL),(174489,NULL,0,NULL,174489,3,40817,40877,57,7596,2,1,'2022-03-16','2022-03-16',1000812.16,1,855.00,'PAGO  0004 - 000284',NULL,NULL,NULL,NULL,NULL),(174490,NULL,0,NULL,NULL,21,40817,40877,57,7596,1,1,'2022-03-16','2022-03-16',10755149.57,1,855.00,'FACTURA A 0006 - 011528',NULL,NULL,NULL,NULL,NULL),(174491,NULL,0,NULL,NULL,21,40817,40877,57,7596,1,1,'2022-03-16','2022-03-16',12026.20,1,855.00,'FACTURA A 0006 - 011529',NULL,NULL,NULL,NULL,NULL),(174492,NULL,0,NULL,NULL,21,40817,40877,57,7596,1,1,'2022-03-16','2022-03-16',26584.24,1,855.00,'FACTURA A 0006 - 011530',NULL,NULL,NULL,NULL,NULL),(174493,NULL,0,NULL,174493,3,40817,40877,57,7596,2,1,'2022-03-17','2022-03-17',2002883.57,1,855.00,'PAGO  0004 - 000288',NULL,NULL,NULL,NULL,NULL),(174494,NULL,0,NULL,174494,3,40817,40877,57,7596,2,1,'2022-03-21','2022-03-21',1000000.00,1,855.00,'PAGO  0004 - 000299',NULL,NULL,NULL,NULL,NULL),(174495,NULL,0,NULL,174495,3,40817,40877,57,7596,2,1,'2022-03-25','2022-03-25',92739.03,1,855.00,'PAGO  0004 - 000330',NULL,NULL,NULL,NULL,NULL),(174496,NULL,0,NULL,174496,3,40817,40877,57,7596,2,1,'2022-03-25','2022-03-25',2498396.64,1,855.00,'PAGO  0004 - 000331',NULL,NULL,NULL,NULL,NULL),(174497,NULL,0,NULL,NULL,21,40817,40877,57,7596,1,1,'2022-03-25','2022-03-25',44743.14,1,855.00,'NOTA DE DEBITO A 0011 - 000056',NULL,NULL,NULL,NULL,NULL),(174498,NULL,0,NULL,NULL,21,40817,40877,57,7596,1,1,'2022-03-25','2022-03-25',42112.24,1,855.00,'NOTA DE DEBITO A 0011 - 000057',NULL,NULL,NULL,NULL,NULL),(174499,NULL,0,NULL,174499,3,40817,40877,57,7596,2,1,'2022-03-28','2022-03-28',1529192.03,1,855.00,'PAGO  0004 - 000335',NULL,NULL,NULL,NULL,NULL),(174500,NULL,0,NULL,174500,3,40817,40877,57,7596,2,1,'2022-03-30','2022-03-30',86855.38,1,855.00,'PAGO  0004 - 000351',NULL,NULL,NULL,NULL,NULL),(174501,NULL,0,NULL,NULL,21,40817,40877,57,7596,1,1,'2022-03-31','2022-03-31',11594532.59,1,855.00,'FACTURA A 0006 - 011651',NULL,NULL,NULL,NULL,NULL),(174502,NULL,0,NULL,NULL,21,40817,40877,57,7596,1,1,'2022-03-31','2022-03-31',44876.72,1,855.00,'FACTURA A 0007 - 000847',NULL,NULL,NULL,NULL,NULL),(174503,NULL,0,NULL,174503,3,40817,40877,57,7597,2,1,'2022-04-04','2022-04-04',2000000.00,1,855.00,'PAGO  0004 - 000376',NULL,NULL,NULL,NULL,NULL),(174504,NULL,0,NULL,174504,3,40817,40877,57,7597,2,1,'2022-04-08','2022-04-08',3342405.48,1,855.00,'PAGO  0004 - 000409',NULL,NULL,NULL,NULL,NULL),(174505,NULL,0,NULL,174505,3,40817,40877,57,7597,2,1,'2022-04-14','2022-04-14',2000000.00,1,855.00,'PAGO  0004 - 000430',NULL,NULL,NULL,NULL,NULL),(174506,NULL,0,NULL,174506,3,40817,40877,57,7597,2,1,'2022-04-14','2022-04-14',2000000.00,1,855.00,'PAGO  0004 - 000431',NULL,NULL,NULL,NULL,NULL),(174507,NULL,0,NULL,NULL,21,40817,40877,57,7597,1,1,'2022-04-18','2022-04-18',10224143.25,1,855.00,'FACTURA A 0006 - 011696',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174508,NULL,0,NULL,NULL,21,40817,40877,57,7597,1,1,'2022-04-18','2022-04-18',14431.44,1,855.00,'FACTURA A 0006 - 011697',NULL,NULL,NULL,NULL,NULL),(174509,NULL,0,NULL,NULL,21,40817,40877,57,7597,1,1,'2022-04-18','2022-04-18',31774.49,1,855.00,'FACTURA A 0006 - 011698',NULL,NULL,NULL,NULL,NULL),(174510,NULL,0,NULL,NULL,21,40817,40877,57,7597,1,1,'2022-04-18','2022-04-18',517144.00,1,855.00,'NOTA DE DEBITO A 0011 - 000060',NULL,NULL,NULL,NULL,NULL),(174511,NULL,0,NULL,174511,3,40817,40877,57,7597,2,1,'2022-04-22','2022-04-22',2000000.00,1,855.00,'PAGO  0004 - 000468',NULL,NULL,NULL,NULL,NULL),(174512,NULL,0,NULL,174512,3,40817,40877,57,7597,2,1,'2022-04-25','2022-04-25',517144.00,1,855.00,'PAGO  0004 - 000474',NULL,NULL,NULL,NULL,NULL),(174513,NULL,0,NULL,NULL,21,40817,40877,57,7597,1,1,'2022-04-30','2022-04-30',10642735.98,1,855.00,'FACTURA A 0006 - 011814',NULL,NULL,NULL,NULL,NULL),(174514,NULL,0,NULL,NULL,21,40817,40877,57,7597,1,1,'2022-04-30','2022-04-30',27217.19,1,855.00,'FACTURA A 0006 - 011815',NULL,NULL,NULL,NULL,NULL),(174515,NULL,0,NULL,NULL,21,40817,40877,57,7597,1,1,'2022-04-30','2022-04-30',21393.98,1,855.00,'FACTURA A 0006 - 011816',NULL,NULL,NULL,NULL,NULL),(174516,NULL,0,NULL,174516,3,40817,40877,57,7598,2,1,'2022-05-02','2022-05-02',1519059.71,1,855.00,'PAGO  0004 - 000494',NULL,NULL,NULL,NULL,NULL),(174517,NULL,0,NULL,174517,3,40817,40877,57,7598,2,1,'2022-05-02','2022-05-02',1550522.55,1,855.00,'PAGO  0004 - 000495',NULL,NULL,NULL,NULL,NULL),(174518,NULL,0,NULL,NULL,21,40817,40877,57,7598,1,1,'2022-05-02','2022-05-02',1519059.71,1,855.00,'ANULACION DE PAGOS  0001 - 000018',NULL,NULL,NULL,NULL,NULL),(174519,NULL,0,NULL,NULL,21,40817,40877,57,7598,1,1,'2022-05-02','2022-05-02',1550522.55,1,855.00,'ANULACION DE PAGOS  0001 - 000020',NULL,NULL,NULL,NULL,NULL),(174520,NULL,0,NULL,174520,3,40817,40877,57,7598,2,1,'2022-05-09','2022-05-09',1519059.71,1,855.00,'PAGO  0001 - 000468',NULL,NULL,NULL,NULL,NULL),(174521,NULL,0,NULL,174521,3,40817,40877,57,7598,2,1,'2022-05-09','2022-05-09',3100000.00,1,855.00,'PAGO  0001 - 000469',NULL,NULL,NULL,NULL,NULL),(174522,NULL,0,NULL,174522,3,40817,40877,57,7598,2,1,'2022-05-12','2022-05-12',1500612.34,1,855.00,'PAGO  0004 - 000555',NULL,NULL,NULL,NULL,NULL),(174523,NULL,0,NULL,174523,3,40817,40877,57,7598,2,1,'2022-05-13','2022-05-13',2001211.16,1,855.00,'PAGO  0004 - 000574',NULL,NULL,NULL,NULL,NULL),(174524,NULL,0,NULL,174524,3,40817,40877,57,7598,2,1,'2022-05-13','2022-05-13',137870.32,1,855.00,'PAGO  0004 - 000575',NULL,NULL,NULL,NULL,NULL),(174525,NULL,0,NULL,NULL,21,40817,40877,57,7598,1,1,'2022-05-16','2022-05-16',10264203.31,1,855.00,'FACTURA A 0006 - 011937',NULL,NULL,NULL,NULL,NULL),(174526,NULL,0,NULL,NULL,21,40817,40877,57,7598,1,1,'2022-05-16','2022-05-16',9770.56,1,855.00,'FACTURA A 0006 - 011938',NULL,NULL,NULL,NULL,NULL),(174527,NULL,0,NULL,NULL,21,40817,40877,57,7598,1,1,'2022-05-16','2022-05-16',24055.89,1,855.00,'NOTA DE DEBITO A 0011 - 000065',NULL,NULL,NULL,NULL,NULL),(174528,NULL,0,NULL,NULL,21,40817,40877,57,7598,1,1,'2022-05-16','2022-05-16',23982.29,1,855.00,'FACTURA A 0016 - 011939',NULL,NULL,NULL,NULL,NULL),(174529,NULL,0,NULL,NULL,21,40817,40877,57,7598,1,1,'2022-05-19','2022-05-19',900000.00,1,855.00,'ANULACION DE PAGOS  0001 - 000025',NULL,NULL,NULL,NULL,NULL),(174530,NULL,0,NULL,174530,3,40817,40877,57,7598,2,1,'2022-05-19','2022-05-19',900000.00,1,855.00,'PAGO  0004 - 000593',NULL,NULL,NULL,NULL,NULL),(174531,NULL,0,NULL,174531,3,40817,40877,57,7598,2,1,'2022-05-19','2022-05-19',900000.00,1,855.00,'PAGO  0004 - 000594',NULL,NULL,NULL,NULL,NULL),(174532,NULL,0,NULL,174532,3,40817,40877,57,7598,2,1,'2022-05-20','2022-05-20',1308070.04,1,855.00,'PAGO  0004 - 000608',NULL,NULL,NULL,NULL,NULL),(174533,NULL,0,NULL,174533,3,40817,40877,57,7598,2,1,'2022-05-23','2022-05-23',1700000.00,1,855.00,'PAGO  0004 - 000613',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (174534,NULL,0,NULL,174534,3,40817,40877,57,7598,2,1,'2022-05-23','2022-05-23',33752.85,1,855.00,'PAGO  0004 - 000614',NULL,NULL,NULL,NULL,NULL),(174535,NULL,0,NULL,174535,3,40817,40877,57,7598,2,1,'2022-05-26','2022-05-26',1200000.00,1,855.00,'PAGO  0004 - 000627',NULL,NULL,NULL,NULL,NULL),(174536,NULL,0,NULL,174536,3,40817,40877,57,7598,2,1,'2022-05-30','2022-05-30',2638557.11,1,855.00,'PAGO  0004 - 000633',NULL,NULL,NULL,NULL,NULL),(174537,NULL,0,NULL,NULL,21,40817,40877,57,7598,1,1,'2022-05-31','2022-05-31',10970013.96,1,855.00,'FACTURA A 0006 - 012053',NULL,NULL,NULL,NULL,NULL),(174538,NULL,0,NULL,NULL,21,40817,40877,57,7598,1,1,'2022-05-31','2022-05-31',25758.75,1,855.00,'FACTURA A 0006 - 012054',NULL,NULL,NULL,NULL,NULL),(174539,NULL,0,NULL,NULL,21,40817,40877,57,7599,1,1,'2022-06-03','2022-06-03',13415.25,1,855.00,'NOTA DE DEBITO A 0011 - 000069',NULL,NULL,NULL,NULL,NULL),(174540,NULL,0,NULL,NULL,21,40817,40877,57,7599,1,1,'2022-06-06','2022-06-06',100000.00,1,855.00,'NOTA DE DEBITO A 0011 - 000071',NULL,NULL,NULL,NULL,NULL),(174541,NULL,0,NULL,174541,3,40817,40877,57,7599,2,1,'2022-06-06','2022-06-06',100000.00,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000030',NULL,NULL,NULL,NULL,NULL),(174542,NULL,0,NULL,NULL,21,40817,40877,57,7599,1,1,'2022-06-06','2022-06-06',100000.00,1,855.00,'FACTURA A 0011 - 000071',NULL,NULL,NULL,NULL,NULL),(174543,NULL,0,NULL,174543,3,40817,40877,57,7599,2,1,'2022-06-06','2022-06-06',2000000.00,1,855.00,'PAGO  0004 - 000665',NULL,NULL,NULL,NULL,NULL),(174544,NULL,0,NULL,174544,3,40817,40877,57,7599,2,1,'2022-06-06','2022-06-06',3100000.00,1,855.00,'PAGO  0004 - 000666',NULL,NULL,NULL,NULL,NULL),(174545,NULL,0,NULL,174545,3,40817,40877,57,7599,2,1,'2022-06-10','2022-06-10',137471.14,1,855.00,'PAGO  0004 - 000705',NULL,NULL,NULL,NULL,NULL),(174546,NULL,0,NULL,174546,3,40817,40877,57,7599,2,1,'2022-06-14','2022-06-14',1500000.00,1,855.00,'PAGO  0004 - 000712',NULL,NULL,NULL,NULL,NULL),(174547,NULL,0,NULL,NULL,21,40817,40877,57,7599,1,1,'2022-06-16','2022-06-16',13941783.47,1,855.00,'FACTURA A 0006 - 012184',NULL,NULL,NULL,NULL,NULL),(174548,NULL,0,NULL,NULL,21,40817,40877,57,7599,1,1,'2022-06-16','2022-06-16',12171.92,1,855.00,'FACTURA A 0006 - 012185',NULL,NULL,NULL,NULL,NULL),(174549,NULL,0,NULL,NULL,21,40817,40877,57,7599,1,1,'2022-06-16','2022-06-16',13693.41,1,855.00,'FACTURA A 0006 - 012186',NULL,NULL,NULL,NULL,NULL),(174550,NULL,0,NULL,NULL,21,40817,40877,57,7599,1,1,'2022-06-22','2022-06-22',509394.70,1,855.00,'NOTA DE DEBITO A 0011 - 000072',NULL,NULL,NULL,NULL,NULL),(174551,NULL,0,NULL,174551,3,40817,40877,57,7599,2,1,'2022-06-23','2022-06-23',6155149.57,1,855.00,'PAGO  0001 - 000662',NULL,NULL,NULL,NULL,NULL),(174552,NULL,0,NULL,174552,3,40817,40877,57,7599,2,1,'2022-06-23','2022-06-23',11594532.59,1,855.00,'PAGO  0001 - 000663',NULL,NULL,NULL,NULL,NULL),(174553,NULL,0,NULL,174553,3,40817,40877,57,7599,2,1,'2022-06-23','2022-06-23',2371057.32,1,855.00,'PAGO  0001 - 000664',NULL,NULL,NULL,NULL,NULL),(174554,NULL,0,NULL,174554,3,40817,40877,57,7599,2,1,'2022-06-24','2022-06-24',509454.62,1,855.00,'PAGO  0004 - 000745',NULL,NULL,NULL,NULL,NULL),(174555,NULL,0,NULL,174555,3,40817,40877,57,7599,2,1,'2022-06-30','2022-06-30',51564.16,1,855.00,'PAGO  0004 - 000775',NULL,NULL,NULL,NULL,NULL),(174556,NULL,0,NULL,174556,3,40817,40877,57,7599,2,1,'2022-06-30','2022-06-30',5000000.00,1,855.00,'PAGO  0004 - 000776',NULL,NULL,NULL,NULL,NULL),(174557,NULL,0,NULL,NULL,21,40817,40877,57,7599,1,1,'2022-06-30','2022-06-30',12548031.78,1,855.00,'FACTURA A 0006 - 012294',NULL,NULL,NULL,NULL,NULL),(174558,NULL,0,NULL,NULL,21,40817,40877,57,7599,1,1,'2022-06-30','2022-06-30',22061.60,1,855.00,'FACTURA A 0006 - 012295',NULL,NULL,NULL,NULL,NULL),(174559,NULL,0,NULL,NULL,21,40817,40877,57,7599,1,1,'2022-06-30','2022-06-30',250000.00,1,855.00,'NOTA DE DEBITO A 0011 - 000074',NULL,NULL,NULL,NULL,NULL);
