INSERT INTO `cta_cte_cliente` VALUES (169279,NULL,0,NULL,NULL,21,40817,40845,57,7597,1,1,'2022-04-08','2022-04-08',24200.00,1,855.00,'FACTURA A 0002 - 002821',NULL,NULL,NULL,NULL,NULL),(169280,NULL,0,NULL,NULL,21,40817,40845,57,7597,1,1,'2022-04-12','2022-04-12',70301.00,1,855.00,'FACTURA A 0002 - 002823',NULL,NULL,NULL,NULL,NULL),(169281,NULL,0,NULL,NULL,21,40817,40845,57,7597,1,1,'2022-04-13','2022-04-13',8470.00,1,855.00,'FACTURA A 0002 - 002824',NULL,NULL,NULL,NULL,NULL),(169282,NULL,0,NULL,NULL,21,40817,40845,57,7597,1,1,'2022-04-18','2022-04-18',25410.00,1,855.00,'FACTURA A 0002 - 002829',NULL,NULL,NULL,NULL,NULL),(169283,NULL,0,NULL,NULL,21,40817,40845,57,7597,1,1,'2022-04-18','2022-04-18',16335.00,1,855.00,'FACTURA A 0002 - 002830',NULL,NULL,NULL,NULL,NULL),(169284,NULL,0,NULL,NULL,21,40817,40845,57,7597,1,1,'2022-04-21','2022-04-21',17424.00,1,855.00,'FACTURA A 0002 - 002832',NULL,NULL,NULL,NULL,NULL),(169285,NULL,0,NULL,169285,3,40817,40845,57,7597,2,1,'2022-04-22','2022-04-22',124771.38,1,855.00,'PAGO  0004 - 000470',NULL,NULL,NULL,NULL,NULL),(169286,NULL,0,NULL,169286,3,40817,40845,57,7597,2,1,'2022-04-25','2022-04-25',59848.13,1,855.00,'PAGO  0004 - 000472',NULL,NULL,NULL,NULL,NULL),(169287,NULL,0,NULL,NULL,21,40817,40845,57,7597,1,1,'2022-04-25','2022-04-25',50820.00,1,855.00,'FACTURA A 0002 - 002836',NULL,NULL,NULL,NULL,NULL),(169288,NULL,0,NULL,NULL,21,40817,40845,57,7597,1,1,'2022-04-27','2022-04-27',26378.00,1,855.00,'FACTURA A 0002 - 002838',NULL,NULL,NULL,NULL,NULL),(169289,NULL,0,NULL,NULL,21,40817,40845,57,7597,1,1,'2022-04-29','2022-04-29',17424.00,1,855.00,'FACTURA A 0002 - 002840',NULL,NULL,NULL,NULL,NULL),(169290,NULL,0,NULL,NULL,21,40817,40845,57,7597,1,1,'2022-04-30','2022-04-30',7260.00,1,855.00,'FACTURA A 0002 - 002841',NULL,NULL,NULL,NULL,NULL),(169291,NULL,0,NULL,NULL,21,40817,40845,57,7597,1,1,'2022-04-30','2022-04-30',23474.00,1,855.00,'FACTURA A 0002 - 002843',NULL,NULL,NULL,NULL,NULL),(169292,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-02','2022-05-02',7018.00,1,855.00,'FACTURA A 0002 - 002844',NULL,NULL,NULL,NULL,NULL),(169293,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-03','2022-05-03',3630.00,1,855.00,'FACTURA A 0002 - 002848',NULL,NULL,NULL,NULL,NULL),(169294,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-04','2022-05-04',30129.00,1,855.00,'FACTURA A 0002 - 002850',NULL,NULL,NULL,NULL,NULL),(169295,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-04','2022-05-04',17545.00,1,855.00,'FACTURA A 0002 - 002851',NULL,NULL,NULL,NULL,NULL),(169296,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-05','2022-05-05',16577.00,1,855.00,'FACTURA A 0002 - 002854',NULL,NULL,NULL,NULL,NULL),(169297,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-06','2022-05-06',85426.00,1,855.00,'FACTURA A 0002 - 002856',NULL,NULL,NULL,NULL,NULL),(169298,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-07','2022-05-07',20570.00,1,855.00,'FACTURA A 0002 - 002858',NULL,NULL,NULL,NULL,NULL),(169299,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-07','2022-05-07',70180.00,1,855.00,'FACTURA A 0002 - 002859',NULL,NULL,NULL,NULL,NULL),(169300,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-07','2022-05-07',4235.00,1,855.00,'FACTURA A 0002 - 002860',NULL,NULL,NULL,NULL,NULL),(169301,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-09','2022-05-09',10648.00,1,855.00,'FACTURA A 0002 - 002862',NULL,NULL,NULL,NULL,NULL),(169302,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-10','2022-05-10',20086.00,1,855.00,'FACTURA A 0002 - 002863',NULL,NULL,NULL,NULL,NULL),(169303,NULL,0,NULL,169303,3,40817,40845,57,7598,2,1,'2022-05-11','2022-05-11',212472.01,1,855.00,'PAGO  0004 - 000551',NULL,NULL,NULL,NULL,NULL),(169304,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-13','2022-05-13',9559.00,1,855.00,'FACTURA A 0002 - 002866',NULL,NULL,NULL,NULL,NULL),(169305,NULL,0,NULL,169305,3,40817,40845,57,7598,2,1,'2022-05-19','2022-05-19',149668.64,1,855.00,'PAGO  0004 - 000599',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169306,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-20','2022-05-20',104907.00,1,855.00,'FACTURA A 0002 - 002872',NULL,NULL,NULL,NULL,NULL),(169307,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-21','2022-05-21',10890.00,1,855.00,'FACTURA A 0002 - 002873',NULL,NULL,NULL,NULL,NULL),(169308,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-21','2022-05-21',47069.00,1,855.00,'FACTURA A 0002 - 002874',NULL,NULL,NULL,NULL,NULL),(169309,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-21','2022-05-21',23595.00,1,855.00,'FACTURA A 0002 - 002875',NULL,NULL,NULL,NULL,NULL),(169310,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-26','2022-05-26',17061.00,1,855.00,'FACTURA A 0002 - 002876',NULL,NULL,NULL,NULL,NULL),(169311,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-28','2022-05-28',78166.00,1,855.00,'FACTURA A 0002 - 002878',NULL,NULL,NULL,NULL,NULL),(169312,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-28','2022-05-28',64856.00,1,855.00,'FACTURA A 0002 - 002879',NULL,NULL,NULL,NULL,NULL),(169313,NULL,0,NULL,NULL,21,40817,40845,57,7598,1,1,'2022-05-31','2022-05-31',36905.00,1,855.00,'FACTURA A 0002 - 002880',NULL,NULL,NULL,NULL,NULL),(169314,NULL,0,NULL,NULL,21,40817,40845,57,7599,1,1,'2022-06-01','2022-06-01',9680.00,1,855.00,'FACTURA A 0002 - 002882',NULL,NULL,NULL,NULL,NULL),(169315,NULL,0,NULL,NULL,21,40817,40845,57,7599,1,1,'2022-06-02','2022-06-02',8470.00,1,855.00,'FACTURA A 0002 - 002887',NULL,NULL,NULL,NULL,NULL),(169316,NULL,0,NULL,NULL,21,40817,40845,57,7599,1,1,'2022-06-02','2022-06-02',10000.00,1,855.00,'NOTA DE DEBITO A 0002 - 000003',NULL,NULL,NULL,NULL,NULL),(169317,NULL,0,NULL,NULL,21,40817,40845,57,7599,1,1,'2022-06-03','2022-06-03',25168.00,1,855.00,'FACTURA A 0002 - 002889',NULL,NULL,NULL,NULL,NULL),(169318,NULL,0,NULL,NULL,21,40817,40845,57,7599,1,1,'2022-06-06','2022-06-06',8470.00,1,855.00,'FACTURA A 0002 - 002891',NULL,NULL,NULL,NULL,NULL),(169319,NULL,0,NULL,169319,3,40817,40845,57,7599,2,1,'2022-06-06','2022-06-06',230432.49,1,855.00,'PAGO  0004 - 000679',NULL,NULL,NULL,NULL,NULL),(169320,NULL,0,NULL,NULL,21,40817,40845,57,7599,1,1,'2022-06-08','2022-06-08',153791.00,1,855.00,'FACTURA A 0002 - 002895',NULL,NULL,NULL,NULL,NULL),(169321,NULL,0,NULL,NULL,21,40817,40845,57,7599,1,1,'2022-06-09','2022-06-09',73810.00,1,855.00,'FACTURA A 0002 - 002896',NULL,NULL,NULL,NULL,NULL),(169322,NULL,0,NULL,NULL,21,40817,40845,57,7599,1,1,'2022-06-09','2022-06-09',25410.00,1,855.00,'FACTURA A 0002 - 002898',NULL,NULL,NULL,NULL,NULL),(169323,NULL,0,NULL,NULL,21,40817,40845,57,7599,1,1,'2022-06-09','2022-06-09',16940.00,1,855.00,'FACTURA A 0002 - 002899',NULL,NULL,NULL,NULL,NULL),(169324,NULL,0,NULL,NULL,21,40817,40845,57,7599,1,1,'2022-06-14','2022-06-14',14641.00,1,855.00,'FACTURA A 0002 - 002903',NULL,NULL,NULL,NULL,NULL),(169325,NULL,0,NULL,NULL,21,40817,40845,57,7599,1,1,'2022-06-21','2022-06-21',15972.00,1,855.00,'FACTURA A 0002 - 002906',NULL,NULL,NULL,NULL,NULL),(169326,NULL,0,NULL,NULL,21,40817,40845,57,7599,1,1,'2022-06-22','2022-06-22',3630.00,1,855.00,'FACTURA A 0002 - 002907',NULL,NULL,NULL,NULL,NULL),(169327,NULL,0,NULL,169327,3,40817,40845,57,7599,2,1,'2022-06-22','2022-06-22',204170.53,1,855.00,'PAGO  0004 - 000739',NULL,NULL,NULL,NULL,NULL),(169328,NULL,0,NULL,NULL,21,40817,40845,57,7599,1,1,'2022-06-25','2022-06-25',15488.00,1,855.00,'FACTURA A 0002 - 002908',NULL,NULL,NULL,NULL,NULL),(169329,NULL,0,NULL,NULL,21,40817,40845,57,7599,1,1,'2022-06-27','2022-06-27',22022.00,1,855.00,'FACTURA A 0002 - 002909',NULL,NULL,NULL,NULL,NULL),(169330,NULL,0,NULL,NULL,21,40817,40845,57,7599,1,1,'2022-06-28','2022-06-28',3872.00,1,855.00,'FACTURA A 0002 - 002911',NULL,NULL,NULL,NULL,NULL),(169331,NULL,0,NULL,NULL,21,40817,40845,57,7599,1,1,'2022-06-30','2022-06-30',18150.00,1,855.00,'FACTURA A 0002 - 002912',NULL,NULL,NULL,NULL,NULL),(169332,NULL,0,NULL,NULL,21,40817,40845,57,7599,1,1,'2022-06-30','2022-06-30',43560.00,1,855.00,'FACTURA A 0002 - 002913',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169333,NULL,0,NULL,NULL,21,40817,40845,57,7599,1,1,'2022-06-30','2022-06-30',17061.00,1,855.00,'FACTURA A 0002 - 002915',NULL,NULL,NULL,NULL,NULL),(169334,NULL,0,NULL,NULL,21,40817,40845,57,7600,1,1,'2022-07-01','2022-07-01',16214.00,1,855.00,'FACTURA A 0002 - 002917',NULL,NULL,NULL,NULL,NULL),(169335,NULL,0,NULL,NULL,21,40817,40845,57,7600,1,1,'2022-07-02','2022-07-02',25410.00,1,855.00,'FACTURA A 0002 - 002918',NULL,NULL,NULL,NULL,NULL),(169336,NULL,0,NULL,169336,3,40817,40845,57,7600,2,1,'2022-07-04','2022-07-04',278915.00,1,855.00,'PAGO  0004 - 000780',NULL,NULL,NULL,NULL,NULL),(169337,NULL,0,NULL,NULL,21,40817,40845,57,7600,1,1,'2022-07-06','2022-07-06',29645.00,1,855.00,'FACTURA A 0002 - 002921',NULL,NULL,NULL,NULL,NULL),(169338,NULL,0,NULL,NULL,21,40817,40845,57,7600,1,1,'2022-07-07','2022-07-07',16940.00,1,855.00,'FACTURA A 0002 - 002922',NULL,NULL,NULL,NULL,NULL),(169339,NULL,0,NULL,NULL,21,40817,40845,57,7600,1,1,'2022-07-12','2022-07-12',11616.00,1,855.00,'FACTURA A 0002 - 002929',NULL,NULL,NULL,NULL,NULL),(169340,NULL,0,NULL,169340,3,40817,40845,57,7600,2,1,'2022-07-12','2022-07-12',271538.82,1,855.00,'PAGO  0004 - 000822',NULL,NULL,NULL,NULL,NULL),(169341,NULL,0,NULL,NULL,21,40817,40845,57,7600,1,1,'2022-07-13','2022-07-13',16577.00,1,855.00,'FACTURA A 0002 - 002931',NULL,NULL,NULL,NULL,NULL),(169342,NULL,0,NULL,NULL,21,40817,40845,57,7600,1,1,'2022-07-14','2022-07-14',51667.00,1,855.00,'FACTURA A 0002 - 002932',NULL,NULL,NULL,NULL,NULL),(169343,NULL,0,NULL,NULL,21,40817,40845,57,7600,1,1,'2022-07-15','2022-07-15',22143.00,1,855.00,'FACTURA A 0002 - 002934',NULL,NULL,NULL,NULL,NULL),(169344,NULL,0,NULL,NULL,21,40817,40845,57,7600,1,1,'2022-07-15','2022-07-15',2420.00,1,855.00,'FACTURA A 0002 - 002935',NULL,NULL,NULL,NULL,NULL),(169345,NULL,0,NULL,NULL,21,40817,40845,57,7600,1,1,'2022-07-15','2022-07-15',25410.00,1,855.00,'FACTURA A 0002 - 002936',NULL,NULL,NULL,NULL,NULL),(169346,NULL,0,NULL,169346,3,40817,40845,57,7600,2,1,'2022-07-15','2022-07-15',272734.00,1,855.00,'PAGO  0001 - 000777',NULL,NULL,NULL,NULL,NULL),(169347,NULL,0,NULL,NULL,21,40817,40845,57,7600,1,1,'2022-07-16','2022-07-16',85910.00,1,855.00,'FACTURA A 0002 - 002937',NULL,NULL,NULL,NULL,NULL),(169348,NULL,0,NULL,169348,3,40817,40845,57,7600,2,1,'2022-07-18','2022-07-18',49973.00,1,855.00,'PAGO  0001 - 000796',NULL,NULL,NULL,NULL,NULL),(169349,NULL,0,NULL,NULL,21,40817,40845,57,7600,1,1,'2022-07-20','2022-07-20',5228.00,1,855.00,'NOTA DE DEBITO A 0002 - 000004',NULL,NULL,NULL,NULL,NULL),(169350,NULL,0,NULL,NULL,21,40817,40845,57,7600,1,1,'2022-07-25','2022-07-25',37752.00,1,855.00,'FACTURA A 0002 - 002940',NULL,NULL,NULL,NULL,NULL),(169351,NULL,0,NULL,NULL,21,40817,40845,57,7600,1,1,'2022-07-26','2022-07-26',26015.00,1,855.00,'FACTURA A 0002 - 002942',NULL,NULL,NULL,NULL,NULL),(169352,NULL,0,NULL,NULL,21,40817,40845,57,7600,1,1,'2022-07-27','2022-07-27',59048.00,1,855.00,'FACTURA A 0002 - 002944',NULL,NULL,NULL,NULL,NULL),(169353,NULL,0,NULL,NULL,21,40817,40845,57,7600,1,1,'2022-07-27','2022-07-27',8954.00,1,855.00,'FACTURA A 0002 - 002945',NULL,NULL,NULL,NULL,NULL),(169354,NULL,0,NULL,NULL,21,40817,40845,57,7600,1,1,'2022-07-30','2022-07-30',10890.00,1,855.00,'FACTURA A 0002 - 002949',NULL,NULL,NULL,NULL,NULL),(169355,NULL,0,NULL,NULL,21,40817,40845,57,7601,1,1,'2022-08-01','2022-08-01',89177.00,1,855.00,'FACTURA A 0002 - 002951',NULL,NULL,NULL,NULL,NULL),(169356,NULL,0,NULL,NULL,21,40817,40845,57,7601,1,1,'2022-08-02','2022-08-02',3630.00,1,855.00,'FACTURA A 0002 - 002953',NULL,NULL,NULL,NULL,NULL),(169357,NULL,0,NULL,169357,3,40817,40845,57,7601,2,1,'2022-08-04','2022-08-04',155227.99,1,855.00,'PAGO  0004 - 000943',NULL,NULL,NULL,NULL,NULL),(169358,NULL,0,NULL,NULL,21,40817,40845,57,7601,1,1,'2022-08-05','2022-08-05',6050.00,1,855.00,'FACTURA A 0002 - 002958',NULL,NULL,NULL,NULL,NULL),(169359,NULL,0,NULL,NULL,21,40817,40845,57,7601,1,1,'2022-08-05','2022-08-05',19965.00,1,855.00,'FACTURA A 0002 - 002959',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169360,NULL,0,NULL,NULL,21,40817,40845,57,7601,1,1,'2022-08-09','2022-08-09',17424.00,1,855.00,'FACTURA A 0002 - 002962',NULL,NULL,NULL,NULL,NULL),(169361,NULL,0,NULL,NULL,21,40817,40845,57,7601,1,1,'2022-08-09','2022-08-09',22748.00,1,855.00,'FACTURA A 0002 - 002963',NULL,NULL,NULL,NULL,NULL),(169362,NULL,0,NULL,NULL,21,40817,40845,57,7601,1,1,'2022-08-10','2022-08-10',30008.00,1,855.00,'FACTURA A 0002 - 002964',NULL,NULL,NULL,NULL,NULL),(169363,NULL,0,NULL,NULL,21,40817,40845,57,7601,1,1,'2022-08-12','2022-08-12',30008.00,1,855.00,'FACTURA A 0002 - 002966',NULL,NULL,NULL,NULL,NULL),(169364,NULL,0,NULL,NULL,21,40817,40845,57,7601,1,1,'2022-08-16','2022-08-16',46585.00,1,855.00,'FACTURA A 0002 - 002967',NULL,NULL,NULL,NULL,NULL),(169365,NULL,0,NULL,NULL,21,40817,40845,57,7601,1,1,'2022-08-17','2022-08-17',3630.00,1,855.00,'FACTURA A 0002 - 002972',NULL,NULL,NULL,NULL,NULL),(169366,NULL,0,NULL,169366,3,40817,40845,57,7601,2,1,'2022-08-17','2022-08-17',198107.68,1,855.00,'PAGO  0004 - 001008',NULL,NULL,NULL,NULL,NULL),(169367,NULL,0,NULL,NULL,21,40817,40845,57,7601,1,1,'2022-08-20','2022-08-20',15730.00,1,855.00,'FACTURA A 0002 - 002975',NULL,NULL,NULL,NULL,NULL),(169368,NULL,0,NULL,NULL,21,40817,40845,57,7601,1,1,'2022-08-20','2022-08-20',97405.00,1,855.00,'FACTURA A 0002 - 002976',NULL,NULL,NULL,NULL,NULL),(169369,NULL,0,NULL,NULL,21,40817,40845,57,7601,1,1,'2022-08-23','2022-08-23',49368.00,1,855.00,'FACTURA A 0002 - 002980',NULL,NULL,NULL,NULL,NULL),(169370,NULL,0,NULL,NULL,21,40817,40845,57,7601,1,1,'2022-08-25','2022-08-25',33880.00,1,855.00,'FACTURA A 0002 - 002982',NULL,NULL,NULL,NULL,NULL),(169371,NULL,0,NULL,169371,3,40817,40845,57,7601,2,1,'2022-08-25','2022-08-25',99471.33,1,855.00,'PAGO  0004 - 001050',NULL,NULL,NULL,NULL,NULL),(169372,NULL,0,NULL,NULL,21,40817,40845,57,7602,1,1,'2022-09-01','2022-09-01',85305.00,1,855.00,'FACTURA A 0002 - 002990',NULL,NULL,NULL,NULL,NULL),(169373,NULL,0,NULL,NULL,21,40817,40845,57,7602,1,1,'2022-09-06','2022-09-06',28072.00,1,855.00,'FACTURA A 0002 - 002993',NULL,NULL,NULL,NULL,NULL),(169374,NULL,0,NULL,NULL,21,40817,40845,57,7602,1,1,'2022-09-06','2022-09-06',4840.00,1,855.00,'FACTURA A 0002 - 002994',NULL,NULL,NULL,NULL,NULL),(169375,NULL,0,NULL,NULL,21,40817,40845,57,7602,1,1,'2022-09-06','2022-09-06',7260.00,1,855.00,'FACTURA A 0002 - 002995',NULL,NULL,NULL,NULL,NULL),(169376,NULL,0,NULL,NULL,21,40817,40845,57,7602,1,1,'2022-09-07','2022-09-07',13310.00,1,855.00,'FACTURA A 0002 - 002997',NULL,NULL,NULL,NULL,NULL),(169377,NULL,0,NULL,NULL,21,40817,40845,57,7602,1,1,'2022-09-15','2022-09-15',48400.00,1,855.00,'FACTURA A 0002 - 003004',NULL,NULL,NULL,NULL,NULL),(169378,NULL,0,NULL,169378,3,40817,40845,57,7602,2,1,'2022-09-15','2022-09-15',246667.44,1,855.00,'PAGO  0004 - 001154',NULL,NULL,NULL,NULL,NULL),(169379,NULL,0,NULL,NULL,21,40817,40845,57,7602,1,1,'2022-09-19','2022-09-19',12100.00,1,855.00,'FACTURA A 0002 - 003009',NULL,NULL,NULL,NULL,NULL),(169380,NULL,0,NULL,NULL,21,40817,40845,57,7602,1,1,'2022-09-23','2022-09-23',39930.00,1,855.00,'FACTURA A 0002 - 003014',NULL,NULL,NULL,NULL,NULL),(169381,NULL,0,NULL,NULL,21,40817,40845,57,7602,1,1,'2022-09-23','2022-09-23',7260.00,1,855.00,'FACTURA A 0002 - 003015',NULL,NULL,NULL,NULL,NULL),(169382,NULL,0,NULL,NULL,21,40817,40845,57,7602,1,1,'2022-09-23','2022-09-23',77924.00,1,855.00,'FACTURA A 0002 - 003016',NULL,NULL,NULL,NULL,NULL),(169383,NULL,0,NULL,NULL,21,40817,40845,57,7602,1,1,'2022-09-24','2022-09-24',38720.00,1,855.00,'FACTURA A 0002 - 003017',NULL,NULL,NULL,NULL,NULL),(169384,NULL,0,NULL,169384,3,40817,40845,57,7602,2,1,'2022-09-27','2022-09-27',7260.00,1,855.00,'NOTA DE CREDITO A 0002 - 000022',NULL,NULL,NULL,NULL,NULL),(169385,NULL,0,NULL,NULL,21,40817,40845,57,7602,1,1,'2022-09-29','2022-09-29',153186.00,1,855.00,'FACTURA A 0002 - 003022',NULL,NULL,NULL,NULL,NULL),(169386,NULL,0,NULL,NULL,21,40817,40845,57,7602,1,1,'2022-09-29','2022-09-29',117733.00,1,855.00,'FACTURA A 0002 - 003023',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169387,NULL,0,NULL,NULL,21,40817,40845,57,7602,1,1,'2022-09-29','2022-09-29',8470.00,1,855.00,'FACTURA A 0002 - 003024',NULL,NULL,NULL,NULL,NULL),(169388,NULL,0,NULL,NULL,21,40817,40845,57,7602,1,1,'2022-09-30','2022-09-30',149677.00,1,855.00,'FACTURA A 0002 - 003025',NULL,NULL,NULL,NULL,NULL),(169389,NULL,0,NULL,169389,3,40817,40845,57,7602,2,1,'2022-09-30','2022-09-30',188467.73,1,855.00,'PAGO  0004 - 001234',NULL,NULL,NULL,NULL,NULL),(169390,NULL,0,NULL,NULL,21,40817,40845,57,7603,1,1,'2022-10-04','2022-10-04',46464.00,1,855.00,'FACTURA A 0002 - 003030',NULL,NULL,NULL,NULL,NULL),(169391,NULL,0,NULL,NULL,21,40817,40845,57,7603,1,1,'2022-10-06','2022-10-06',32670.00,1,855.00,'FACTURA A 0002 - 003032',NULL,NULL,NULL,NULL,NULL),(169392,NULL,0,NULL,NULL,21,40817,40845,57,7603,1,1,'2022-10-08','2022-10-08',89903.00,1,855.00,'FACTURA A 0002 - 003033',NULL,NULL,NULL,NULL,NULL),(169393,NULL,0,NULL,NULL,21,40817,40845,57,7603,1,1,'2022-10-12','2022-10-12',144716.00,1,855.00,'FACTURA A 0002 - 003036',NULL,NULL,NULL,NULL,NULL),(169394,NULL,0,NULL,NULL,21,40817,40845,57,7603,1,1,'2022-10-13','2022-10-13',85063.00,1,855.00,'FACTURA A 0002 - 003038',NULL,NULL,NULL,NULL,NULL),(169395,NULL,0,NULL,NULL,21,40817,40845,57,7603,1,1,'2022-10-13','2022-10-13',117975.00,1,855.00,'FACTURA A 0002 - 003040',NULL,NULL,NULL,NULL,NULL),(169396,NULL,0,NULL,NULL,21,40817,40845,57,7603,1,1,'2022-10-14','2022-10-14',18755.00,1,855.00,'FACTURA A 0002 - 003041',NULL,NULL,NULL,NULL,NULL),(169397,NULL,0,NULL,NULL,21,40817,40845,57,7603,1,1,'2022-10-17','2022-10-17',7260.00,1,855.00,'FACTURA A 0002 - 003045',NULL,NULL,NULL,NULL,NULL),(169398,NULL,0,NULL,NULL,21,40817,40845,57,7603,1,1,'2022-10-18','2022-10-18',145200.00,1,855.00,'FACTURA A 0002 - 003047',NULL,NULL,NULL,NULL,NULL),(169399,NULL,0,NULL,NULL,21,40817,40845,57,7603,1,1,'2022-10-18','2022-10-18',157058.00,1,855.00,'FACTURA A 0002 - 003043',NULL,NULL,NULL,NULL,NULL),(169400,NULL,0,NULL,NULL,21,40817,40845,57,7603,1,1,'2022-10-21','2022-10-21',58080.00,1,855.00,'FACTURA A 0002 - 003051',NULL,NULL,NULL,NULL,NULL),(169401,NULL,0,NULL,169401,3,40817,40845,57,7603,2,1,'2022-10-21','2022-10-21',320826.05,1,855.00,'PAGO  0004 - 001314',NULL,NULL,NULL,NULL,NULL),(169402,NULL,0,NULL,NULL,21,40817,40845,57,7603,1,1,'2022-10-25','2022-10-25',45980.00,1,855.00,'FACTURA A 0002 - 003054',NULL,NULL,NULL,NULL,NULL),(169403,NULL,0,NULL,NULL,21,40817,40845,57,7603,1,1,'2022-10-25','2022-10-25',16819.00,1,855.00,'FACTURA A 0002 - 003056',NULL,NULL,NULL,NULL,NULL),(169404,NULL,0,NULL,NULL,21,40817,40845,57,7603,1,1,'2022-10-26','2022-10-26',87604.00,1,855.00,'FACTURA A 0002 - 003058',NULL,NULL,NULL,NULL,NULL),(169405,NULL,0,NULL,NULL,21,40817,40845,57,7603,1,1,'2022-10-26','2022-10-26',4840.00,1,855.00,'FACTURA A 0002 - 003059',NULL,NULL,NULL,NULL,NULL),(169406,NULL,0,NULL,NULL,21,40817,40845,57,7603,1,1,'2022-10-28','2022-10-28',111199.00,1,855.00,'FACTURA A 0002 - 003061',NULL,NULL,NULL,NULL,NULL),(169407,NULL,0,NULL,NULL,21,40817,40845,57,7603,1,1,'2022-10-31','2022-10-31',9196.00,1,855.00,'FACTURA A 0002 - 003062',NULL,NULL,NULL,NULL,NULL),(169408,NULL,0,NULL,NULL,21,40817,40845,57,7604,1,1,'2022-11-01','2022-11-01',36300.00,1,855.00,'FACTURA A 0002 - 003065',NULL,NULL,NULL,NULL,NULL),(169409,NULL,0,NULL,NULL,21,40817,40845,57,7604,1,1,'2022-11-03','2022-11-03',27000.00,1,855.00,'NOTA DE DEBITO A 0002 - 000005',NULL,NULL,NULL,NULL,NULL),(169410,NULL,0,NULL,169410,3,40817,40845,57,7604,2,1,'2022-11-04','2022-11-04',792830.69,1,855.00,'PAGO  0004 - 001371',NULL,NULL,NULL,NULL,NULL),(169411,NULL,0,NULL,NULL,21,40817,40845,57,7604,1,1,'2022-11-05','2022-11-05',163350.00,1,855.00,'FACTURA A 0002 - 003075',NULL,NULL,NULL,NULL,NULL),(169412,NULL,0,NULL,NULL,21,40817,40845,57,7604,1,1,'2022-11-08','2022-11-08',13310.00,1,855.00,'FACTURA A 0002 - 003079',NULL,NULL,NULL,NULL,NULL),(169413,NULL,0,NULL,NULL,21,40817,40845,57,7604,1,1,'2022-11-09','2022-11-09',36300.00,1,855.00,'FACTURA A 0002 - 003080',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169414,NULL,0,NULL,NULL,21,40817,40845,57,7604,1,1,'2022-11-09','2022-11-09',62920.00,1,855.00,'FACTURA A 0002 - 003081',NULL,NULL,NULL,NULL,NULL),(169415,NULL,0,NULL,169415,3,40817,40845,57,7604,2,1,'2022-11-10','2022-11-10',57986.85,1,855.00,'PAGO  0004 - 001403',NULL,NULL,NULL,NULL,NULL),(169416,NULL,0,NULL,NULL,21,40817,40845,57,7604,1,1,'2022-11-12','2022-11-12',5445.00,1,855.00,'FACTURA A 0002 - 003084',NULL,NULL,NULL,NULL,NULL),(169417,NULL,0,NULL,NULL,21,40817,40845,57,7604,1,1,'2022-11-12','2022-11-12',83490.00,1,855.00,'FACTURA A 0002 - 003085',NULL,NULL,NULL,NULL,NULL),(169418,NULL,0,NULL,NULL,21,40817,40845,57,7604,1,1,'2022-11-15','2022-11-15',10285.00,1,855.00,'FACTURA A 0002 - 003086',NULL,NULL,NULL,NULL,NULL),(169419,NULL,0,NULL,NULL,21,40817,40845,57,7604,1,1,'2022-11-17','2022-11-17',64735.00,1,855.00,'FACTURA A 0002 - 003090',NULL,NULL,NULL,NULL,NULL),(169420,NULL,0,NULL,NULL,21,40817,40845,57,7604,1,1,'2022-11-22','2022-11-22',41140.00,1,855.00,'FACTURA A 0002 - 003095',NULL,NULL,NULL,NULL,NULL),(169421,NULL,0,NULL,NULL,21,40817,40845,57,7604,1,1,'2022-11-23','2022-11-23',10285.00,1,855.00,'FACTURA A 0002 - 003097',NULL,NULL,NULL,NULL,NULL),(169422,NULL,0,NULL,169422,3,40817,40845,57,7604,2,1,'2022-11-23','2022-11-23',422529.24,1,855.00,'PAGO  0004 - 001443',NULL,NULL,NULL,NULL,NULL),(169423,NULL,0,NULL,NULL,21,40817,40845,57,7604,1,1,'2022-11-24','2022-11-24',38720.00,1,855.00,'FACTURA A 0002 - 003099',NULL,NULL,NULL,NULL,NULL),(169424,NULL,0,NULL,NULL,21,40817,40845,57,7604,1,1,'2022-11-30','2022-11-30',59532.00,1,855.00,'FACTURA A 0002 - 003104',NULL,NULL,NULL,NULL,NULL),(169425,NULL,0,NULL,NULL,21,40817,40845,57,7605,1,1,'2022-12-01','2022-12-01',155122.00,1,855.00,'FACTURA A 0002 - 003107',NULL,NULL,NULL,NULL,NULL),(169426,NULL,0,NULL,NULL,21,40817,40845,57,7605,1,1,'2022-12-01','2022-12-01',6050.00,1,855.00,'FACTURA A 0002 - 003108',NULL,NULL,NULL,NULL,NULL),(169427,NULL,0,NULL,NULL,21,40817,40845,57,7605,1,1,'2022-12-01','2022-12-01',5445.00,1,855.00,'FACTURA A 0002 - 003110',NULL,NULL,NULL,NULL,NULL),(169428,NULL,0,NULL,NULL,21,40817,40845,57,7605,1,1,'2022-12-02','2022-12-02',4235.00,1,855.00,'FACTURA A 0002 - 003112',NULL,NULL,NULL,NULL,NULL),(169429,NULL,0,NULL,169429,3,40817,40845,57,7605,2,1,'2022-12-02','2022-12-02',420959.00,1,855.00,'PAGO  0004 - 001503',NULL,NULL,NULL,NULL,NULL),(169430,NULL,0,NULL,NULL,21,40817,40845,57,7605,1,1,'2022-12-03','2022-12-03',23595.00,1,855.00,'FACTURA A 0002 - 003113',NULL,NULL,NULL,NULL,NULL),(169431,NULL,0,NULL,NULL,21,40817,40845,57,7605,1,1,'2022-12-10','2022-12-10',67881.00,1,855.00,'FACTURA A 0002 - 003117',NULL,NULL,NULL,NULL,NULL),(169432,NULL,0,NULL,NULL,21,40817,40845,57,7605,1,1,'2022-12-14','2022-12-14',104060.00,1,855.00,'FACTURA A 0002 - 003120',NULL,NULL,NULL,NULL,NULL),(169433,NULL,0,NULL,NULL,21,40817,40845,57,7605,1,1,'2022-12-16','2022-12-16',8470.00,1,855.00,'FACTURA A 0002 - 003122',NULL,NULL,NULL,NULL,NULL),(169434,NULL,0,NULL,NULL,21,40817,40845,57,7605,1,1,'2022-12-27','2022-12-27',445401.00,1,855.00,'FACTURA A 0002 - 003131',NULL,NULL,NULL,NULL,NULL),(169435,NULL,0,NULL,NULL,21,40817,40845,57,7605,1,1,'2022-12-29','2022-12-29',19965.00,1,855.00,'FACTURA A 0002 - 003133',NULL,NULL,NULL,NULL,NULL),(169436,NULL,0,NULL,169436,3,40817,40845,57,7605,2,1,'2022-12-30','2022-12-30',354149.19,1,855.00,'PAGO  0004 - 001618',NULL,NULL,NULL,NULL,NULL),(169437,NULL,0,NULL,NULL,21,40817,40845,57,7609,1,1,'2023-01-06','2023-01-06',98010.00,1,855.00,'FACTURA A 0002 - 003142',NULL,NULL,NULL,NULL,NULL),(169438,NULL,0,NULL,169438,3,40817,40845,57,7609,2,1,'2023-01-07','2023-01-07',878961.81,1,855.00,'PAGO  0004 - 001689',NULL,NULL,NULL,NULL,NULL),(169439,NULL,0,NULL,NULL,21,40817,40845,57,7609,1,1,'2023-01-07','2023-01-07',878961.81,1,855.00,'ANULACION DE PAGOS  0001 - 000083',NULL,NULL,NULL,NULL,NULL),(169440,NULL,0,NULL,169440,3,40817,40845,57,7609,2,1,'2023-01-11','2023-01-11',898926.81,1,855.00,'PAGO  0004 - 001701',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169441,NULL,0,NULL,NULL,21,40817,40845,57,7609,1,1,'2023-01-14','2023-01-14',145200.00,1,855.00,'FACTURA A 0002 - 003147',NULL,NULL,NULL,NULL,NULL),(169442,NULL,0,NULL,NULL,21,40817,40845,57,7609,1,1,'2023-01-16','2023-01-16',46706.00,1,855.00,'FACTURA A 0002 - 003149',NULL,NULL,NULL,NULL,NULL),(169443,NULL,0,NULL,NULL,21,40817,40845,57,7609,1,1,'2023-01-19','2023-01-19',3630.00,1,855.00,'FACTURA A 0002 - 003151',NULL,NULL,NULL,NULL,NULL),(169444,NULL,0,NULL,169444,3,40817,40845,57,7609,2,1,'2023-01-26','2023-01-26',98502.28,1,855.00,'PAGO  0004 - 001766',NULL,NULL,NULL,NULL,NULL),(169445,NULL,0,NULL,NULL,21,40817,40845,57,7609,1,1,'2023-01-30','2023-01-30',58080.00,1,855.00,'FACTURA A 0002 - 003159',NULL,NULL,NULL,NULL,NULL),(169446,NULL,0,NULL,NULL,21,40817,40845,57,7609,1,1,'2023-01-31','2023-01-31',25000.01,1,855.00,'FACTURA A 0002 - 000007',NULL,NULL,NULL,NULL,NULL),(169447,NULL,0,NULL,NULL,21,40817,40845,57,7610,1,1,'2023-02-02','2023-02-02',7260.00,1,855.00,'FACTURA A 0002 - 003162',NULL,NULL,NULL,NULL,NULL),(169448,NULL,0,NULL,NULL,21,40817,40845,57,7610,1,1,'2023-02-07','2023-02-07',25410.00,1,855.00,'FACTURA A 0002 - 003169',NULL,NULL,NULL,NULL,NULL),(169449,NULL,0,NULL,NULL,21,40817,40845,57,7610,1,1,'2023-02-14','2023-02-14',194931.00,1,855.00,'FACTURA A 0002 - 003175',NULL,NULL,NULL,NULL,NULL),(169450,NULL,0,NULL,169450,3,40817,40845,57,7610,2,1,'2023-02-15','2023-02-15',310793.73,1,855.00,'PAGO  0004 - 001842',NULL,NULL,NULL,NULL,NULL),(169451,NULL,0,NULL,NULL,21,40817,40845,57,7610,1,1,'2023-02-16','2023-02-16',80000.01,1,855.00,'NOTA DE DEBITO A 0002 - 000008',NULL,NULL,NULL,NULL,NULL),(169452,NULL,0,NULL,NULL,21,40817,40845,57,7610,1,1,'2023-02-24','2023-02-24',16940.00,1,855.00,'FACTURA A 0002 - 003183',NULL,NULL,NULL,NULL,NULL),(169453,NULL,0,NULL,NULL,21,40817,40845,57,7611,1,1,'2023-03-14','2023-03-14',4840.00,1,855.00,'FACTURA A 0002 - 003199',NULL,NULL,NULL,NULL,NULL),(169454,NULL,0,NULL,NULL,21,40817,40845,57,7611,1,1,'2023-03-14','2023-03-14',95590.00,1,855.00,'FACTURA A 0002 - 003200',NULL,NULL,NULL,NULL,NULL),(169455,NULL,0,NULL,NULL,21,40817,40845,57,7611,1,1,'2023-03-15','2023-03-15',16940.00,1,855.00,'FACTURA A 0002 - 003201',NULL,NULL,NULL,NULL,NULL),(169456,NULL,0,NULL,NULL,21,40817,40845,57,7611,1,1,'2023-03-16','2023-03-16',60500.00,1,855.00,'FACTURA A 0002 - 003203',NULL,NULL,NULL,NULL,NULL),(169457,NULL,0,NULL,NULL,21,40817,40845,57,7611,1,1,'2023-03-16','2023-03-16',98010.00,1,855.00,'FACTURA A 0002 - 003205',NULL,NULL,NULL,NULL,NULL),(169458,NULL,0,NULL,NULL,21,40817,40845,57,7611,1,1,'2023-03-17','2023-03-17',33880.00,1,855.00,'FACTURA A 0002 - 003206',NULL,NULL,NULL,NULL,NULL),(169459,NULL,0,NULL,NULL,21,40817,40845,57,7611,1,1,'2023-03-17','2023-03-17',12100.00,1,855.00,'FACTURA A 0002 - 003207',NULL,NULL,NULL,NULL,NULL),(169460,NULL,0,NULL,NULL,21,40817,40845,57,7611,1,1,'2023-03-20','2023-03-20',18150.00,1,855.00,'FACTURA A 0002 - 003211',NULL,NULL,NULL,NULL,NULL),(169461,NULL,0,NULL,NULL,21,40817,40845,57,7611,1,1,'2023-03-20','2023-03-20',75020.00,1,855.00,'FACTURA A 0002 - 003213',NULL,NULL,NULL,NULL,NULL),(169462,NULL,0,NULL,NULL,21,40817,40845,57,7611,1,1,'2023-03-21','2023-03-21',77440.00,1,855.00,'FACTURA A 0002 - 003214',NULL,NULL,NULL,NULL,NULL),(169463,NULL,0,NULL,NULL,21,40817,40845,57,7611,1,1,'2023-03-25','2023-03-25',38720.00,1,855.00,'FACTURA A 0002 - 003218',NULL,NULL,NULL,NULL,NULL),(169464,NULL,0,NULL,169464,3,40817,40845,57,7611,2,1,'2023-03-31','2023-03-31',823061.01,1,855.00,'PAGO  0004 - 002042',NULL,NULL,NULL,NULL,NULL),(169465,NULL,0,NULL,NULL,21,40817,40845,57,7612,1,1,'2023-04-03','2023-04-03',123420.00,1,855.00,'FACTURA A 0002 - 003225',NULL,NULL,NULL,NULL,NULL),(169466,NULL,0,NULL,NULL,21,40817,40845,57,7612,1,1,'2023-04-08','2023-04-08',70180.00,1,855.00,'FACTURA A 0002 - 003229',NULL,NULL,NULL,NULL,NULL),(169467,NULL,0,NULL,NULL,21,40817,40845,57,7612,1,1,'2023-04-18','2023-04-18',90750.00,1,855.00,'FACTURA A 0002 - 003239',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169468,NULL,0,NULL,NULL,21,40817,40845,57,7612,1,1,'2023-04-19','2023-04-19',164560.00,1,855.00,'FACTURA A 0002 - 003242',NULL,NULL,NULL,NULL,NULL),(169469,NULL,0,NULL,NULL,21,40817,40845,57,7612,1,1,'2023-04-29','2023-04-29',19360.00,1,855.00,'FACTURA A 0002 - 003251',NULL,NULL,NULL,NULL,NULL),(169470,NULL,0,NULL,NULL,21,40817,40845,57,7612,1,1,'2023-04-29','2023-04-29',62920.00,1,855.00,'FACTURA A 0002 - 003254',NULL,NULL,NULL,NULL,NULL),(169471,NULL,0,NULL,NULL,21,40817,40845,57,7613,1,1,'2023-05-08','2023-05-08',81070.00,1,855.00,'FACTURA A 0002 - 003263',NULL,NULL,NULL,NULL,NULL),(169472,NULL,0,NULL,NULL,21,40817,40845,57,7613,1,1,'2023-05-09','2023-05-09',56870.00,1,855.00,'FACTURA A 0002 - 003264',NULL,NULL,NULL,NULL,NULL),(169473,NULL,0,NULL,NULL,21,40817,40845,57,7613,1,1,'2023-05-11','2023-05-11',211750.00,1,855.00,'FACTURA A 0002 - 003267',NULL,NULL,NULL,NULL,NULL),(169474,NULL,0,NULL,NULL,21,40817,40845,57,7613,1,1,'2023-05-11','2023-05-11',42350.00,1,855.00,'FACTURA A 0002 - 003270',NULL,NULL,NULL,NULL,NULL),(169475,NULL,0,NULL,169475,3,40817,40845,57,7613,2,1,'2023-05-15','2023-05-15',453587.51,1,855.00,'PAGO  0004 - 002254',NULL,NULL,NULL,NULL,NULL),(169476,NULL,0,NULL,NULL,21,40817,40845,57,7614,1,1,'2023-06-02','2023-06-02',68970.00,1,855.00,'FACTURA A 0002 - 003287',NULL,NULL,NULL,NULL,NULL),(169477,NULL,0,NULL,NULL,21,40817,40845,57,7614,1,1,'2023-06-05','2023-06-05',100430.00,1,855.00,'FACTURA A 0002 - 003288',NULL,NULL,NULL,NULL,NULL),(169478,NULL,0,NULL,NULL,21,40817,40845,57,7614,1,1,'2023-06-06','2023-06-06',44165.00,1,855.00,'FACTURA A 0002 - 003292',NULL,NULL,NULL,NULL,NULL),(169479,NULL,0,NULL,169479,3,40817,40845,57,7614,2,1,'2023-06-08','2023-06-08',538612.49,1,855.00,'PAGO  0004 - 002366',NULL,NULL,NULL,NULL,NULL),(169480,NULL,0,NULL,NULL,21,40817,40845,57,7614,1,1,'2023-06-14','2023-06-14',96800.00,1,855.00,'FACTURA A 0002 - 003300',NULL,NULL,NULL,NULL,NULL),(169481,NULL,0,NULL,NULL,21,40817,40845,57,7614,1,1,'2023-06-16','2023-06-16',72600.00,1,855.00,'FACTURA A 0002 - 003306',NULL,NULL,NULL,NULL,NULL),(169482,NULL,0,NULL,169482,3,40817,40845,57,7614,2,1,'2023-06-27','2023-06-27',217932.84,1,855.00,'PAGO  0004 - 002470',NULL,NULL,NULL,NULL,NULL),(169483,NULL,0,NULL,NULL,21,40817,40845,57,7614,1,1,'2023-06-28','2023-06-28',36300.00,1,855.00,'FACTURA A 0002 - 003315',NULL,NULL,NULL,NULL,NULL),(169484,NULL,0,NULL,NULL,21,40817,40845,57,7615,1,1,'2023-07-17','2023-07-17',113740.00,1,855.00,'FACTURA A 0002 - 003337',NULL,NULL,NULL,NULL,NULL),(169485,NULL,0,NULL,NULL,21,40817,40845,57,7615,1,1,'2023-07-18','2023-07-18',70180.00,1,855.00,'FACTURA A 0002 - 003341',NULL,NULL,NULL,NULL,NULL),(169486,NULL,0,NULL,169486,3,40817,40845,57,7616,2,1,'2023-08-04','2023-08-04',316282.16,1,855.00,'PAGO  0004 - 002659',NULL,NULL,NULL,NULL,NULL),(169487,NULL,0,NULL,NULL,21,40817,40845,57,7616,1,1,'2023-08-08','2023-08-08',18150.00,1,855.00,'FACTURA A 0002 - 003361',NULL,NULL,NULL,NULL,NULL),(169488,NULL,0,NULL,NULL,21,40817,40845,57,7616,1,1,'2023-08-09','2023-08-09',99220.00,1,855.00,'FACTURA A 0002 - 003364',NULL,NULL,NULL,NULL,NULL),(169489,NULL,0,NULL,NULL,21,40817,40845,57,7616,1,1,'2023-08-15','2023-08-15',55660.00,1,855.00,'FACTURA A 0002 - 003369',NULL,NULL,NULL,NULL,NULL),(169490,NULL,0,NULL,NULL,21,40817,40845,57,7616,1,1,'2023-08-29','2023-08-29',84700.00,1,855.00,'FACTURA A 0002 - 003382',NULL,NULL,NULL,NULL,NULL),(169491,NULL,0,NULL,NULL,21,40817,40845,57,7616,1,1,'2023-08-29','2023-08-29',200860.00,1,855.00,'FACTURA A 0002 - 003383',NULL,NULL,NULL,NULL,NULL),(169492,NULL,0,NULL,NULL,21,40817,40845,57,7617,1,1,'2023-09-13','2023-09-13',62920.00,1,855.00,'FACTURA A 0002 - 003404',NULL,NULL,NULL,NULL,NULL),(169493,NULL,0,NULL,NULL,21,40817,40845,57,7617,1,1,'2023-09-14','2023-09-14',274670.00,1,855.00,'FACTURA A 0002 - 003406',NULL,NULL,NULL,NULL,NULL),(169494,NULL,0,NULL,NULL,21,40817,40845,57,7617,1,1,'2023-09-16','2023-09-16',157300.00,1,855.00,'FACTURA A 0002 - 003407',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169495,NULL,0,NULL,169495,3,40817,40845,57,7617,2,1,'2023-09-19','2023-09-19',958210.91,1,855.00,'PAGO  0004 - 002912',NULL,NULL,NULL,NULL,NULL),(169496,NULL,0,NULL,NULL,21,40817,40845,57,7617,1,1,'2023-09-20','2023-09-20',452540.00,1,855.00,'FACTURA A 0002 - 003411',NULL,NULL,NULL,NULL,NULL),(169497,NULL,0,NULL,NULL,21,40817,40845,57,7618,1,1,'2023-10-02','2023-10-02',52030.00,1,855.00,'FACTURA A 0002 - 003425',NULL,NULL,NULL,NULL,NULL),(169498,NULL,0,NULL,NULL,21,40817,40845,57,7618,1,1,'2023-10-04','2023-10-04',101640.00,1,855.00,'FACTURA A 0002 - 003429',NULL,NULL,NULL,NULL,NULL),(169499,NULL,0,NULL,NULL,21,40817,40845,57,7618,1,1,'2023-10-05','2023-10-05',112530.00,1,855.00,'FACTURA A 0002 - 003430',NULL,NULL,NULL,NULL,NULL),(169500,NULL,0,NULL,NULL,21,40817,40845,57,7618,1,1,'2023-10-10','2023-10-10',174240.00,1,855.00,'FACTURA A 0002 - 003434',NULL,NULL,NULL,NULL,NULL),(169501,NULL,0,NULL,NULL,21,40817,40845,57,7618,1,1,'2023-10-17','2023-10-17',539660.00,1,855.00,'FACTURA A 0002 - 003439',NULL,NULL,NULL,NULL,NULL),(169502,NULL,0,NULL,169502,3,40817,40845,57,7618,2,1,'2023-10-25','2023-10-25',716936.53,1,855.00,'PAGO  0004 - 003098',NULL,NULL,NULL,NULL,NULL),(169503,NULL,0,NULL,NULL,21,40817,40845,57,7618,1,1,'2023-10-26','2023-10-26',64130.00,1,855.00,'FACTURA A 0002 - 003444',NULL,NULL,NULL,NULL,NULL),(169504,NULL,0,NULL,NULL,21,40817,40845,57,7618,1,1,'2023-10-27','2023-10-27',121000.00,1,855.00,'FACTURA A 0002 - 003448',NULL,NULL,NULL,NULL,NULL),(169505,NULL,0,NULL,NULL,21,40817,40845,57,7619,1,1,'2023-11-02','2023-11-02',18150.00,1,855.00,'FACTURA A 0002 - 003456',NULL,NULL,NULL,NULL,NULL),(169506,NULL,0,NULL,NULL,21,40817,40845,57,7619,1,1,'2023-11-06','2023-11-06',135520.00,1,855.00,'FACTURA A 0002 - 003459',NULL,NULL,NULL,NULL,NULL),(169507,NULL,0,NULL,NULL,21,40817,40845,57,7619,1,1,'2023-11-14','2023-11-14',136730.00,1,855.00,'FACTURA A 0002 - 003464',NULL,NULL,NULL,NULL,NULL),(169508,NULL,0,NULL,NULL,21,40817,40845,57,7619,1,1,'2023-11-24','2023-11-24',128260.00,1,855.00,'FACTURA A 0002 - 003473',NULL,NULL,NULL,NULL,NULL),(169509,NULL,0,NULL,NULL,21,40817,40845,57,7619,1,1,'2023-11-25','2023-11-25',549340.00,1,855.00,'FACTURA A 0002 - 003474',NULL,NULL,NULL,NULL,NULL),(169510,NULL,0,NULL,NULL,21,40817,40845,57,7619,1,1,'2023-11-28','2023-11-28',102850.00,1,855.00,'FACTURA A 0002 - 003476',NULL,NULL,NULL,NULL,NULL),(169511,NULL,0,NULL,NULL,21,40817,40845,57,7619,1,1,'2023-11-29','2023-11-29',145200.00,1,855.00,'FACTURA A 0002 - 003477',NULL,NULL,NULL,NULL,NULL),(169512,NULL,0,NULL,169512,3,40817,40845,57,7619,2,1,'2023-11-29','2023-11-29',902731.17,1,855.00,'PAGO  0004 - 003274',NULL,NULL,NULL,NULL,NULL),(169513,NULL,0,NULL,169513,3,40817,40845,57,7619,2,1,'2023-11-30','2023-11-30',287573.33,1,855.00,'PAGO  0004 - 003287',NULL,NULL,NULL,NULL,NULL),(169514,NULL,0,NULL,NULL,21,40817,40845,57,7620,1,1,'2023-12-04','2023-12-04',96800.00,1,855.00,'FACTURA A 0002 - 003482',NULL,NULL,NULL,NULL,NULL),(169515,NULL,0,NULL,NULL,21,40817,40845,57,7620,1,1,'2023-12-05','2023-12-05',310365.00,1,855.00,'FACTURA A 0002 - 003486',NULL,NULL,NULL,NULL,NULL),(169516,NULL,0,NULL,NULL,21,40817,40845,57,7620,1,1,'2023-12-06','2023-12-06',331540.00,1,855.00,'FACTURA A 0002 - 003490',NULL,NULL,NULL,NULL,NULL),(169517,NULL,0,NULL,169517,3,40817,40845,57,7620,2,1,'2023-12-12','2023-12-12',131195.00,1,855.00,'PAGO  0004 - 003356',NULL,NULL,NULL,NULL,NULL),(169518,NULL,0,NULL,169518,3,40817,40845,57,7620,2,1,'2023-12-13','2023-12-13',347542.90,1,855.00,'PAGO  0004 - 003370',NULL,NULL,NULL,NULL,NULL),(169519,NULL,0,NULL,NULL,21,40817,40845,57,7620,1,1,'2023-12-14','2023-12-14',108900.00,1,855.00,'FACTURA A 0002 - 003495',NULL,NULL,NULL,NULL,NULL),(169520,NULL,0,NULL,169520,3,40817,40845,57,7620,2,1,'2023-12-18','2023-12-18',539910.16,1,855.00,'PAGO  0004 - 003401',NULL,NULL,NULL,NULL,NULL),(169521,NULL,0,NULL,NULL,21,40817,40845,57,7620,1,1,'2023-12-20','2023-12-20',341220.00,1,855.00,'FACTURA A 0002 - 003504',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169522,NULL,0,NULL,NULL,21,40817,40845,57,7620,1,1,'2023-12-28','2023-12-28',211750.00,1,855.00,'FACTURA A 0002 - 003510',NULL,NULL,NULL,NULL,NULL),(169523,NULL,0,NULL,NULL,21,40817,40845,57,6064,1,1,'2024-01-02','2024-01-02',333960.00,1,855.00,'FACTURA A 0002 - 003514',NULL,NULL,NULL,NULL,NULL),(169524,NULL,0,NULL,NULL,21,40817,40845,57,6064,1,1,'2024-01-02','2024-01-02',458590.00,1,855.00,'FACTURA A 0002 - 003515',NULL,NULL,NULL,NULL,NULL),(169525,NULL,0,NULL,NULL,21,40817,40845,57,6064,1,1,'2024-01-03','2024-01-03',384780.00,1,855.00,'FACTURA A 0002 - 003519',NULL,NULL,NULL,NULL,NULL),(169526,NULL,0,NULL,NULL,21,40817,40845,57,6064,1,1,'2024-01-03','2024-01-03',463430.00,1,855.00,'FACTURA A 0002 - 003520',NULL,NULL,NULL,NULL,NULL),(169527,NULL,0,NULL,NULL,21,40817,40845,57,6064,1,1,'2024-01-03','2024-01-03',181500.00,1,855.00,'FACTURA A 0002 - 003521',NULL,NULL,NULL,NULL,NULL),(169528,NULL,0,NULL,NULL,21,40817,40845,57,6064,1,1,'2024-01-04','2024-01-04',84700.00,1,855.00,'FACTURA A 0002 - 003522',NULL,NULL,NULL,NULL,NULL),(169529,NULL,0,NULL,NULL,21,40817,40845,57,6064,1,1,'2024-01-04','2024-01-04',387200.00,1,855.00,'FACTURA A 0002 - 003524',NULL,NULL,NULL,NULL,NULL),(169530,NULL,0,NULL,NULL,21,40817,40845,57,6064,1,1,'2024-01-05','2024-01-05',399300.00,1,855.00,'FACTURA A 0002 - 003527',NULL,NULL,NULL,NULL,NULL),(169531,NULL,0,NULL,NULL,21,40817,40845,57,6064,1,1,'2024-01-06','2024-01-06',989780.00,1,855.00,'FACTURA A 0002 - 003528',NULL,NULL,NULL,NULL,NULL),(169532,NULL,0,NULL,NULL,21,40817,40845,57,6064,1,1,'2024-01-08','2024-01-08',133100.00,1,855.00,'FACTURA A 0002 - 003529',NULL,NULL,NULL,NULL,NULL),(169533,NULL,0,NULL,NULL,21,40817,40845,57,6064,1,1,'2024-01-08','2024-01-08',24200.00,1,855.00,'FACTURA A 0002 - 003530',NULL,NULL,NULL,NULL,NULL),(169534,NULL,0,NULL,NULL,21,40817,40845,57,6064,1,1,'2024-01-09','2024-01-09',72600.00,1,855.00,'FACTURA A 0002 - 003531',NULL,NULL,NULL,NULL,NULL),(169535,NULL,0,NULL,169535,3,40817,40845,57,6064,2,1,'2024-01-10','2024-01-10',983125.00,1,855.00,'PAGO  0004 - 003517',NULL,NULL,NULL,NULL,NULL),(169536,NULL,0,NULL,NULL,21,40817,40845,57,6064,1,1,'2024-01-11','2024-01-11',390830.00,1,855.00,'FACTURA A 0002 - 003535',NULL,NULL,NULL,NULL,NULL),(169537,NULL,0,NULL,NULL,21,40817,40845,57,6064,1,1,'2024-01-16','2024-01-16',124630.00,1,855.00,'FACTURA A 0002 - 003538',NULL,NULL,NULL,NULL,NULL),(169538,NULL,0,NULL,NULL,21,40817,40845,57,6064,1,1,'2024-01-16','2024-01-16',72600.00,1,855.00,'FACTURA A 0002 - 003539',NULL,NULL,NULL,NULL,NULL),(169539,NULL,0,NULL,NULL,21,40817,40845,57,6064,1,1,'2024-01-18','2024-01-18',447700.00,1,855.00,'FACTURA A 0002 - 003540',NULL,NULL,NULL,NULL,NULL),(169540,NULL,0,NULL,169540,3,40817,40845,57,6064,2,1,'2024-01-19','2024-01-19',657600.28,1,855.00,'PAGO  0004 - 003575',NULL,NULL,NULL,NULL,NULL),(169541,NULL,0,NULL,169541,3,40817,40845,57,6064,2,1,'2024-01-30','2024-01-30',2591509.21,1,855.00,'PAGO  0004 - 003628',NULL,NULL,NULL,NULL,NULL),(169542,NULL,0,NULL,169542,3,40817,40845,57,6065,2,1,'2024-02-01','2024-02-01',385730.51,1,855.00,'PAGO  0001 - 003303',NULL,NULL,NULL,NULL,NULL),(169543,NULL,0,NULL,169543,3,40817,40845,57,6065,2,1,'2024-02-07','2024-02-07',450332.14,1,855.00,'PAGO  0004 - 003657',NULL,NULL,NULL,NULL,NULL),(169544,NULL,0,NULL,169544,3,40817,40845,57,6065,2,1,'2024-02-14','2024-02-14',220720.23,1,855.00,'PAGO  0004 - 003693',NULL,NULL,NULL,NULL,NULL),(169545,NULL,0,NULL,169545,3,40817,40845,57,6065,2,1,'2024-02-22','2024-02-22',965764.38,1,855.00,'PAGO  0004 - 003735',NULL,NULL,NULL,NULL,NULL),(169546,NULL,0,NULL,NULL,21,40817,40845,57,6065,1,1,'2024-02-23','2024-02-23',508200.00,1,855.00,'FACTURA A 0002 - 003563',NULL,NULL,NULL,NULL,NULL),(169547,NULL,0,NULL,NULL,21,40817,40845,57,6065,1,1,'2024-02-23','2024-02-23',72600.00,1,855.00,'FACTURA A 0002 - 003565',NULL,NULL,NULL,NULL,NULL),(169548,NULL,0,NULL,NULL,21,40817,40845,57,6065,1,1,'2024-02-27','2024-02-27',127050.00,1,855.00,'FACTURA A 0002 - 003569',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169549,NULL,0,NULL,NULL,21,40817,40845,57,6066,1,1,'2024-03-02','2024-03-02',1207580.00,1,855.00,'FACTURA A 0002 - 003572',NULL,NULL,NULL,NULL,NULL),(169550,NULL,0,NULL,NULL,21,40817,40845,57,6066,1,1,'2024-03-05','2024-03-05',363000.00,1,855.00,'FACTURA A 0002 - 003575',NULL,NULL,NULL,NULL,NULL),(169551,NULL,0,NULL,NULL,21,40817,40845,57,6066,1,1,'2024-03-11','2024-03-11',532400.00,1,855.00,'FACTURA A 0002 - 003580',NULL,NULL,NULL,NULL,NULL),(169552,NULL,0,NULL,NULL,21,40817,40845,57,6066,1,1,'2024-03-14','2024-03-14',121000.00,1,855.00,'FACTURA A 0002 - 003585',NULL,NULL,NULL,NULL,NULL),(169553,NULL,0,NULL,NULL,21,40817,40845,57,6066,1,1,'2024-03-16','2024-03-16',641300.00,1,855.00,'FACTURA A 0002 - 003586',NULL,NULL,NULL,NULL,NULL),(169554,NULL,0,NULL,169554,3,40817,40845,57,6066,2,1,'2024-03-19','2024-03-19',1077183.95,1,855.00,'PAGO  0004 - 003902',NULL,NULL,NULL,NULL,NULL),(169555,NULL,0,NULL,NULL,21,40817,40845,57,6066,1,1,'2024-03-22','2024-03-22',471900.00,1,855.00,'FACTURA A 0002 - 003592',NULL,NULL,NULL,NULL,NULL),(169556,NULL,0,NULL,NULL,21,40817,40845,57,6066,1,1,'2024-03-25','2024-03-25',544500.00,1,855.00,'FACTURA A 0002 - 003594',NULL,NULL,NULL,NULL,NULL),(169557,NULL,0,NULL,NULL,21,40817,40845,57,6066,1,1,'2024-03-25','2024-03-25',84700.00,1,855.00,'FACTURA A 0002 - 003595',NULL,NULL,NULL,NULL,NULL),(169558,NULL,0,NULL,NULL,21,40817,40845,57,6066,1,1,'2024-03-26','2024-03-26',290400.00,1,855.00,'FACTURA A 0002 - 003598',NULL,NULL,NULL,NULL,NULL),(169559,NULL,0,NULL,NULL,21,40817,40845,57,6066,1,1,'2024-03-27','2024-03-27',532400.00,1,855.00,'FACTURA A 0002 - 003600',NULL,NULL,NULL,NULL,NULL),(169560,NULL,0,NULL,NULL,21,40817,40845,57,6066,1,1,'2024-03-30','2024-03-30',193600.00,1,855.00,'FACTURA A 0002 - 003601',NULL,NULL,NULL,NULL,NULL),(169561,NULL,0,NULL,169561,3,40817,40845,57,6067,2,1,'2024-04-06','2024-04-06',1200318.37,1,855.00,'PAGO  0004 - 003966',NULL,NULL,NULL,NULL,NULL),(169562,NULL,0,NULL,169562,3,40817,40845,57,6067,2,1,'2024-04-12','2024-04-12',1294340.70,1,855.00,'PAGO  0004 - 004030',NULL,NULL,NULL,NULL,NULL),(169563,NULL,0,NULL,NULL,21,40817,40845,57,6067,1,1,'2024-04-17','2024-04-17',181500.00,1,855.00,'FACTURA A 0002 - 003615',NULL,NULL,NULL,NULL,NULL),(169564,NULL,0,NULL,NULL,21,40817,40845,57,6067,1,1,'2024-04-22','2024-04-22',60500.00,1,855.00,'FACTURA A 0002 - 003619',NULL,NULL,NULL,NULL,NULL),(169565,NULL,0,NULL,169565,3,40817,40845,57,6067,2,1,'2024-04-25','2024-04-25',1396168.13,1,855.00,'PAGO  0004 - 004104',NULL,NULL,NULL,NULL,NULL),(169566,NULL,0,NULL,169566,3,40817,40845,57,6067,2,1,'2024-04-25','2024-04-25',529562.30,1,855.00,'PAGO  0004 - 004105',NULL,NULL,NULL,NULL,NULL),(169567,NULL,0,NULL,169567,3,40817,40845,57,6067,2,1,'2024-04-29','2024-04-29',436787.89,1,855.00,'PAGO  0004 - 004128',NULL,NULL,NULL,NULL,NULL),(169568,NULL,0,NULL,NULL,21,40817,40845,57,6068,1,1,'2024-05-07','2024-05-07',151250.00,1,855.00,'FACTURA A 0002 - 003633',NULL,NULL,NULL,NULL,NULL),(169569,NULL,0,NULL,NULL,21,40817,40845,57,6068,1,1,'2024-05-13','2024-05-13',798600.00,1,855.00,'FACTURA A 0002 - 003638',NULL,NULL,NULL,NULL,NULL),(169570,NULL,0,NULL,NULL,21,40817,40901,57,7590,1,1,'2021-12-31','2021-12-31',5.86,1,855.00,'FACTURA A 0002 - 018537',NULL,NULL,NULL,NULL,NULL),(169571,NULL,0,NULL,NULL,21,40817,40901,57,7594,1,1,'2022-01-24','2022-01-24',3920.40,1,855.00,'FACTURA A 0002 - 018770',NULL,NULL,NULL,NULL,NULL),(169572,NULL,0,NULL,NULL,21,40817,40901,57,7594,1,1,'2022-01-27','2022-01-27',2722.50,1,855.00,'FACTURA A 0002 - 018809',NULL,NULL,NULL,NULL,NULL),(169573,NULL,0,NULL,NULL,21,40817,40901,57,7595,1,1,'2022-02-02','2022-02-02',2904.00,1,855.00,'FACTURA A 0002 - 018853',NULL,NULL,NULL,NULL,NULL),(169574,NULL,0,NULL,169574,3,40817,40901,57,7595,2,1,'2022-02-02','2022-02-02',6648.76,1,855.00,'PAGO  0004 - 000094',NULL,NULL,NULL,NULL,NULL),(169575,NULL,0,NULL,NULL,21,40817,40901,57,7595,1,1,'2022-02-10','2022-02-10',2105.40,1,855.00,'FACTURA A 0002 - 018906',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169576,NULL,0,NULL,NULL,21,40817,40901,57,7596,1,1,'2022-03-09','2022-03-09',602.58,1,855.00,'FACTURA A 0002 - 019114',NULL,NULL,NULL,NULL,NULL),(169577,NULL,0,NULL,NULL,21,40817,40901,57,7596,1,1,'2022-03-10','2022-03-10',4464.90,1,855.00,'FACTURA A 0002 - 019125',NULL,NULL,NULL,NULL,NULL),(169578,NULL,0,NULL,169578,3,40817,40901,57,7596,2,1,'2022-03-14','2022-03-14',5611.98,1,855.00,'PAGO  0004 - 000276',NULL,NULL,NULL,NULL,NULL),(169579,NULL,0,NULL,169579,3,40817,40901,57,7597,2,1,'2022-04-01','2022-04-01',4464.90,1,855.00,'PAGO  0004 - 000364',NULL,NULL,NULL,NULL,NULL),(169580,NULL,0,NULL,NULL,21,40817,40901,57,7597,1,1,'2022-04-13','2022-04-13',16649.60,1,855.00,'FACTURA A 0002 - 019423',NULL,NULL,NULL,NULL,NULL),(169581,NULL,0,NULL,NULL,21,40817,40901,57,7597,1,1,'2022-04-20','2022-04-20',2081.20,1,855.00,'FACTURA A 0002 - 019472',NULL,NULL,NULL,NULL,NULL),(169582,NULL,0,NULL,NULL,21,40817,40901,57,7598,1,1,'2022-05-12','2022-05-12',32373.55,1,855.00,'FACTURA A 0002 - 019662',NULL,NULL,NULL,NULL,NULL),(169583,NULL,0,NULL,169583,3,40817,40901,57,7598,2,1,'2022-05-13','2022-05-13',18730.80,1,855.00,'PAGO  0004 - 000563',NULL,NULL,NULL,NULL,NULL),(169584,NULL,0,NULL,NULL,21,40817,40901,57,7599,1,1,'2022-06-07','2022-06-07',8518.40,1,855.00,'FACTURA A 0002 - 019881',NULL,NULL,NULL,NULL,NULL),(169585,NULL,0,NULL,NULL,21,40817,40901,57,7599,1,1,'2022-06-13','2022-06-13',6001.60,1,855.00,'FACTURA A 0002 - 019931',NULL,NULL,NULL,NULL,NULL),(169586,NULL,0,NULL,NULL,21,40817,40901,57,7599,1,1,'2022-06-14','2022-06-14',8385.30,1,855.00,'FACTURA A 0002 - 019952',NULL,NULL,NULL,NULL,NULL),(169587,NULL,0,NULL,169587,3,40817,40901,57,7599,2,1,'2022-06-14','2022-06-14',40891.95,1,855.00,'PAGO  0004 - 000714',NULL,NULL,NULL,NULL,NULL),(169588,NULL,0,NULL,NULL,21,40817,40901,57,7600,1,1,'2022-07-08','2022-07-08',16034.92,1,855.00,'FACTURA A 0002 - 020165',NULL,NULL,NULL,NULL,NULL),(169589,NULL,0,NULL,NULL,21,40817,40901,57,7600,1,1,'2022-07-15','2022-07-15',847.00,1,855.00,'FACTURA A 0002 - 020226',NULL,NULL,NULL,NULL,NULL),(169590,NULL,0,NULL,169590,3,40817,40901,57,7600,2,1,'2022-07-15','2022-07-15',30421.82,1,855.00,'PAGO  0001 - 000778',NULL,NULL,NULL,NULL,NULL),(169591,NULL,0,NULL,NULL,21,40817,40901,57,7600,1,1,'2022-07-22','2022-07-22',23711.16,1,855.00,'FACTURA A 0002 - 020287',NULL,NULL,NULL,NULL,NULL),(169592,NULL,0,NULL,NULL,21,40817,40901,57,7600,1,1,'2022-07-27','2022-07-27',9423.48,1,855.00,'FACTURA A 0002 - 020327',NULL,NULL,NULL,NULL,NULL),(169593,NULL,0,NULL,NULL,21,40817,40901,57,7601,1,1,'2022-08-03','2022-08-03',33214.50,1,855.00,'FACTURA A 0002 - 020391',NULL,NULL,NULL,NULL,NULL),(169594,NULL,0,NULL,169594,3,40817,40901,57,7601,2,1,'2022-08-03','2022-08-03',33981.64,1,855.00,'PAGO  0004 - 000922',NULL,NULL,NULL,NULL,NULL),(169595,NULL,0,NULL,NULL,21,40817,40901,57,7601,1,1,'2022-08-17','2022-08-17',35465.10,1,855.00,'FACTURA A 0002 - 020514',NULL,NULL,NULL,NULL,NULL),(169596,NULL,0,NULL,NULL,21,40817,40901,57,7601,1,1,'2022-08-24','2022-08-24',9152.44,1,855.00,'FACTURA A 0002 - 020564',NULL,NULL,NULL,NULL,NULL),(169597,NULL,0,NULL,NULL,21,40817,40901,57,7601,1,1,'2022-08-29','2022-08-29',12668.70,1,855.00,'FACTURA A 0002 - 020600',NULL,NULL,NULL,NULL,NULL),(169598,NULL,0,NULL,169598,3,40817,40901,57,7601,2,1,'2022-08-29','2022-08-29',77832.04,1,855.00,'PAGO  0004 - 001064',NULL,NULL,NULL,NULL,NULL),(169599,NULL,0,NULL,NULL,21,40817,40901,57,7602,1,1,'2022-09-01','2022-09-01',22346.28,1,855.00,'FACTURA A 0002 - 020629',NULL,NULL,NULL,NULL,NULL),(169600,NULL,0,NULL,NULL,21,40817,40901,57,7602,1,1,'2022-09-06','2022-09-06',23153.35,1,855.00,'FACTURA A 0002 - 020669',NULL,NULL,NULL,NULL,NULL),(169601,NULL,0,NULL,NULL,21,40817,40901,57,7602,1,1,'2022-09-22','2022-09-22',2710.40,1,855.00,'FACTURA A 0002 - 020818',NULL,NULL,NULL,NULL,NULL),(169602,NULL,0,NULL,169602,3,40817,40901,57,7602,2,1,'2022-09-22','2022-09-22',58220.93,1,855.00,'PAGO  0004 - 001189',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169603,NULL,0,NULL,NULL,21,40817,40901,57,7603,1,1,'2022-10-05','2022-10-05',4210.80,1,855.00,'FACTURA A 0002 - 020955',NULL,NULL,NULL,NULL,NULL),(169604,NULL,0,NULL,NULL,21,40817,40901,57,7603,1,1,'2022-10-18','2022-10-18',10194.25,1,855.00,'FACTURA A 0002 - 021000',NULL,NULL,NULL,NULL,NULL),(169605,NULL,0,NULL,NULL,21,40817,40901,57,7603,1,1,'2022-10-18','2022-10-18',10091.40,1,855.00,'FACTURA A 0002 - 021042',NULL,NULL,NULL,NULL,NULL),(169606,NULL,0,NULL,169606,3,40817,40901,57,7603,2,1,'2022-10-22','2022-10-22',27154.25,1,855.00,'PAGO  0004 - 001323',NULL,NULL,NULL,NULL,NULL),(169607,NULL,0,NULL,NULL,21,40817,40901,57,7604,1,1,'2022-11-10','2022-11-10',6158.90,1,855.00,'FACTURA A 0002 - 021306',NULL,NULL,NULL,NULL,NULL),(169608,NULL,0,NULL,NULL,21,40817,40901,57,7604,1,1,'2022-11-18','2022-11-18',12245.20,1,855.00,'FACTURA A 0002 - 021401',NULL,NULL,NULL,NULL,NULL),(169609,NULL,0,NULL,NULL,21,40817,40901,57,7604,1,1,'2022-11-18','2022-11-18',21435.15,1,855.00,'FACTURA A 0002 - 021407',NULL,NULL,NULL,NULL,NULL),(169610,NULL,0,NULL,NULL,21,40817,40901,57,7604,1,1,'2022-11-22','2022-11-22',7163.20,1,855.00,'FACTURA A 0002 - 021421',NULL,NULL,NULL,NULL,NULL),(169611,NULL,0,NULL,NULL,21,40817,40901,57,7604,1,1,'2022-11-22','2022-11-22',14132.80,1,855.00,'FACTURA A 0002 - 021424',NULL,NULL,NULL,NULL,NULL),(169612,NULL,0,NULL,NULL,21,40817,40901,57,7604,1,1,'2022-11-23','2022-11-23',61758.40,1,855.00,'FACTURA A 0002 - 021441',NULL,NULL,NULL,NULL,NULL),(169613,NULL,0,NULL,169613,3,40817,40901,57,7604,2,1,'2022-11-23','2022-11-23',61135.25,1,855.00,'PAGO  0004 - 001444',NULL,NULL,NULL,NULL,NULL),(169614,NULL,0,NULL,NULL,21,40817,40901,57,7604,1,1,'2022-11-28','2022-11-28',5904.80,1,855.00,'FACTURA A 0002 - 021487',NULL,NULL,NULL,NULL,NULL),(169615,NULL,0,NULL,169615,3,40817,40901,57,7605,2,1,'2022-12-07','2022-12-07',67663.20,1,855.00,'PAGO  0004 - 001537',NULL,NULL,NULL,NULL,NULL),(169616,NULL,0,NULL,NULL,21,40817,40901,57,7605,1,1,'2022-12-16','2022-12-16',9801.00,1,855.00,'FACTURA A 0002 - 021621',NULL,NULL,NULL,NULL,NULL),(169617,NULL,0,NULL,NULL,21,40817,40901,57,7605,1,1,'2022-12-29','2022-12-29',2105.40,1,855.00,'FACTURA A 0002 - 021730',NULL,NULL,NULL,NULL,NULL),(169618,NULL,0,NULL,NULL,21,40817,40901,57,7609,1,1,'2023-01-05','2023-01-05',738.10,1,855.00,'FACTURA A 0002 - 021789',NULL,NULL,NULL,NULL,NULL),(169619,NULL,0,NULL,169619,3,40817,40901,57,7609,2,1,'2023-01-07','2023-01-07',12644.50,1,855.00,'PAGO  0004 - 001637',NULL,NULL,NULL,NULL,NULL),(169620,NULL,0,NULL,NULL,21,40817,40901,57,7609,1,1,'2023-01-09','2023-01-09',1219.68,1,855.00,'FACTURA A 0002 - 021817',NULL,NULL,NULL,NULL,NULL),(169621,NULL,0,NULL,NULL,21,40817,40901,57,7609,1,1,'2023-01-27','2023-01-27',9147.60,1,855.00,'FACTURA A 0002 - 022011',NULL,NULL,NULL,NULL,NULL),(169622,NULL,0,NULL,NULL,21,40817,40901,57,7610,1,1,'2023-02-06','2023-02-06',3085.50,1,855.00,'FACTURA A 0002 - 022084',NULL,NULL,NULL,NULL,NULL),(169623,NULL,0,NULL,NULL,21,40817,40901,57,7610,1,1,'2023-02-07','2023-02-07',21882.85,1,855.00,'FACTURA A 0002 - 022091',NULL,NULL,NULL,NULL,NULL),(169624,NULL,0,NULL,169624,3,40817,40901,57,7610,2,1,'2023-02-07','2023-02-07',10367.28,1,855.00,'PAGO  0004 - 001810',NULL,NULL,NULL,NULL,NULL),(169625,NULL,0,NULL,NULL,21,40817,40901,57,7610,1,1,'2023-02-09','2023-02-09',1355.20,1,855.00,'FACTURA A 0002 - 022109',NULL,NULL,NULL,NULL,NULL),(169626,NULL,0,NULL,NULL,21,40817,40901,57,7610,1,1,'2023-02-16','2023-02-16',19360.00,1,855.00,'FACTURA A 0002 - 022166',NULL,NULL,NULL,NULL,NULL),(169627,NULL,0,NULL,NULL,21,40817,40901,57,7610,1,1,'2023-02-22','2023-02-22',11132.00,1,855.00,'FACTURA A 0002 - 022193',NULL,NULL,NULL,NULL,NULL),(169628,NULL,0,NULL,NULL,21,40817,40901,57,7611,1,1,'2023-03-07','2023-03-07',8276.40,1,855.00,'FACTURA A 0002 - 022337',NULL,NULL,NULL,NULL,NULL),(169629,NULL,0,NULL,169629,3,40817,40901,57,7611,2,1,'2023-03-07','2023-03-07',56815.55,1,855.00,'PAGO  0004 - 001919',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169630,NULL,0,NULL,NULL,21,40817,40901,57,7611,1,1,'2023-03-15','2023-03-15',34364.00,1,855.00,'FACTURA A 0002 - 022423',NULL,NULL,NULL,NULL,NULL),(169631,NULL,0,NULL,NULL,21,40817,40901,57,7611,1,1,'2023-03-15','2023-03-15',22360.80,1,855.00,'FACTURA A 0002 - 022424',NULL,NULL,NULL,NULL,NULL),(169632,NULL,0,NULL,NULL,21,40817,40901,57,7611,1,1,'2023-03-17','2023-03-17',17254.60,1,855.00,'FACTURA A 0002 - 022436',NULL,NULL,NULL,NULL,NULL),(169633,NULL,0,NULL,NULL,21,40817,40901,57,7612,1,1,'2023-04-05','2023-04-05',51329.41,1,855.00,'FACTURA A 0002 - 022609',NULL,NULL,NULL,NULL,NULL),(169634,NULL,0,NULL,169634,3,40817,40901,57,7612,2,1,'2023-04-06','2023-04-06',82255.80,1,855.00,'PAGO  0004 - 002063',NULL,NULL,NULL,NULL,NULL),(169635,NULL,0,NULL,NULL,21,40817,40901,57,7612,1,1,'2023-04-19','2023-04-19',66191.84,1,855.00,'FACTURA A 0002 - 022740',NULL,NULL,NULL,NULL,NULL),(169636,NULL,0,NULL,NULL,21,40817,40901,57,7612,1,1,'2023-04-28','2023-04-28',5517.60,1,855.00,'FACTURA A 0002 - 022837',NULL,NULL,NULL,NULL,NULL),(169637,NULL,0,NULL,NULL,21,40817,40901,57,7613,1,1,'2023-05-11','2023-05-11',56494.90,1,855.00,'FACTURA A 0002 - 022985',NULL,NULL,NULL,NULL,NULL),(169638,NULL,0,NULL,169638,3,40817,40901,57,7613,2,1,'2023-05-11','2023-05-11',123038.85,1,855.00,'PAGO  0004 - 002224',NULL,NULL,NULL,NULL,NULL),(169639,NULL,0,NULL,NULL,21,40817,40901,57,7614,1,1,'2023-06-01','2023-06-01',187563.31,1,855.00,'FACTURA A 0002 - 023179',NULL,NULL,NULL,NULL,NULL),(169640,NULL,0,NULL,169640,3,40817,40901,57,7614,2,1,'2023-06-08','2023-06-08',56494.90,1,855.00,'PAGO  0004 - 002367',NULL,NULL,NULL,NULL,NULL),(169641,NULL,0,NULL,NULL,21,40817,40901,57,7614,1,1,'2023-06-13','2023-06-13',20542.17,1,855.00,'FACTURA A 0002 - 023339',NULL,NULL,NULL,NULL,NULL),(169642,NULL,0,NULL,169642,3,40817,40901,57,7614,2,1,'2023-06-27','2023-06-27',208855.89,1,855.00,'PAGO  0004 - 002472',NULL,NULL,NULL,NULL,NULL),(169643,NULL,0,NULL,NULL,21,40817,40901,57,7616,1,1,'2023-08-03','2023-08-03',39095.10,1,855.00,'FACTURA A 0002 - 023847',NULL,NULL,NULL,NULL,NULL),(169644,NULL,0,NULL,169644,3,40817,40901,57,7616,2,1,'2023-08-04','2023-08-04',38344.69,1,855.00,'PAGO  0004 - 002660',NULL,NULL,NULL,NULL,NULL),(169645,NULL,0,NULL,NULL,21,40817,40901,57,7616,1,1,'2023-08-15','2023-08-15',9196.00,1,855.00,'FACTURA A 0002 - 023965',NULL,NULL,NULL,NULL,NULL),(169646,NULL,0,NULL,NULL,21,40817,40901,57,7616,1,1,'2023-08-30','2023-08-30',88694.68,1,855.00,'FACTURA A 0002 - 024122',NULL,NULL,NULL,NULL,NULL),(169647,NULL,0,NULL,NULL,21,40817,40901,57,7616,1,1,'2023-08-30','2023-08-30',19468.90,1,855.00,'FACTURA A 0002 - 024123',NULL,NULL,NULL,NULL,NULL),(169648,NULL,0,NULL,NULL,21,40817,40901,57,7616,1,1,'2023-08-30','2023-08-30',7211.60,1,855.00,'FACTURA A 0002 - 024126',NULL,NULL,NULL,NULL,NULL),(169649,NULL,0,NULL,NULL,21,40817,40901,57,7617,1,1,'2023-09-05','2023-09-05',21571.88,1,855.00,'FACTURA A 0002 - 024173',NULL,NULL,NULL,NULL,NULL),(169650,NULL,0,NULL,NULL,21,40817,40901,57,7617,1,1,'2023-09-07','2023-09-07',600.16,1,855.00,'FACTURA A 0002 - 024206',NULL,NULL,NULL,NULL,NULL),(169651,NULL,0,NULL,169651,3,40817,40901,57,7617,2,1,'2023-09-07','2023-09-07',124571.18,1,855.00,'PAGO  0004 - 002822',NULL,NULL,NULL,NULL,NULL),(169652,NULL,0,NULL,169652,3,40817,40901,57,7617,2,1,'2023-09-13','2023-09-13',22172.04,1,855.00,'PAGO  0004 - 002875',NULL,NULL,NULL,NULL,NULL),(169653,NULL,0,NULL,NULL,21,40817,40901,57,7617,1,1,'2023-09-29','2023-09-29',2117.50,1,855.00,'FACTURA A 0002 - 024448',NULL,NULL,NULL,NULL,NULL),(169654,NULL,0,NULL,NULL,21,40817,40901,57,7620,1,1,'2023-12-07','2023-12-07',59196.80,1,855.00,'FACTURA A 0002 - 025105',NULL,NULL,NULL,NULL,NULL),(169655,NULL,0,NULL,169655,3,40817,40901,57,7620,2,1,'2023-12-12','2023-12-12',2117.50,1,855.00,'PAGO  0004 - 003357',NULL,NULL,NULL,NULL,NULL),(169656,NULL,0,NULL,169656,3,40817,40901,57,6064,2,1,'2024-01-25','2024-01-25',59196.80,1,855.00,'PAGO  0004 - 003607',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169657,NULL,0,NULL,NULL,21,40817,40901,57,6065,1,1,'2024-02-01','2024-02-01',47916.00,1,855.00,'FACTURA A 0002 - 025604',NULL,NULL,NULL,NULL,NULL),(169658,NULL,0,NULL,169658,3,40817,40901,57,6065,2,1,'2024-02-22','2024-02-22',48482.00,1,855.00,'PAGO  0004 - 003738',NULL,NULL,NULL,NULL,NULL),(169659,NULL,0,NULL,NULL,21,40817,40901,57,6066,1,1,'2024-03-04','2024-03-04',51582.30,1,855.00,'FACTURA A 0002 - 025833',NULL,NULL,NULL,NULL,NULL),(169660,NULL,0,NULL,NULL,21,40817,40901,57,6066,1,1,'2024-03-22','2024-03-22',11132.00,1,855.00,'FACTURA A 0002 - 026023',NULL,NULL,NULL,NULL,NULL),(169661,NULL,0,NULL,NULL,21,40817,40901,57,6067,1,1,'2024-04-04','2024-04-04',28314.00,1,855.00,'FACTURA A 0002 - 026109',NULL,NULL,NULL,NULL,NULL),(169662,NULL,0,NULL,169662,3,40817,40901,57,6067,2,1,'2024-04-07','2024-04-07',62148.30,1,855.00,'PAGO  0004 - 003967',NULL,NULL,NULL,NULL,NULL),(169663,NULL,0,NULL,NULL,21,40817,40901,57,6067,1,1,'2024-04-08','2024-04-08',180052.53,1,855.00,'FACTURA A 0002 - 026143',NULL,NULL,NULL,NULL,NULL),(169664,NULL,0,NULL,169664,3,40817,40901,57,6067,2,1,'2024-04-26','2024-04-26',208366.53,1,855.00,'PAGO  0004 - 004109',NULL,NULL,NULL,NULL,NULL),(169665,NULL,0,NULL,169665,3,40817,40901,57,6068,2,1,'2024-05-06','2024-05-06',322.85,1,855.00,'ANULACION COMPROBANTE COMPRAS  0004 - 000003',NULL,NULL,NULL,NULL,NULL),(169666,NULL,0,NULL,NULL,21,40817,40901,57,6068,1,1,'2024-05-06','2024-05-06',290242.14,1,855.00,'FACTURA A 0002 - 026424',NULL,NULL,NULL,NULL,NULL),(169667,NULL,0,NULL,NULL,21,40817,40901,57,6068,1,1,'2024-05-06','2024-05-06',322.85,1,855.00,'FACTURA A 0002 - 026424',NULL,NULL,NULL,NULL,NULL),(169668,NULL,0,NULL,NULL,21,40817,40901,57,6068,1,1,'2024-05-06','2024-05-06',422736.77,1,855.00,'FACTURA A 0002 - 026425',NULL,NULL,NULL,NULL,NULL),(169669,NULL,0,NULL,NULL,21,40817,40875,57,7590,1,1,'2021-12-31','2021-12-31',53845.00,1,855.00,'FACTURA A 0004 - 003566',NULL,NULL,NULL,NULL,NULL),(169670,NULL,0,NULL,NULL,21,40817,40875,57,7594,1,1,'2022-01-04','2022-01-04',39325.00,1,855.00,'FACTURA A 0004 - 003567',NULL,NULL,NULL,NULL,NULL),(169671,NULL,0,NULL,169671,3,40817,40875,57,7594,2,1,'2022-01-06','2022-01-06',53845.00,1,855.00,'PAGO  0001 - 000002',NULL,NULL,NULL,NULL,NULL),(169672,NULL,0,NULL,NULL,21,40817,40875,57,7594,1,1,'2022-01-07','2022-01-07',53845.00,1,855.00,'FACTURA A 0004 - 003568',NULL,NULL,NULL,NULL,NULL),(169673,NULL,0,NULL,169673,3,40817,40875,57,7594,2,1,'2022-01-13','2022-01-13',93170.00,1,855.00,'PAGO  0004 - 000013',NULL,NULL,NULL,NULL,NULL),(169674,NULL,0,NULL,NULL,21,40817,40875,57,7594,1,1,'2022-01-21','2022-01-21',81070.00,1,855.00,'FACTURA A 0004 - 003576',NULL,NULL,NULL,NULL,NULL),(169675,NULL,0,NULL,NULL,21,40817,40875,57,7594,1,1,'2022-01-24','2022-01-24',93825.82,1,855.00,'FACTURA A 0004 - 003577',NULL,NULL,NULL,NULL,NULL),(169676,NULL,0,NULL,169676,3,40817,40875,57,7594,2,1,'2022-01-26','2022-01-26',81070.00,1,855.00,'PAGO  0004 - 000057',NULL,NULL,NULL,NULL,NULL),(169677,NULL,0,NULL,NULL,21,40817,40875,57,7595,1,1,'2022-02-01','2022-02-01',55055.00,1,855.00,'FACTURA A 0004 - 003582',NULL,NULL,NULL,NULL,NULL),(169678,NULL,0,NULL,169678,3,40817,40875,57,7595,2,1,'2022-02-02','2022-02-02',93915.82,1,855.00,'PAGO  0004 - 000092',NULL,NULL,NULL,NULL,NULL),(169679,NULL,0,NULL,169679,3,40817,40875,57,7595,2,1,'2022-02-08','2022-02-08',54965.00,1,855.00,'PAGO  0004 - 000135',NULL,NULL,NULL,NULL,NULL),(169680,NULL,0,NULL,NULL,21,40817,40875,57,7595,1,1,'2022-02-08','2022-02-08',55055.00,1,855.00,'FACTURA A 0004 - 003584',NULL,NULL,NULL,NULL,NULL),(169681,NULL,0,NULL,169681,3,40817,40875,57,7595,2,1,'2022-02-14','2022-02-14',55055.00,1,855.00,'PAGO  0004 - 000151',NULL,NULL,NULL,NULL,NULL),(169682,NULL,0,NULL,NULL,21,40817,40875,57,7595,1,1,'2022-02-16','2022-02-16',56265.00,1,855.00,'FACTURA A 0004 - 003587',NULL,NULL,NULL,NULL,NULL),(169683,NULL,0,NULL,NULL,21,40817,40875,57,7595,1,1,'2022-02-24','2022-02-24',63765.00,1,855.00,'FACTURA A 0004 - 003593',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169684,NULL,0,NULL,169684,3,40817,40875,57,7596,2,1,'2022-03-03','2022-03-03',57612.42,1,855.00,'PAGO  0004 - 000210',NULL,NULL,NULL,NULL,NULL),(169685,NULL,0,NULL,NULL,21,40817,40875,57,7596,1,1,'2022-03-09','2022-03-09',58080.00,1,855.00,'FACTURA A 0004 - 003598',NULL,NULL,NULL,NULL,NULL),(169686,NULL,0,NULL,169686,3,40817,40875,57,7596,2,1,'2022-03-10','2022-03-10',62417.58,1,855.00,'PAGO  0004 - 000256',NULL,NULL,NULL,NULL,NULL),(169687,NULL,0,NULL,169687,3,40817,40875,57,7596,2,1,'2022-03-17','2022-03-17',58724.19,1,855.00,'PAGO  0004 - 000292',NULL,NULL,NULL,NULL,NULL),(169688,NULL,0,NULL,NULL,21,40817,40875,57,7596,1,1,'2022-03-22','2022-03-22',67699.50,1,855.00,'FACTURA A 0004 - 003607',NULL,NULL,NULL,NULL,NULL),(169689,NULL,0,NULL,NULL,21,40817,40875,57,7596,1,1,'2022-03-22','2022-03-22',86273.00,1,855.00,'FACTURA A 0004 - 003608',NULL,NULL,NULL,NULL,NULL),(169690,NULL,0,NULL,169690,3,40817,40875,57,7596,2,1,'2022-03-29','2022-03-29',67328.08,1,855.00,'PAGO  0004 - 000340',NULL,NULL,NULL,NULL,NULL),(169691,NULL,0,NULL,169691,3,40817,40875,57,7596,2,1,'2022-03-30','2022-03-30',86650.54,1,855.00,'PAGO  0004 - 000353',NULL,NULL,NULL,NULL,NULL),(169692,NULL,0,NULL,NULL,21,40817,40875,57,7597,1,1,'2022-04-01','2022-04-01',71995.00,1,855.00,'FACTURA A 0004 - 003618',NULL,NULL,NULL,NULL,NULL),(169693,NULL,0,NULL,169693,3,40817,40875,57,7597,2,1,'2022-04-11','2022-04-11',71573.42,1,855.00,'PAGO  0004 - 000411',NULL,NULL,NULL,NULL,NULL),(169694,NULL,0,NULL,NULL,21,40817,40875,57,7597,1,1,'2022-04-14','2022-04-14',61710.00,1,855.00,'FACTURA A 0004 - 003626',NULL,NULL,NULL,NULL,NULL),(169695,NULL,0,NULL,169695,3,40817,40875,57,7597,2,1,'2022-04-20','2022-04-20',61714.93,1,855.00,'PAGO  0004 - 000454',NULL,NULL,NULL,NULL,NULL),(169696,NULL,0,NULL,NULL,21,40817,40875,57,7597,1,1,'2022-04-22','2022-04-22',63525.00,1,855.00,'FACTURA A 0004 - 003627',NULL,NULL,NULL,NULL,NULL),(169697,NULL,0,NULL,169697,3,40817,40875,57,7597,2,1,'2022-04-26','2022-04-26',63291.34,1,855.00,'PAGO  0004 - 000479',NULL,NULL,NULL,NULL,NULL),(169698,NULL,0,NULL,NULL,21,40817,40875,57,7597,1,1,'2022-04-29','2022-04-29',63525.00,1,855.00,'FACTURA A 0004 - 003632',NULL,NULL,NULL,NULL,NULL),(169699,NULL,0,NULL,169699,3,40817,40875,57,7598,2,1,'2022-05-10','2022-05-10',64444.25,1,855.00,'PAGO  0004 - 000542',NULL,NULL,NULL,NULL,NULL),(169700,NULL,0,NULL,NULL,21,40817,40875,57,7598,1,1,'2022-05-13','2022-05-13',63525.00,1,855.00,'FACTURA A 0004 - 003645',NULL,NULL,NULL,NULL,NULL),(169701,NULL,0,NULL,169701,3,40817,40875,57,7598,2,1,'2022-05-19','2022-05-19',63062.69,1,855.00,'PAGO  0004 - 000596',NULL,NULL,NULL,NULL,NULL),(169702,NULL,0,NULL,NULL,21,40817,40875,57,7598,1,1,'2022-05-24','2022-05-24',67155.00,1,855.00,'FACTURA A 0004 - 003656',NULL,NULL,NULL,NULL,NULL),(169703,NULL,0,NULL,NULL,21,40817,40875,57,7598,1,1,'2022-05-31','2022-05-31',118283.55,1,855.00,'FACTURA A 0004 - 003659',NULL,NULL,NULL,NULL,NULL),(169704,NULL,0,NULL,169704,3,40817,40875,57,7598,2,1,'2022-05-31','2022-05-31',67194.25,1,855.00,'PAGO  0004 - 000637',NULL,NULL,NULL,NULL,NULL),(169705,NULL,0,NULL,NULL,21,40817,40875,57,7599,1,1,'2022-06-03','2022-06-03',71995.00,1,855.00,'FACTURA A 0004 - 003662',NULL,NULL,NULL,NULL,NULL),(169706,NULL,0,NULL,169706,3,40817,40875,57,7599,2,1,'2022-06-06','2022-06-06',117787.36,1,855.00,'PAGO  0004 - 000668',NULL,NULL,NULL,NULL,NULL),(169707,NULL,0,NULL,169707,3,40817,40875,57,7599,2,1,'2022-06-10','2022-06-10',72481.24,1,855.00,'PAGO  0004 - 000706',NULL,NULL,NULL,NULL,NULL),(169708,NULL,0,NULL,NULL,21,40817,40875,57,7599,1,1,'2022-06-15','2022-06-15',71995.00,1,855.00,'FACTURA A 0004 - 003664',NULL,NULL,NULL,NULL,NULL),(169709,NULL,0,NULL,169709,3,40817,40875,57,7599,2,1,'2022-06-21','2022-06-21',72290.72,1,855.00,'PAGO  0004 - 000733',NULL,NULL,NULL,NULL,NULL),(169710,NULL,0,NULL,NULL,21,40817,40875,57,7599,1,1,'2022-06-24','2022-06-24',71995.00,1,855.00,'FACTURA A 0004 - 003675',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169711,NULL,0,NULL,169711,3,40817,40875,57,7599,2,1,'2022-06-28','2022-06-28',71213.04,1,855.00,'PAGO  0004 - 000769',NULL,NULL,NULL,NULL,NULL),(169712,NULL,0,NULL,NULL,21,40817,40875,57,7600,1,1,'2022-07-05','2022-07-05',89963.50,1,855.00,'FACTURA A 0004 - 003682',NULL,NULL,NULL,NULL,NULL),(169713,NULL,0,NULL,169713,3,40817,40875,57,7600,2,1,'2022-07-06','2022-07-06',91095.65,1,855.00,'PAGO  0004 - 000790',NULL,NULL,NULL,NULL,NULL),(169714,NULL,0,NULL,NULL,21,40817,40875,57,7600,1,1,'2022-07-13','2022-07-13',84095.00,1,855.00,'FACTURA A 0004 - 003692',NULL,NULL,NULL,NULL,NULL),(169715,NULL,0,NULL,169715,3,40817,40875,57,7600,2,1,'2022-07-18','2022-07-18',83346.74,1,855.00,'PAGO  0004 - 000851',NULL,NULL,NULL,NULL,NULL),(169716,NULL,0,NULL,NULL,21,40817,40875,57,7600,1,1,'2022-07-22','2022-07-22',116765.00,1,855.00,'FACTURA A 0004 - 003695',NULL,NULL,NULL,NULL,NULL),(169717,NULL,0,NULL,NULL,21,40817,40875,57,7600,1,1,'2022-07-22','2022-07-22',242373.89,1,855.00,'FACTURA A 0004 - 003696',NULL,NULL,NULL,NULL,NULL),(169718,NULL,0,NULL,169718,3,40817,40875,57,7600,2,1,'2022-07-26','2022-07-26',120081.88,1,855.00,'PAGO  0004 - 000889',NULL,NULL,NULL,NULL,NULL),(169719,NULL,0,NULL,169719,3,40817,40875,57,7600,2,1,'2022-07-27','2022-07-27',153200.01,1,855.00,'PAGO  0004 - 000894',NULL,NULL,NULL,NULL,NULL),(169720,NULL,0,NULL,169720,3,40817,40875,57,7601,2,1,'2022-08-03','2022-08-03',85771.60,1,855.00,'PAGO  0004 - 000919',NULL,NULL,NULL,NULL,NULL),(169721,NULL,0,NULL,NULL,21,40817,40875,57,7601,1,1,'2022-08-08','2022-08-08',84095.00,1,855.00,'FACTURA A 0004 - 003706',NULL,NULL,NULL,NULL,NULL),(169722,NULL,0,NULL,169722,3,40817,40875,57,7601,2,1,'2022-08-10','2022-08-10',84543.00,1,855.00,'PAGO  0004 - 000982',NULL,NULL,NULL,NULL,NULL),(169723,NULL,0,NULL,NULL,21,40817,40875,57,7601,1,1,'2022-08-18','2022-08-18',89818.30,1,855.00,'FACTURA A 0004 - 003713',NULL,NULL,NULL,NULL,NULL),(169724,NULL,0,NULL,169724,3,40817,40875,57,7601,2,1,'2022-08-22','2022-08-22',89071.81,1,855.00,'PAGO  0004 - 001039',NULL,NULL,NULL,NULL,NULL),(169725,NULL,0,NULL,NULL,21,40817,40875,57,7601,1,1,'2022-08-26','2022-08-26',89818.30,1,855.00,'FACTURA A 0004 - 003714',NULL,NULL,NULL,NULL,NULL),(169726,NULL,0,NULL,169726,3,40817,40875,57,7601,2,1,'2022-08-30','2022-08-30',89818.30,1,855.00,'PAGO  0004 - 001081',NULL,NULL,NULL,NULL,NULL),(169727,NULL,0,NULL,NULL,21,40817,40875,57,7602,1,1,'2022-09-07','2022-09-07',89818.30,1,855.00,'FACTURA A 0004 - 003717',NULL,NULL,NULL,NULL,NULL),(169728,NULL,0,NULL,169728,3,40817,40875,57,7602,2,1,'2022-09-12','2022-09-12',89843.99,1,855.00,'PAGO  0004 - 001132',NULL,NULL,NULL,NULL,NULL),(169729,NULL,0,NULL,NULL,21,40817,40875,57,7602,1,1,'2022-09-19','2022-09-19',91536.50,1,855.00,'FACTURA A 0004 - 003727',NULL,NULL,NULL,NULL,NULL),(169730,NULL,0,NULL,169730,3,40817,40875,57,7602,2,1,'2022-09-21','2022-09-21',91510.81,1,855.00,'PAGO  0004 - 001180',NULL,NULL,NULL,NULL,NULL),(169731,NULL,0,NULL,NULL,21,40817,40875,57,7602,1,1,'2022-09-30','2022-09-30',133584.00,1,855.00,'FACTURA A 0004 - 003729',NULL,NULL,NULL,NULL,NULL),(169732,NULL,0,NULL,169732,3,40817,40875,57,7603,2,1,'2022-10-06','2022-10-06',133720.26,1,855.00,'PAGO  0004 - 001259',NULL,NULL,NULL,NULL,NULL),(169733,NULL,0,NULL,NULL,21,40817,40875,57,7603,1,1,'2022-10-14','2022-10-14',99341.00,1,855.00,'FACTURA A 0004 - 003738',NULL,NULL,NULL,NULL,NULL),(169734,NULL,0,NULL,169734,3,40817,40875,57,7603,2,1,'2022-10-21','2022-10-21',99262.62,1,855.00,'PAGO  0004 - 001315',NULL,NULL,NULL,NULL,NULL),(169735,NULL,0,NULL,NULL,21,40817,40875,57,7603,1,1,'2022-10-25','2022-10-25',99704.00,1,855.00,'FACTURA A 0004 - 003744',NULL,NULL,NULL,NULL,NULL),(169736,NULL,0,NULL,169736,3,40817,40875,57,7603,2,1,'2022-10-28','2022-10-28',99768.01,1,855.00,'PAGO  0004 - 001357',NULL,NULL,NULL,NULL,NULL),(169737,NULL,0,NULL,NULL,21,40817,40875,57,7604,1,1,'2022-11-02','2022-11-02',102729.00,1,855.00,'FACTURA A 0004 - 003747',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169738,NULL,0,NULL,169738,3,40817,40875,57,7604,2,1,'2022-11-04','2022-11-04',103457.00,1,855.00,'PAGO  0004 - 001373',NULL,NULL,NULL,NULL,NULL),(169739,NULL,0,NULL,NULL,21,40817,40875,57,7604,1,1,'2022-11-10','2022-11-10',102729.00,1,855.00,'FACTURA A 0004 - 003752',NULL,NULL,NULL,NULL,NULL),(169740,NULL,0,NULL,NULL,21,40817,40875,57,7604,1,1,'2022-11-16','2022-11-16',106964.00,1,855.00,'FACTURA A 0004 - 003759',NULL,NULL,NULL,NULL,NULL),(169741,NULL,0,NULL,169741,3,40817,40875,57,7604,2,1,'2022-11-17','2022-11-17',209734.27,1,855.00,'PAGO  0004 - 001429',NULL,NULL,NULL,NULL,NULL),(169742,NULL,0,NULL,169742,3,40817,40875,57,7604,2,1,'2022-11-25','2022-11-25',121995.77,1,855.00,'PAGO  0004 - 001475',NULL,NULL,NULL,NULL,NULL),(169743,NULL,0,NULL,NULL,21,40817,40875,57,7604,1,1,'2022-11-25','2022-11-25',122645.60,1,855.00,'FACTURA A 0004 - 003766',NULL,NULL,NULL,NULL,NULL),(169744,NULL,0,NULL,NULL,21,40817,40875,57,7605,1,1,'2022-12-01','2022-12-01',117043.30,1,855.00,'FACTURA A 0004 - 003768',NULL,NULL,NULL,NULL,NULL),(169745,NULL,0,NULL,169745,3,40817,40875,57,7605,2,1,'2022-12-02','2022-12-02',116801.97,1,855.00,'PAGO  0004 - 001500',NULL,NULL,NULL,NULL,NULL),(169746,NULL,0,NULL,NULL,21,40817,40875,57,7605,1,1,'2022-12-06','2022-12-06',193240.02,1,855.00,'FACTURA A 0004 - 003769',NULL,NULL,NULL,NULL,NULL),(169747,NULL,0,NULL,NULL,21,40817,40875,57,7605,1,1,'2022-12-12','2022-12-12',117043.30,1,855.00,'FACTURA A 0004 - 003771',NULL,NULL,NULL,NULL,NULL),(169748,NULL,0,NULL,169748,3,40817,40875,57,7605,2,1,'2022-12-14','2022-12-14',193240.02,1,855.00,'PAGO  0004 - 001561',NULL,NULL,NULL,NULL,NULL),(169749,NULL,0,NULL,169749,3,40817,40875,57,7605,2,1,'2022-12-22','2022-12-22',121847.70,1,855.00,'PAGO  0004 - 001588',NULL,NULL,NULL,NULL,NULL),(169750,NULL,0,NULL,NULL,21,40817,40875,57,7605,1,1,'2022-12-23','2022-12-23',121423.50,1,855.00,'FACTURA A 0004 - 003773',NULL,NULL,NULL,NULL,NULL),(169751,NULL,0,NULL,169751,3,40817,40875,57,7605,2,1,'2022-12-27','2022-12-27',117407.92,1,855.00,'PAGO  0004 - 001598',NULL,NULL,NULL,NULL,NULL),(169752,NULL,0,NULL,NULL,21,40817,40875,57,7605,1,1,'2022-12-30','2022-12-30',121423.50,1,855.00,'FACTURA A 0004 - 003774',NULL,NULL,NULL,NULL,NULL),(169753,NULL,0,NULL,169753,3,40817,40875,57,7609,2,1,'2023-01-04','2023-01-04',121902.00,1,855.00,'PAGO  0004 - 001631',NULL,NULL,NULL,NULL,NULL),(169754,NULL,0,NULL,NULL,21,40817,40875,57,7609,1,1,'2023-01-10','2023-01-10',30057.00,1,855.00,'NOTA DE DEBITO A 0004 - 000029',NULL,NULL,NULL,NULL,NULL),(169755,NULL,0,NULL,NULL,21,40817,40875,57,7609,1,1,'2023-01-11','2023-01-11',127655.00,1,855.00,'FACTURA A 0004 - 003779',NULL,NULL,NULL,NULL,NULL),(169756,NULL,0,NULL,169756,3,40817,40875,57,7609,2,1,'2023-01-13','2023-01-13',156896.03,1,855.00,'PAGO  0004 - 001709',NULL,NULL,NULL,NULL,NULL),(169757,NULL,0,NULL,NULL,21,40817,40875,57,7609,1,1,'2023-01-20','2023-01-20',126566.00,1,855.00,'FACTURA A 0004 - 003782',NULL,NULL,NULL,NULL,NULL),(169758,NULL,0,NULL,169758,3,40817,40875,57,7609,2,1,'2023-01-25','2023-01-25',126668.10,1,855.00,'PAGO  0004 - 001756',NULL,NULL,NULL,NULL,NULL),(169759,NULL,0,NULL,NULL,21,40817,40875,57,7610,1,1,'2023-02-01','2023-02-01',130680.00,1,855.00,'FACTURA A 0004 - 003784',NULL,NULL,NULL,NULL,NULL),(169760,NULL,0,NULL,169760,3,40817,40875,57,7610,2,1,'2023-02-07','2023-02-07',130126.55,1,855.00,'PAGO  0004 - 001799',NULL,NULL,NULL,NULL,NULL),(169761,NULL,0,NULL,NULL,21,40817,40875,57,7610,1,1,'2023-02-14','2023-02-14',144716.00,1,855.00,'FACTURA A 0004 - 003790',NULL,NULL,NULL,NULL,NULL),(169762,NULL,0,NULL,NULL,21,40817,40875,57,7610,1,1,'2023-02-15','2023-02-15',245297.25,1,855.00,'FACTURA A 0004 - 003791',NULL,NULL,NULL,NULL,NULL),(169763,NULL,0,NULL,169763,3,40817,40875,57,7610,2,1,'2023-02-17','2023-02-17',391223.84,1,855.00,'PAGO  0004 - 001852',NULL,NULL,NULL,NULL,NULL),(169764,NULL,0,NULL,NULL,21,40817,40875,57,7610,1,1,'2023-02-27','2023-02-27',149132.50,1,855.00,'FACTURA A 0004 - 003798',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169765,NULL,0,NULL,NULL,21,40817,40875,57,7610,1,1,'2023-02-27','2023-02-27',39567.00,1,855.00,'FACTURA A 0004 - 003799',NULL,NULL,NULL,NULL,NULL),(169766,NULL,0,NULL,NULL,21,40817,40875,57,7611,1,1,'2023-03-02','2023-03-02',149132.50,1,855.00,'FACTURA A 0004 - 003802',NULL,NULL,NULL,NULL,NULL),(169767,NULL,0,NULL,169767,3,40817,40875,57,7611,2,1,'2023-03-06','2023-03-06',187749.67,1,855.00,'PAGO  0004 - 001890',NULL,NULL,NULL,NULL,NULL),(169768,NULL,0,NULL,169768,3,40817,40875,57,7611,2,1,'2023-03-08','2023-03-08',149144.90,1,855.00,'PAGO  0004 - 001930',NULL,NULL,NULL,NULL,NULL),(169769,NULL,0,NULL,NULL,21,40817,40875,57,7611,1,1,'2023-03-13','2023-03-13',149132.50,1,855.00,'FACTURA A 0004 - 003806',NULL,NULL,NULL,NULL,NULL),(169770,NULL,0,NULL,169770,3,40817,40875,57,7611,2,1,'2023-03-15','2023-03-15',148859.34,1,855.00,'PAGO  0004 - 001952',NULL,NULL,NULL,NULL,NULL),(169771,NULL,0,NULL,NULL,21,40817,40875,57,7611,1,1,'2023-03-20','2023-03-20',232078.00,1,855.00,'FACTURA A 0004 - 003812',NULL,NULL,NULL,NULL,NULL),(169772,NULL,0,NULL,169772,3,40817,40875,57,7611,2,1,'2023-03-21','2023-03-21',232078.00,1,855.00,'PAGO  0004 - 001989',NULL,NULL,NULL,NULL,NULL),(169773,NULL,0,NULL,NULL,21,40817,40875,57,7611,1,1,'2023-03-27','2023-03-27',159720.00,1,855.00,'FACTURA A 0004 - 003815',NULL,NULL,NULL,NULL,NULL),(169774,NULL,0,NULL,169774,3,40817,40875,57,7611,2,1,'2023-03-28','2023-03-28',160501.91,1,855.00,'PAGO  0004 - 002022',NULL,NULL,NULL,NULL,NULL),(169775,NULL,0,NULL,NULL,21,40817,40875,57,7612,1,1,'2023-04-04','2023-04-04',173030.00,1,855.00,'FACTURA A 0004 - 003818',NULL,NULL,NULL,NULL,NULL),(169776,NULL,0,NULL,NULL,21,40817,40875,57,7612,1,1,'2023-04-11','2023-04-11',281688.00,1,855.00,'FACTURA A 0004 - 003824',NULL,NULL,NULL,NULL,NULL),(169777,NULL,0,NULL,NULL,21,40817,40875,57,7612,1,1,'2023-04-11','2023-04-11',173030.00,1,855.00,'FACTURA A 0004 - 003825',NULL,NULL,NULL,NULL,NULL),(169778,NULL,0,NULL,169778,3,40817,40875,57,7612,2,1,'2023-04-12','2023-04-12',172778.05,1,855.00,'PAGO  0004 - 002079',NULL,NULL,NULL,NULL,NULL),(169779,NULL,0,NULL,169779,3,40817,40875,57,7612,2,1,'2023-04-14','2023-04-14',454188.04,1,855.00,'PAGO  0004 - 002105',NULL,NULL,NULL,NULL,NULL),(169780,NULL,0,NULL,169780,3,40817,40875,57,7613,2,1,'2023-05-04','2023-05-04',208046.11,1,855.00,'PAGO  0004 - 002194',NULL,NULL,NULL,NULL,NULL),(169781,NULL,0,NULL,NULL,21,40817,40875,57,7613,1,1,'2023-05-23','2023-05-23',380000.00,1,855.00,'FACTURA A 0004 - 003832',NULL,NULL,NULL,NULL,NULL),(169782,NULL,0,NULL,NULL,21,40817,40875,57,7613,1,1,'2023-05-23','2023-05-23',212000.00,1,855.00,'FACTURA A 0004 - 003833',NULL,NULL,NULL,NULL,NULL),(169783,NULL,0,NULL,169783,3,40817,40875,57,7613,2,1,'2023-05-24','2023-05-24',383953.89,1,855.00,'PAGO  0004 - 002314',NULL,NULL,NULL,NULL,NULL),(169784,NULL,0,NULL,NULL,21,40817,40875,57,7614,1,1,'2023-06-01','2023-06-01',549733.25,1,855.00,'FACTURA A 0004 - 003848',NULL,NULL,NULL,NULL,NULL),(169785,NULL,0,NULL,169785,3,40817,40875,57,7614,2,1,'2023-06-06','2023-06-06',551754.93,1,855.00,'PAGO  0004 - 002355',NULL,NULL,NULL,NULL,NULL),(169786,NULL,0,NULL,NULL,21,40817,40875,57,7614,1,1,'2023-06-09','2023-06-09',232683.00,1,855.00,'FACTURA A 0004 - 003853',NULL,NULL,NULL,NULL,NULL),(169787,NULL,0,NULL,169787,3,40817,40875,57,7614,2,1,'2023-06-14','2023-06-14',234830.21,1,855.00,'PAGO  0004 - 002421',NULL,NULL,NULL,NULL,NULL),(169788,NULL,0,NULL,169788,3,40817,40875,57,7614,2,1,'2023-06-14','2023-06-14',234830.21,1,855.00,'PAGO  0001 - 002292',NULL,NULL,NULL,NULL,NULL),(169789,NULL,0,NULL,NULL,21,40817,40875,57,7614,1,1,'2023-06-14','2023-06-14',234830.21,1,855.00,'ANULACION DE PAGOS  0001 - 000127',NULL,NULL,NULL,NULL,NULL),(169790,NULL,0,NULL,NULL,21,40817,40875,57,7614,1,1,'2023-06-16','2023-06-16',232683.00,1,855.00,'FACTURA A 0004 - 003862',NULL,NULL,NULL,NULL,NULL),(169791,NULL,0,NULL,169791,3,40817,40875,57,7614,2,1,'2023-06-23','2023-06-23',229440.96,1,855.00,'PAGO  0004 - 002454',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169792,NULL,0,NULL,NULL,21,40817,40875,57,7614,1,1,'2023-06-23','2023-06-23',229440.96,1,855.00,'ANULACION DE PAGOS  0001 - 000128',NULL,NULL,NULL,NULL,NULL),(169793,NULL,0,NULL,169793,3,40817,40875,57,7614,2,1,'2023-06-23','2023-06-23',229440.96,1,855.00,'PAGO  0001 - 002293',NULL,NULL,NULL,NULL,NULL),(169794,NULL,0,NULL,NULL,21,40817,40875,57,7614,1,1,'2023-06-27','2023-06-27',232683.00,1,855.00,'FACTURA A 0004 - 003865',NULL,NULL,NULL,NULL,NULL),(169795,NULL,0,NULL,169795,3,40817,40875,57,7614,2,1,'2023-06-29','2023-06-29',233411.44,1,855.00,'PAGO  0004 - 002492',NULL,NULL,NULL,NULL,NULL),(169796,NULL,0,NULL,NULL,21,40817,40875,57,7615,1,1,'2023-07-05','2023-07-05',332750.00,1,855.00,'FACTURA A 0004 - 003866',NULL,NULL,NULL,NULL,NULL),(169797,NULL,0,NULL,169797,3,40817,40875,57,7615,2,1,'2023-07-12','2023-07-12',333111.84,1,855.00,'PAGO  0004 - 002552',NULL,NULL,NULL,NULL,NULL),(169798,NULL,0,NULL,NULL,21,40817,40875,57,7615,1,1,'2023-07-14','2023-07-14',250470.00,1,855.00,'FACTURA A 0004 - 003872',NULL,NULL,NULL,NULL,NULL),(169799,NULL,0,NULL,NULL,21,40817,40875,57,7615,1,1,'2023-07-14','2023-07-14',399300.00,1,855.00,'FACTURA A 0004 - 003873',NULL,NULL,NULL,NULL,NULL),(169800,NULL,0,NULL,169800,3,40817,40875,57,7615,2,1,'2023-07-19','2023-07-19',648170.68,1,855.00,'PAGO  0004 - 002583',NULL,NULL,NULL,NULL,NULL),(169801,NULL,0,NULL,NULL,21,40817,40875,57,7615,1,1,'2023-07-21','2023-07-21',332750.00,1,855.00,'FACTURA A 0004 - 003876',NULL,NULL,NULL,NULL,NULL),(169802,NULL,0,NULL,169802,3,40817,40875,57,7615,2,1,'2023-07-26','2023-07-26',335934.03,1,855.00,'PAGO  0004 - 002613',NULL,NULL,NULL,NULL,NULL),(169803,NULL,0,NULL,NULL,21,40817,40875,57,7615,1,1,'2023-07-28','2023-07-28',278300.00,1,855.00,'FACTURA A 0004 - 003877',NULL,NULL,NULL,NULL,NULL),(169804,NULL,0,NULL,169804,3,40817,40875,57,7616,2,1,'2023-08-01','2023-08-01',275447.12,1,855.00,'PAGO  0004 - 002645',NULL,NULL,NULL,NULL,NULL),(169805,NULL,0,NULL,NULL,21,40817,40875,57,7616,1,1,'2023-08-04','2023-08-04',287980.00,1,855.00,'FACTURA A 0004 - 003879',NULL,NULL,NULL,NULL,NULL),(169806,NULL,0,NULL,169806,3,40817,40875,57,7616,2,1,'2023-08-09','2023-08-09',287355.85,1,855.00,'PAGO  0004 - 002704',NULL,NULL,NULL,NULL,NULL),(169807,NULL,0,NULL,NULL,21,40817,40875,57,7616,1,1,'2023-08-11','2023-08-11',297660.00,1,855.00,'FACTURA A 0004 - 003886',NULL,NULL,NULL,NULL,NULL),(169808,NULL,0,NULL,169808,3,40817,40875,57,7616,2,1,'2023-08-16','2023-08-16',297880.04,1,855.00,'PAGO  0004 - 002740',NULL,NULL,NULL,NULL,NULL),(169809,NULL,0,NULL,NULL,21,40817,40875,57,7616,1,1,'2023-08-18','2023-08-18',297660.00,1,855.00,'FACTURA A 0004 - 003888',NULL,NULL,NULL,NULL,NULL),(169810,NULL,0,NULL,NULL,21,40817,40875,57,7616,1,1,'2023-08-22','2023-08-22',471900.00,1,855.00,'FACTURA A 0004 - 003889',NULL,NULL,NULL,NULL,NULL),(169811,NULL,0,NULL,169811,3,40817,40875,57,7616,2,1,'2023-08-24','2023-08-24',475074.61,1,855.00,'PAGO  0004 - 002766',NULL,NULL,NULL,NULL,NULL),(169812,NULL,0,NULL,169812,3,40817,40875,57,7616,2,1,'2023-08-25','2023-08-25',295424.55,1,855.00,'PAGO  0004 - 002773',NULL,NULL,NULL,NULL,NULL),(169813,NULL,0,NULL,NULL,21,40817,40875,57,7616,1,1,'2023-08-25','2023-08-25',315810.00,1,855.00,'FACTURA A 0004 - 003891',NULL,NULL,NULL,NULL,NULL),(169814,NULL,0,NULL,NULL,21,40817,40875,57,7616,1,1,'2023-08-31','2023-08-31',350900.00,1,855.00,'FACTURA A 0004 - 003894',NULL,NULL,NULL,NULL,NULL),(169815,NULL,0,NULL,169815,3,40817,40875,57,7616,2,1,'2023-08-31','2023-08-31',316916.74,1,855.00,'PAGO  0004 - 002795',NULL,NULL,NULL,NULL,NULL),(169816,NULL,0,NULL,169816,3,40817,40875,57,7617,2,1,'2023-09-06','2023-09-06',349898.92,1,855.00,'PAGO  0004 - 002816',NULL,NULL,NULL,NULL,NULL),(169817,NULL,0,NULL,NULL,21,40817,40875,57,7617,1,1,'2023-09-08','2023-09-08',315810.00,1,855.00,'FACTURA A 0004 - 003902',NULL,NULL,NULL,NULL,NULL),(169818,NULL,0,NULL,NULL,21,40817,40875,57,7617,1,1,'2023-09-14','2023-09-14',345545.75,1,855.00,'FACTURA A 0004 - 003906',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169819,NULL,0,NULL,169819,3,40817,40875,57,7617,2,1,'2023-09-14','2023-09-14',316099.39,1,855.00,'PAGO  0004 - 002891',NULL,NULL,NULL,NULL,NULL),(169820,NULL,0,NULL,169820,3,40817,40875,57,7617,2,1,'2023-09-19','2023-09-19',344027.96,1,855.00,'PAGO  0004 - 002921',NULL,NULL,NULL,NULL,NULL),(169821,NULL,0,NULL,NULL,21,40817,40875,57,7617,1,1,'2023-09-21','2023-09-21',315810.00,1,855.00,'FACTURA A 0004 - 003911',NULL,NULL,NULL,NULL,NULL),(169822,NULL,0,NULL,169822,3,40817,40875,57,7617,2,1,'2023-09-27','2023-09-27',317259.40,1,855.00,'PAGO  0004 - 002960',NULL,NULL,NULL,NULL,NULL),(169823,NULL,0,NULL,NULL,21,40817,40875,57,7617,1,1,'2023-09-28','2023-09-28',332750.00,1,855.00,'FACTURA A 0004 - 003913',NULL,NULL,NULL,NULL,NULL),(169824,NULL,0,NULL,169824,3,40817,40875,57,7618,2,1,'2023-10-04','2023-10-04',334374.74,1,855.00,'PAGO  0004 - 002991',NULL,NULL,NULL,NULL,NULL),(169825,NULL,0,NULL,NULL,21,40817,40875,57,7618,1,1,'2023-10-05','2023-10-05',348480.00,1,855.00,'FACTURA A 0004 - 003923',NULL,NULL,NULL,NULL,NULL),(169826,NULL,0,NULL,NULL,21,40817,40875,57,7618,1,1,'2023-10-11','2023-10-11',348480.00,1,855.00,'FACTURA A 0004 - 003926',NULL,NULL,NULL,NULL,NULL),(169827,NULL,0,NULL,169827,3,40817,40875,57,7618,2,1,'2023-10-11','2023-10-11',348012.91,1,855.00,'PAGO  0004 - 003013',NULL,NULL,NULL,NULL,NULL),(169828,NULL,0,NULL,169828,3,40817,40875,57,7618,2,1,'2023-10-17','2023-10-17',346212.95,1,855.00,'PAGO  0004 - 003054',NULL,NULL,NULL,NULL,NULL),(169829,NULL,0,NULL,NULL,21,40817,40875,57,7618,1,1,'2023-10-17','2023-10-17',583583.00,1,855.00,'FACTURA A 0004 - 003928',NULL,NULL,NULL,NULL,NULL),(169830,NULL,0,NULL,169830,3,40817,40875,57,7618,2,1,'2023-10-18','2023-10-18',583702.30,1,855.00,'PAGO  0004 - 003066',NULL,NULL,NULL,NULL,NULL),(169831,NULL,0,NULL,NULL,21,40817,40875,57,7618,1,1,'2023-10-19','2023-10-19',370000.00,1,855.00,'FACTURA A 0004 - 003930',NULL,NULL,NULL,NULL,NULL),(169832,NULL,0,NULL,NULL,21,40817,40875,57,7618,1,1,'2023-10-25','2023-10-25',493000.00,1,855.00,'FACTURA A 0004 - 003932',NULL,NULL,NULL,NULL,NULL),(169833,NULL,0,NULL,169833,3,40817,40875,57,7618,2,1,'2023-10-25','2023-10-25',376075.80,1,855.00,'PAGO  0004 - 003100',NULL,NULL,NULL,NULL,NULL),(169834,NULL,0,NULL,169834,3,40817,40875,57,7619,2,1,'2023-11-01','2023-11-01',486303.63,1,855.00,'PAGO  0004 - 003130',NULL,NULL,NULL,NULL,NULL),(169835,NULL,0,NULL,NULL,21,40817,40875,57,7619,1,1,'2023-11-02','2023-11-02',403000.00,1,855.00,'FACTURA A 0004 - 003936',NULL,NULL,NULL,NULL,NULL),(169836,NULL,0,NULL,169836,3,40817,40875,57,7619,2,1,'2023-11-09','2023-11-09',406753.70,1,855.00,'PAGO  0004 - 003186',NULL,NULL,NULL,NULL,NULL),(169837,NULL,0,NULL,NULL,21,40817,40875,57,7619,1,1,'2023-11-10','2023-11-10',370000.00,1,855.00,'FACTURA A 0004 - 003939',NULL,NULL,NULL,NULL,NULL),(169838,NULL,0,NULL,NULL,21,40817,40875,57,7619,1,1,'2023-11-14','2023-11-14',673244.00,1,855.00,'FACTURA A 0004 - 003941',NULL,NULL,NULL,NULL,NULL),(169839,NULL,0,NULL,169839,3,40817,40875,57,7619,2,1,'2023-11-16','2023-11-16',369210.51,1,855.00,'PAGO  0004 - 003230',NULL,NULL,NULL,NULL,NULL),(169840,NULL,0,NULL,NULL,21,40817,40875,57,7619,1,1,'2023-11-17','2023-11-17',370000.00,1,855.00,'FACTURA A 0004 - 003945',NULL,NULL,NULL,NULL,NULL),(169841,NULL,0,NULL,NULL,21,40817,40875,57,7619,1,1,'2023-11-22','2023-11-22',370000.00,1,855.00,'FACTURA A 0004 - 003949',NULL,NULL,NULL,NULL,NULL),(169842,NULL,0,NULL,169842,3,40817,40875,57,7619,2,1,'2023-11-23','2023-11-23',1042284.95,1,855.00,'PAGO  0004 - 003259',NULL,NULL,NULL,NULL,NULL),(169843,NULL,0,NULL,169843,3,40817,40875,57,7619,2,1,'2023-11-30','2023-11-30',372237.91,1,855.00,'PAGO  0004 - 003284',NULL,NULL,NULL,NULL,NULL),(169844,NULL,0,NULL,169844,3,40817,40875,57,7619,2,1,'2023-11-30','2023-11-30',883953.40,1,855.00,'PAGO  0004 - 003292',NULL,NULL,NULL,NULL,NULL),(169845,NULL,0,NULL,NULL,21,40817,40875,57,7619,1,1,'2023-11-30','2023-11-30',370000.00,1,855.00,'FACTURA A 0004 - 003952',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169846,NULL,0,NULL,NULL,21,40817,40875,57,7619,1,1,'2023-11-30','2023-11-30',883953.40,1,855.00,'FACTURA A 0004 - 003953',NULL,NULL,NULL,NULL,NULL),(169847,NULL,0,NULL,NULL,21,40817,40875,57,7619,1,1,'2023-11-30','2023-11-30',883953.40,1,855.00,'ANULACION DE PAGOS  0004 - 000003',NULL,NULL,NULL,NULL,NULL),(169848,NULL,0,NULL,169848,3,40817,40875,57,7620,2,1,'2023-12-04','2023-12-04',368054.21,1,855.00,'PAGO  0004 - 003301',NULL,NULL,NULL,NULL,NULL),(169849,NULL,0,NULL,169849,3,40817,40875,57,7620,2,1,'2023-12-05','2023-12-05',883953.40,1,855.00,'PAGO  0004 - 003316',NULL,NULL,NULL,NULL,NULL),(169850,NULL,0,NULL,NULL,21,40817,40875,57,7620,1,1,'2023-12-07','2023-12-07',420000.00,1,855.00,'FACTURA A 0004 - 003956',NULL,NULL,NULL,NULL,NULL),(169851,NULL,0,NULL,169851,3,40817,40875,57,7620,2,1,'2023-12-13','2023-12-13',421022.84,1,855.00,'PAGO  0004 - 003366',NULL,NULL,NULL,NULL,NULL),(169852,NULL,0,NULL,NULL,21,40817,40875,57,7620,1,1,'2023-12-14','2023-12-14',440000.00,1,855.00,'FACTURA A 0004 - 003959',NULL,NULL,NULL,NULL,NULL),(169853,NULL,0,NULL,169853,3,40817,40875,57,7620,2,1,'2023-12-19','2023-12-19',441143.82,1,855.00,'PAGO  0004 - 003411',NULL,NULL,NULL,NULL,NULL),(169854,NULL,0,NULL,NULL,21,40817,40875,57,7620,1,1,'2023-12-20','2023-12-20',510000.01,1,855.00,'FACTURA A 0004 - 003961',NULL,NULL,NULL,NULL,NULL),(169855,NULL,0,NULL,169855,3,40817,40875,57,7620,2,1,'2023-12-26','2023-12-26',505536.07,1,855.00,'PAGO  0004 - 003447',NULL,NULL,NULL,NULL,NULL),(169856,NULL,0,NULL,NULL,21,40817,40875,57,7620,1,1,'2023-12-28','2023-12-28',535000.00,1,855.00,'FACTURA A 0004 - 003963',NULL,NULL,NULL,NULL,NULL),(169857,NULL,0,NULL,NULL,21,40817,40875,57,6064,1,1,'2024-01-04','2024-01-04',535000.00,1,855.00,'FACTURA A 0004 - 003965',NULL,NULL,NULL,NULL,NULL),(169858,NULL,0,NULL,169858,3,40817,40875,57,6064,2,1,'2024-01-04','2024-01-04',576010.84,1,855.00,'PAGO  0004 - 003487',NULL,NULL,NULL,NULL,NULL),(169859,NULL,0,NULL,NULL,21,40817,40875,57,6064,1,1,'2024-01-05','2024-01-05',218000.00,1,855.00,'FACTURA A 0004 - 003966',NULL,NULL,NULL,NULL,NULL),(169860,NULL,0,NULL,169860,3,40817,40875,57,6064,2,1,'2024-01-09','2024-01-09',712283.02,1,855.00,'PAGO  0004 - 003510',NULL,NULL,NULL,NULL,NULL),(169861,NULL,0,NULL,NULL,21,40817,40875,57,6064,1,1,'2024-01-11','2024-01-11',535000.00,1,855.00,'FACTURA A 0004 - 003968',NULL,NULL,NULL,NULL,NULL),(169862,NULL,0,NULL,169862,3,40817,40875,57,6064,2,1,'2024-01-17','2024-01-17',534706.14,1,855.00,'PAGO  0004 - 003564',NULL,NULL,NULL,NULL,NULL),(169863,NULL,0,NULL,NULL,21,40817,40875,57,6064,1,1,'2024-01-18','2024-01-18',535000.00,1,855.00,'FACTURA A 0004 - 003970',NULL,NULL,NULL,NULL,NULL),(169864,NULL,0,NULL,169864,3,40817,40875,57,6064,2,1,'2024-01-24','2024-01-24',535000.00,1,855.00,'PAGO  0004 - 003602',NULL,NULL,NULL,NULL,NULL),(169865,NULL,0,NULL,NULL,21,40817,40875,57,6064,1,1,'2024-01-26','2024-01-26',635000.00,1,855.00,'FACTURA A 0004 - 003971',NULL,NULL,NULL,NULL,NULL),(169866,NULL,0,NULL,169866,3,40817,40875,57,6064,2,1,'2024-01-31','2024-01-31',638446.49,1,855.00,'PAGO  0004 - 003635',NULL,NULL,NULL,NULL,NULL),(169867,NULL,0,NULL,NULL,21,40817,40875,57,6065,1,1,'2024-02-01','2024-02-01',633000.00,1,855.00,'FACTURA A 0004 - 003978',NULL,NULL,NULL,NULL,NULL),(169868,NULL,0,NULL,NULL,21,40817,40875,57,6065,1,1,'2024-02-05','2024-02-05',992059.64,1,855.00,'FACTURA A 0004 - 003980',NULL,NULL,NULL,NULL,NULL),(169869,NULL,0,NULL,169869,3,40817,40875,57,6065,2,1,'2024-02-07','2024-02-07',1621613.15,1,855.00,'PAGO  0004 - 003665',NULL,NULL,NULL,NULL,NULL),(169870,NULL,0,NULL,NULL,21,40817,40875,57,6065,1,1,'2024-02-09','2024-02-09',633000.00,1,855.00,'FACTURA A 0004 - 003981',NULL,NULL,NULL,NULL,NULL),(169871,NULL,0,NULL,NULL,21,40817,40875,57,6065,1,1,'2024-02-15','2024-02-15',633000.00,1,855.00,'FACTURA A 0004 - 003982',NULL,NULL,NULL,NULL,NULL),(169872,NULL,0,NULL,169872,3,40817,40875,57,6065,2,1,'2024-02-15','2024-02-15',640085.18,1,855.00,'PAGO  0004 - 003701',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169873,NULL,0,NULL,NULL,21,40817,40875,57,6065,1,1,'2024-02-21','2024-02-21',34604.28,1,855.00,'NOTA DE DEBITO A 0004 - 000031',NULL,NULL,NULL,NULL,NULL),(169874,NULL,0,NULL,169874,3,40817,40875,57,6065,2,1,'2024-02-22','2024-02-22',661166.48,1,855.00,'PAGO  0004 - 003736',NULL,NULL,NULL,NULL,NULL),(169875,NULL,0,NULL,NULL,21,40817,40875,57,6065,1,1,'2024-02-22','2024-02-22',633000.00,1,855.00,'FACTURA A 0004 - 003989',NULL,NULL,NULL,NULL,NULL),(169876,NULL,0,NULL,NULL,21,40817,40875,57,6065,1,1,'2024-02-29','2024-02-29',690000.01,1,855.00,'FACTURA A 0004 - 003991',NULL,NULL,NULL,NULL,NULL),(169877,NULL,0,NULL,169877,3,40817,40875,57,6065,2,1,'2024-02-29','2024-02-29',633961.32,1,855.00,'PAGO  0004 - 003780',NULL,NULL,NULL,NULL,NULL),(169878,NULL,0,NULL,169878,3,40817,40875,57,6066,2,1,'2024-03-07','2024-03-07',695046.08,1,855.00,'PAGO  0004 - 003835',NULL,NULL,NULL,NULL,NULL),(169879,NULL,0,NULL,NULL,21,40817,40875,57,6066,1,1,'2024-03-07','2024-03-07',690000.01,1,855.00,'FACTURA A 0004 - 003994',NULL,NULL,NULL,NULL,NULL),(169880,NULL,0,NULL,NULL,21,40817,40875,57,6066,1,1,'2024-03-14','2024-03-14',690000.01,1,855.00,'FACTURA A 0004 - 003997',NULL,NULL,NULL,NULL,NULL),(169881,NULL,0,NULL,169881,3,40817,40875,57,6066,2,1,'2024-03-14','2024-03-14',692061.87,1,855.00,'PAGO  0004 - 003872',NULL,NULL,NULL,NULL,NULL),(169882,NULL,0,NULL,169882,3,40817,40875,57,6066,2,1,'2024-03-22','2024-03-22',689073.39,1,855.00,'PAGO  0004 - 003919',NULL,NULL,NULL,NULL,NULL),(169883,NULL,0,NULL,NULL,21,40817,40875,57,6066,1,1,'2024-03-22','2024-03-22',690000.01,1,855.00,'FACTURA A 0004 - 004000',NULL,NULL,NULL,NULL,NULL),(169884,NULL,0,NULL,NULL,21,40817,40875,57,6066,1,1,'2024-03-26','2024-03-26',1327067.50,1,855.00,'FACTURA A 0004 - 004002',NULL,NULL,NULL,NULL,NULL),(169885,NULL,0,NULL,NULL,21,40817,40875,57,6066,1,1,'2024-03-28','2024-03-28',690000.01,1,855.00,'FACTURA A 0004 - 004003',NULL,NULL,NULL,NULL,NULL),(169886,NULL,0,NULL,169886,3,40817,40875,57,6066,2,1,'2024-03-28','2024-03-28',2009277.50,1,855.00,'PAGO  0004 - 003941',NULL,NULL,NULL,NULL,NULL),(169887,NULL,0,NULL,169887,3,40817,40875,57,6067,2,1,'2024-04-05','2024-04-05',690963.73,1,855.00,'PAGO  0004 - 003963',NULL,NULL,NULL,NULL,NULL),(169888,NULL,0,NULL,NULL,21,40817,40875,57,6067,1,1,'2024-04-05','2024-04-05',715500.00,1,855.00,'FACTURA A 0004 - 004007',NULL,NULL,NULL,NULL,NULL),(169889,NULL,0,NULL,NULL,21,40817,40875,57,6067,1,1,'2024-04-12','2024-04-12',992500.00,1,855.00,'FACTURA A 0004 - 004011',NULL,NULL,NULL,NULL,NULL),(169890,NULL,0,NULL,169890,3,40817,40875,57,6067,2,1,'2024-04-12','2024-04-12',717243.70,1,855.00,'PAGO  0004 - 004028',NULL,NULL,NULL,NULL,NULL),(169891,NULL,0,NULL,169891,3,40817,40875,57,6067,2,1,'2024-04-19','2024-04-19',1000717.04,1,855.00,'PAGO  0004 - 004073',NULL,NULL,NULL,NULL,NULL),(169892,NULL,0,NULL,NULL,21,40817,40875,57,6067,1,1,'2024-04-19','2024-04-19',715500.00,1,855.00,'FACTURA A 0004 - 004016',NULL,NULL,NULL,NULL,NULL),(169893,NULL,0,NULL,169893,3,40817,40875,57,6067,2,1,'2024-04-25','2024-04-25',710852.52,1,855.00,'PAGO  0004 - 004106',NULL,NULL,NULL,NULL,NULL),(169894,NULL,0,NULL,NULL,21,40817,40875,57,6067,1,1,'2024-04-26','2024-04-26',740000.00,1,855.00,'FACTURA A 0004 - 004021',NULL,NULL,NULL,NULL,NULL),(169895,NULL,0,NULL,169895,3,40817,40875,57,6067,2,1,'2024-04-29','2024-04-29',736607.23,1,855.00,'PAGO  0004 - 004130',NULL,NULL,NULL,NULL,NULL),(169896,NULL,0,NULL,NULL,21,40817,40875,57,6068,1,1,'2024-05-03','2024-05-03',128000.00,1,855.00,'FACTURA A 0004 - 004022',NULL,NULL,NULL,NULL,NULL),(169897,NULL,0,NULL,NULL,21,40817,40875,57,6068,1,1,'2024-05-07','2024-05-07',1444498.00,1,855.00,'FACTURA A 0004 - 004023',NULL,NULL,NULL,NULL,NULL),(169898,NULL,0,NULL,169898,3,40817,40875,57,6068,2,1,'2024-05-15','2024-05-15',1574083.24,1,855.00,'PAGO  0004 - 004191',NULL,NULL,NULL,NULL,NULL),(169899,NULL,0,NULL,NULL,21,40817,46973,57,7590,1,1,'2021-12-31','2021-12-31',5454.27,1,855.00,'FACTURA A 0003 - 008508',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169900,NULL,0,NULL,NULL,21,40817,46973,57,7590,1,1,'2021-12-31','2021-12-31',1289.98,1,855.00,'FACTURA A 0003 - 008509',NULL,NULL,NULL,NULL,NULL),(169901,NULL,0,NULL,NULL,21,40817,46973,57,7590,1,1,'2021-12-31','2021-12-31',10170.50,1,855.00,'FACTURA A 0003 - 008510',NULL,NULL,NULL,NULL,NULL),(169902,NULL,0,NULL,169902,3,40817,46973,57,7594,2,1,'2022-01-14','2022-01-14',16914.75,1,855.00,'PAGO  0004 - 000016',NULL,NULL,NULL,NULL,NULL),(169903,NULL,0,NULL,NULL,21,40817,46973,57,7595,1,1,'2022-02-09','2022-02-09',7350.44,1,855.00,'FACTURA A 0003 - 009185',NULL,NULL,NULL,NULL,NULL),(169904,NULL,0,NULL,NULL,21,40817,46973,57,7595,1,1,'2022-02-09','2022-02-09',3020.33,1,855.00,'FACTURA A 0003 - 009186',NULL,NULL,NULL,NULL,NULL),(169905,NULL,0,NULL,169905,3,40817,46973,57,7596,2,1,'2022-03-10','2022-03-10',10564.51,1,855.00,'PAGO  0004 - 000261',NULL,NULL,NULL,NULL,NULL),(169906,NULL,0,NULL,169906,3,40817,46973,57,7598,2,1,'2022-05-10','2022-05-10',1000.00,1,855.00,'PAGO CONTADO  0001 - 000524',NULL,NULL,NULL,NULL,NULL),(169907,NULL,0,NULL,NULL,21,40817,46973,57,7598,1,1,'2022-05-10','2022-05-10',1000.00,1,855.00,'FACTURA A 0005 - 000099',NULL,NULL,NULL,NULL,NULL),(169908,NULL,0,NULL,NULL,21,40817,46973,57,7620,1,1,'2023-12-19','2023-12-19',387.48,1,855.00,'AJUSTE POSITIVO  0001 - 000002',NULL,NULL,NULL,NULL,NULL),(169909,NULL,0,NULL,169909,3,40817,46973,57,7620,2,1,'2023-12-19','2023-12-19',193.74,1,855.00,'AJUSTE NEGATIVO  0001 - 000002',NULL,NULL,NULL,NULL,NULL),(169910,NULL,0,NULL,NULL,21,40817,40825,57,7589,1,1,'2021-11-03','2021-11-03',12573.00,1,855.00,'FACTURA A 0014 - 011335',NULL,NULL,NULL,NULL,NULL),(169911,NULL,0,NULL,NULL,21,40817,40825,57,7590,1,1,'2021-12-31','2021-12-31',148610.32,1,855.00,'FACTURA A 0015 - 116163',NULL,NULL,NULL,NULL,NULL),(169912,NULL,0,NULL,NULL,21,40817,40825,57,7594,1,1,'2022-01-06','2022-01-06',70970.14,1,855.00,'FACTURA A 0015 - 116648',NULL,NULL,NULL,NULL,NULL),(169913,NULL,0,NULL,NULL,21,40817,40825,57,7594,1,1,'2022-01-11','2022-01-11',84209.94,1,855.00,'FACTURA A 0015 - 116713',NULL,NULL,NULL,NULL,NULL),(169914,NULL,0,NULL,NULL,21,40817,40825,57,7594,1,1,'2022-01-25','2022-01-25',6350.00,1,855.00,'FACTURA A 0015 - 116974',NULL,NULL,NULL,NULL,NULL),(169915,NULL,0,NULL,NULL,21,40817,40825,57,7595,1,1,'2022-02-02','2022-02-02',5564.35,1,855.00,'FACTURA A 0015 - 117175',NULL,NULL,NULL,NULL,NULL),(169916,NULL,0,NULL,169916,3,40817,40825,57,7595,2,1,'2022-02-03','2022-02-03',316363.40,1,855.00,'PAGO  0004 - 000112',NULL,NULL,NULL,NULL,NULL),(169917,NULL,0,NULL,NULL,21,40817,40825,57,7595,1,1,'2022-02-14','2022-02-14',4365.27,1,855.00,'FACTURA A 0015 - 117464',NULL,NULL,NULL,NULL,NULL),(169918,NULL,0,NULL,NULL,21,40817,40825,57,7595,1,1,'2022-02-22','2022-02-22',10378.58,1,855.00,'FACTURA A 0015 - 117841',NULL,NULL,NULL,NULL,NULL),(169919,NULL,0,NULL,NULL,21,40817,40825,57,7596,1,1,'2022-03-04','2022-03-04',3152.02,1,855.00,'FACTURA A 0015 - 118088',NULL,NULL,NULL,NULL,NULL),(169920,NULL,0,NULL,NULL,21,40817,40825,57,7596,1,1,'2022-03-07','2022-03-07',6985.00,1,855.00,'FACTURA A 0014 - 011842',NULL,NULL,NULL,NULL,NULL),(169921,NULL,0,NULL,169921,3,40817,40825,57,7596,2,1,'2022-03-10','2022-03-10',27281.60,1,855.00,'PAGO  0004 - 000260',NULL,NULL,NULL,NULL,NULL),(169922,NULL,0,NULL,NULL,21,40817,40825,57,7596,1,1,'2022-03-29','2022-03-29',26656.03,1,855.00,'FACTURA A 0015 - 118973',NULL,NULL,NULL,NULL,NULL),(169923,NULL,0,NULL,NULL,21,40817,40825,57,7596,1,1,'2022-03-30','2022-03-30',24517.89,1,855.00,'FACTURA A 0015 - 119025',NULL,NULL,NULL,NULL,NULL),(169924,NULL,0,NULL,NULL,21,40817,40825,57,7597,1,1,'2022-04-06','2022-04-06',361950.00,1,855.00,'FACTURA A 0015 - 119263',NULL,NULL,NULL,NULL,NULL),(169925,NULL,0,NULL,169925,3,40817,40825,57,7597,2,1,'2022-04-14','2022-04-14',60687.54,1,855.00,'PAGO  0004 - 000428',NULL,NULL,NULL,NULL,NULL),(169926,NULL,0,NULL,NULL,21,40817,40825,57,7597,1,1,'2022-04-20','2022-04-20',29882.68,1,855.00,'FACTURA A 0015 - 119763',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169927,NULL,0,NULL,NULL,21,40817,40825,57,7597,1,1,'2022-04-27','2022-04-27',13655.04,1,855.00,'FACTURA A 0015 - 120051',NULL,NULL,NULL,NULL,NULL),(169928,NULL,0,NULL,NULL,21,40817,40825,57,7597,1,1,'2022-04-27','2022-04-27',12597.59,1,855.00,'FACTURA A 0015 - 120085',NULL,NULL,NULL,NULL,NULL),(169929,NULL,0,NULL,NULL,21,40817,40825,57,7597,1,1,'2022-04-28','2022-04-28',32339.28,1,855.00,'FACTURA A 0015 - 120147',NULL,NULL,NULL,NULL,NULL),(169930,NULL,0,NULL,NULL,21,40817,40825,57,7598,1,1,'2022-05-03','2022-05-03',144780.00,1,855.00,'FACTURA A 0015 - 120296',NULL,NULL,NULL,NULL,NULL),(169931,NULL,0,NULL,NULL,21,40817,40825,57,7598,1,1,'2022-05-06','2022-05-06',138430.00,1,855.00,'FACTURA A 0015 - 120442',NULL,NULL,NULL,NULL,NULL),(169932,NULL,0,NULL,NULL,21,40817,40825,57,7598,1,1,'2022-05-11','2022-05-11',6985.00,1,855.00,'FACTURA A 0015 - 120582',NULL,NULL,NULL,NULL,NULL),(169933,NULL,0,NULL,169933,3,40817,40825,57,7598,2,1,'2022-05-19','2022-05-19',450612.09,1,855.00,'PAGO  0004 - 000595',NULL,NULL,NULL,NULL,NULL),(169934,NULL,0,NULL,NULL,21,40817,40825,57,7598,1,1,'2022-05-23','2022-05-23',3147.23,1,855.00,'FACTURA A 0015 - 121032',NULL,NULL,NULL,NULL,NULL),(169935,NULL,0,NULL,NULL,21,40817,40825,57,7598,1,1,'2022-05-24','2022-05-24',145034.00,1,855.00,'FACTURA A 0015 - 121061',NULL,NULL,NULL,NULL,NULL),(169936,NULL,0,NULL,NULL,21,40817,40825,57,7598,1,1,'2022-05-24','2022-05-24',13168.99,1,855.00,'FACTURA A 0015 - 121084',NULL,NULL,NULL,NULL,NULL),(169937,NULL,0,NULL,NULL,21,40817,40825,57,7599,1,1,'2022-06-03','2022-06-03',16510.00,1,855.00,'FACTURA A 0014 - 012275',NULL,NULL,NULL,NULL,NULL),(169938,NULL,0,NULL,NULL,21,40817,40825,57,7599,1,1,'2022-06-07','2022-06-07',22491.70,1,855.00,'FACTURA A 0015 - 121604',NULL,NULL,NULL,NULL,NULL),(169939,NULL,0,NULL,169939,3,40817,40825,57,7599,2,1,'2022-06-07','2022-06-07',452221.73,1,855.00,'PAGO  0004 - 000684',NULL,NULL,NULL,NULL,NULL),(169940,NULL,0,NULL,NULL,21,40817,40825,57,7599,1,1,'2022-06-09','2022-06-09',11807.19,1,855.00,'FACTURA A 0015 - 121692',NULL,NULL,NULL,NULL,NULL),(169941,NULL,0,NULL,NULL,21,40817,40825,57,7599,1,1,'2022-06-10','2022-06-10',4218.47,1,855.00,'FACTURA A 0015 - 121756',NULL,NULL,NULL,NULL,NULL),(169942,NULL,0,NULL,NULL,21,40817,40825,57,7599,1,1,'2022-06-10','2022-06-10',16510.00,1,855.00,'FACTURA A 0014 - 012308',NULL,NULL,NULL,NULL,NULL),(169943,NULL,0,NULL,NULL,21,40817,40825,57,7599,1,1,'2022-06-13','2022-06-13',25933.40,1,855.00,'FACTURA A 0015 - 121793',NULL,NULL,NULL,NULL,NULL),(169944,NULL,0,NULL,NULL,21,40817,40825,57,7599,1,1,'2022-06-15','2022-06-15',16510.00,1,855.00,'FACTURA A 0014 - 012327',NULL,NULL,NULL,NULL,NULL),(169945,NULL,0,NULL,NULL,21,40817,40825,57,7599,1,1,'2022-06-22','2022-06-22',3757.07,1,855.00,'FACTURA A 0015 - 122049',NULL,NULL,NULL,NULL,NULL),(169946,NULL,0,NULL,NULL,21,40817,40825,57,7599,1,1,'2022-06-22','2022-06-22',5008.88,1,855.00,'FACTURA A 0015 - 122066',NULL,NULL,NULL,NULL,NULL),(169947,NULL,0,NULL,NULL,21,40817,40825,57,7599,1,1,'2022-06-23','2022-06-23',20726.40,1,855.00,'FACTURA A 0015 - 122083',NULL,NULL,NULL,NULL,NULL),(169948,NULL,0,NULL,NULL,21,40817,40825,57,7599,1,1,'2022-06-30','2022-06-30',2261.82,1,855.00,'FACTURA A 0015 - 122399',NULL,NULL,NULL,NULL,NULL),(169949,NULL,0,NULL,NULL,21,40817,40825,57,7599,1,1,'2022-06-30','2022-06-30',6200.14,1,855.00,'FACTURA A 0015 - 122438',NULL,NULL,NULL,NULL,NULL),(169950,NULL,0,NULL,NULL,21,40817,40825,57,7600,1,1,'2022-07-06','2022-07-06',13118.13,1,855.00,'FACTURA A 0015 - 122691',NULL,NULL,NULL,NULL,NULL),(169951,NULL,0,NULL,169951,3,40817,40825,57,7600,2,1,'2022-07-12','2022-07-12',151535.07,1,855.00,'PAGO  0004 - 000825',NULL,NULL,NULL,NULL,NULL),(169952,NULL,0,NULL,169952,3,40817,40825,57,7600,2,1,'2022-07-15','2022-07-15',12944.30,1,855.00,'PAGO  0001 - 000779',NULL,NULL,NULL,NULL,NULL),(169953,NULL,0,NULL,NULL,21,40817,40825,57,7600,1,1,'2022-07-26','2022-07-26',7366.00,1,855.00,'FACTURA A 0015 - 123455',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169954,NULL,0,NULL,NULL,21,40817,40825,57,7600,1,1,'2022-07-26','2022-07-26',16510.00,1,855.00,'FACTURA A 0014 - 012525',NULL,NULL,NULL,NULL,NULL),(169955,NULL,0,NULL,NULL,21,40817,40825,57,7601,1,1,'2022-08-04','2022-08-04',26784.07,1,855.00,'FACTURA A 0015 - 123756',NULL,NULL,NULL,NULL,NULL),(169956,NULL,0,NULL,NULL,21,40817,40825,57,7601,1,1,'2022-08-05','2022-08-05',13735.47,1,855.00,'FACTURA A 0015 - 123850',NULL,NULL,NULL,NULL,NULL),(169957,NULL,0,NULL,NULL,21,40817,40825,57,7601,1,1,'2022-08-08','2022-08-08',6660.68,1,855.00,'FACTURA A 0015 - 123879',NULL,NULL,NULL,NULL,NULL),(169958,NULL,0,NULL,NULL,21,40817,40825,57,7601,1,1,'2022-08-08','2022-08-08',21262.93,1,855.00,'FACTURA A 0015 - 123952',NULL,NULL,NULL,NULL,NULL),(169959,NULL,0,NULL,169959,3,40817,40825,57,7601,2,1,'2022-08-09','2022-08-09',23585.82,1,855.00,'PAGO  0004 - 000966',NULL,NULL,NULL,NULL,NULL),(169960,NULL,0,NULL,NULL,21,40817,40825,57,7601,1,1,'2022-08-11','2022-08-11',32219.19,1,855.00,'FACTURA A 0015 - 124131',NULL,NULL,NULL,NULL,NULL),(169961,NULL,0,NULL,NULL,21,40817,40825,57,7601,1,1,'2022-08-18','2022-08-18',172516.80,1,855.00,'FACTURA A 0015 - 124355',NULL,NULL,NULL,NULL,NULL),(169962,NULL,0,NULL,NULL,21,40817,40825,57,7601,1,1,'2022-08-22','2022-08-22',197578.98,1,855.00,'FACTURA A 0015 - 124502',NULL,NULL,NULL,NULL,NULL),(169963,NULL,0,NULL,NULL,21,40817,40825,57,7601,1,1,'2022-08-23','2022-08-23',390324.15,1,855.00,'FACTURA A 0015 - 124559',NULL,NULL,NULL,NULL,NULL),(169964,NULL,0,NULL,NULL,21,40817,40825,57,7601,1,1,'2022-08-29','2022-08-29',16590.69,1,855.00,'FACTURA A 0015 - 124884',NULL,NULL,NULL,NULL,NULL),(169965,NULL,0,NULL,169965,3,40817,40825,57,7601,2,1,'2022-08-29','2022-08-29',100662.34,1,855.00,'PAGO  0004 - 001065',NULL,NULL,NULL,NULL,NULL),(169966,NULL,0,NULL,NULL,21,40817,40825,57,7602,1,1,'2022-09-01','2022-09-01',6149.34,1,855.00,'FACTURA A 0015 - 125047',NULL,NULL,NULL,NULL,NULL),(169967,NULL,0,NULL,169967,3,40817,40825,57,7602,2,1,'2022-09-01','2022-09-01',33405.50,1,855.00,'NOTA DE CREDITO A 0015 - 005668',NULL,NULL,NULL,NULL,NULL),(169968,NULL,0,NULL,169968,3,40817,40825,57,7602,2,1,'2022-09-07','2022-09-07',336690.28,1,855.00,'PAGO  0004 - 001107',NULL,NULL,NULL,NULL,NULL),(169969,NULL,0,NULL,169969,3,40817,40825,57,7602,2,1,'2022-09-15','2022-09-15',413064.18,1,855.00,'PAGO  0004 - 001152',NULL,NULL,NULL,NULL,NULL),(169970,NULL,0,NULL,NULL,21,40817,40825,57,7602,1,1,'2022-09-15','2022-09-15',2803.56,1,855.00,'FACTURA A 0015 - 125509',NULL,NULL,NULL,NULL,NULL),(169971,NULL,0,NULL,NULL,21,40817,40825,57,7602,1,1,'2022-09-22','2022-09-22',49523.58,1,855.00,'FACTURA A 0015 - 125735',NULL,NULL,NULL,NULL,NULL),(169972,NULL,0,NULL,NULL,21,40817,40825,57,7602,1,1,'2022-09-23','2022-09-23',50914.98,1,855.00,'FACTURA A 0015 - 125796',NULL,NULL,NULL,NULL,NULL),(169973,NULL,0,NULL,NULL,21,40817,40825,57,7602,1,1,'2022-09-28','2022-09-28',205247.24,1,855.00,'FACTURA A 0015 - 125966',NULL,NULL,NULL,NULL,NULL),(169974,NULL,0,NULL,NULL,21,40817,40825,57,7602,1,1,'2022-09-29','2022-09-29',16071.15,1,855.00,'FACTURA A 0015 - 126048',NULL,NULL,NULL,NULL,NULL),(169975,NULL,0,NULL,NULL,21,40817,40825,57,7602,1,1,'2022-09-30','2022-09-30',168275.00,1,855.00,'FACTURA A 0015 - 126113',NULL,NULL,NULL,NULL,NULL),(169976,NULL,0,NULL,NULL,21,40817,40825,57,7603,1,1,'2022-10-03','2022-10-03',10042.99,1,855.00,'FACTURA A 0015 - 126148',NULL,NULL,NULL,NULL,NULL),(169977,NULL,0,NULL,NULL,21,40817,40825,57,7603,1,1,'2022-10-05','2022-10-05',17493.26,1,855.00,'FACTURA A 0015 - 126181',NULL,NULL,NULL,NULL,NULL),(169978,NULL,0,NULL,NULL,21,40817,40825,57,7603,1,1,'2022-10-17','2022-10-17',2141.57,1,855.00,'FACTURA A 0015 - 126543',NULL,NULL,NULL,NULL,NULL),(169979,NULL,0,NULL,169979,3,40817,40825,57,7603,2,1,'2022-10-21','2022-10-21',324560.51,1,855.00,'PAGO  0004 - 001316',NULL,NULL,NULL,NULL,NULL),(169980,NULL,0,NULL,NULL,21,40817,40825,57,7603,1,1,'2022-10-28','2022-10-28',248.17,1,855.00,'FACTURA A 0015 - 127050',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (169981,NULL,0,NULL,NULL,21,40817,40825,57,7604,1,1,'2022-11-01','2022-11-01',23907.75,1,855.00,'FACTURA A 0015 - 127151',NULL,NULL,NULL,NULL,NULL),(169982,NULL,0,NULL,169982,3,40817,40825,57,7604,2,1,'2022-11-09','2022-11-09',199541.44,1,855.00,'PAGO  0004 - 001396',NULL,NULL,NULL,NULL,NULL),(169983,NULL,0,NULL,NULL,21,40817,40825,57,7604,1,1,'2022-11-18','2022-11-18',21426.37,1,855.00,'FACTURA A 0015 - 127869',NULL,NULL,NULL,NULL,NULL),(169984,NULL,0,NULL,NULL,21,40817,40825,57,7604,1,1,'2022-11-18','2022-11-18',4600.24,1,855.00,'FACTURA A 0015 - 127870',NULL,NULL,NULL,NULL,NULL),(169985,NULL,0,NULL,NULL,21,40817,40825,57,7605,1,1,'2022-12-02','2022-12-02',21723.84,1,855.00,'FACTURA A 0015 - 128319',NULL,NULL,NULL,NULL,NULL),(169986,NULL,0,NULL,169986,3,40817,40825,57,7605,2,1,'2022-12-02','2022-12-02',48593.91,1,855.00,'PAGO  0004 - 001505',NULL,NULL,NULL,NULL,NULL),(169987,NULL,0,NULL,NULL,21,40817,40825,57,7605,1,1,'2022-12-22','2022-12-22',3298.15,1,855.00,'FACTURA A 0015 - 128918',NULL,NULL,NULL,NULL,NULL),(169988,NULL,0,NULL,NULL,21,40817,40825,57,7609,1,1,'2023-01-03','2023-01-03',54482.76,1,855.00,'FACTURA A 0015 - 129212',NULL,NULL,NULL,NULL,NULL),(169989,NULL,0,NULL,NULL,21,40817,40825,57,7609,1,1,'2023-01-04','2023-01-04',57170.80,1,855.00,'FACTURA A 0015 - 129234',NULL,NULL,NULL,NULL,NULL),(169990,NULL,0,NULL,NULL,21,40817,40825,57,7609,1,1,'2023-01-06','2023-01-06',175946.81,1,855.00,'FACTURA A 0015 - 129284',NULL,NULL,NULL,NULL,NULL),(169991,NULL,0,NULL,169991,3,40817,40825,57,7609,2,1,'2023-01-07','2023-01-07',25021.99,1,855.00,'PAGO  0004 - 001638',NULL,NULL,NULL,NULL,NULL),(169992,NULL,0,NULL,169992,3,40817,40825,57,7609,2,1,'2023-01-14','2023-01-14',111653.56,1,855.00,'PAGO  0004 - 001712',NULL,NULL,NULL,NULL,NULL),(169993,NULL,0,NULL,NULL,21,40817,40825,57,7609,1,1,'2023-01-26','2023-01-26',14562.22,1,855.00,'FACTURA A 0015 - 129665',NULL,NULL,NULL,NULL,NULL),(169994,NULL,0,NULL,NULL,21,40817,40825,57,7609,1,1,'2023-01-26','2023-01-26',5895.84,1,855.00,'FACTURA A 0015 - 129673',NULL,NULL,NULL,NULL,NULL),(169995,NULL,0,NULL,NULL,21,40817,40825,57,7610,1,1,'2023-02-02','2023-02-02',49586.05,1,855.00,'FACTURA A 0015 - 129805',NULL,NULL,NULL,NULL,NULL),(169996,NULL,0,NULL,169996,3,40817,40825,57,7610,2,1,'2023-02-07','2023-02-07',181288.18,1,855.00,'PAGO  0004 - 001801',NULL,NULL,NULL,NULL,NULL),(169997,NULL,0,NULL,169997,3,40817,40825,57,7611,2,1,'2023-03-07','2023-03-07',64702.74,1,855.00,'PAGO  0004 - 001918',NULL,NULL,NULL,NULL,NULL),(169998,NULL,0,NULL,NULL,21,40817,40825,57,7612,1,1,'2023-04-10','2023-04-10',28123.20,1,855.00,'FACTURA A 0015 - 131582',NULL,NULL,NULL,NULL,NULL),(169999,NULL,0,NULL,169999,3,40817,40825,57,7613,2,1,'2023-05-11','2023-05-11',28123.20,1,855.00,'PAGO  0004 - 002227',NULL,NULL,NULL,NULL,NULL),(170000,NULL,0,NULL,NULL,21,40817,40825,57,7613,1,1,'2023-05-23','2023-05-23',24287.17,1,855.00,'FACTURA A 0015 - 133261',NULL,NULL,NULL,NULL,NULL),(170001,NULL,0,NULL,170001,3,40817,40825,57,7614,2,1,'2023-06-08','2023-06-08',24287.17,1,855.00,'PAGO  0004 - 002368',NULL,NULL,NULL,NULL,NULL),(170002,NULL,0,NULL,NULL,21,40817,40825,57,7615,1,1,'2023-07-27','2023-07-27',296715.10,1,855.00,'FACTURA A 0015 - 135158',NULL,NULL,NULL,NULL,NULL),(170003,NULL,0,NULL,NULL,21,40817,40825,57,7615,1,1,'2023-07-27','2023-07-27',296715.10,1,855.00,'FACTURA A 0015 - 135177',NULL,NULL,NULL,NULL,NULL),(170004,NULL,0,NULL,NULL,21,40817,40825,57,7616,1,1,'2023-08-03','2023-08-03',89593.51,1,855.00,'FACTURA A 0015 - 135437',NULL,NULL,NULL,NULL,NULL),(170005,NULL,0,NULL,170005,3,40817,40825,57,7616,2,1,'2023-08-25','2023-08-25',685174.92,1,855.00,'PAGO  0004 - 002774',NULL,NULL,NULL,NULL,NULL),(170006,NULL,0,NULL,NULL,21,40817,40825,57,7616,1,1,'2023-08-29','2023-08-29',44775.51,1,855.00,'NOTA DE DEBITO A 0015 - 001304',NULL,NULL,NULL,NULL,NULL),(170007,NULL,0,NULL,NULL,21,40817,40825,57,7617,1,1,'2023-09-01','2023-09-01',21306.25,1,855.00,'FACTURA A 0014 - 014437',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170008,NULL,0,NULL,170008,3,40817,40825,57,7617,2,1,'2023-09-07','2023-09-07',63930.55,1,855.00,'PAGO  0004 - 002823',NULL,NULL,NULL,NULL,NULL),(170009,NULL,0,NULL,NULL,21,40817,40825,57,7617,1,1,'2023-09-14','2023-09-14',849.89,1,855.00,'NOTA DE DEBITO A 0015 - 001306',NULL,NULL,NULL,NULL,NULL),(170010,NULL,0,NULL,NULL,21,40817,40825,57,7617,1,1,'2023-09-14','2023-09-14',58171.00,1,855.00,'NOTA DE DEBITO A 0015 - 001307',NULL,NULL,NULL,NULL,NULL),(170011,NULL,0,NULL,170011,3,40817,40825,57,7617,2,1,'2023-09-18','2023-09-18',59020.89,1,855.00,'PAGO  0004 - 002902',NULL,NULL,NULL,NULL,NULL),(170012,NULL,0,NULL,NULL,21,40817,40825,57,7617,1,1,'2023-09-27','2023-09-27',75066.18,1,855.00,'FACTURA A 0015 - 136984',NULL,NULL,NULL,NULL,NULL),(170013,NULL,0,NULL,170013,3,40817,40825,57,7618,2,1,'2023-10-24','2023-10-24',75066.18,1,855.00,'PAGO  0004 - 003090',NULL,NULL,NULL,NULL,NULL),(170014,NULL,0,NULL,NULL,21,40817,40825,57,7619,1,1,'2023-11-29','2023-11-29',298059.19,1,855.00,'FACTURA A 0015 - 138908',NULL,NULL,NULL,NULL,NULL),(170015,NULL,0,NULL,NULL,21,40817,40825,57,7619,1,1,'2023-11-30','2023-11-30',1987089.06,1,855.00,'FACTURA A 0015 - 138979',NULL,NULL,NULL,NULL,NULL),(170016,NULL,0,NULL,NULL,21,40817,40825,57,7620,1,1,'2023-12-05','2023-12-05',875416.59,1,855.00,'FACTURA A 0015 - 139103',NULL,NULL,NULL,NULL,NULL),(170017,NULL,0,NULL,NULL,21,40817,40825,57,7620,1,1,'2023-12-05','2023-12-05',117386.48,1,855.00,'FACTURA A 0015 - 139117',NULL,NULL,NULL,NULL,NULL),(170018,NULL,0,NULL,170018,3,40817,40825,57,7620,2,1,'2023-12-16','2023-12-16',2285148.25,1,855.00,'PAGO  0004 - 003386',NULL,NULL,NULL,NULL,NULL),(170019,NULL,0,NULL,170019,3,40817,40825,57,6064,2,1,'2024-01-08','2024-01-08',993443.24,1,855.00,'PAGO  0004 - 003504',NULL,NULL,NULL,NULL,NULL),(170020,NULL,0,NULL,NULL,21,40817,40825,57,6064,1,1,'2024-01-09','2024-01-09',150241.71,1,855.00,'FACTURA A 0015 - 139818',NULL,NULL,NULL,NULL,NULL),(170021,NULL,0,NULL,170021,3,40817,40825,57,6065,2,1,'2024-02-14','2024-02-14',152650.23,1,855.00,'PAGO  0004 - 003696',NULL,NULL,NULL,NULL,NULL),(170022,NULL,0,NULL,NULL,21,40817,40825,57,6066,1,1,'2024-03-28','2024-03-28',51825.97,1,855.00,'FACTURA A 0015 - 141760',NULL,NULL,NULL,NULL,NULL),(170023,NULL,0,NULL,NULL,21,40817,40825,57,6067,1,1,'2024-04-03','2024-04-03',318868.74,1,855.00,'FACTURA A 0015 - 141780',NULL,NULL,NULL,NULL,NULL),(170024,NULL,0,NULL,170024,3,40817,40825,57,6067,2,1,'2024-04-07','2024-04-07',48777.28,1,855.00,'PAGO  0004 - 003968',NULL,NULL,NULL,NULL,NULL),(170025,NULL,0,NULL,170025,3,40817,40825,57,6067,2,1,'2024-04-26','2024-04-26',318868.74,1,855.00,'PAGO  0004 - 004111',NULL,NULL,NULL,NULL,NULL),(170026,NULL,0,NULL,NULL,21,40817,40825,57,6068,1,1,'2024-05-03','2024-05-03',4218637.50,1,855.00,'FACTURA A 0015 - 142797',NULL,NULL,NULL,NULL,NULL),(170027,NULL,0,NULL,NULL,21,40817,40994,57,7590,1,1,'2021-12-30','2021-12-30',18400.00,1,855.00,'FACTURA A 0004 - 020981',NULL,NULL,NULL,NULL,NULL),(170028,NULL,0,NULL,170028,3,40817,40994,57,7594,2,1,'2022-01-12','2022-01-12',18400.00,1,855.00,'PAGO  0004 - 000006',NULL,NULL,NULL,NULL,NULL),(170029,NULL,0,NULL,NULL,21,40817,40994,57,7594,1,1,'2022-01-31','2022-01-31',85600.00,1,855.00,'FACTURA A 0004 - 021074',NULL,NULL,NULL,NULL,NULL),(170030,NULL,0,NULL,170030,3,40817,40994,57,7595,2,1,'2022-02-14','2022-02-14',85600.00,1,855.00,'PAGO  0004 - 000153',NULL,NULL,NULL,NULL,NULL),(170031,NULL,0,NULL,NULL,21,40817,40994,57,7595,1,1,'2022-02-26','2022-02-26',74400.00,1,855.00,'FACTURA A 0004 - 021126',NULL,NULL,NULL,NULL,NULL),(170032,NULL,0,NULL,170032,3,40817,40994,57,7596,2,1,'2022-03-03','2022-03-03',74400.00,1,855.00,'PAGO  0004 - 000212',NULL,NULL,NULL,NULL,NULL),(170033,NULL,0,NULL,NULL,21,40817,40994,57,7596,1,1,'2022-03-12','2022-03-12',11300.00,1,855.00,'FACTURA A 0004 - 021151',NULL,NULL,NULL,NULL,NULL),(170034,NULL,0,NULL,NULL,21,40817,40994,57,7596,1,1,'2022-03-12','2022-03-12',12400.00,1,855.00,'FACTURA A 0004 - 021152',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170035,NULL,0,NULL,170035,3,40817,40994,57,7596,2,1,'2022-03-12','2022-03-12',11300.00,1,855.00,'NOTA DE CREDITO A 0004 - 000417',NULL,NULL,NULL,NULL,NULL),(170036,NULL,0,NULL,NULL,21,40817,40994,57,7596,1,1,'2022-03-31','2022-03-31',86800.00,1,855.00,'FACTURA A 0004 - 021226',NULL,NULL,NULL,NULL,NULL),(170037,NULL,0,NULL,170037,3,40817,40994,57,7597,2,1,'2022-04-01','2022-04-01',99200.00,1,855.00,'PAGO  0004 - 000365',NULL,NULL,NULL,NULL,NULL),(170038,NULL,0,NULL,NULL,21,40817,40994,57,7597,1,1,'2022-04-30','2022-04-30',68000.01,1,855.00,'FACTURA A 0004 - 021306',NULL,NULL,NULL,NULL,NULL),(170039,NULL,0,NULL,170039,3,40817,40994,57,7598,2,1,'2022-05-04','2022-05-04',68000.01,1,855.00,'PAGO  0004 - 000509',NULL,NULL,NULL,NULL,NULL),(170040,NULL,0,NULL,NULL,21,40817,40994,57,7598,1,1,'2022-05-31','2022-05-31',56100.00,1,855.00,'FACTURA A 0004 - 021392',NULL,NULL,NULL,NULL,NULL),(170041,NULL,0,NULL,170041,3,40817,40994,57,7599,2,1,'2022-06-03','2022-06-03',56100.00,1,855.00,'PAGO  0004 - 000652',NULL,NULL,NULL,NULL,NULL),(170042,NULL,0,NULL,NULL,21,40817,40994,57,7599,1,1,'2022-06-30','2022-06-30',54400.01,1,855.00,'FACTURA A 0004 - 021482',NULL,NULL,NULL,NULL,NULL),(170043,NULL,0,NULL,170043,3,40817,40994,57,7600,2,1,'2022-07-12','2022-07-12',54400.01,1,855.00,'PAGO  0004 - 000806',NULL,NULL,NULL,NULL,NULL),(170044,NULL,0,NULL,NULL,21,40817,40994,57,7600,1,1,'2022-07-30','2022-07-30',152800.01,1,855.00,'FACTURA A 0004 - 021566',NULL,NULL,NULL,NULL,NULL),(170045,NULL,0,NULL,170045,3,40817,40994,57,7601,2,1,'2022-08-03','2022-08-03',152800.01,1,855.00,'PAGO  0004 - 000923',NULL,NULL,NULL,NULL,NULL),(170046,NULL,0,NULL,NULL,21,40817,40994,57,7601,1,1,'2022-08-31','2022-08-31',144000.00,1,855.00,'FACTURA A 0004 - 021656',NULL,NULL,NULL,NULL,NULL),(170047,NULL,0,NULL,170047,3,40817,40994,57,7602,2,1,'2022-09-07','2022-09-07',144000.00,1,855.00,'PAGO  0004 - 001108',NULL,NULL,NULL,NULL,NULL),(170048,NULL,0,NULL,NULL,21,40817,40994,57,7602,1,1,'2022-09-30','2022-09-30',144000.00,1,855.00,'FACTURA A 0004 - 021760',NULL,NULL,NULL,NULL,NULL),(170049,NULL,0,NULL,170049,3,40817,40994,57,7603,2,1,'2022-10-21','2022-10-21',144000.00,1,855.00,'PAGO  0004 - 001305',NULL,NULL,NULL,NULL,NULL),(170050,NULL,0,NULL,NULL,21,40817,40994,57,7603,1,1,'2022-10-31','2022-10-31',153799.99,1,855.00,'FACTURA A 0004 - 021869',NULL,NULL,NULL,NULL,NULL),(170051,NULL,0,NULL,170051,3,40817,40994,57,7604,2,1,'2022-11-04','2022-11-04',153799.99,1,855.00,'PAGO  0004 - 001372',NULL,NULL,NULL,NULL,NULL),(170052,NULL,0,NULL,NULL,21,40817,40994,57,7604,1,1,'2022-11-30','2022-11-30',133000.00,1,855.00,'FACTURA A 0004 - 021958',NULL,NULL,NULL,NULL,NULL),(170053,NULL,0,NULL,170053,3,40817,40994,57,7605,2,1,'2022-12-05','2022-12-05',133000.00,1,855.00,'PAGO  0004 - 001509',NULL,NULL,NULL,NULL,NULL),(170054,NULL,0,NULL,NULL,21,40817,40994,57,7605,1,1,'2022-12-30','2022-12-30',76949.99,1,855.00,'FACTURA A 0004 - 022073',NULL,NULL,NULL,NULL,NULL),(170055,NULL,0,NULL,170055,3,40817,40994,57,7609,2,1,'2023-01-07','2023-01-07',76949.99,1,855.00,'PAGO  0004 - 001639',NULL,NULL,NULL,NULL,NULL),(170056,NULL,0,NULL,NULL,21,40817,40994,57,7609,1,1,'2023-01-31','2023-01-31',228000.00,1,855.00,'FACTURA A 0004 - 022166',NULL,NULL,NULL,NULL,NULL),(170057,NULL,0,NULL,170057,3,40817,40994,57,7610,2,1,'2023-02-09','2023-02-09',228000.00,1,855.00,'PAGO  0004 - 001822',NULL,NULL,NULL,NULL,NULL),(170058,NULL,0,NULL,NULL,21,40817,40994,57,7610,1,1,'2023-02-28','2023-02-28',159600.00,1,855.00,'FACTURA A 0004 - 022247',NULL,NULL,NULL,NULL,NULL),(170059,NULL,0,NULL,170059,3,40817,40994,57,7611,2,1,'2023-03-07','2023-03-07',159600.00,1,855.00,'PAGO  0004 - 001895',NULL,NULL,NULL,NULL,NULL),(170060,NULL,0,NULL,NULL,21,40817,40994,57,7611,1,1,'2023-03-31','2023-03-31',136800.00,1,855.00,'FACTURA A 0004 - 022338',NULL,NULL,NULL,NULL,NULL),(170061,NULL,0,NULL,170061,3,40817,40994,57,7612,2,1,'2023-04-10','2023-04-10',136800.00,1,855.00,'PAGO  0004 - 002067',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170062,NULL,0,NULL,NULL,21,40817,40994,57,7612,1,1,'2023-04-29','2023-04-29',221650.00,1,855.00,'FACTURA A 0004 - 022418',NULL,NULL,NULL,NULL,NULL),(170063,NULL,0,NULL,170063,3,40817,40994,57,7613,2,1,'2023-05-11','2023-05-11',221650.00,1,855.00,'PAGO  0004 - 002228',NULL,NULL,NULL,NULL,NULL),(170064,NULL,0,NULL,NULL,21,40817,40994,57,7613,1,1,'2023-05-31','2023-05-31',111250.00,1,855.00,'FACTURA A 0004 - 022530',NULL,NULL,NULL,NULL,NULL),(170065,NULL,0,NULL,170065,3,40817,40994,57,7614,2,1,'2023-06-08','2023-06-08',111250.00,1,855.00,'PAGO  0004 - 002369',NULL,NULL,NULL,NULL,NULL),(170066,NULL,0,NULL,NULL,21,40817,40994,57,7614,1,1,'2023-06-30','2023-06-30',110400.00,1,855.00,'FACTURA A 0004 - 022621',NULL,NULL,NULL,NULL,NULL),(170067,NULL,0,NULL,170067,3,40817,40994,57,7615,2,1,'2023-07-11','2023-07-11',110400.00,1,855.00,'PAGO  0004 - 002525',NULL,NULL,NULL,NULL,NULL),(170068,NULL,0,NULL,NULL,21,40817,40994,57,7615,1,1,'2023-07-14','2023-07-14',31000.00,1,855.00,'FACTURA A 0004 - 022667',NULL,NULL,NULL,NULL,NULL),(170069,NULL,0,NULL,NULL,21,40817,40994,57,7615,1,1,'2023-07-31','2023-07-31',372000.00,1,855.00,'FACTURA A 0004 - 022732',NULL,NULL,NULL,NULL,NULL),(170070,NULL,0,NULL,170070,3,40817,40994,57,7616,2,1,'2023-08-04','2023-08-04',403000.00,1,855.00,'PAGO  0004 - 002661',NULL,NULL,NULL,NULL,NULL),(170071,NULL,0,NULL,NULL,21,40817,40994,57,7616,1,1,'2023-08-31','2023-08-31',254400.00,1,855.00,'FACTURA A 0004 - 022841',NULL,NULL,NULL,NULL,NULL),(170072,NULL,0,NULL,170072,3,40817,40994,57,7617,2,1,'2023-09-07','2023-09-07',254400.00,1,855.00,'PAGO  0004 - 002824',NULL,NULL,NULL,NULL,NULL),(170073,NULL,0,NULL,NULL,21,40817,40994,57,7617,1,1,'2023-09-30','2023-09-30',301840.00,1,855.00,'FACTURA A 0004 - 022952',NULL,NULL,NULL,NULL,NULL),(170074,NULL,0,NULL,170074,3,40817,40994,57,7618,2,1,'2023-10-17','2023-10-17',301840.00,1,855.00,'PAGO  0004 - 003045',NULL,NULL,NULL,NULL,NULL),(170075,NULL,0,NULL,NULL,21,40817,40994,57,7618,1,1,'2023-10-31','2023-10-31',342400.00,1,855.00,'FACTURA A 0004 - 023059',NULL,NULL,NULL,NULL,NULL),(170076,NULL,0,NULL,170076,3,40817,40994,57,7619,2,1,'2023-11-01','2023-11-01',343119.72,1,855.00,'PAGO  0004 - 003144',NULL,NULL,NULL,NULL,NULL),(170077,NULL,0,NULL,NULL,21,40817,40994,57,7619,1,1,'2023-11-30','2023-11-30',390300.00,1,855.00,'FACTURA A 0004 - 023165',NULL,NULL,NULL,NULL,NULL),(170078,NULL,0,NULL,170078,3,40817,40994,57,7620,2,1,'2023-12-12','2023-12-12',389580.28,1,855.00,'PAGO  0004 - 003358',NULL,NULL,NULL,NULL,NULL),(170079,NULL,0,NULL,NULL,21,40817,40994,57,7620,1,1,'2023-12-30','2023-12-30',233300.00,1,855.00,'FACTURA A 0004 - 023255',NULL,NULL,NULL,NULL,NULL),(170080,NULL,0,NULL,170080,3,40817,40994,57,6064,2,1,'2024-01-05','2024-01-05',233300.00,1,855.00,'PAGO  0004 - 003500',NULL,NULL,NULL,NULL,NULL),(170081,NULL,0,NULL,NULL,21,40817,40994,57,6064,1,1,'2024-01-31','2024-01-31',699400.00,1,855.00,'FACTURA A 0004 - 023355',NULL,NULL,NULL,NULL,NULL),(170082,NULL,0,NULL,170082,3,40817,40994,57,6065,2,1,'2024-02-10','2024-02-10',699400.00,1,855.00,'PAGO  0004 - 003671',NULL,NULL,NULL,NULL,NULL),(170083,NULL,0,NULL,NULL,21,40817,40994,57,6065,1,1,'2024-02-29','2024-02-29',432500.00,1,855.00,'FACTURA A 0004 - 023434',NULL,NULL,NULL,NULL,NULL),(170084,NULL,0,NULL,170084,3,40817,40994,57,6066,2,1,'2024-03-12','2024-03-12',432500.00,1,855.00,'PAGO  0004 - 003846',NULL,NULL,NULL,NULL,NULL),(170085,NULL,0,NULL,NULL,21,40817,40994,57,6066,1,1,'2024-03-30','2024-03-30',484500.00,1,855.00,'FACTURA A 0004 - 023527',NULL,NULL,NULL,NULL,NULL),(170086,NULL,0,NULL,170086,3,40817,40994,57,6067,2,1,'2024-04-07','2024-04-07',484500.00,1,855.00,'PAGO  0004 - 003969',NULL,NULL,NULL,NULL,NULL),(170087,NULL,0,NULL,NULL,21,40817,40994,57,6067,1,1,'2024-04-30','2024-04-30',654900.00,1,855.00,'FACTURA A 0004 - 023630',NULL,NULL,NULL,NULL,NULL),(170088,NULL,0,NULL,170088,3,40817,40994,57,6068,2,1,'2024-05-11','2024-05-11',654900.00,1,855.00,'PAGO  0004 - 004162',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170089,NULL,0,NULL,NULL,21,40817,46974,57,7594,1,1,'2022-01-31','2022-01-31',20580.37,1,855.00,'FACTURA A 0030 - 049937',NULL,NULL,NULL,NULL,NULL),(170090,NULL,0,NULL,170090,3,40817,46974,57,7595,2,1,'2022-02-01','2022-02-01',20580.37,1,855.00,'PAGO  0004 - 000081',NULL,NULL,NULL,NULL,NULL),(170091,NULL,0,NULL,NULL,21,40817,46974,57,7596,1,1,'2022-03-04','2022-03-04',168526.99,1,855.00,'FACTURA A 0035 - 010755',NULL,NULL,NULL,NULL,NULL),(170092,NULL,0,NULL,NULL,21,40817,46974,57,7596,1,1,'2022-03-04','2022-03-04',154431.89,1,855.00,'FACTURA A 0035 - 010756',NULL,NULL,NULL,NULL,NULL),(170093,NULL,0,NULL,170093,3,40817,46974,57,7596,2,1,'2022-03-22','2022-03-22',322958.88,1,855.00,'PAGO  0004 - 000304',NULL,NULL,NULL,NULL,NULL),(170094,NULL,0,NULL,NULL,21,40817,46974,57,7598,1,1,'2022-05-20','2022-05-20',36987.42,1,855.00,'FACTURA A 0030 - 051150',NULL,NULL,NULL,NULL,NULL),(170095,NULL,0,NULL,170095,3,40817,46974,57,7598,2,1,'2022-05-23','2022-05-23',36987.42,1,855.00,'PAGO  0004 - 000616',NULL,NULL,NULL,NULL,NULL),(170096,NULL,0,NULL,NULL,21,40817,46974,57,7601,1,1,'2022-08-18','2022-08-18',93922.87,1,855.00,'FACTURA A 0035 - 011192',NULL,NULL,NULL,NULL,NULL),(170097,NULL,0,NULL,NULL,21,40817,46974,57,7601,1,1,'2022-08-18','2022-08-18',93922.87,1,855.00,'FACTURA A 0035 - 011193',NULL,NULL,NULL,NULL,NULL),(170098,NULL,0,NULL,170098,3,40817,46974,57,7601,2,1,'2022-08-29','2022-08-29',187845.74,1,855.00,'PAGO  0004 - 001063',NULL,NULL,NULL,NULL,NULL),(170099,NULL,0,NULL,NULL,21,40817,46974,57,7602,1,1,'2022-09-27','2022-09-27',108931.83,1,855.00,'FACTURA A 0030 - 052684',NULL,NULL,NULL,NULL,NULL),(170100,NULL,0,NULL,170100,3,40817,46974,57,7602,2,1,'2022-09-28','2022-09-28',108931.83,1,855.00,'PAGO  0004 - 001217',NULL,NULL,NULL,NULL,NULL),(170101,NULL,0,NULL,170101,3,40817,46974,57,7604,2,1,'2022-11-22','2022-11-22',81298.90,1,855.00,'PAGO  0004 - 001441',NULL,NULL,NULL,NULL,NULL),(170102,NULL,0,NULL,NULL,21,40817,46974,57,7604,1,1,'2022-11-22','2022-11-22',81298.90,1,855.00,'FACTURA A 0030 - 053383',NULL,NULL,NULL,NULL,NULL),(170103,NULL,0,NULL,NULL,21,40817,46974,57,7609,1,1,'2023-01-26','2023-01-26',39357.14,1,855.00,'FACTURA A 0033 - 012198',NULL,NULL,NULL,NULL,NULL),(170104,NULL,0,NULL,170104,3,40817,46974,57,7609,2,1,'2023-01-27','2023-01-27',39357.14,1,855.00,'PAGO  0004 - 001769',NULL,NULL,NULL,NULL,NULL),(170105,NULL,0,NULL,170105,3,40817,46974,57,7610,2,1,'2023-02-27','2023-02-27',296021.20,1,855.00,'PAGO  0004 - 001873',NULL,NULL,NULL,NULL,NULL),(170106,NULL,0,NULL,NULL,21,40817,46974,57,7610,1,1,'2023-02-27','2023-02-27',220852.96,1,855.00,'FACTURA A 0033 - 012844',NULL,NULL,NULL,NULL,NULL),(170107,NULL,0,NULL,NULL,21,40817,46974,57,7610,1,1,'2023-02-27','2023-02-27',75168.24,1,855.00,'FACTURA A 0033 - 012846',NULL,NULL,NULL,NULL,NULL),(170108,NULL,0,NULL,NULL,21,40817,46974,57,7611,1,1,'2023-03-03','2023-03-03',31433.93,1,855.00,'FACTURA A 0033 - 012962',NULL,NULL,NULL,NULL,NULL),(170109,NULL,0,NULL,170109,3,40817,46974,57,7611,2,1,'2023-03-03','2023-03-03',31433.93,1,855.00,'PAGO CONTADO  0001 - 001875',NULL,NULL,NULL,NULL,NULL),(170110,NULL,0,NULL,NULL,21,40817,46974,57,7612,1,1,'2023-04-05','2023-04-05',49068.00,1,855.00,'FACTURA A 0033 - 013757',NULL,NULL,NULL,NULL,NULL),(170111,NULL,0,NULL,170111,3,40817,46974,57,7612,2,1,'2023-04-10','2023-04-10',49068.00,1,855.00,'PAGO  0004 - 002068',NULL,NULL,NULL,NULL,NULL),(170112,NULL,0,NULL,170112,3,40817,46974,57,7612,2,1,'2023-04-12','2023-04-12',339211.07,1,855.00,'PAGO  0004 - 002080',NULL,NULL,NULL,NULL,NULL),(170113,NULL,0,NULL,NULL,21,40817,46974,57,7612,1,1,'2023-04-12','2023-04-12',339211.07,1,855.00,'FACTURA A 0033 - 013914',NULL,NULL,NULL,NULL,NULL),(170114,NULL,0,NULL,NULL,21,40817,46974,57,7614,1,1,'2023-06-08','2023-06-08',65385.19,1,855.00,'FACTURA A 0033 - 015402',NULL,NULL,NULL,NULL,NULL),(170115,NULL,0,NULL,170115,3,40817,46974,57,7614,2,1,'2023-06-12','2023-06-12',65385.19,1,855.00,'PAGO  0004 - 002393',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170116,NULL,0,NULL,NULL,21,40817,46974,57,7615,1,1,'2023-07-14','2023-07-14',52482.46,1,855.00,'FACTURA A 0033 - 016292',NULL,NULL,NULL,NULL,NULL),(170117,NULL,0,NULL,170117,3,40817,46974,57,7615,2,1,'2023-07-19','2023-07-19',52482.46,1,855.00,'PAGO  0004 - 002584',NULL,NULL,NULL,NULL,NULL),(170118,NULL,0,NULL,170118,3,40817,46974,57,7616,2,1,'2023-08-04','2023-08-04',283449.23,1,855.00,'PAGO  0004 - 002662',NULL,NULL,NULL,NULL,NULL),(170119,NULL,0,NULL,NULL,21,40817,46974,57,7616,1,1,'2023-08-04','2023-08-04',283449.23,1,855.00,'FACTURA A 0033 - 016791',NULL,NULL,NULL,NULL,NULL),(170120,NULL,0,NULL,NULL,21,40817,46974,57,7617,1,1,'2023-09-28','2023-09-28',846165.39,1,855.00,'FACTURA A 0033 - 018106',NULL,NULL,NULL,NULL,NULL),(170121,NULL,0,NULL,NULL,21,40817,46974,57,7617,1,1,'2023-09-28','2023-09-28',81512.12,1,855.00,'FACTURA A 0033 - 018108',NULL,NULL,NULL,NULL,NULL),(170122,NULL,0,NULL,170122,3,40817,46974,57,7617,2,1,'2023-09-28','2023-09-28',927677.51,1,855.00,'PAGO  0004 - 002971',NULL,NULL,NULL,NULL,NULL),(170123,NULL,0,NULL,NULL,21,40817,46974,57,6064,1,1,'2024-01-29','2024-01-29',215794.56,1,855.00,'FACTURA A 0033 - 020478',NULL,NULL,NULL,NULL,NULL),(170124,NULL,0,NULL,170124,3,40817,46974,57,6064,2,1,'2024-01-29','2024-01-29',215794.56,1,855.00,'PAGO CONTADO  0001 - 003239',NULL,NULL,NULL,NULL,NULL),(170125,NULL,0,NULL,NULL,21,40817,46974,57,6067,1,1,'2024-04-03','2024-04-03',999310.88,1,855.00,'FACTURA A 0033 - 021578',NULL,NULL,NULL,NULL,NULL),(170126,NULL,0,NULL,170126,3,40817,46974,57,6067,2,1,'2024-04-07','2024-04-07',999310.88,1,855.00,'PAGO  0004 - 003970',NULL,NULL,NULL,NULL,NULL),(170127,NULL,0,NULL,170127,3,40817,46974,57,7594,2,1,'2022-01-31','2022-01-31',20580.37,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000018',NULL,NULL,NULL,NULL,NULL),(170128,NULL,0,NULL,NULL,21,40817,46974,57,7594,1,1,'2022-01-31','2022-01-31',20580.37,1,855.00,'FACTURA A 0030 - 049937',NULL,NULL,NULL,NULL,NULL),(170129,NULL,0,NULL,NULL,21,40817,40949,57,7599,1,1,'2022-06-16','2022-06-16',20100.00,1,855.00,'FACTURA A 0002 - 010918',NULL,NULL,NULL,NULL,NULL),(170130,NULL,0,NULL,170130,3,40817,40949,57,7600,2,1,'2022-07-08','2022-07-08',20100.00,1,855.00,'PAGO  0004 - 000798',NULL,NULL,NULL,NULL,NULL),(170131,NULL,0,NULL,NULL,21,40817,40949,57,7609,1,1,'2023-01-12','2023-01-12',15600.00,1,855.00,'FACTURA A 0002 - 011529',NULL,NULL,NULL,NULL,NULL),(170132,NULL,0,NULL,170132,3,40817,40949,57,7610,2,1,'2023-02-01','2023-02-01',15600.00,1,855.00,'PAGO  0004 - 001778',NULL,NULL,NULL,NULL,NULL),(170133,NULL,0,NULL,NULL,21,40817,40949,57,6064,1,1,'2024-01-03','2024-01-03',2800.00,1,855.00,'FACTURA A 0002 - 012600',NULL,NULL,NULL,NULL,NULL),(170134,NULL,0,NULL,NULL,21,40817,40949,57,6064,1,1,'2024-01-05','2024-01-05',2500.00,1,855.00,'FACTURA A 0002 - 012608',NULL,NULL,NULL,NULL,NULL),(170135,NULL,0,NULL,170135,3,40817,40949,57,6064,2,1,'2024-01-15','2024-01-15',2800.00,1,855.00,'PAGO CONTADO  0001 - 003334',NULL,NULL,NULL,NULL,NULL),(170136,NULL,0,NULL,170136,3,40817,40949,57,6064,2,1,'2024-01-15','2024-01-15',2500.00,1,855.00,'PAGO CONTADO  0001 - 003336',NULL,NULL,NULL,NULL,NULL),(170137,NULL,0,NULL,NULL,21,40817,40847,57,7590,1,1,'2021-12-31','2021-12-31',3358.36,1,855.00,'FACTURA C 0013 - 005912',NULL,NULL,NULL,NULL,NULL),(170138,NULL,0,NULL,170138,3,40817,40847,57,7594,2,1,'2022-01-06','2022-01-06',5005.00,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000006',NULL,NULL,NULL,NULL,NULL),(170139,NULL,0,NULL,NULL,21,40817,40847,57,7594,1,1,'2022-01-06','2022-01-06',5005.00,1,855.00,'FACTURA A 0009 - 007422',NULL,NULL,NULL,NULL,NULL),(170140,NULL,0,NULL,NULL,21,40817,40847,57,7594,1,1,'2022-01-06','2022-01-06',5005.00,1,855.00,'FACTURA C 0009 - 007422',NULL,NULL,NULL,NULL,NULL),(170141,NULL,0,NULL,NULL,21,40817,40847,57,7594,1,1,'2022-01-06','2022-01-06',5005.00,1,855.00,'FACTURA C 0009 - 007526',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170142,NULL,0,NULL,170142,3,40817,40847,57,7594,2,1,'2022-01-13','2022-01-13',10010.00,1,855.00,'PAGO  0004 - 000009',NULL,NULL,NULL,NULL,NULL),(170143,NULL,0,NULL,NULL,21,40817,40847,57,7595,1,1,'2022-02-01','2022-02-01',5005.00,1,855.00,'FACTURA C 0009 - 007626',NULL,NULL,NULL,NULL,NULL),(170144,NULL,0,NULL,NULL,21,40817,40847,57,7595,1,1,'2022-02-01','2022-02-01',5005.00,1,855.00,'FACTURA C 0009 - 007712',NULL,NULL,NULL,NULL,NULL),(170145,NULL,0,NULL,NULL,21,40817,40847,57,7595,1,1,'2022-02-04','2022-02-04',8808.80,1,855.00,'FACTURA C 0010 - 006698',NULL,NULL,NULL,NULL,NULL),(170146,NULL,0,NULL,170146,3,40817,40847,57,7595,2,1,'2022-02-07','2022-02-07',10010.00,1,855.00,'PAGO  0004 - 000117',NULL,NULL,NULL,NULL,NULL),(170147,NULL,0,NULL,170147,3,40817,40847,57,7595,2,1,'2022-02-09','2022-02-09',8808.80,1,855.00,'PAGO  0001 - 000148',NULL,NULL,NULL,NULL,NULL),(170148,NULL,0,NULL,NULL,21,40817,40847,57,7596,1,1,'2022-03-03','2022-03-03',6500.00,1,855.00,'FACTURA C 0009 - 007825',NULL,NULL,NULL,NULL,NULL),(170149,NULL,0,NULL,NULL,21,40817,40847,57,7596,1,1,'2022-03-03','2022-03-03',6500.00,1,855.00,'FACTURA C 0009 - 007910',NULL,NULL,NULL,NULL,NULL),(170150,NULL,0,NULL,NULL,21,40817,40847,57,7596,1,1,'2022-03-04','2022-03-04',5803.00,1,855.00,'FACTURA C 0013 - 006652',NULL,NULL,NULL,NULL,NULL),(170151,NULL,0,NULL,170151,3,40817,40847,57,7596,2,1,'2022-03-07','2022-03-07',5803.00,1,855.00,'PAGO  0001 - 000239',NULL,NULL,NULL,NULL,NULL),(170152,NULL,0,NULL,170152,3,40817,40847,57,7596,2,1,'2022-03-07','2022-03-07',3358.36,1,855.00,'PAGO  0001 - 000240',NULL,NULL,NULL,NULL,NULL),(170153,NULL,0,NULL,170153,3,40817,40847,57,7596,2,1,'2022-03-08','2022-03-08',13000.00,1,855.00,'PAGO  0004 - 000241',NULL,NULL,NULL,NULL,NULL),(170154,NULL,0,NULL,NULL,21,40817,40847,57,7596,1,1,'2022-03-25','2022-03-25',4974.00,1,855.00,'FACTURA C 0013 - 006796',NULL,NULL,NULL,NULL,NULL),(170155,NULL,0,NULL,170155,3,40817,40847,57,7596,2,1,'2022-03-28','2022-03-28',4974.00,1,855.00,'PAGO  0001 - 000318',NULL,NULL,NULL,NULL,NULL),(170156,NULL,0,NULL,170156,3,40817,40847,57,7596,2,1,'2022-03-31','2022-03-31',6145.00,1,855.00,'PAGO  0001 - 000340',NULL,NULL,NULL,NULL,NULL),(170157,NULL,0,NULL,NULL,21,40817,40847,57,7596,1,1,'2022-03-31','2022-03-31',6145.00,1,855.00,'FACTURA C 0010 - 006947',NULL,NULL,NULL,NULL,NULL),(170158,NULL,0,NULL,NULL,21,40817,40847,57,7597,1,1,'2022-04-01','2022-04-01',6500.00,1,855.00,'FACTURA C 0009 - 008034',NULL,NULL,NULL,NULL,NULL),(170159,NULL,0,NULL,NULL,21,40817,40847,57,7597,1,1,'2022-04-01','2022-04-01',5803.00,1,855.00,'FACTURA C 0013 - 006828',NULL,NULL,NULL,NULL,NULL),(170160,NULL,0,NULL,170160,3,40817,40847,57,7597,2,1,'2022-04-05','2022-04-05',5803.00,1,855.00,'PAGO  0001 - 000345',NULL,NULL,NULL,NULL,NULL),(170161,NULL,0,NULL,NULL,21,40817,40847,57,7597,1,1,'2022-04-08','2022-04-08',3316.00,1,855.00,'FACTURA C 0013 - 006878',NULL,NULL,NULL,NULL,NULL),(170162,NULL,0,NULL,NULL,21,40817,40847,57,7597,1,1,'2022-04-08','2022-04-08',6500.00,1,855.00,'FACTURA C 0009 - 008210',NULL,NULL,NULL,NULL,NULL),(170163,NULL,0,NULL,170163,3,40817,40847,57,7597,2,1,'2022-04-11','2022-04-11',3316.00,1,855.00,'PAGO  0001 - 000381',NULL,NULL,NULL,NULL,NULL),(170164,NULL,0,NULL,170164,3,40817,40847,57,7597,2,1,'2022-04-12','2022-04-12',13000.00,1,855.00,'PAGO  0004 - 000413',NULL,NULL,NULL,NULL,NULL),(170165,NULL,0,NULL,NULL,21,40817,40847,57,7598,1,1,'2022-05-02','2022-05-02',6500.00,1,855.00,'FACTURA C 0009 - 008265',NULL,NULL,NULL,NULL,NULL),(170166,NULL,0,NULL,NULL,21,40817,40847,57,7598,1,1,'2022-05-02','2022-05-02',6500.00,1,855.00,'FACTURA C 0009 - 008351',NULL,NULL,NULL,NULL,NULL),(170167,NULL,0,NULL,170167,3,40817,40847,57,7598,2,1,'2022-05-04','2022-05-04',13000.00,1,855.00,'PAGO  0004 - 000510',NULL,NULL,NULL,NULL,NULL),(170168,NULL,0,NULL,NULL,21,40817,40847,57,7599,1,1,'2022-06-01','2022-06-01',6500.00,1,855.00,'FACTURA C 0009 - 008460',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170169,NULL,0,NULL,NULL,21,40817,40847,57,7599,1,1,'2022-06-01','2022-06-01',6500.00,1,855.00,'FACTURA C 0009 - 008545',NULL,NULL,NULL,NULL,NULL),(170170,NULL,0,NULL,170170,3,40817,40847,57,7599,2,1,'2022-06-03','2022-06-03',13000.00,1,855.00,'PAGO  0001 - 000562',NULL,NULL,NULL,NULL,NULL),(170171,NULL,0,NULL,NULL,21,40817,40847,57,7600,1,1,'2022-07-01','2022-07-01',6500.00,1,855.00,'FACTURA C 0009 - 008665',NULL,NULL,NULL,NULL,NULL),(170172,NULL,0,NULL,NULL,21,40817,40847,57,7600,1,1,'2022-07-01','2022-07-01',6500.00,1,855.00,'FACTURA C 0009 - 008762',NULL,NULL,NULL,NULL,NULL),(170173,NULL,0,NULL,170173,3,40817,40847,57,7600,2,1,'2022-07-12','2022-07-12',13000.00,1,855.00,'PAGO  0004 - 000807',NULL,NULL,NULL,NULL,NULL),(170174,NULL,0,NULL,170174,3,40817,40847,57,7600,2,1,'2022-07-13','2022-07-13',2458.00,1,855.00,'PAGO  0001 - 000771',NULL,NULL,NULL,NULL,NULL),(170175,NULL,0,NULL,NULL,21,40817,40847,57,7600,1,1,'2022-07-13','2022-07-13',2458.00,1,855.00,'FACTURA C 0010 - 007446',NULL,NULL,NULL,NULL,NULL),(170176,NULL,0,NULL,NULL,21,40817,40847,57,7601,1,1,'2022-08-02','2022-08-02',6500.00,1,855.00,'FACTURA C 0009 - 008870',NULL,NULL,NULL,NULL,NULL),(170177,NULL,0,NULL,NULL,21,40817,40847,57,7601,1,1,'2022-08-02','2022-08-02',6500.00,1,855.00,'FACTURA C 0009 - 008957',NULL,NULL,NULL,NULL,NULL),(170178,NULL,0,NULL,170178,3,40817,40847,57,7601,2,1,'2022-08-12','2022-08-12',13000.00,1,855.00,'PAGO  0004 - 000992',NULL,NULL,NULL,NULL,NULL),(170179,NULL,0,NULL,NULL,21,40817,40847,57,7601,1,1,'2022-08-17','2022-08-17',33183.00,1,855.00,'FACTURA C 0010 - 007640',NULL,NULL,NULL,NULL,NULL),(170180,NULL,0,NULL,170180,3,40817,40847,57,7601,2,1,'2022-08-19','2022-08-19',33183.00,1,855.00,'PAGO  0001 - 000939',NULL,NULL,NULL,NULL,NULL),(170181,NULL,0,NULL,NULL,21,40817,40847,57,7602,1,1,'2022-09-01','2022-09-01',6500.00,1,855.00,'FACTURA C 0009 - 009079',NULL,NULL,NULL,NULL,NULL),(170182,NULL,0,NULL,NULL,21,40817,40847,57,7602,1,1,'2022-09-01','2022-09-01',6500.00,1,855.00,'FACTURA C 0009 - 009166',NULL,NULL,NULL,NULL,NULL),(170183,NULL,0,NULL,NULL,21,40817,40847,57,7602,1,1,'2022-09-05','2022-09-05',2458.00,1,855.00,'FACTURA C 0010 - 007732',NULL,NULL,NULL,NULL,NULL),(170184,NULL,0,NULL,170184,3,40817,40847,57,7602,2,1,'2022-09-06','2022-09-06',2458.00,1,855.00,'PAGO  0001 - 001010',NULL,NULL,NULL,NULL,NULL),(170185,NULL,0,NULL,170185,3,40817,40847,57,7602,2,1,'2022-09-07','2022-09-07',13000.00,1,855.00,'PAGO  0004 - 001109',NULL,NULL,NULL,NULL,NULL),(170186,NULL,0,NULL,NULL,21,40817,40847,57,7602,1,1,'2022-09-13','2022-09-13',2068.00,1,855.00,'FACTURA C 0013 - 007856',NULL,NULL,NULL,NULL,NULL),(170187,NULL,0,NULL,170187,3,40817,40847,57,7602,2,1,'2022-09-14','2022-09-14',2068.00,1,855.00,'PAGO  0001 - 001042',NULL,NULL,NULL,NULL,NULL),(170188,NULL,0,NULL,NULL,21,40817,40847,57,7602,1,1,'2022-09-29','2022-09-29',2458.00,1,855.00,'FACTURA C 0010 - 007902',NULL,NULL,NULL,NULL,NULL),(170189,NULL,0,NULL,170189,3,40817,40847,57,7602,2,1,'2022-09-30','2022-09-30',2458.00,1,855.00,'PAGO  0001 - 001114',NULL,NULL,NULL,NULL,NULL),(170190,NULL,0,NULL,NULL,21,40817,40847,57,7603,1,1,'2022-10-03','2022-10-03',6500.00,1,855.00,'FACTURA C 0009 - 009309',NULL,NULL,NULL,NULL,NULL),(170191,NULL,0,NULL,NULL,21,40817,40847,57,7603,1,1,'2022-10-03','2022-10-03',6500.00,1,855.00,'FACTURA C 0009 - 009405',NULL,NULL,NULL,NULL,NULL),(170192,NULL,0,NULL,NULL,21,40817,40847,57,7603,1,1,'2022-10-05','2022-10-05',1229.00,1,855.00,'FACTURA C 0010 - 007933',NULL,NULL,NULL,NULL,NULL),(170193,NULL,0,NULL,170193,3,40817,40847,57,7603,2,1,'2022-10-05','2022-10-05',13000.00,1,855.00,'PAGO  0004 - 001252',NULL,NULL,NULL,NULL,NULL),(170194,NULL,0,NULL,170194,3,40817,40847,57,7603,2,1,'2022-10-12','2022-10-12',1229.00,1,855.00,'PAGO  0001 - 001150',NULL,NULL,NULL,NULL,NULL),(170195,NULL,0,NULL,170195,3,40817,40847,57,7603,2,1,'2022-10-21','2022-10-21',8064.00,1,855.00,'PAGO  0001 - 001206',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170196,NULL,0,NULL,NULL,21,40817,40847,57,7603,1,1,'2022-10-21','2022-10-21',8064.00,1,855.00,'FACTURA C 0003 - 008154',NULL,NULL,NULL,NULL,NULL),(170197,NULL,0,NULL,NULL,21,40817,40847,57,7604,1,1,'2022-11-01','2022-11-01',6500.00,1,855.00,'FACTURA C 0009 - 009527',NULL,NULL,NULL,NULL,NULL),(170198,NULL,0,NULL,NULL,21,40817,40847,57,7604,1,1,'2022-11-01','2022-11-01',6500.00,1,855.00,'FACTURA C 0009 - 009615',NULL,NULL,NULL,NULL,NULL),(170199,NULL,0,NULL,170199,3,40817,40847,57,7604,2,1,'2022-11-04','2022-11-04',13000.00,1,855.00,'PAGO  0004 - 001374',NULL,NULL,NULL,NULL,NULL),(170200,NULL,0,NULL,170200,3,40817,40847,57,7604,2,1,'2022-11-07','2022-11-07',2458.00,1,855.00,'PAGO  0001 - 001296',NULL,NULL,NULL,NULL,NULL),(170201,NULL,0,NULL,NULL,21,40817,40847,57,7604,1,1,'2022-11-07','2022-11-07',2458.00,1,855.00,'FACTURA C 0010 - 008110',NULL,NULL,NULL,NULL,NULL),(170202,NULL,0,NULL,NULL,21,40817,40847,57,7604,1,1,'2022-11-25','2022-11-25',1344.00,1,855.00,'FACTURA C 0013 - 008418',NULL,NULL,NULL,NULL,NULL),(170203,NULL,0,NULL,170203,3,40817,40847,57,7605,2,1,'2022-12-02','2022-12-02',18435.00,1,855.00,'PAGO  0001 - 001420',NULL,NULL,NULL,NULL,NULL),(170204,NULL,0,NULL,NULL,21,40817,40847,57,7605,1,1,'2022-12-02','2022-12-02',18435.00,1,855.00,'FACTURA C 0010 - 008273',NULL,NULL,NULL,NULL,NULL),(170205,NULL,0,NULL,NULL,21,40817,40847,57,7605,1,1,'2022-12-02','2022-12-02',6500.00,1,855.00,'FACTURA C 0009 - 009724',NULL,NULL,NULL,NULL,NULL),(170206,NULL,0,NULL,NULL,21,40817,40847,57,7605,1,1,'2022-12-02','2022-12-02',6500.00,1,855.00,'FACTURA C 0009 - 009811',NULL,NULL,NULL,NULL,NULL),(170207,NULL,0,NULL,NULL,21,40817,40847,57,7605,1,1,'2022-12-05','2022-12-05',1229.00,1,855.00,'FACTURA C 0010 - 008283',NULL,NULL,NULL,NULL,NULL),(170208,NULL,0,NULL,NULL,21,40817,40847,57,7605,1,1,'2022-12-06','2022-12-06',2458.00,1,855.00,'FACTURA C 0010 - 008295',NULL,NULL,NULL,NULL,NULL),(170209,NULL,0,NULL,170209,3,40817,40847,57,7605,2,1,'2022-12-07','2022-12-07',3687.00,1,855.00,'PAGO  0001 - 001442',NULL,NULL,NULL,NULL,NULL),(170210,NULL,0,NULL,170210,3,40817,40847,57,7605,2,1,'2022-12-07','2022-12-07',14344.00,1,855.00,'PAGO  0004 - 001538',NULL,NULL,NULL,NULL,NULL),(170211,NULL,0,NULL,NULL,21,40817,40847,57,7609,1,1,'2023-01-02','2023-01-02',8450.00,1,855.00,'FACTURA C 0009 - 009924',NULL,NULL,NULL,NULL,NULL),(170212,NULL,0,NULL,NULL,21,40817,40847,57,7609,1,1,'2023-01-02','2023-01-02',6500.00,1,855.00,'FACTURA C 0009 - 010024',NULL,NULL,NULL,NULL,NULL),(170213,NULL,0,NULL,170213,3,40817,40847,57,7609,2,1,'2023-01-07','2023-01-07',14950.00,1,855.00,'PAGO  0004 - 001640',NULL,NULL,NULL,NULL,NULL),(170214,NULL,0,NULL,NULL,21,40817,40847,57,7609,1,1,'2023-01-13','2023-01-13',1344.00,1,855.00,'FACTURA C 0013 - 008726',NULL,NULL,NULL,NULL,NULL),(170215,NULL,0,NULL,170215,3,40817,40847,57,7609,2,1,'2023-01-16','2023-01-16',1344.00,1,855.00,'PAGO  0001 - 001636',NULL,NULL,NULL,NULL,NULL),(170216,NULL,0,NULL,NULL,21,40817,40847,57,7609,1,1,'2023-01-17','2023-01-17',2458.00,1,855.00,'FACTURA C 0010 - 008485',NULL,NULL,NULL,NULL,NULL),(170217,NULL,0,NULL,170217,3,40817,40847,57,7609,2,1,'2023-01-19','2023-01-19',2458.00,1,855.00,'PAGO  0001 - 001655',NULL,NULL,NULL,NULL,NULL),(170218,NULL,0,NULL,NULL,21,40817,40847,57,7609,1,1,'2023-01-20','2023-01-20',1344.00,1,855.00,'FACTURA C 0013 - 008781',NULL,NULL,NULL,NULL,NULL),(170219,NULL,0,NULL,170219,3,40817,40847,57,7609,2,1,'2023-01-23','2023-01-23',1344.00,1,855.00,'PAGO  0001 - 001695',NULL,NULL,NULL,NULL,NULL),(170220,NULL,0,NULL,NULL,21,40817,40847,57,7609,1,1,'2023-01-25','2023-01-25',18435.00,1,855.00,'FACTURA C 0010 - 008526',NULL,NULL,NULL,NULL,NULL),(170221,NULL,0,NULL,170221,3,40817,40847,57,7609,2,1,'2023-01-26','2023-01-26',18435.00,1,855.00,'PAGO  0001 - 001730',NULL,NULL,NULL,NULL,NULL),(170222,NULL,0,NULL,NULL,21,40817,40847,57,7610,1,1,'2023-02-01','2023-02-01',8450.00,1,855.00,'FACTURA C 0009 - 010124',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170223,NULL,0,NULL,NULL,21,40817,40847,57,7610,1,1,'2023-02-01','2023-02-01',8450.00,1,855.00,'FACTURA C 0009 - 010209',NULL,NULL,NULL,NULL,NULL),(170224,NULL,0,NULL,170224,3,40817,40847,57,7610,2,1,'2023-02-07','2023-02-07',16900.00,1,855.00,'PAGO  0004 - 001807',NULL,NULL,NULL,NULL,NULL),(170225,NULL,0,NULL,NULL,21,40817,40847,57,7610,1,1,'2023-02-16','2023-02-16',2458.00,1,855.00,'FACTURA C 0010 - 008653',NULL,NULL,NULL,NULL,NULL),(170226,NULL,0,NULL,170226,3,40817,40847,57,7610,2,1,'2023-02-17','2023-02-17',2458.00,1,855.00,'PAGO  0001 - 001845',NULL,NULL,NULL,NULL,NULL),(170227,NULL,0,NULL,NULL,21,40817,40847,57,7611,1,1,'2023-03-01','2023-03-01',8450.00,1,855.00,'FACTURA C 0009 - 010304',NULL,NULL,NULL,NULL,NULL),(170228,NULL,0,NULL,NULL,21,40817,40847,57,7611,1,1,'2023-03-01','2023-03-01',8450.00,1,855.00,'FACTURA C 0009 - 010390',NULL,NULL,NULL,NULL,NULL),(170229,NULL,0,NULL,170229,3,40817,40847,57,7611,2,1,'2023-03-07','2023-03-07',16900.00,1,855.00,'PAGO  0004 - 001896',NULL,NULL,NULL,NULL,NULL),(170230,NULL,0,NULL,NULL,21,40817,40847,57,7611,1,1,'2023-03-23','2023-03-23',4557.00,1,855.00,'FACTURA C 0013 - 009226',NULL,NULL,NULL,NULL,NULL),(170231,NULL,0,NULL,170231,3,40817,40847,57,7611,2,1,'2023-03-27','2023-03-27',4557.00,1,855.00,'PAGO  0001 - 001957',NULL,NULL,NULL,NULL,NULL),(170232,NULL,0,NULL,170232,3,40817,40847,57,7611,2,1,'2023-03-31','2023-03-31',12800.00,1,855.00,'PAGO  0001 - 002014',NULL,NULL,NULL,NULL,NULL),(170233,NULL,0,NULL,NULL,21,40817,40847,57,7611,1,1,'2023-03-31','2023-03-31',12800.00,1,855.00,'FACTURA C 0010 - 008865',NULL,NULL,NULL,NULL,NULL),(170234,NULL,0,NULL,NULL,21,40817,40847,57,7612,1,1,'2023-04-04','2023-04-04',10400.00,1,855.00,'FACTURA C 0009 - 010503',NULL,NULL,NULL,NULL,NULL),(170235,NULL,0,NULL,NULL,21,40817,40847,57,7612,1,1,'2023-04-04','2023-04-04',10400.00,1,855.00,'FACTURA C 0009 - 010597',NULL,NULL,NULL,NULL,NULL),(170236,NULL,0,NULL,NULL,21,40817,40847,57,7612,1,1,'2023-04-13','2023-04-13',9600.00,1,855.00,'FACTURA C 0010 - 008912',NULL,NULL,NULL,NULL,NULL),(170237,NULL,0,NULL,170237,3,40817,40847,57,7612,2,1,'2023-04-13','2023-04-13',20800.00,1,855.00,'PAGO  0004 - 002092',NULL,NULL,NULL,NULL,NULL),(170238,NULL,0,NULL,170238,3,40817,40847,57,7612,2,1,'2023-04-20','2023-04-20',9600.00,1,855.00,'PAGO  0001 - 002080',NULL,NULL,NULL,NULL,NULL),(170239,NULL,0,NULL,NULL,21,40817,40847,57,7613,1,1,'2023-05-01','2023-05-01',1344.00,1,855.00,'FACTURA C 0013 - 009026',NULL,NULL,NULL,NULL,NULL),(170240,NULL,0,NULL,NULL,21,40817,40847,57,7613,1,1,'2023-05-02','2023-05-02',10400.00,1,855.00,'FACTURA C 0009 - 010706',NULL,NULL,NULL,NULL,NULL),(170241,NULL,0,NULL,NULL,21,40817,40847,57,7613,1,1,'2023-05-02','2023-05-02',10400.00,1,855.00,'FACTURA C 0009 - 010793',NULL,NULL,NULL,NULL,NULL),(170242,NULL,0,NULL,170242,3,40817,40847,57,7613,2,1,'2023-05-11','2023-05-11',20800.00,1,855.00,'PAGO  0004 - 002229',NULL,NULL,NULL,NULL,NULL),(170243,NULL,0,NULL,NULL,21,40817,40847,57,7613,1,1,'2023-05-12','2023-05-12',4294.00,1,855.00,'FACTURA C 0013 - 009529',NULL,NULL,NULL,NULL,NULL),(170244,NULL,0,NULL,170244,3,40817,40847,57,7613,2,1,'2023-05-23','2023-05-23',5638.00,1,855.00,'PAGO  0004 - 002300',NULL,NULL,NULL,NULL,NULL),(170245,NULL,0,NULL,NULL,21,40817,40847,57,7613,1,1,'2023-05-31','2023-05-31',2147.00,1,855.00,'FACTURA C 0013 - 009663',NULL,NULL,NULL,NULL,NULL),(170246,NULL,0,NULL,NULL,21,40817,40847,57,7614,1,1,'2023-06-01','2023-06-01',10400.00,1,855.00,'FACTURA C 0009 - 010892',NULL,NULL,NULL,NULL,NULL),(170247,NULL,0,NULL,NULL,21,40817,40847,57,7614,1,1,'2023-06-01','2023-06-01',10400.00,1,855.00,'FACTURA C 0009 - 010979',NULL,NULL,NULL,NULL,NULL),(170248,NULL,0,NULL,170248,3,40817,40847,57,7614,2,1,'2023-06-02','2023-06-02',2147.00,1,855.00,'PAGO  0004 - 002338',NULL,NULL,NULL,NULL,NULL),(170249,NULL,0,NULL,170249,3,40817,40847,57,7614,2,1,'2023-06-08','2023-06-08',20800.00,1,855.00,'PAGO  0004 - 002370',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170250,NULL,0,NULL,NULL,21,40817,40847,57,7615,1,1,'2023-07-04','2023-07-04',13500.00,1,855.00,'FACTURA C 0009 - 011091',NULL,NULL,NULL,NULL,NULL),(170251,NULL,0,NULL,NULL,21,40817,40847,57,7615,1,1,'2023-07-06','2023-07-06',13500.00,1,855.00,'FACTURA C 0009 - 011191',NULL,NULL,NULL,NULL,NULL),(170252,NULL,0,NULL,170252,3,40817,40847,57,7615,2,1,'2023-07-11','2023-07-11',27000.00,1,855.00,'PAGO  0004 - 002526',NULL,NULL,NULL,NULL,NULL),(170253,NULL,0,NULL,NULL,21,40817,40847,57,7615,1,1,'2023-07-14','2023-07-14',3200.00,1,855.00,'FACTURA C 0010 - 009396',NULL,NULL,NULL,NULL,NULL),(170254,NULL,0,NULL,170254,3,40817,40847,57,7615,2,1,'2023-07-17','2023-07-17',3200.00,1,855.00,'PAGO  0001 - 002381',NULL,NULL,NULL,NULL,NULL),(170255,NULL,0,NULL,NULL,21,40817,40847,57,7616,1,1,'2023-08-01','2023-08-01',13500.00,1,855.00,'FACTURA C 0009 - 011320',NULL,NULL,NULL,NULL,NULL),(170256,NULL,0,NULL,NULL,21,40817,40847,57,7616,1,1,'2023-08-01','2023-08-01',13500.00,1,855.00,'FACTURA C 0009 - 011407',NULL,NULL,NULL,NULL,NULL),(170257,NULL,0,NULL,170257,3,40817,40847,57,7616,2,1,'2023-08-04','2023-08-04',27000.00,1,855.00,'PAGO  0004 - 002663',NULL,NULL,NULL,NULL,NULL),(170258,NULL,0,NULL,170258,3,40817,40847,57,7616,2,1,'2023-08-18','2023-08-18',89600.00,1,855.00,'PAGO  0001 - 002542',NULL,NULL,NULL,NULL,NULL),(170259,NULL,0,NULL,NULL,21,40817,40847,57,7616,1,1,'2023-08-18','2023-08-18',89600.00,1,855.00,'FACTURA C 0010 - 009613',NULL,NULL,NULL,NULL,NULL),(170260,NULL,0,NULL,NULL,21,40817,40847,57,7616,1,1,'2023-08-25','2023-08-25',23617.00,1,855.00,'FACTURA C 0013 - 010329',NULL,NULL,NULL,NULL,NULL),(170261,NULL,0,NULL,170261,3,40817,40847,57,7616,2,1,'2023-08-28','2023-08-28',23617.00,1,855.00,'PAGO  0001 - 002554',NULL,NULL,NULL,NULL,NULL),(170262,NULL,0,NULL,NULL,21,40817,40847,57,7617,1,1,'2023-09-01','2023-09-01',13500.00,1,855.00,'FACTURA C 0009 - 011524',NULL,NULL,NULL,NULL,NULL),(170263,NULL,0,NULL,NULL,21,40817,40847,57,7617,1,1,'2023-09-01','2023-09-01',13500.00,1,855.00,'FACTURA C 0009 - 011611',NULL,NULL,NULL,NULL,NULL),(170264,NULL,0,NULL,170264,3,40817,40847,57,7617,2,1,'2023-09-07','2023-09-07',27000.00,1,855.00,'PAGO  0004 - 002825',NULL,NULL,NULL,NULL,NULL),(170265,NULL,0,NULL,170265,3,40817,40847,57,7617,2,1,'2023-09-26','2023-09-26',19200.00,1,855.00,'PAGO CONTADO  0001 - 002730',NULL,NULL,NULL,NULL,NULL),(170266,NULL,0,NULL,NULL,21,40817,40847,57,7617,1,1,'2023-09-26','2023-09-26',19200.00,1,855.00,'FACTURA C 0001 - 009833',NULL,NULL,NULL,NULL,NULL),(170267,NULL,0,NULL,NULL,21,40817,40847,57,7618,1,1,'2023-10-02','2023-10-02',17000.00,1,855.00,'FACTURA C 0009 - 011744',NULL,NULL,NULL,NULL,NULL),(170268,NULL,0,NULL,NULL,21,40817,40847,57,7618,1,1,'2023-10-06','2023-10-06',17000.00,1,855.00,'FACTURA C 0009 - 011901',NULL,NULL,NULL,NULL,NULL),(170269,NULL,0,NULL,170269,3,40817,40847,57,7618,2,1,'2023-10-06','2023-10-06',15029.00,1,855.00,'PAGO CONTADO  0001 - 002777',NULL,NULL,NULL,NULL,NULL),(170270,NULL,0,NULL,NULL,21,40817,40847,57,7618,1,1,'2023-10-06','2023-10-06',15029.00,1,855.00,'FACTURA C 0013 - 010678',NULL,NULL,NULL,NULL,NULL),(170271,NULL,0,NULL,170271,3,40817,40847,57,7618,2,1,'2023-10-17','2023-10-17',34000.00,1,855.00,'PAGO  0004 - 003048',NULL,NULL,NULL,NULL,NULL),(170272,NULL,0,NULL,170272,3,40817,40847,57,7618,2,1,'2023-10-20','2023-10-20',19323.00,1,855.00,'PAGO CONTADO  0001 - 002808',NULL,NULL,NULL,NULL,NULL),(170273,NULL,0,NULL,NULL,21,40817,40847,57,7618,1,1,'2023-10-20','2023-10-20',19323.00,1,855.00,'FACTURA C 0013 - 010762',NULL,NULL,NULL,NULL,NULL),(170274,NULL,0,NULL,NULL,21,40817,40847,57,7619,1,1,'2023-11-01','2023-11-01',17000.00,1,855.00,'FACTURA C 0009 - 011968',NULL,NULL,NULL,NULL,NULL),(170275,NULL,0,NULL,NULL,21,40817,40847,57,7619,1,1,'2023-11-01','2023-11-01',17000.00,1,855.00,'FACTURA C 0009 - 012057',NULL,NULL,NULL,NULL,NULL),(170276,NULL,0,NULL,NULL,21,40817,40847,57,7619,1,1,'2023-11-03','2023-11-03',17176.00,1,855.00,'FACTURA C 0013 - 010898',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170277,NULL,0,NULL,170277,3,40817,40847,57,7619,2,1,'2023-11-07','2023-11-07',17176.00,1,855.00,'PAGO CONTADO  0001 - 002907',NULL,NULL,NULL,NULL,NULL),(170278,NULL,0,NULL,170278,3,40817,40847,57,7619,2,1,'2023-11-07','2023-11-07',34000.00,1,855.00,'PAGO  0004 - 003162',NULL,NULL,NULL,NULL,NULL),(170279,NULL,0,NULL,170279,3,40817,40847,57,7619,2,1,'2023-11-08','2023-11-08',17176.00,1,855.00,'PAGO  0001 - 002917',NULL,NULL,NULL,NULL,NULL),(170280,NULL,0,NULL,NULL,21,40817,40847,57,7619,1,1,'2023-11-21','2023-11-21',6400.00,1,855.00,'FACTURA C 0010 - 010136',NULL,NULL,NULL,NULL,NULL),(170281,NULL,0,NULL,170281,3,40817,40847,57,7619,2,1,'2023-11-24','2023-11-24',6400.00,1,855.00,'PAGO CONTADO  0001 - 002964',NULL,NULL,NULL,NULL,NULL),(170282,NULL,0,NULL,NULL,21,40817,40847,57,7620,1,1,'2023-12-01','2023-12-01',17000.00,1,855.00,'FACTURA C 0009 - 012160',NULL,NULL,NULL,NULL,NULL),(170283,NULL,0,NULL,NULL,21,40817,40847,57,7620,1,1,'2023-12-01','2023-12-01',17000.00,1,855.00,'FACTURA C 0009 - 012249',NULL,NULL,NULL,NULL,NULL),(170284,NULL,0,NULL,NULL,21,40817,40847,57,7620,1,1,'2023-12-05','2023-12-05',48000.00,1,855.00,'FACTURA C 0010 - 010215',NULL,NULL,NULL,NULL,NULL),(170285,NULL,0,NULL,170285,3,40817,40847,57,7620,2,1,'2023-12-05','2023-12-05',48000.00,1,855.00,'PAGO CONTADO  0001 - 003039',NULL,NULL,NULL,NULL,NULL),(170286,NULL,0,NULL,170286,3,40817,40847,57,7620,2,1,'2023-12-11','2023-12-11',16824.00,1,855.00,'PAGO  0004 - 003340',NULL,NULL,NULL,NULL,NULL),(170287,NULL,0,NULL,NULL,21,40817,40847,57,7620,1,1,'2023-12-11','2023-12-11',3200.00,1,855.00,'FACTURA C 0010 - 010240',NULL,NULL,NULL,NULL,NULL),(170288,NULL,0,NULL,170288,3,40817,40847,57,7620,2,1,'2023-12-12','2023-12-12',3200.00,1,855.00,'PAGO CONTADO  0001 - 003057',NULL,NULL,NULL,NULL,NULL),(170289,NULL,0,NULL,NULL,21,40817,40847,57,6064,1,1,'2024-01-02','2024-01-02',23426.00,1,855.00,'FACTURA C 0009 - 012376',NULL,NULL,NULL,NULL,NULL),(170290,NULL,0,NULL,NULL,21,40817,40847,57,6064,1,1,'2024-01-02','2024-01-02',23426.00,1,855.00,'FACTURA C 0009 - 012478',NULL,NULL,NULL,NULL,NULL),(170291,NULL,0,NULL,170291,3,40817,40847,57,6064,2,1,'2024-01-05','2024-01-05',46852.00,1,855.00,'PAGO  0004 - 003496',NULL,NULL,NULL,NULL,NULL),(170292,NULL,0,NULL,NULL,21,40817,40847,57,6064,1,1,'2024-01-19','2024-01-19',2147.00,1,855.00,'FACTURA C 0013 - 011412',NULL,NULL,NULL,NULL,NULL),(170293,NULL,0,NULL,NULL,21,40817,40847,57,6064,1,1,'2024-01-19','2024-01-19',57600.00,1,855.00,'FACTURA C 0010 - 010421',NULL,NULL,NULL,NULL,NULL),(170294,NULL,0,NULL,170294,3,40817,40847,57,6064,2,1,'2024-01-22','2024-01-22',2147.00,1,855.00,'PAGO CONTADO  0001 - 003219',NULL,NULL,NULL,NULL,NULL),(170295,NULL,0,NULL,170295,3,40817,40847,57,6064,2,1,'2024-01-22','2024-01-22',57600.00,1,855.00,'PAGO CONTADO  0001 - 003234',NULL,NULL,NULL,NULL,NULL),(170296,NULL,0,NULL,NULL,21,40817,40847,57,6065,1,1,'2024-02-01','2024-02-01',23426.00,1,855.00,'FACTURA C 0009 - 012581',NULL,NULL,NULL,NULL,NULL),(170297,NULL,0,NULL,NULL,21,40817,40847,57,6065,1,1,'2024-02-01','2024-02-01',23426.00,1,855.00,'FACTURA C 0009 - 012669',NULL,NULL,NULL,NULL,NULL),(170298,NULL,0,NULL,170298,3,40817,40847,57,6065,2,1,'2024-02-10','2024-02-10',46852.00,1,855.00,'PAGO  0004 - 003672',NULL,NULL,NULL,NULL,NULL),(170299,NULL,0,NULL,NULL,21,40817,40847,57,6066,1,1,'2024-03-01','2024-03-01',35455.00,1,855.00,'FACTURA C 0009 - 012773',NULL,NULL,NULL,NULL,NULL),(170300,NULL,0,NULL,NULL,21,40817,40847,57,6066,1,1,'2024-03-01','2024-03-01',35455.00,1,855.00,'FACTURA C 0009 - 012861',NULL,NULL,NULL,NULL,NULL),(170301,NULL,0,NULL,170301,3,40817,40847,57,6066,2,1,'2024-03-07','2024-03-07',70910.00,1,855.00,'PAGO  0004 - 003832',NULL,NULL,NULL,NULL,NULL),(170302,NULL,0,NULL,NULL,21,40817,40847,57,6066,1,1,'2024-03-13','2024-03-13',12800.00,1,855.00,'FACTURA C 0010 - 010668',NULL,NULL,NULL,NULL,NULL),(170303,NULL,0,NULL,170303,3,40817,40847,57,6066,2,1,'2024-03-18','2024-03-18',12800.00,1,855.00,'PAGO CONTADO  0001 - 003494',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170304,NULL,0,NULL,NULL,21,40817,40847,57,6067,1,1,'2024-04-03','2024-04-03',40135.00,1,855.00,'FACTURA C 0009 - 012951',NULL,NULL,NULL,NULL,NULL),(170305,NULL,0,NULL,NULL,21,40817,40847,57,6067,1,1,'2024-04-09','2024-04-09',40135.00,1,855.00,'FACTURA C 0009 - 013109',NULL,NULL,NULL,NULL,NULL),(170306,NULL,0,NULL,170306,3,40817,40847,57,6067,2,1,'2024-04-11','2024-04-11',80270.00,1,855.00,'PAGO  0004 - 004014',NULL,NULL,NULL,NULL,NULL),(170307,NULL,0,NULL,NULL,21,40817,40847,57,6067,1,1,'2024-04-19','2024-04-19',6400.00,1,855.00,'FACTURA C 0010 - 010842',NULL,NULL,NULL,NULL,NULL),(170308,NULL,0,NULL,170308,3,40817,40847,57,6067,2,1,'2024-04-22','2024-04-22',6400.00,1,855.00,'PAGO CONTADO  0001 - 003657',NULL,NULL,NULL,NULL,NULL),(170309,NULL,0,NULL,NULL,21,40817,40847,57,6068,1,1,'2024-05-02','2024-05-02',44550.00,1,855.00,'FACTURA C 0009 - 013173',NULL,NULL,NULL,NULL,NULL),(170310,NULL,0,NULL,NULL,21,40817,40847,57,6068,1,1,'2024-05-03','2024-05-03',44550.00,1,855.00,'FACTURA C 0009 - 013262',NULL,NULL,NULL,NULL,NULL),(170311,NULL,0,NULL,170311,3,40817,40847,57,6068,2,1,'2024-05-11','2024-05-11',89100.00,1,855.00,'PAGO  0004 - 004163',NULL,NULL,NULL,NULL,NULL),(170312,NULL,0,NULL,NULL,21,40817,40976,57,7594,1,1,'2022-01-31','2022-01-31',20008.50,1,855.00,'FACTURA A 0002 - 000601',NULL,NULL,NULL,NULL,NULL),(170313,NULL,0,NULL,170313,3,40817,40976,57,7595,2,1,'2022-02-02','2022-02-02',20008.50,1,855.00,'PAGO  0004 - 000095',NULL,NULL,NULL,NULL,NULL),(170314,NULL,0,NULL,NULL,21,40817,40976,57,7597,1,1,'2022-04-22','2022-04-22',50136.00,1,855.00,'FACTURA A 0002 - 000607',NULL,NULL,NULL,NULL,NULL),(170315,NULL,0,NULL,NULL,21,40817,40976,57,7597,1,1,'2022-04-27','2022-04-27',22817.00,1,855.00,'FACTURA A 0002 - 000608',NULL,NULL,NULL,NULL,NULL),(170316,NULL,0,NULL,NULL,21,40817,40976,57,7597,1,1,'2022-04-27','2022-04-27',13630.00,1,855.00,'FACTURA A 0002 - 000609',NULL,NULL,NULL,NULL,NULL),(170317,NULL,0,NULL,170317,3,40817,40976,57,7598,2,1,'2022-05-13','2022-05-13',86583.00,1,855.00,'PAGO  0004 - 000561',NULL,NULL,NULL,NULL,NULL),(170318,NULL,0,NULL,170318,3,40817,40976,57,7598,2,1,'2022-05-30','2022-05-30',27445.50,1,855.00,'PAGO CONTADO  0001 - 000545',NULL,NULL,NULL,NULL,NULL),(170319,NULL,0,NULL,NULL,21,40817,40976,57,7598,1,1,'2022-05-30','2022-05-30',27445.50,1,855.00,'FACTURA A 0002 - 000612',NULL,NULL,NULL,NULL,NULL),(170320,NULL,0,NULL,NULL,21,40817,40976,57,7598,1,1,'2022-05-31','2022-05-31',39248.00,1,855.00,'FACTURA A 0002 - 000613',NULL,NULL,NULL,NULL,NULL),(170321,NULL,0,NULL,170321,3,40817,40976,57,7598,2,1,'2022-05-31','2022-05-31',39248.00,1,855.00,'PAGO CONTADO  0001 - 000548',NULL,NULL,NULL,NULL,NULL),(170322,NULL,0,NULL,170322,3,40817,40976,57,7599,2,1,'2022-06-27','2022-06-27',5000.00,1,855.00,'PAGO CONTADO  0001 - 000675',NULL,NULL,NULL,NULL,NULL),(170323,NULL,0,NULL,170323,3,40817,40976,57,7599,2,1,'2022-06-27','2022-06-27',50138.00,1,855.00,'PAGO CONTADO  0001 - 000676',NULL,NULL,NULL,NULL,NULL),(170324,NULL,0,NULL,170324,3,40817,40976,57,7599,2,1,'2022-06-27','2022-06-27',48648.00,1,855.00,'NOTA DE CREDITO A 0002 - 000011',NULL,NULL,NULL,NULL,NULL),(170325,NULL,0,NULL,NULL,21,40817,40976,57,7599,1,1,'2022-06-27','2022-06-27',48648.00,1,855.00,'FACTURA A 0002 - 000616',NULL,NULL,NULL,NULL,NULL),(170326,NULL,0,NULL,NULL,21,40817,40976,57,7599,1,1,'2022-06-27','2022-06-27',5000.00,1,855.00,'FACTURA A 0002 - 000617',NULL,NULL,NULL,NULL,NULL),(170327,NULL,0,NULL,NULL,21,40817,40976,57,7599,1,1,'2022-06-27','2022-06-27',50138.00,1,855.00,'FACTURA A 0002 - 000618',NULL,NULL,NULL,NULL,NULL),(170328,NULL,0,NULL,NULL,21,40817,40976,57,7600,1,1,'2022-07-19','2022-07-19',26341.00,1,855.00,'FACTURA A 0002 - 000620',NULL,NULL,NULL,NULL,NULL),(170329,NULL,0,NULL,170329,3,40817,40976,57,7600,2,1,'2022-07-19','2022-07-19',26341.00,1,855.00,'PAGO CONTADO  0001 - 000814',NULL,NULL,NULL,NULL,NULL),(170330,NULL,0,NULL,NULL,21,40817,40976,57,7601,1,1,'2022-08-23','2022-08-23',84368.00,1,855.00,'FACTURA A 0002 - 000624',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170331,NULL,0,NULL,170331,3,40817,40976,57,7601,2,1,'2022-08-23','2022-08-23',84368.00,1,855.00,'PAGO CONTADO  0001 - 000948',NULL,NULL,NULL,NULL,NULL),(170332,NULL,0,NULL,NULL,21,40817,40976,57,7601,1,1,'2022-08-24','2022-08-24',40926.00,1,855.00,'FACTURA A 0002 - 000625',NULL,NULL,NULL,NULL,NULL),(170333,NULL,0,NULL,170333,3,40817,40976,57,7601,2,1,'2022-08-24','2022-08-24',40926.00,1,855.00,'PAGO CONTADO  0001 - 000947',NULL,NULL,NULL,NULL,NULL),(170334,NULL,0,NULL,NULL,21,40817,40976,57,7602,1,1,'2022-09-13','2022-09-13',12630.00,1,855.00,'FACTURA A 0002 - 000627',NULL,NULL,NULL,NULL,NULL),(170335,NULL,0,NULL,170335,3,40817,40976,57,7602,2,1,'2022-09-13','2022-09-13',12630.00,1,855.00,'PAGO CONTADO  0001 - 001039',NULL,NULL,NULL,NULL,NULL),(170336,NULL,0,NULL,170336,3,40817,40976,57,7602,2,1,'2022-09-14','2022-09-14',15687.00,1,855.00,'PAGO CONTADO  0001 - 001044',NULL,NULL,NULL,NULL,NULL),(170337,NULL,0,NULL,NULL,21,40817,40976,57,7602,1,1,'2022-09-14','2022-09-14',15687.00,1,855.00,'FACTURA A 0002 - 000628',NULL,NULL,NULL,NULL,NULL),(170338,NULL,0,NULL,NULL,21,40817,40976,57,7602,1,1,'2022-09-28','2022-09-28',34003.00,1,855.00,'FACTURA A 0002 - 000632',NULL,NULL,NULL,NULL,NULL),(170339,NULL,0,NULL,170339,3,40817,40976,57,7602,2,1,'2022-09-28','2022-09-28',34003.00,1,855.00,'PAGO CONTADO  0001 - 001096',NULL,NULL,NULL,NULL,NULL),(170340,NULL,0,NULL,NULL,21,40817,40976,57,7604,1,1,'2022-11-24','2022-11-24',209555.74,1,855.00,'FACTURA A 0002 - 000641',NULL,NULL,NULL,NULL,NULL),(170341,NULL,0,NULL,170341,3,40817,40976,57,7604,2,1,'2022-11-25','2022-11-25',209555.74,1,855.00,'PAGO  0004 - 001469',NULL,NULL,NULL,NULL,NULL),(170342,NULL,0,NULL,NULL,21,40817,40976,57,7611,1,1,'2023-03-28','2023-03-28',171076.00,1,855.00,'FACTURA A 0002 - 000652',NULL,NULL,NULL,NULL,NULL),(170343,NULL,0,NULL,170343,3,40817,40976,57,7611,2,1,'2023-03-31','2023-03-31',171076.00,1,855.00,'PAGO  0004 - 002041',NULL,NULL,NULL,NULL,NULL),(170344,NULL,0,NULL,NULL,21,40817,40976,57,7618,1,1,'2023-10-26','2023-10-26',29940.00,1,855.00,'FACTURA A 0002 - 000669',NULL,NULL,NULL,NULL,NULL),(170345,NULL,0,NULL,170345,3,40817,40976,57,7618,2,1,'2023-10-30','2023-10-30',29940.00,1,855.00,'PAGO  0004 - 003124',NULL,NULL,NULL,NULL,NULL),(170346,NULL,0,NULL,NULL,21,40817,40976,57,6066,1,1,'2024-03-27','2024-03-27',330365.00,1,855.00,'FACTURA A 0002 - 000677',NULL,NULL,NULL,NULL,NULL),(170347,NULL,0,NULL,170347,3,40817,40976,57,6067,2,1,'2024-04-07','2024-04-07',330365.00,1,855.00,'PAGO  0004 - 003971',NULL,NULL,NULL,NULL,NULL),(170348,NULL,0,NULL,NULL,21,40817,40827,57,7590,1,1,'2021-12-15','2021-12-15',3040.02,1,855.00,'FACTURA A 0002 - 006217',NULL,NULL,NULL,NULL,NULL),(170349,NULL,0,NULL,NULL,21,40817,40827,57,7590,1,1,'2021-12-31','2021-12-31',6599.99,1,855.00,'FACTURA A 0002 - 006230',NULL,NULL,NULL,NULL,NULL),(170350,NULL,0,NULL,NULL,21,40817,40827,57,7590,1,1,'2021-12-31','2021-12-31',1508.01,1,855.00,'FACTURA A 0002 - 006242',NULL,NULL,NULL,NULL,NULL),(170351,NULL,0,NULL,NULL,21,40817,40827,57,7590,1,1,'2021-12-31','2021-12-31',4400.14,1,855.00,'FACTURA A 0002 - 006283',NULL,NULL,NULL,NULL,NULL),(170352,NULL,0,NULL,NULL,21,40817,40827,57,7590,1,1,'2021-12-31','2021-12-31',9250.00,1,855.00,'FACTURA A 0002 - 006319',NULL,NULL,NULL,NULL,NULL),(170353,NULL,0,NULL,NULL,21,40817,40827,57,7590,1,1,'2021-12-31','2021-12-31',35065.05,1,855.00,'FACTURA A 0002 - 006339',NULL,NULL,NULL,NULL,NULL),(170354,NULL,0,NULL,NULL,21,40817,40827,57,7590,1,1,'2021-12-31','2021-12-31',2550.01,1,855.00,'FACTURA A 0002 - 006341',NULL,NULL,NULL,NULL,NULL),(170355,NULL,0,NULL,NULL,21,40817,40827,57,7594,1,1,'2022-01-03','2022-01-03',54444.01,1,855.00,'FACTURA A 0002 - 006361',NULL,NULL,NULL,NULL,NULL),(170356,NULL,0,NULL,NULL,21,40817,40827,57,7594,1,1,'2022-01-03','2022-01-03',13976.00,1,855.00,'FACTURA A 0002 - 006365',NULL,NULL,NULL,NULL,NULL),(170357,NULL,0,NULL,NULL,21,40817,40827,57,7594,1,1,'2022-01-06','2022-01-06',28665.09,1,855.00,'FACTURA A 0002 - 006379',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170358,NULL,0,NULL,170358,3,40817,40827,57,7594,2,1,'2022-01-06','2022-01-06',62413.22,1,855.00,'PAGO  0001 - 000005',NULL,NULL,NULL,NULL,NULL),(170359,NULL,0,NULL,NULL,21,40817,40827,57,7594,1,1,'2022-01-10','2022-01-10',8860.02,1,855.00,'FACTURA A 0002 - 006398',NULL,NULL,NULL,NULL,NULL),(170360,NULL,0,NULL,NULL,21,40817,40827,57,7594,1,1,'2022-01-12','2022-01-12',4750.01,1,855.00,'FACTURA A 0002 - 006404',NULL,NULL,NULL,NULL,NULL),(170361,NULL,0,NULL,NULL,21,40817,40827,57,7594,1,1,'2022-01-13','2022-01-13',5235.00,1,855.00,'FACTURA A 0002 - 006406',NULL,NULL,NULL,NULL,NULL),(170362,NULL,0,NULL,NULL,21,40817,40827,57,7594,1,1,'2022-01-14','2022-01-14',130000.00,1,855.00,'FACTURA A 0002 - 006427',NULL,NULL,NULL,NULL,NULL),(170363,NULL,0,NULL,NULL,21,40817,40827,57,7594,1,1,'2022-01-18','2022-01-18',91160.00,1,855.00,'FACTURA A 0002 - 006432',NULL,NULL,NULL,NULL,NULL),(170364,NULL,0,NULL,170364,3,40817,40827,57,7594,2,1,'2022-01-18','2022-01-18',120000.00,1,855.00,'NOTA DE CREDITO A 0002 - 000315',NULL,NULL,NULL,NULL,NULL),(170365,NULL,0,NULL,NULL,21,40817,40827,57,7594,1,1,'2022-01-20','2022-01-20',29715.05,1,855.00,'FACTURA A 0002 - 006433',NULL,NULL,NULL,NULL,NULL),(170366,NULL,0,NULL,NULL,21,40817,40827,57,7594,1,1,'2022-01-21','2022-01-21',9000.01,1,855.00,'FACTURA A 0002 - 006437',NULL,NULL,NULL,NULL,NULL),(170367,NULL,0,NULL,NULL,21,40817,40827,57,7594,1,1,'2022-01-25','2022-01-25',21585.04,1,855.00,'FACTURA A 0002 - 006444',NULL,NULL,NULL,NULL,NULL),(170368,NULL,0,NULL,170368,3,40817,40827,57,7595,2,1,'2022-02-01','2022-02-01',277390.23,1,855.00,'PAGO  0004 - 000086',NULL,NULL,NULL,NULL,NULL),(170369,NULL,0,NULL,NULL,21,40817,40827,57,7595,1,1,'2022-02-03','2022-02-03',51178.01,1,855.00,'FACTURA A 0002 - 006491',NULL,NULL,NULL,NULL,NULL),(170370,NULL,0,NULL,NULL,21,40817,40827,57,7595,1,1,'2022-02-03','2022-02-03',3519.99,1,855.00,'FACTURA A 0002 - 006492',NULL,NULL,NULL,NULL,NULL),(170371,NULL,0,NULL,NULL,21,40817,40827,57,7595,1,1,'2022-02-09','2022-02-09',13700.03,1,855.00,'FACTURA A 0002 - 006502',NULL,NULL,NULL,NULL,NULL),(170372,NULL,0,NULL,170372,3,40817,40827,57,7595,2,1,'2022-02-09','2022-02-09',17652.00,1,855.00,'NOTA DE CREDITO A 0002 - 000318',NULL,NULL,NULL,NULL,NULL),(170373,NULL,0,NULL,NULL,21,40817,40827,57,7595,1,1,'2022-02-11','2022-02-11',24935.01,1,855.00,'FACTURA A 0002 - 006511',NULL,NULL,NULL,NULL,NULL),(170374,NULL,0,NULL,NULL,21,40817,40827,57,7595,1,1,'2022-02-14','2022-02-14',25099.97,1,855.00,'FACTURA A 0002 - 006516',NULL,NULL,NULL,NULL,NULL),(170375,NULL,0,NULL,NULL,21,40817,40827,57,7595,1,1,'2022-02-15','2022-02-15',4540.02,1,855.00,'FACTURA A 0002 - 006523',NULL,NULL,NULL,NULL,NULL),(170376,NULL,0,NULL,NULL,21,40817,40827,57,7595,1,1,'2022-02-17','2022-02-17',41420.02,1,855.00,'FACTURA A 0002 - 006529',NULL,NULL,NULL,NULL,NULL),(170377,NULL,0,NULL,NULL,21,40817,40827,57,7595,1,1,'2022-02-17','2022-02-17',6540.01,1,855.00,'FACTURA A 0002 - 006530',NULL,NULL,NULL,NULL,NULL),(170378,NULL,0,NULL,170378,3,40817,40827,57,7595,2,1,'2022-02-17','2022-02-17',6919.99,1,855.00,'NOTA DE CREDITO A 0002 - 000322',NULL,NULL,NULL,NULL,NULL),(170379,NULL,0,NULL,NULL,21,40817,40827,57,7595,1,1,'2022-02-18','2022-02-18',900.01,1,855.00,'FACTURA A 0002 - 006532',NULL,NULL,NULL,NULL,NULL),(170380,NULL,0,NULL,NULL,21,40817,40827,57,7595,1,1,'2022-02-18','2022-02-18',3713.84,1,855.00,'FACTURA A 0002 - 006533',NULL,NULL,NULL,NULL,NULL),(170381,NULL,0,NULL,170381,3,40817,40827,57,7596,2,1,'2022-03-03','2022-03-03',150974.92,1,855.00,'PAGO  0004 - 000213',NULL,NULL,NULL,NULL,NULL),(170382,NULL,0,NULL,NULL,21,40817,40827,57,7596,1,1,'2022-03-11','2022-03-11',30893.05,1,855.00,'FACTURA A 0002 - 006606',NULL,NULL,NULL,NULL,NULL),(170383,NULL,0,NULL,NULL,21,40817,40827,57,7596,1,1,'2022-03-11','2022-03-11',17470.01,1,855.00,'FACTURA A 0002 - 006610',NULL,NULL,NULL,NULL,NULL),(170384,NULL,0,NULL,NULL,21,40817,40827,57,7596,1,1,'2022-03-12','2022-03-12',25083.55,1,855.00,'FACTURA A 0002 - 006615',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170385,NULL,0,NULL,NULL,21,40817,40827,57,7596,1,1,'2022-03-14','2022-03-14',28427.24,1,855.00,'FACTURA A 0002 - 006617',NULL,NULL,NULL,NULL,NULL),(170386,NULL,0,NULL,NULL,21,40817,40827,57,7596,1,1,'2022-03-15','2022-03-15',1110.06,1,855.00,'FACTURA A 0002 - 006631',NULL,NULL,NULL,NULL,NULL),(170387,NULL,0,NULL,NULL,21,40817,40827,57,7596,1,1,'2022-03-21','2022-03-21',27775.01,1,855.00,'FACTURA A 0002 - 006640',NULL,NULL,NULL,NULL,NULL),(170388,NULL,0,NULL,NULL,21,40817,40827,57,7596,1,1,'2022-03-25','2022-03-25',7759.99,1,855.00,'FACTURA A 0002 - 006644',NULL,NULL,NULL,NULL,NULL),(170389,NULL,0,NULL,170389,3,40817,40827,57,7596,2,1,'2022-03-28','2022-03-28',3199.97,1,855.00,'NOTA DE CREDITO A 0002 - 000327',NULL,NULL,NULL,NULL,NULL),(170390,NULL,0,NULL,NULL,21,40817,40827,57,7597,1,1,'2022-04-02','2022-04-02',17095.03,1,855.00,'FACTURA A 0002 - 006668',NULL,NULL,NULL,NULL,NULL),(170391,NULL,0,NULL,NULL,21,40817,40827,57,7597,1,1,'2022-04-05','2022-04-05',4700.01,1,855.00,'FACTURA A 0002 - 006670',NULL,NULL,NULL,NULL,NULL),(170392,NULL,0,NULL,NULL,21,40817,40827,57,7597,1,1,'2022-04-11','2022-04-11',2900.00,1,855.00,'FACTURA A 0002 - 006704',NULL,NULL,NULL,NULL,NULL),(170393,NULL,0,NULL,NULL,21,40817,40827,57,7597,1,1,'2022-04-14','2022-04-14',226620.01,1,855.00,'FACTURA A 0002 - 006718',NULL,NULL,NULL,NULL,NULL),(170394,NULL,0,NULL,NULL,21,40817,40827,57,7597,1,1,'2022-04-18','2022-04-18',9000.01,1,855.00,'FACTURA A 0002 - 006721',NULL,NULL,NULL,NULL,NULL),(170395,NULL,0,NULL,NULL,21,40817,40827,57,7597,1,1,'2022-04-18','2022-04-18',17000.00,1,855.00,'FACTURA A 0002 - 006725',NULL,NULL,NULL,NULL,NULL),(170396,NULL,0,NULL,170396,3,40817,40827,57,7597,2,1,'2022-04-19','2022-04-19',250000.00,1,855.00,'PAGO  0004 - 000446',NULL,NULL,NULL,NULL,NULL),(170397,NULL,0,NULL,NULL,21,40817,40827,57,7597,1,1,'2022-04-20','2022-04-20',76260.04,1,855.00,'FACTURA A 0002 - 006756',NULL,NULL,NULL,NULL,NULL),(170398,NULL,0,NULL,170398,3,40817,40827,57,7597,2,1,'2022-04-22','2022-04-22',25900.00,1,855.00,'NOTA DE CREDITO A 0002 - 000330',NULL,NULL,NULL,NULL,NULL),(170399,NULL,0,NULL,NULL,21,40817,40827,57,7597,1,1,'2022-04-29','2022-04-29',55175.34,1,855.00,'FACTURA A 0002 - 006773',NULL,NULL,NULL,NULL,NULL),(170400,NULL,0,NULL,NULL,21,40817,40827,57,7598,1,1,'2022-05-02','2022-05-02',8630.01,1,855.00,'FACTURA A 0002 - 006780',NULL,NULL,NULL,NULL,NULL),(170401,NULL,0,NULL,NULL,21,40817,40827,57,7598,1,1,'2022-05-04','2022-05-04',29910.11,1,855.00,'FACTURA A 0002 - 006784',NULL,NULL,NULL,NULL,NULL),(170402,NULL,0,NULL,170402,3,40817,40827,57,7598,2,1,'2022-05-05','2022-05-05',276799.39,1,855.00,'PAGO  0004 - 000523',NULL,NULL,NULL,NULL,NULL),(170403,NULL,0,NULL,NULL,21,40817,40827,57,7598,1,1,'2022-05-07','2022-05-07',9020.03,1,855.00,'FACTURA A 0002 - 006795',NULL,NULL,NULL,NULL,NULL),(170404,NULL,0,NULL,NULL,21,40817,40827,57,7598,1,1,'2022-05-10','2022-05-10',11930.02,1,855.00,'FACTURA A 0002 - 006821',NULL,NULL,NULL,NULL,NULL),(170405,NULL,0,NULL,NULL,21,40817,40827,57,7598,1,1,'2022-05-13','2022-05-13',47399.94,1,855.00,'FACTURA A 0002 - 006828',NULL,NULL,NULL,NULL,NULL),(170406,NULL,0,NULL,NULL,21,40817,40827,57,7598,1,1,'2022-05-23','2022-05-23',20897.95,1,855.00,'FACTURA A 0002 - 006851',NULL,NULL,NULL,NULL,NULL),(170407,NULL,0,NULL,NULL,21,40817,40827,57,7598,1,1,'2022-05-26','2022-05-26',6140.00,1,855.00,'FACTURA A 0002 - 006853',NULL,NULL,NULL,NULL,NULL),(170408,NULL,0,NULL,NULL,21,40817,40827,57,7599,1,1,'2022-06-01','2022-06-01',14659.98,1,855.00,'FACTURA A 0002 - 006868',NULL,NULL,NULL,NULL,NULL),(170409,NULL,0,NULL,NULL,21,40817,40827,57,7599,1,1,'2022-06-02','2022-06-02',21260.00,1,855.00,'FACTURA A 0002 - 006870',NULL,NULL,NULL,NULL,NULL),(170410,NULL,0,NULL,NULL,21,40817,40827,57,7599,1,1,'2022-06-02','2022-06-02',22076.00,1,855.00,'FACTURA A 0002 - 006873',NULL,NULL,NULL,NULL,NULL),(170411,NULL,0,NULL,NULL,21,40817,40827,57,7599,1,1,'2022-06-06','2022-06-06',99414.97,1,855.00,'FACTURA A 0002 - 006917',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170412,NULL,0,NULL,170412,3,40817,40827,57,7599,2,1,'2022-06-06','2022-06-06',15970.00,1,855.00,'NOTA DE CREDITO A 0002 - 000338',NULL,NULL,NULL,NULL,NULL),(170413,NULL,0,NULL,170413,3,40817,40827,57,7599,2,1,'2022-06-07','2022-06-07',127255.11,1,855.00,'PAGO  0004 - 000683',NULL,NULL,NULL,NULL,NULL),(170414,NULL,0,NULL,NULL,21,40817,40827,57,7599,1,1,'2022-06-09','2022-06-09',2358.01,1,855.00,'FACTURA A 0002 - 006931',NULL,NULL,NULL,NULL,NULL),(170415,NULL,0,NULL,NULL,21,40817,40827,57,7599,1,1,'2022-06-14','2022-06-14',5747.46,1,855.00,'FACTURA A 0002 - 006940',NULL,NULL,NULL,NULL,NULL),(170416,NULL,0,NULL,NULL,21,40817,40827,57,7599,1,1,'2022-06-16','2022-06-16',53338.36,1,855.00,'FACTURA A 0002 - 006951',NULL,NULL,NULL,NULL,NULL),(170417,NULL,0,NULL,NULL,21,40817,40827,57,7599,1,1,'2022-06-22','2022-06-22',119559.99,1,855.00,'FACTURA A 0002 - 006964',NULL,NULL,NULL,NULL,NULL),(170418,NULL,0,NULL,NULL,21,40817,40827,57,7599,1,1,'2022-06-24','2022-06-24',80220.32,1,855.00,'FACTURA A 0002 - 006970',NULL,NULL,NULL,NULL,NULL),(170419,NULL,0,NULL,170419,3,40817,40827,57,7599,2,1,'2022-06-24','2022-06-24',164287.72,1,855.00,'PAGO  0004 - 000766',NULL,NULL,NULL,NULL,NULL),(170420,NULL,0,NULL,NULL,21,40817,40827,57,7599,1,1,'2022-06-29','2022-06-29',34890.02,1,855.00,'FACTURA A 0002 - 006990',NULL,NULL,NULL,NULL,NULL),(170421,NULL,0,NULL,NULL,21,40817,40827,57,7599,1,1,'2022-06-30','2022-06-30',5256.00,1,855.00,'FACTURA A 0002 - 006992',NULL,NULL,NULL,NULL,NULL),(170422,NULL,0,NULL,NULL,21,40817,40827,57,7600,1,1,'2022-07-07','2022-07-07',30999.96,1,855.00,'FACTURA A 0002 - 007014',NULL,NULL,NULL,NULL,NULL),(170423,NULL,0,NULL,NULL,21,40817,40827,57,7600,1,1,'2022-07-12','2022-07-12',3650.11,1,855.00,'FACTURA A 0002 - 007033',NULL,NULL,NULL,NULL,NULL),(170424,NULL,0,NULL,170424,3,40817,40827,57,7600,2,1,'2022-07-12','2022-07-12',307683.46,1,855.00,'PAGO  0004 - 000826',NULL,NULL,NULL,NULL,NULL),(170425,NULL,0,NULL,NULL,21,40817,40827,57,7600,1,1,'2022-07-14','2022-07-14',25096.05,1,855.00,'FACTURA A 0002 - 007044',NULL,NULL,NULL,NULL,NULL),(170426,NULL,0,NULL,NULL,21,40817,40827,57,7600,1,1,'2022-07-14','2022-07-14',5834.00,1,855.00,'FACTURA A 0002 - 007048',NULL,NULL,NULL,NULL,NULL),(170427,NULL,0,NULL,NULL,21,40817,40827,57,7600,1,1,'2022-07-15','2022-07-15',31565.00,1,855.00,'FACTURA A 0002 - 007056',NULL,NULL,NULL,NULL,NULL),(170428,NULL,0,NULL,NULL,21,40817,40827,57,7600,1,1,'2022-07-19','2022-07-19',17988.59,1,855.00,'FACTURA A 0002 - 007059',NULL,NULL,NULL,NULL,NULL),(170429,NULL,0,NULL,NULL,21,40817,40827,57,7600,1,1,'2022-07-20','2022-07-20',9662.97,1,855.00,'FACTURA A 0002 - 007063',NULL,NULL,NULL,NULL,NULL),(170430,NULL,0,NULL,170430,3,40817,40827,57,7600,2,1,'2022-07-22','2022-07-22',93987.52,1,855.00,'PAGO  0004 - 000871',NULL,NULL,NULL,NULL,NULL),(170431,NULL,0,NULL,NULL,21,40817,40827,57,7600,1,1,'2022-07-27','2022-07-27',18458.99,1,855.00,'FACTURA A 0002 - 007083',NULL,NULL,NULL,NULL,NULL),(170432,NULL,0,NULL,NULL,21,40817,40827,57,7600,1,1,'2022-07-27','2022-07-27',41949.99,1,855.00,'FACTURA A 0002 - 007084',NULL,NULL,NULL,NULL,NULL),(170433,NULL,0,NULL,NULL,21,40817,40827,57,7600,1,1,'2022-07-28','2022-07-28',41020.01,1,855.00,'FACTURA A 0002 - 007086',NULL,NULL,NULL,NULL,NULL),(170434,NULL,0,NULL,NULL,21,40817,40827,57,7600,1,1,'2022-07-28','2022-07-28',4100.00,1,855.00,'FACTURA A 0002 - 007093',NULL,NULL,NULL,NULL,NULL),(170435,NULL,0,NULL,NULL,21,40817,40827,57,7601,1,1,'2022-08-05','2022-08-05',6210.03,1,855.00,'FACTURA A 0002 - 007125',NULL,NULL,NULL,NULL,NULL),(170436,NULL,0,NULL,NULL,21,40817,40827,57,7601,1,1,'2022-08-08','2022-08-08',62312.00,1,855.00,'FACTURA A 0002 - 007144',NULL,NULL,NULL,NULL,NULL),(170437,NULL,0,NULL,170437,3,40817,40827,57,7601,2,1,'2022-08-09','2022-08-09',111431.05,1,855.00,'PAGO  0004 - 000967',NULL,NULL,NULL,NULL,NULL),(170438,NULL,0,NULL,NULL,21,40817,40827,57,7601,1,1,'2022-08-12','2022-08-12',95365.80,1,855.00,'FACTURA A 0002 - 007166',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170439,NULL,0,NULL,NULL,21,40817,40827,57,7601,1,1,'2022-08-22','2022-08-22',30169.04,1,855.00,'FACTURA A 0002 - 007180',NULL,NULL,NULL,NULL,NULL),(170440,NULL,0,NULL,NULL,21,40817,40827,57,7601,1,1,'2022-08-22','2022-08-22',12413.98,1,855.00,'FACTURA A 0002 - 007185',NULL,NULL,NULL,NULL,NULL),(170441,NULL,0,NULL,NULL,21,40817,40827,57,7601,1,1,'2022-08-25','2022-08-25',362972.08,1,855.00,'FACTURA A 0002 - 007201',NULL,NULL,NULL,NULL,NULL),(170442,NULL,0,NULL,NULL,21,40817,40827,57,7601,1,1,'2022-08-25','2022-08-25',64149.99,1,855.00,'FACTURA A 0002 - 007202',NULL,NULL,NULL,NULL,NULL),(170443,NULL,0,NULL,NULL,21,40817,40827,57,7601,1,1,'2022-08-26','2022-08-26',57119.99,1,855.00,'FACTURA A 0002 - 007207',NULL,NULL,NULL,NULL,NULL),(170444,NULL,0,NULL,NULL,21,40817,40827,57,7601,1,1,'2022-08-26','2022-08-26',11683.00,1,855.00,'FACTURA A 0002 - 007208',NULL,NULL,NULL,NULL,NULL),(170445,NULL,0,NULL,NULL,21,40817,40827,57,7602,1,1,'2022-09-01','2022-09-01',42785.00,1,855.00,'FACTURA A 0002 - 007218',NULL,NULL,NULL,NULL,NULL),(170446,NULL,0,NULL,170446,3,40817,40827,57,7602,2,1,'2022-09-01','2022-09-01',34799.99,1,855.00,'NOTA DE CREDITO A 0002 - 000355',NULL,NULL,NULL,NULL,NULL),(170447,NULL,0,NULL,170447,3,40817,40827,57,7602,2,1,'2022-09-07','2022-09-07',691756.91,1,855.00,'PAGO  0004 - 001110',NULL,NULL,NULL,NULL,NULL),(170448,NULL,0,NULL,NULL,21,40817,40827,57,7602,1,1,'2022-09-07','2022-09-07',52727.98,1,855.00,'FACTURA A 0002 - 007259',NULL,NULL,NULL,NULL,NULL),(170449,NULL,0,NULL,NULL,21,40817,40827,57,7602,1,1,'2022-09-15','2022-09-15',13925.01,1,855.00,'FACTURA A 0002 - 007297',NULL,NULL,NULL,NULL,NULL),(170450,NULL,0,NULL,NULL,21,40817,40827,57,7602,1,1,'2022-09-15','2022-09-15',399.98,1,855.00,'FACTURA A 0002 - 007298',NULL,NULL,NULL,NULL,NULL),(170451,NULL,0,NULL,NULL,21,40817,40827,57,7602,1,1,'2022-09-15','2022-09-15',62467.01,1,855.00,'FACTURA A 0002 - 007301',NULL,NULL,NULL,NULL,NULL),(170452,NULL,0,NULL,170452,3,40817,40827,57,7602,2,1,'2022-09-15','2022-09-15',13925.01,1,855.00,'NOTA DE CREDITO A 0002 - 000357',NULL,NULL,NULL,NULL,NULL),(170453,NULL,0,NULL,NULL,21,40817,40827,57,7602,1,1,'2022-09-19','2022-09-19',49344.06,1,855.00,'FACTURA A 0002 - 007307',NULL,NULL,NULL,NULL,NULL),(170454,NULL,0,NULL,NULL,21,40817,40827,57,7602,1,1,'2022-09-20','2022-09-20',1663.99,1,855.00,'FACTURA A 0002 - 007309',NULL,NULL,NULL,NULL,NULL),(170455,NULL,0,NULL,NULL,21,40817,40827,57,7602,1,1,'2022-09-21','2022-09-21',1000.00,1,855.00,'FACTURA A 0002 - 007314',NULL,NULL,NULL,NULL,NULL),(170456,NULL,0,NULL,NULL,21,40817,40827,57,7602,1,1,'2022-09-21','2022-09-21',42119.99,1,855.00,'FACTURA A 0002 - 007319',NULL,NULL,NULL,NULL,NULL),(170457,NULL,0,NULL,170457,3,40817,40827,57,7602,2,1,'2022-09-22','2022-09-22',180017.00,1,855.00,'PAGO  0004 - 001190',NULL,NULL,NULL,NULL,NULL),(170458,NULL,0,NULL,170458,3,40817,40827,57,7602,2,1,'2022-09-27','2022-09-27',29000.00,1,855.00,'NOTA DE CREDITO A 0002 - 000359',NULL,NULL,NULL,NULL,NULL),(170459,NULL,0,NULL,NULL,21,40817,40827,57,7602,1,1,'2022-09-27','2022-09-27',25998.00,1,855.00,'FACTURA A 0002 - 007325',NULL,NULL,NULL,NULL,NULL),(170460,NULL,0,NULL,NULL,21,40817,40827,57,7602,1,1,'2022-09-27','2022-09-27',48800.00,1,855.00,'FACTURA A 0002 - 007331',NULL,NULL,NULL,NULL,NULL),(170461,NULL,0,NULL,NULL,21,40817,40827,57,7602,1,1,'2022-09-28','2022-09-28',27472.02,1,855.00,'FACTURA A 0002 - 007337',NULL,NULL,NULL,NULL,NULL),(170462,NULL,0,NULL,NULL,21,40817,40827,57,7602,1,1,'2022-09-29','2022-09-29',23495.04,1,855.00,'FACTURA A 0002 - 007340',NULL,NULL,NULL,NULL,NULL),(170463,NULL,0,NULL,NULL,21,40817,40827,57,7603,1,1,'2022-10-05','2022-10-05',16420.08,1,855.00,'FACTURA A 0002 - 007359',NULL,NULL,NULL,NULL,NULL),(170464,NULL,0,NULL,NULL,21,40817,40827,57,7603,1,1,'2022-10-05','2022-10-05',58984.98,1,855.00,'FACTURA A 0002 - 007360',NULL,NULL,NULL,NULL,NULL),(170465,NULL,0,NULL,NULL,21,40817,40827,57,7603,1,1,'2022-10-18','2022-10-18',26200.01,1,855.00,'FACTURA A 0002 - 007369',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170466,NULL,0,NULL,NULL,21,40817,40827,57,7603,1,1,'2022-10-20','2022-10-20',30140.00,1,855.00,'FACTURA A 0002 - 007404',NULL,NULL,NULL,NULL,NULL),(170467,NULL,0,NULL,170467,3,40817,40827,57,7603,2,1,'2022-10-21','2022-10-21',240664.51,1,855.00,'PAGO  0004 - 001317',NULL,NULL,NULL,NULL,NULL),(170468,NULL,0,NULL,NULL,21,40817,40827,57,7603,1,1,'2022-10-26','2022-10-26',63651.96,1,855.00,'FACTURA A 0002 - 007415',NULL,NULL,NULL,NULL,NULL),(170469,NULL,0,NULL,NULL,21,40817,40827,57,7603,1,1,'2022-10-27','2022-10-27',44104.98,1,855.00,'FACTURA A 0002 - 007418',NULL,NULL,NULL,NULL,NULL),(170470,NULL,0,NULL,NULL,21,40817,40827,57,7603,1,1,'2022-10-27','2022-10-27',15448.16,1,855.00,'FACTURA A 0002 - 007421',NULL,NULL,NULL,NULL,NULL),(170471,NULL,0,NULL,NULL,21,40817,40827,57,7604,1,1,'2022-11-04','2022-11-04',90484.95,1,855.00,'FACTURA A 0002 - 007448',NULL,NULL,NULL,NULL,NULL),(170472,NULL,0,NULL,170472,3,40817,40827,57,7604,2,1,'2022-11-09','2022-11-09',30475.00,1,855.00,'NOTA DE CREDITO A 0002 - 000365',NULL,NULL,NULL,NULL,NULL),(170473,NULL,0,NULL,NULL,21,40817,40827,57,7604,1,1,'2022-11-10','2022-11-10',35186.86,1,855.00,'FACTURA A 0002 - 007472',NULL,NULL,NULL,NULL,NULL),(170474,NULL,0,NULL,NULL,21,40817,40827,57,7604,1,1,'2022-11-11','2022-11-11',79240.12,1,855.00,'FACTURA A 0002 - 007479',NULL,NULL,NULL,NULL,NULL),(170475,NULL,0,NULL,170475,3,40817,40827,57,7604,2,1,'2022-11-23','2022-11-23',327607.64,1,855.00,'PAGO  0004 - 001445',NULL,NULL,NULL,NULL,NULL),(170476,NULL,0,NULL,NULL,21,40817,40827,57,7605,1,1,'2022-12-01','2022-12-01',209216.15,1,855.00,'FACTURA A 0002 - 007500',NULL,NULL,NULL,NULL,NULL),(170477,NULL,0,NULL,NULL,21,40817,40827,57,7605,1,1,'2022-12-01','2022-12-01',2435.01,1,855.00,'FACTURA A 0002 - 007511',NULL,NULL,NULL,NULL,NULL),(170478,NULL,0,NULL,NULL,21,40817,40827,57,7605,1,1,'2022-12-01','2022-12-01',15299.99,1,855.00,'FACTURA A 0002 - 007512',NULL,NULL,NULL,NULL,NULL),(170479,NULL,0,NULL,NULL,21,40817,40827,57,7605,1,1,'2022-12-02','2022-12-02',53910.00,1,855.00,'FACTURA A 0002 - 007522',NULL,NULL,NULL,NULL,NULL),(170480,NULL,0,NULL,NULL,21,40817,40827,57,7605,1,1,'2022-12-12','2022-12-12',109239.82,1,855.00,'FACTURA A 0002 - 007578',NULL,NULL,NULL,NULL,NULL),(170481,NULL,0,NULL,NULL,21,40817,40827,57,7605,1,1,'2022-12-12','2022-12-12',7452.01,1,855.00,'FACTURA A 0002 - 007579',NULL,NULL,NULL,NULL,NULL),(170482,NULL,0,NULL,NULL,21,40817,40827,57,7605,1,1,'2022-12-16','2022-12-16',78841.71,1,855.00,'FACTURA A 0002 - 007586',NULL,NULL,NULL,NULL,NULL),(170483,NULL,0,NULL,NULL,21,40817,40827,57,7605,1,1,'2022-12-16','2022-12-16',34719.99,1,855.00,'FACTURA A 0002 - 007590',NULL,NULL,NULL,NULL,NULL),(170484,NULL,0,NULL,NULL,21,40817,40827,57,7605,1,1,'2022-12-16','2022-12-16',78841.71,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000070',NULL,NULL,NULL,NULL,NULL),(170485,NULL,0,NULL,170485,3,40817,40827,57,7605,2,1,'2022-12-16','2022-12-16',32400.00,1,855.00,'NOTA DE CREDITO A 0002 - 000370',NULL,NULL,NULL,NULL,NULL),(170486,NULL,0,NULL,170486,3,40817,40827,57,7605,2,1,'2022-12-16','2022-12-16',27099.89,1,855.00,'NOTA DE CREDITO A 0002 - 000371',NULL,NULL,NULL,NULL,NULL),(170487,NULL,0,NULL,170487,3,40817,40827,57,7605,2,1,'2022-12-16','2022-12-16',58879.93,1,855.00,'NOTA DE CREDITO A 0002 - 000373',NULL,NULL,NULL,NULL,NULL),(170488,NULL,0,NULL,170488,3,40817,40827,57,7605,2,1,'2022-12-16','2022-12-16',78841.71,1,855.00,'NOTA DE CREDITO A 0002 - 007586',NULL,NULL,NULL,NULL,NULL),(170489,NULL,0,NULL,NULL,21,40817,40827,57,7605,1,1,'2022-12-20','2022-12-20',95934.41,1,855.00,'FACTURA A 0002 - 007592',NULL,NULL,NULL,NULL,NULL),(170490,NULL,0,NULL,NULL,21,40817,40827,57,7605,1,1,'2022-12-21','2022-12-21',85858.97,1,855.00,'FACTURA A 0002 - 007606',NULL,NULL,NULL,NULL,NULL),(170491,NULL,0,NULL,170491,3,40817,40827,57,7605,2,1,'2022-12-29','2022-12-29',204653.33,1,855.00,'PAGO  0004 - 001611',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170492,NULL,0,NULL,NULL,21,40817,40827,57,7605,1,1,'2022-12-30','2022-12-30',346582.04,1,855.00,'FACTURA A 0002 - 007628',NULL,NULL,NULL,NULL,NULL),(170493,NULL,0,NULL,NULL,21,40817,40827,57,7605,1,1,'2022-12-30','2022-12-30',14870.00,1,855.00,'FACTURA A 0002 - 007629',NULL,NULL,NULL,NULL,NULL),(170494,NULL,0,NULL,NULL,21,40817,40827,57,7609,1,1,'2023-01-03','2023-01-03',84992.05,1,855.00,'FACTURA A 0002 - 007657',NULL,NULL,NULL,NULL,NULL),(170495,NULL,0,NULL,170495,3,40817,40827,57,7609,2,1,'2023-01-05','2023-01-05',4239.99,1,855.00,'NOTA DE CREDITO A 0002 - 000379',NULL,NULL,NULL,NULL,NULL),(170496,NULL,0,NULL,170496,3,40817,40827,57,7609,2,1,'2023-01-07','2023-01-07',812079.01,1,855.00,'PAGO  0004 - 001690',NULL,NULL,NULL,NULL,NULL),(170497,NULL,0,NULL,NULL,21,40817,40827,57,7609,1,1,'2023-01-09','2023-01-09',90830.00,1,855.00,'FACTURA A 0002 - 007674',NULL,NULL,NULL,NULL,NULL),(170498,NULL,0,NULL,NULL,21,40817,40827,57,7609,1,1,'2023-01-23','2023-01-23',406409.03,1,855.00,'FACTURA A 0002 - 007710',NULL,NULL,NULL,NULL,NULL),(170499,NULL,0,NULL,NULL,21,40817,40827,57,7609,1,1,'2023-01-25','2023-01-25',67275.01,1,855.00,'FACTURA A 0002 - 007717',NULL,NULL,NULL,NULL,NULL),(170500,NULL,0,NULL,NULL,21,40817,40827,57,7609,1,1,'2023-01-25','2023-01-25',159705.08,1,855.00,'FACTURA A 0002 - 007721',NULL,NULL,NULL,NULL,NULL),(170501,NULL,0,NULL,NULL,21,40817,40827,57,7609,1,1,'2023-01-26','2023-01-26',152329.29,1,855.00,'FACTURA A 0002 - 007728',NULL,NULL,NULL,NULL,NULL),(170502,NULL,0,NULL,NULL,21,40817,40827,57,7609,1,1,'2023-01-26','2023-01-26',45375.00,1,855.00,'FACTURA A 0002 - 007729',NULL,NULL,NULL,NULL,NULL),(170503,NULL,0,NULL,170503,3,40817,40827,57,7609,2,1,'2023-01-26','2023-01-26',45.38,1,855.00,'NOTA DE CREDITO A 0002 - 000386',NULL,NULL,NULL,NULL,NULL),(170504,NULL,0,NULL,NULL,21,40817,40827,57,7609,1,1,'2023-01-30','2023-01-30',50051.02,1,855.00,'FACTURA A 0002 - 007737',NULL,NULL,NULL,NULL,NULL),(170505,NULL,0,NULL,NULL,21,40817,40827,57,7609,1,1,'2023-01-31','2023-01-31',7110.02,1,855.00,'FACTURA A 0002 - 007748',NULL,NULL,NULL,NULL,NULL),(170506,NULL,0,NULL,NULL,21,40817,40827,57,7610,1,1,'2023-02-01','2023-02-01',15049.99,1,855.00,'FACTURA A 0002 - 007753',NULL,NULL,NULL,NULL,NULL),(170507,NULL,0,NULL,NULL,21,40817,40827,57,7610,1,1,'2023-02-01','2023-02-01',99803.57,1,855.00,'FACTURA A 0002 - 007757',NULL,NULL,NULL,NULL,NULL),(170508,NULL,0,NULL,NULL,21,40817,40827,57,7610,1,1,'2023-02-06','2023-02-06',90660.00,1,855.00,'FACTURA A 0002 - 007781',NULL,NULL,NULL,NULL,NULL),(170509,NULL,0,NULL,170509,3,40817,40827,57,7610,2,1,'2023-02-06','2023-02-06',8760.01,1,855.00,'NOTA DE CREDITO A 0002 - 000388',NULL,NULL,NULL,NULL,NULL),(170510,NULL,0,NULL,170510,3,40817,40827,57,7610,2,1,'2023-02-07','2023-02-07',876548.41,1,855.00,'PAGO  0004 - 001806',NULL,NULL,NULL,NULL,NULL),(170511,NULL,0,NULL,NULL,21,40817,40827,57,7610,1,1,'2023-02-07','2023-02-07',159021.99,1,855.00,'FACTURA A 0002 - 007794',NULL,NULL,NULL,NULL,NULL),(170512,NULL,0,NULL,NULL,21,40817,40827,57,7610,1,1,'2023-02-14','2023-02-14',186989.15,1,855.00,'FACTURA A 0002 - 007830',NULL,NULL,NULL,NULL,NULL),(170513,NULL,0,NULL,170513,3,40817,40827,57,7610,2,1,'2023-02-15','2023-02-15',458266.20,1,855.00,'PAGO  0004 - 001846',NULL,NULL,NULL,NULL,NULL),(170514,NULL,0,NULL,170514,3,40817,40827,57,7610,2,1,'2023-02-17','2023-02-17',9388.12,1,855.00,'NOTA DE CREDITO A 0002 - 000390',NULL,NULL,NULL,NULL,NULL),(170515,NULL,0,NULL,NULL,21,40817,40827,57,7610,1,1,'2023-02-17','2023-02-17',93880.00,1,855.00,'FACTURA A 0002 - 007842',NULL,NULL,NULL,NULL,NULL),(170516,NULL,0,NULL,NULL,21,40817,40827,57,7610,1,1,'2023-02-23','2023-02-23',129617.99,1,855.00,'FACTURA A 0002 - 007852',NULL,NULL,NULL,NULL,NULL),(170517,NULL,0,NULL,NULL,21,40817,40827,57,7610,1,1,'2023-02-27','2023-02-27',107362.98,1,855.00,'FACTURA A 0002 - 007857',NULL,NULL,NULL,NULL,NULL),(170518,NULL,0,NULL,NULL,21,40817,40827,57,7611,1,1,'2023-03-01','2023-03-01',69340.01,1,855.00,'FACTURA A 0002 - 007869',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170519,NULL,0,NULL,NULL,21,40817,40827,57,7611,1,1,'2023-03-01','2023-03-01',22336.00,1,855.00,'FACTURA A 0002 - 007871',NULL,NULL,NULL,NULL,NULL),(170520,NULL,0,NULL,170520,3,40817,40827,57,7611,2,1,'2023-03-01','2023-03-01',69340.01,1,855.00,'NOTA DE CREDITO A 0002 - 000392',NULL,NULL,NULL,NULL,NULL),(170521,NULL,0,NULL,NULL,21,40817,40827,57,7611,1,1,'2023-03-06','2023-03-06',27968.14,1,855.00,'FACTURA A 0002 - 007898',NULL,NULL,NULL,NULL,NULL),(170522,NULL,0,NULL,170522,3,40817,40827,57,7611,2,1,'2023-03-08','2023-03-08',401180.01,1,855.00,'PAGO  0004 - 001933',NULL,NULL,NULL,NULL,NULL),(170523,NULL,0,NULL,NULL,21,40817,40827,57,7611,1,1,'2023-03-09','2023-03-09',110460.92,1,855.00,'FACTURA A 0002 - 007915',NULL,NULL,NULL,NULL,NULL),(170524,NULL,0,NULL,NULL,21,40817,40827,57,7611,1,1,'2023-03-09','2023-03-09',11418.02,1,855.00,'FACTURA A 0002 - 007917',NULL,NULL,NULL,NULL,NULL),(170525,NULL,0,NULL,NULL,21,40817,40827,57,7611,1,1,'2023-03-14','2023-03-14',155592.08,1,855.00,'FACTURA A 0002 - 007927',NULL,NULL,NULL,NULL,NULL),(170526,NULL,0,NULL,NULL,21,40817,40827,57,7611,1,1,'2023-03-16','2023-03-16',62751.05,1,855.00,'FACTURA A 0002 - 007932',NULL,NULL,NULL,NULL,NULL),(170527,NULL,0,NULL,170527,3,40817,40827,57,7611,2,1,'2023-03-17','2023-03-17',45275.01,1,855.00,'NOTA DE CREDITO A 0002 - 000395',NULL,NULL,NULL,NULL,NULL),(170528,NULL,0,NULL,NULL,21,40817,40827,57,7611,1,1,'2023-03-21','2023-03-21',159374.20,1,855.00,'FACTURA A 0002 - 007938',NULL,NULL,NULL,NULL,NULL),(170529,NULL,0,NULL,NULL,21,40817,40827,57,7611,1,1,'2023-03-22','2023-03-22',97328.00,1,855.00,'FACTURA A 0002 - 007941',NULL,NULL,NULL,NULL,NULL),(170530,NULL,0,NULL,NULL,21,40817,40827,57,7611,1,1,'2023-03-22','2023-03-22',18983.98,1,855.00,'FACTURA A 0002 - 007943',NULL,NULL,NULL,NULL,NULL),(170531,NULL,0,NULL,170531,3,40817,40827,57,7611,2,1,'2023-03-28','2023-03-28',452533.19,1,855.00,'PAGO  0004 - 002017',NULL,NULL,NULL,NULL,NULL),(170532,NULL,0,NULL,NULL,21,40817,40827,57,7611,1,1,'2023-03-29','2023-03-29',133667.08,1,855.00,'FACTURA A 0002 - 007979',NULL,NULL,NULL,NULL,NULL),(170533,NULL,0,NULL,NULL,21,40817,40827,57,7612,1,1,'2023-04-01','2023-04-01',77984.99,1,855.00,'FACTURA A 0002 - 007982',NULL,NULL,NULL,NULL,NULL),(170534,NULL,0,NULL,NULL,21,40817,40827,57,7612,1,1,'2023-04-03','2023-04-03',38667.90,1,855.00,'FACTURA A 0002 - 007991',NULL,NULL,NULL,NULL,NULL),(170535,NULL,0,NULL,NULL,21,40817,40827,57,7612,1,1,'2023-04-04','2023-04-04',65042.17,1,855.00,'FACTURA A 0002 - 007996',NULL,NULL,NULL,NULL,NULL),(170536,NULL,0,NULL,NULL,21,40817,40827,57,7612,1,1,'2023-04-05','2023-04-05',2725.01,1,855.00,'FACTURA A 0002 - 007999',NULL,NULL,NULL,NULL,NULL),(170537,NULL,0,NULL,170537,3,40817,40827,57,7612,2,1,'2023-04-10','2023-04-10',353671.17,1,855.00,'PAGO  0004 - 002069',NULL,NULL,NULL,NULL,NULL),(170538,NULL,0,NULL,NULL,21,40817,40827,57,7612,1,1,'2023-04-12','2023-04-12',30651.21,1,855.00,'FACTURA A 0002 - 008017',NULL,NULL,NULL,NULL,NULL),(170539,NULL,0,NULL,NULL,21,40817,40827,57,7612,1,1,'2023-04-18','2023-04-18',8613.95,1,855.00,'FACTURA A 0002 - 008045',NULL,NULL,NULL,NULL,NULL),(170540,NULL,0,NULL,NULL,21,40817,40827,57,7612,1,1,'2023-04-18','2023-04-18',15929.99,1,855.00,'FACTURA A 0002 - 008046',NULL,NULL,NULL,NULL,NULL),(170541,NULL,0,NULL,NULL,21,40817,40827,57,7612,1,1,'2023-04-18','2023-04-18',15955.01,1,855.00,'FACTURA A 0002 - 008048',NULL,NULL,NULL,NULL,NULL),(170542,NULL,0,NULL,170542,3,40817,40827,57,7612,2,1,'2023-04-18','2023-04-18',237377.15,1,855.00,'PAGO  0004 - 002124',NULL,NULL,NULL,NULL,NULL),(170543,NULL,0,NULL,NULL,21,40817,40827,57,7612,1,1,'2023-04-19','2023-04-19',78674.72,1,855.00,'FACTURA A 0002 - 008058',NULL,NULL,NULL,NULL,NULL),(170544,NULL,0,NULL,NULL,21,40817,40827,57,7612,1,1,'2023-04-20','2023-04-20',45340.01,1,855.00,'FACTURA A 0002 - 008061',NULL,NULL,NULL,NULL,NULL),(170545,NULL,0,NULL,NULL,21,40817,40827,57,7612,1,1,'2023-04-20','2023-04-20',132064.36,1,855.00,'FACTURA A 0002 - 008066',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170546,NULL,0,NULL,NULL,21,40817,40827,57,7612,1,1,'2023-04-24','2023-04-24',22570.03,1,855.00,'FACTURA A 0002 - 008084',NULL,NULL,NULL,NULL,NULL),(170547,NULL,0,NULL,NULL,21,40817,40827,57,7612,1,1,'2023-04-24','2023-04-24',44379.00,1,855.00,'FACTURA A 0002 - 008085',NULL,NULL,NULL,NULL,NULL),(170548,NULL,0,NULL,NULL,21,40817,40827,57,7612,1,1,'2023-04-26','2023-04-26',45199.80,1,855.00,'FACTURA A 0002 - 008090',NULL,NULL,NULL,NULL,NULL),(170549,NULL,0,NULL,NULL,21,40817,40827,57,7612,1,1,'2023-04-26','2023-04-26',26655.78,1,855.00,'FACTURA A 0002 - 008091',NULL,NULL,NULL,NULL,NULL),(170550,NULL,0,NULL,NULL,21,40817,40827,57,7612,1,1,'2023-04-26','2023-04-26',29449.96,1,855.00,'FACTURA A 0002 - 008092',NULL,NULL,NULL,NULL,NULL),(170551,NULL,0,NULL,NULL,21,40817,40827,57,7612,1,1,'2023-04-28','2023-04-28',34890.05,1,855.00,'FACTURA A 0002 - 008099',NULL,NULL,NULL,NULL,NULL),(170552,NULL,0,NULL,NULL,21,40817,40827,57,7612,1,1,'2023-04-28','2023-04-28',78000.00,1,855.00,'FACTURA A 0002 - 008100',NULL,NULL,NULL,NULL,NULL),(170553,NULL,0,NULL,NULL,21,40817,40827,57,7613,1,1,'2023-05-03','2023-05-03',56888.02,1,855.00,'FACTURA A 0002 - 008110',NULL,NULL,NULL,NULL,NULL),(170554,NULL,0,NULL,NULL,21,40817,40827,57,7613,1,1,'2023-05-09','2023-05-09',3524.00,1,855.00,'FACTURA A 0002 - 008138',NULL,NULL,NULL,NULL,NULL),(170555,NULL,0,NULL,NULL,21,40817,40827,57,7613,1,1,'2023-05-09','2023-05-09',1620.01,1,855.00,'FACTURA A 0002 - 008139',NULL,NULL,NULL,NULL,NULL),(170556,NULL,0,NULL,170556,3,40817,40827,57,7613,2,1,'2023-05-12','2023-05-12',669067.59,1,855.00,'PAGO  0004 - 002243',NULL,NULL,NULL,NULL,NULL),(170557,NULL,0,NULL,NULL,21,40817,40827,57,7613,1,1,'2023-05-18','2023-05-18',7160.01,1,855.00,'FACTURA A 0002 - 008200',NULL,NULL,NULL,NULL,NULL),(170558,NULL,0,NULL,NULL,21,40817,40827,57,7613,1,1,'2023-05-18','2023-05-18',18998.02,1,855.00,'FACTURA A 0002 - 008204',NULL,NULL,NULL,NULL,NULL),(170559,NULL,0,NULL,NULL,21,40817,40827,57,7613,1,1,'2023-05-18','2023-05-18',43230.02,1,855.00,'FACTURA A 0002 - 008207',NULL,NULL,NULL,NULL,NULL),(170560,NULL,0,NULL,NULL,21,40817,40827,57,7613,1,1,'2023-05-22','2023-05-22',30580.01,1,855.00,'FACTURA A 0002 - 008214',NULL,NULL,NULL,NULL,NULL),(170561,NULL,0,NULL,NULL,21,40817,40827,57,7613,1,1,'2023-05-22','2023-05-22',199715.07,1,855.00,'FACTURA A 0002 - 008215',NULL,NULL,NULL,NULL,NULL),(170562,NULL,0,NULL,NULL,21,40817,40827,57,7613,1,1,'2023-05-23','2023-05-23',9540.01,1,855.00,'FACTURA A 0002 - 008217',NULL,NULL,NULL,NULL,NULL),(170563,NULL,0,NULL,NULL,21,40817,40827,57,7613,1,1,'2023-05-23','2023-05-23',132637.98,1,855.00,'FACTURA A 0002 - 008218',NULL,NULL,NULL,NULL,NULL),(170564,NULL,0,NULL,NULL,21,40817,40827,57,7613,1,1,'2023-05-23','2023-05-23',5176.00,1,855.00,'FACTURA A 0002 - 008223',NULL,NULL,NULL,NULL,NULL),(170565,NULL,0,NULL,170565,3,40817,40827,57,7613,2,1,'2023-05-23','2023-05-23',30580.00,1,855.00,'NOTA DE CREDITO A 0002 - 000409',NULL,NULL,NULL,NULL,NULL),(170566,NULL,0,NULL,170566,3,40817,40827,57,7613,2,1,'2023-05-23','2023-05-23',10000.00,1,855.00,'NOTA DE CREDITO A 0002 - 000411',NULL,NULL,NULL,NULL,NULL),(170567,NULL,0,NULL,170567,3,40817,40827,57,7613,2,1,'2023-05-23','2023-05-23',10023.98,1,855.00,'NOTA DE CREDITO A 0002 - 000412',NULL,NULL,NULL,NULL,NULL),(170568,NULL,0,NULL,NULL,21,40817,40827,57,7613,1,1,'2023-05-24','2023-05-24',26949.98,1,855.00,'FACTURA A 0002 - 008224',NULL,NULL,NULL,NULL,NULL),(170569,NULL,0,NULL,NULL,21,40817,40827,57,7613,1,1,'2023-05-24','2023-05-24',34200.10,1,855.00,'FACTURA A 0002 - 008225',NULL,NULL,NULL,NULL,NULL),(170570,NULL,0,NULL,NULL,21,40817,40827,57,7613,1,1,'2023-05-24','2023-05-24',25200.00,1,855.00,'FACTURA A 0002 - 008226',NULL,NULL,NULL,NULL,NULL),(170571,NULL,0,NULL,NULL,21,40817,40827,57,7613,1,1,'2023-05-31','2023-05-31',9482.01,1,855.00,'FACTURA A 0002 - 008238',NULL,NULL,NULL,NULL,NULL),(170572,NULL,0,NULL,NULL,21,40817,40827,57,7614,1,1,'2023-06-01','2023-06-01',16334.02,1,855.00,'FACTURA A 0002 - 008242',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170573,NULL,0,NULL,170573,3,40817,40827,57,7614,2,1,'2023-06-01','2023-06-01',486846.54,1,855.00,'PAGO  0004 - 002332',NULL,NULL,NULL,NULL,NULL),(170574,NULL,0,NULL,NULL,21,40817,40827,57,7614,1,1,'2023-06-05','2023-06-05',199369.93,1,855.00,'FACTURA A 0002 - 008246',NULL,NULL,NULL,NULL,NULL),(170575,NULL,0,NULL,NULL,21,40817,40827,57,7614,1,1,'2023-06-15','2023-06-15',286350.14,1,855.00,'FACTURA A 0002 - 008290',NULL,NULL,NULL,NULL,NULL),(170576,NULL,0,NULL,NULL,21,40817,40827,57,7614,1,1,'2023-06-15','2023-06-15',19940.00,1,855.00,'FACTURA A 0002 - 008295',NULL,NULL,NULL,NULL,NULL),(170577,NULL,0,NULL,170577,3,40817,40827,57,7614,2,1,'2023-06-22','2023-06-22',531476.10,1,855.00,'PAGO  0004 - 002452',NULL,NULL,NULL,NULL,NULL),(170578,NULL,0,NULL,NULL,21,40817,40827,57,7614,1,1,'2023-06-27','2023-06-27',12119.99,1,855.00,'FACTURA A 0002 - 008323',NULL,NULL,NULL,NULL,NULL),(170579,NULL,0,NULL,NULL,21,40817,40827,57,7614,1,1,'2023-06-30','2023-06-30',18150.01,1,855.00,'FACTURA A 0002 - 008345',NULL,NULL,NULL,NULL,NULL),(170580,NULL,0,NULL,NULL,21,40817,40827,57,7614,1,1,'2023-06-30','2023-06-30',113348.02,1,855.00,'FACTURA A 0002 - 008349',NULL,NULL,NULL,NULL,NULL),(170581,NULL,0,NULL,NULL,21,40817,40827,57,7615,1,1,'2023-07-05','2023-07-05',42000.00,1,855.00,'FACTURA A 0002 - 008357',NULL,NULL,NULL,NULL,NULL),(170582,NULL,0,NULL,NULL,21,40817,40827,57,7615,1,1,'2023-07-05','2023-07-05',42000.00,1,855.00,'FACTURA A 0002 - 008358',NULL,NULL,NULL,NULL,NULL),(170583,NULL,0,NULL,NULL,21,40817,40827,57,7615,1,1,'2023-07-06','2023-07-06',97660.09,1,855.00,'FACTURA A 0002 - 008362',NULL,NULL,NULL,NULL,NULL),(170584,NULL,0,NULL,NULL,21,40817,40827,57,7615,1,1,'2023-07-07','2023-07-07',87079.99,1,855.00,'FACTURA A 0002 - 008368',NULL,NULL,NULL,NULL,NULL),(170585,NULL,0,NULL,NULL,21,40817,40827,57,7615,1,1,'2023-07-10','2023-07-10',59219.82,1,855.00,'FACTURA A 0002 - 008388',NULL,NULL,NULL,NULL,NULL),(170586,NULL,0,NULL,170586,3,40817,40827,57,7615,2,1,'2023-07-11','2023-07-11',145767.07,1,855.00,'PAGO  0004 - 002545',NULL,NULL,NULL,NULL,NULL),(170587,NULL,0,NULL,170587,3,40817,40827,57,7615,2,1,'2023-07-13','2023-07-13',225647.68,1,855.00,'PAGO  0004 - 002557',NULL,NULL,NULL,NULL,NULL),(170588,NULL,0,NULL,NULL,21,40817,40827,57,7615,1,1,'2023-07-18','2023-07-18',88719.96,1,855.00,'FACTURA A 0002 - 008414',NULL,NULL,NULL,NULL,NULL),(170589,NULL,0,NULL,NULL,21,40817,40827,57,7615,1,1,'2023-07-18','2023-07-18',128591.02,1,855.00,'FACTURA A 0002 - 008417',NULL,NULL,NULL,NULL,NULL),(170590,NULL,0,NULL,NULL,21,40817,40827,57,7615,1,1,'2023-07-19','2023-07-19',60500.00,1,855.00,'FACTURA A 0002 - 008420',NULL,NULL,NULL,NULL,NULL),(170591,NULL,0,NULL,NULL,21,40817,40827,57,7615,1,1,'2023-07-20','2023-07-20',72556.97,1,855.00,'FACTURA A 0002 - 008424',NULL,NULL,NULL,NULL,NULL),(170592,NULL,0,NULL,NULL,21,40817,40827,57,7615,1,1,'2023-07-20','2023-07-20',67670.02,1,855.00,'FACTURA A 0002 - 008430',NULL,NULL,NULL,NULL,NULL),(170593,NULL,0,NULL,NULL,21,40817,40827,57,7615,1,1,'2023-07-21','2023-07-21',12599.97,1,855.00,'FACTURA A 0002 - 008435',NULL,NULL,NULL,NULL,NULL),(170594,NULL,0,NULL,NULL,21,40817,40827,57,7615,1,1,'2023-07-24','2023-07-24',46600.05,1,855.00,'FACTURA A 0002 - 008440',NULL,NULL,NULL,NULL,NULL),(170595,NULL,0,NULL,NULL,21,40817,40827,57,7615,1,1,'2023-07-26','2023-07-26',406921.21,1,855.00,'FACTURA A 0002 - 008445',NULL,NULL,NULL,NULL,NULL),(170596,NULL,0,NULL,NULL,21,40817,40827,57,7615,1,1,'2023-07-27','2023-07-27',85699.96,1,855.00,'FACTURA A 0002 - 008452',NULL,NULL,NULL,NULL,NULL),(170597,NULL,0,NULL,NULL,21,40817,40827,57,7615,1,1,'2023-07-28','2023-07-28',142910.01,1,855.00,'FACTURA A 0002 - 008455',NULL,NULL,NULL,NULL,NULL),(170598,NULL,0,NULL,NULL,21,40817,40827,57,7615,1,1,'2023-07-28','2023-07-28',74300.05,1,855.00,'FACTURA A 0002 - 008456',NULL,NULL,NULL,NULL,NULL),(170599,NULL,0,NULL,NULL,21,40817,40827,57,7615,1,1,'2023-07-28','2023-07-28',74949.94,1,855.00,'FACTURA A 0002 - 008457',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170600,NULL,0,NULL,NULL,21,40817,40827,57,7615,1,1,'2023-07-31','2023-07-31',12726.01,1,855.00,'FACTURA A 0002 - 008468',NULL,NULL,NULL,NULL,NULL),(170601,NULL,0,NULL,NULL,21,40817,40827,57,7616,1,1,'2023-08-02','2023-08-02',174560.19,1,855.00,'FACTURA A 0002 - 008519',NULL,NULL,NULL,NULL,NULL),(170602,NULL,0,NULL,170602,3,40817,40827,57,7616,2,1,'2023-08-03','2023-08-03',983277.57,1,855.00,'PAGO  0004 - 002651',NULL,NULL,NULL,NULL,NULL),(170603,NULL,0,NULL,NULL,21,40817,40827,57,7616,1,1,'2023-08-04','2023-08-04',105326.87,1,855.00,'FACTURA A 0002 - 008528',NULL,NULL,NULL,NULL,NULL),(170604,NULL,0,NULL,NULL,21,40817,40827,57,7616,1,1,'2023-08-08','2023-08-08',19738.01,1,855.00,'FACTURA A 0002 - 008541',NULL,NULL,NULL,NULL,NULL),(170605,NULL,0,NULL,NULL,21,40817,40827,57,7616,1,1,'2023-08-08','2023-08-08',152530.01,1,855.00,'FACTURA A 0002 - 008544',NULL,NULL,NULL,NULL,NULL),(170606,NULL,0,NULL,NULL,21,40817,40827,57,7616,1,1,'2023-08-08','2023-08-08',151964.03,1,855.00,'FACTURA A 0002 - 008550',NULL,NULL,NULL,NULL,NULL),(170607,NULL,0,NULL,170607,3,40817,40827,57,7616,2,1,'2023-08-09','2023-08-09',526607.78,1,855.00,'PAGO  0004 - 002701',NULL,NULL,NULL,NULL,NULL),(170608,NULL,0,NULL,170608,3,40817,40827,57,7616,2,1,'2023-08-11','2023-08-11',59219.82,1,855.00,'NOTA DE CREDITO A 0002 - 000421',NULL,NULL,NULL,NULL,NULL),(170609,NULL,0,NULL,170609,3,40817,40827,57,7616,2,1,'2023-08-11','2023-08-11',42000.00,1,855.00,'NOTA DE CREDITO A 0002 - 000422',NULL,NULL,NULL,NULL,NULL),(170610,NULL,0,NULL,NULL,21,40817,40827,57,7616,1,1,'2023-08-11','2023-08-11',241184.95,1,855.00,'FACTURA A 0002 - 008562',NULL,NULL,NULL,NULL,NULL),(170611,NULL,0,NULL,170611,3,40817,40827,57,7616,2,1,'2023-08-18','2023-08-18',421560.89,1,855.00,'PAGO  0004 - 002750',NULL,NULL,NULL,NULL,NULL),(170612,NULL,0,NULL,170612,3,40817,40827,57,7616,2,1,'2023-08-23','2023-08-23',194794.06,1,855.00,'PAGO  0004 - 002759',NULL,NULL,NULL,NULL,NULL),(170613,NULL,0,NULL,NULL,21,40817,40827,57,7616,1,1,'2023-08-29','2023-08-29',7900.00,1,855.00,'FACTURA A 0002 - 008587',NULL,NULL,NULL,NULL,NULL),(170614,NULL,0,NULL,NULL,21,40817,40827,57,7616,1,1,'2023-08-29','2023-08-29',19960.00,1,855.00,'FACTURA A 0002 - 008588',NULL,NULL,NULL,NULL,NULL),(170615,NULL,0,NULL,NULL,21,40817,40827,57,7616,1,1,'2023-08-29','2023-08-29',199168.00,1,855.00,'FACTURA A 0002 - 008589',NULL,NULL,NULL,NULL,NULL),(170616,NULL,0,NULL,NULL,21,40817,40827,57,7616,1,1,'2023-08-29','2023-08-29',467094.47,1,855.00,'FACTURA A 0002 - 008599',NULL,NULL,NULL,NULL,NULL),(170617,NULL,0,NULL,NULL,21,40817,40827,57,7616,1,1,'2023-08-31','2023-08-31',222873.97,1,855.00,'FACTURA A 0002 - 008604',NULL,NULL,NULL,NULL,NULL),(170618,NULL,0,NULL,NULL,21,40817,40827,57,7616,1,1,'2023-08-31','2023-08-31',24444.96,1,855.00,'FACTURA A 0002 - 008612',NULL,NULL,NULL,NULL,NULL),(170619,NULL,0,NULL,NULL,21,40817,40827,57,7617,1,1,'2023-09-01','2023-09-01',292800.02,1,855.00,'FACTURA A 0002 - 008619',NULL,NULL,NULL,NULL,NULL),(170620,NULL,0,NULL,NULL,21,40817,40827,57,7617,1,1,'2023-09-01','2023-09-01',17599.98,1,855.00,'FACTURA A 0002 - 008622',NULL,NULL,NULL,NULL,NULL),(170621,NULL,0,NULL,170621,3,40817,40827,57,7617,2,1,'2023-09-01','2023-09-01',36125.00,1,855.00,'NOTA DE CREDITO A 0002 - 000424',NULL,NULL,NULL,NULL,NULL),(170622,NULL,0,NULL,NULL,21,40817,40827,57,7617,1,1,'2023-09-02','2023-09-02',8610.00,1,855.00,'FACTURA A 0002 - 008630',NULL,NULL,NULL,NULL,NULL),(170623,NULL,0,NULL,NULL,21,40817,40827,57,7617,1,1,'2023-09-05','2023-09-05',295602.00,1,855.00,'FACTURA A 0002 - 008643',NULL,NULL,NULL,NULL,NULL),(170624,NULL,0,NULL,NULL,21,40817,40827,57,7617,1,1,'2023-09-06','2023-09-06',80399.99,1,855.00,'FACTURA A 0002 - 008648',NULL,NULL,NULL,NULL,NULL),(170625,NULL,0,NULL,170625,3,40817,40827,57,7617,2,1,'2023-09-06','2023-09-06',911499.29,1,855.00,'PAGO  0004 - 002812',NULL,NULL,NULL,NULL,NULL),(170626,NULL,0,NULL,NULL,21,40817,40827,57,7617,1,1,'2023-09-07','2023-09-07',197000.00,1,855.00,'FACTURA A 0002 - 008654',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170627,NULL,0,NULL,NULL,21,40817,40827,57,7617,1,1,'2023-09-12','2023-09-12',8000.01,1,855.00,'FACTURA A 0002 - 008674',NULL,NULL,NULL,NULL,NULL),(170628,NULL,0,NULL,NULL,21,40817,40827,57,7617,1,1,'2023-09-13','2023-09-13',88841.93,1,855.00,'FACTURA A 0002 - 008675',NULL,NULL,NULL,NULL,NULL),(170629,NULL,0,NULL,170629,3,40817,40827,57,7617,2,1,'2023-09-13','2023-09-13',604559.58,1,855.00,'PAGO  0004 - 002869',NULL,NULL,NULL,NULL,NULL),(170630,NULL,0,NULL,NULL,21,40817,40827,57,7617,1,1,'2023-09-14','2023-09-14',284440.00,1,855.00,'FACTURA A 0002 - 008679',NULL,NULL,NULL,NULL,NULL),(170631,NULL,0,NULL,NULL,21,40817,40827,57,7617,1,1,'2023-09-15','2023-09-15',3160.01,1,855.00,'FACTURA A 0002 - 008684',NULL,NULL,NULL,NULL,NULL),(170632,NULL,0,NULL,NULL,21,40817,40827,57,7617,1,1,'2023-09-18','2023-09-18',99639.93,1,855.00,'FACTURA A 0002 - 008690',NULL,NULL,NULL,NULL,NULL),(170633,NULL,0,NULL,NULL,21,40817,40827,57,7617,1,1,'2023-09-19','2023-09-19',92683.00,1,855.00,'FACTURA A 0002 - 008696',NULL,NULL,NULL,NULL,NULL),(170634,NULL,0,NULL,NULL,21,40817,40827,57,7617,1,1,'2023-09-21','2023-09-21',409266.00,1,855.00,'FACTURA A 0002 - 008714',NULL,NULL,NULL,NULL,NULL),(170635,NULL,0,NULL,170635,3,40817,40827,57,7617,2,1,'2023-09-22','2023-09-22',770386.69,1,855.00,'PAGO  0004 - 002935',NULL,NULL,NULL,NULL,NULL),(170636,NULL,0,NULL,NULL,21,40817,40827,57,7617,1,1,'2023-09-25','2023-09-25',199251.45,1,855.00,'FACTURA A 0002 - 008726',NULL,NULL,NULL,NULL,NULL),(170637,NULL,0,NULL,NULL,21,40817,40827,57,7617,1,1,'2023-09-30','2023-09-30',529758.01,1,855.00,'FACTURA A 0002 - 008767',NULL,NULL,NULL,NULL,NULL),(170638,NULL,0,NULL,NULL,21,40817,40827,57,7618,1,1,'2023-10-05','2023-10-05',249699.00,1,855.00,'FACTURA A 0002 - 008794',NULL,NULL,NULL,NULL,NULL),(170639,NULL,0,NULL,NULL,21,40817,40827,57,7618,1,1,'2023-10-05','2023-10-05',33988.03,1,855.00,'FACTURA A 0002 - 008800',NULL,NULL,NULL,NULL,NULL),(170640,NULL,0,NULL,NULL,21,40817,40827,57,7618,1,1,'2023-10-05','2023-10-05',18589.91,1,855.00,'FACTURA A 0002 - 008801',NULL,NULL,NULL,NULL,NULL),(170641,NULL,0,NULL,NULL,21,40817,40827,57,7618,1,1,'2023-10-12','2023-10-12',101269.86,1,855.00,'FACTURA A 0002 - 008811',NULL,NULL,NULL,NULL,NULL),(170642,NULL,0,NULL,NULL,21,40817,40827,57,7618,1,1,'2023-10-17','2023-10-17',85350.01,1,855.00,'FACTURA A 0002 - 008829',NULL,NULL,NULL,NULL,NULL),(170643,NULL,0,NULL,170643,3,40817,40827,57,7618,2,1,'2023-10-17','2023-10-17',690548.23,1,855.00,'PAGO  0004 - 003057',NULL,NULL,NULL,NULL,NULL),(170644,NULL,0,NULL,NULL,21,40817,40827,57,7618,1,1,'2023-10-18','2023-10-18',247250.00,1,855.00,'FACTURA A 0002 - 008832',NULL,NULL,NULL,NULL,NULL),(170645,NULL,0,NULL,NULL,21,40817,40827,57,7618,1,1,'2023-10-24','2023-10-24',93905.01,1,855.00,'FACTURA A 0002 - 008846',NULL,NULL,NULL,NULL,NULL),(170646,NULL,0,NULL,NULL,21,40817,40827,57,7618,1,1,'2023-10-24','2023-10-24',15267.01,1,855.00,'FACTURA A 0002 - 008854',NULL,NULL,NULL,NULL,NULL),(170647,NULL,0,NULL,NULL,21,40817,40827,57,7618,1,1,'2023-10-27','2023-10-27',117455.00,1,855.00,'FACTURA A 0002 - 008872',NULL,NULL,NULL,NULL,NULL),(170648,NULL,0,NULL,170648,3,40817,40827,57,7618,2,1,'2023-10-27','2023-10-27',38349.99,1,855.00,'NOTA DE CREDITO A 0002 - 000443',NULL,NULL,NULL,NULL,NULL),(170649,NULL,0,NULL,170649,3,40817,40827,57,7618,2,1,'2023-10-30','2023-10-30',1126448.78,1,855.00,'PAGO  0004 - 003120',NULL,NULL,NULL,NULL,NULL),(170650,NULL,0,NULL,NULL,21,40817,40827,57,7618,1,1,'2023-10-30','2023-10-30',88265.02,1,855.00,'FACTURA A 0002 - 008883',NULL,NULL,NULL,NULL,NULL),(170651,NULL,0,NULL,NULL,21,40817,40827,57,7619,1,1,'2023-11-03','2023-11-03',346060.05,1,855.00,'FACTURA A 0002 - 008927',NULL,NULL,NULL,NULL,NULL),(170652,NULL,0,NULL,NULL,21,40817,40827,57,7619,1,1,'2023-11-08','2023-11-08',449553.99,1,855.00,'FACTURA A 0002 - 008942',NULL,NULL,NULL,NULL,NULL),(170653,NULL,0,NULL,170653,3,40817,40827,57,7619,2,1,'2023-11-14','2023-11-14',760427.35,1,855.00,'PAGO  0004 - 003218',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170654,NULL,0,NULL,NULL,21,40817,40827,57,7619,1,1,'2023-11-22','2023-11-22',125349.95,1,855.00,'FACTURA A 0002 - 008991',NULL,NULL,NULL,NULL,NULL),(170655,NULL,0,NULL,NULL,21,40817,40827,57,7619,1,1,'2023-11-23','2023-11-23',6540.00,1,855.00,'FACTURA A 0002 - 009000',NULL,NULL,NULL,NULL,NULL),(170656,NULL,0,NULL,NULL,21,40817,40827,57,7619,1,1,'2023-11-29','2023-11-29',755238.75,1,855.00,'FACTURA A 0002 - 009017',NULL,NULL,NULL,NULL,NULL),(170657,NULL,0,NULL,NULL,21,40817,40827,57,7619,1,1,'2023-11-29','2023-11-29',45051.98,1,855.00,'FACTURA A 0002 - 009019',NULL,NULL,NULL,NULL,NULL),(170658,NULL,0,NULL,NULL,21,40817,40827,57,7619,1,1,'2023-11-30','2023-11-30',35800.03,1,855.00,'FACTURA A 0002 - 009033',NULL,NULL,NULL,NULL,NULL),(170659,NULL,0,NULL,NULL,21,40817,40827,57,7620,1,1,'2023-12-01','2023-12-01',77410.01,1,855.00,'FACTURA A 0002 - 009044',NULL,NULL,NULL,NULL,NULL),(170660,NULL,0,NULL,NULL,21,40817,40827,57,7620,1,1,'2023-12-06','2023-12-06',411173.46,1,855.00,'FACTURA A 0002 - 009054',NULL,NULL,NULL,NULL,NULL),(170661,NULL,0,NULL,NULL,21,40817,40827,57,7620,1,1,'2023-12-11','2023-12-11',422559.66,1,855.00,'FACTURA A 0002 - 009059',NULL,NULL,NULL,NULL,NULL),(170662,NULL,0,NULL,170662,3,40817,40827,57,7620,2,1,'2023-12-12','2023-12-12',581443.94,1,855.00,'PAGO  0004 - 003355',NULL,NULL,NULL,NULL,NULL),(170663,NULL,0,NULL,170663,3,40817,40827,57,7620,2,1,'2023-12-16','2023-12-16',913500.77,1,855.00,'PAGO  0004 - 003387',NULL,NULL,NULL,NULL,NULL),(170664,NULL,0,NULL,NULL,21,40817,40827,57,7620,1,1,'2023-12-22','2023-12-22',209911.99,1,855.00,'FACTURA A 0002 - 009095',NULL,NULL,NULL,NULL,NULL),(170665,NULL,0,NULL,NULL,21,40817,40827,57,7620,1,1,'2023-12-27','2023-12-27',216476.01,1,855.00,'FACTURA A 0002 - 009102',NULL,NULL,NULL,NULL,NULL),(170666,NULL,0,NULL,NULL,21,40817,40827,57,7620,1,1,'2023-12-27','2023-12-27',18910.00,1,855.00,'FACTURA A 0002 - 009103',NULL,NULL,NULL,NULL,NULL),(170667,NULL,0,NULL,170667,3,40817,40827,57,6064,2,1,'2024-01-05','2024-01-05',422559.66,1,855.00,'PAGO  0004 - 003494',NULL,NULL,NULL,NULL,NULL),(170668,NULL,0,NULL,NULL,21,40817,40827,57,6064,1,1,'2024-01-06','2024-01-06',181279.97,1,855.00,'FACTURA A 0002 - 009142',NULL,NULL,NULL,NULL,NULL),(170669,NULL,0,NULL,NULL,21,40817,40827,57,6064,1,1,'2024-01-09','2024-01-09',43624.98,1,855.00,'FACTURA A 0002 - 009151',NULL,NULL,NULL,NULL,NULL),(170670,NULL,0,NULL,170670,3,40817,40827,57,6064,2,1,'2024-01-09','2024-01-09',91000.00,1,855.00,'NOTA DE CREDITO A 0002 - 000461',NULL,NULL,NULL,NULL,NULL),(170671,NULL,0,NULL,NULL,21,40817,40827,57,6064,1,1,'2024-01-12','2024-01-12',63357.05,1,855.00,'FACTURA A 0002 - 009173',NULL,NULL,NULL,NULL,NULL),(170672,NULL,0,NULL,NULL,21,40817,40827,57,6064,1,1,'2024-01-12','2024-01-12',14436.00,1,855.00,'FACTURA A 0002 - 009174',NULL,NULL,NULL,NULL,NULL),(170673,NULL,0,NULL,NULL,21,40817,40827,57,6064,1,1,'2024-01-15','2024-01-15',40042.01,1,855.00,'FACTURA A 0002 - 009178',NULL,NULL,NULL,NULL,NULL),(170674,NULL,0,NULL,NULL,21,40817,40827,57,6064,1,1,'2024-01-16','2024-01-16',141640.01,1,855.00,'FACTURA A 0002 - 009189',NULL,NULL,NULL,NULL,NULL),(170675,NULL,0,NULL,170675,3,40817,40827,57,6064,2,1,'2024-01-18','2024-01-18',639995.45,1,855.00,'PAGO  0004 - 003569',NULL,NULL,NULL,NULL,NULL),(170676,NULL,0,NULL,NULL,21,40817,40827,57,6064,1,1,'2024-01-19','2024-01-19',73509.99,1,855.00,'FACTURA A 0002 - 009210',NULL,NULL,NULL,NULL,NULL),(170677,NULL,0,NULL,NULL,21,40817,40827,57,6064,1,1,'2024-01-30','2024-01-30',15200.02,1,855.00,'FACTURA A 0002 - 009245',NULL,NULL,NULL,NULL,NULL),(170678,NULL,0,NULL,NULL,21,40817,40827,57,6064,1,1,'2024-01-31','2024-01-31',1084367.09,1,855.00,'FACTURA A 0002 - 009247',NULL,NULL,NULL,NULL,NULL),(170679,NULL,0,NULL,170679,3,40817,40827,57,6064,2,1,'2024-01-31','2024-01-31',404858.97,1,855.00,'PAGO  0004 - 003636',NULL,NULL,NULL,NULL,NULL),(170680,NULL,0,NULL,NULL,21,40817,40827,57,6065,1,1,'2024-02-06','2024-02-06',155931.99,1,855.00,'FACTURA A 0002 - 009295',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170681,NULL,0,NULL,NULL,21,40817,40827,57,6065,1,1,'2024-02-08','2024-02-08',171593.95,1,855.00,'FACTURA A 0002 - 009305',NULL,NULL,NULL,NULL,NULL),(170682,NULL,0,NULL,NULL,21,40817,40827,57,6065,1,1,'2024-02-09','2024-02-09',26560.01,1,855.00,'FACTURA A 0002 - 009317',NULL,NULL,NULL,NULL,NULL),(170683,NULL,0,NULL,170683,3,40817,40827,57,6065,2,1,'2024-02-16','2024-02-16',1535444.60,1,855.00,'PAGO  0004 - 003712',NULL,NULL,NULL,NULL,NULL),(170684,NULL,0,NULL,NULL,21,40817,40827,57,6065,1,1,'2024-02-21','2024-02-21',137565.03,1,855.00,'FACTURA A 0002 - 009334',NULL,NULL,NULL,NULL,NULL),(170685,NULL,0,NULL,NULL,21,40817,40827,57,6065,1,1,'2024-02-22','2024-02-22',29950.00,1,855.00,'FACTURA A 0002 - 009354',NULL,NULL,NULL,NULL,NULL),(170686,NULL,0,NULL,NULL,21,40817,40827,57,6065,1,1,'2024-02-26','2024-02-26',59900.01,1,855.00,'FACTURA A 0002 - 009369',NULL,NULL,NULL,NULL,NULL),(170687,NULL,0,NULL,NULL,21,40817,40827,57,6066,1,1,'2024-03-07','2024-03-07',42272.26,1,855.00,'FACTURA A 0002 - 009393',NULL,NULL,NULL,NULL,NULL),(170688,NULL,0,NULL,NULL,21,40817,40827,57,6066,1,1,'2024-03-07','2024-03-07',693084.92,1,855.00,'FACTURA A 0002 - 009394',NULL,NULL,NULL,NULL,NULL),(170689,NULL,0,NULL,170689,3,40817,40827,57,6066,2,1,'2024-03-08','2024-03-08',30600.03,1,855.00,'NOTA DE CREDITO A 0002 - 000478',NULL,NULL,NULL,NULL,NULL),(170690,NULL,0,NULL,170690,3,40817,40827,57,6066,2,1,'2024-03-14','2024-03-14',441448.56,1,855.00,'PAGO  0004 - 003875',NULL,NULL,NULL,NULL,NULL),(170691,NULL,0,NULL,170691,3,40817,40827,57,6066,2,1,'2024-03-15','2024-03-15',103030.00,1,855.00,'NOTA DE CREDITO A 0002 - 000481',NULL,NULL,NULL,NULL,NULL),(170692,NULL,0,NULL,NULL,21,40817,40827,57,6066,1,1,'2024-03-15','2024-03-15',2428080.02,1,855.00,'FACTURA A 0002 - 009433',NULL,NULL,NULL,NULL,NULL),(170693,NULL,0,NULL,NULL,21,40817,40827,57,6066,1,1,'2024-03-15','2024-03-15',1036600.01,1,855.00,'FACTURA A 0002 - 009437',NULL,NULL,NULL,NULL,NULL),(170694,NULL,0,NULL,NULL,21,40817,40827,57,6066,1,1,'2024-03-18','2024-03-18',723649.70,1,855.00,'FACTURA A 0002 - 009457',NULL,NULL,NULL,NULL,NULL),(170695,NULL,0,NULL,NULL,21,40817,40827,57,6066,1,1,'2024-03-18','2024-03-18',184000.01,1,855.00,'FACTURA A 0002 - 009458',NULL,NULL,NULL,NULL,NULL),(170696,NULL,0,NULL,NULL,21,40817,40827,57,6066,1,1,'2024-03-20','2024-03-20',479000.01,1,855.00,'FACTURA A 0002 - 009463',NULL,NULL,NULL,NULL,NULL),(170697,NULL,0,NULL,NULL,21,40817,40827,57,6066,1,1,'2024-03-21','2024-03-21',266120.00,1,855.00,'FACTURA A 0002 - 009469',NULL,NULL,NULL,NULL,NULL),(170698,NULL,0,NULL,NULL,21,40817,40827,57,6066,1,1,'2024-03-21','2024-03-21',91299.91,1,855.00,'FACTURA A 0002 - 009472',NULL,NULL,NULL,NULL,NULL),(170699,NULL,0,NULL,NULL,21,40817,40827,57,6066,1,1,'2024-03-27','2024-03-27',35400.02,1,855.00,'FACTURA A 0002 - 009480',NULL,NULL,NULL,NULL,NULL),(170700,NULL,0,NULL,NULL,21,40817,40827,57,6067,1,1,'2024-04-04','2024-04-04',196496.30,1,855.00,'FACTURA A 0002 - 009492',NULL,NULL,NULL,NULL,NULL),(170701,NULL,0,NULL,170701,3,40817,40827,57,6067,2,1,'2024-04-08','2024-04-08',3400478.80,1,855.00,'PAGO  0004 - 003995',NULL,NULL,NULL,NULL,NULL),(170702,NULL,0,NULL,NULL,21,40817,40827,57,6067,1,1,'2024-04-10','2024-04-10',238600.00,1,855.00,'FACTURA A 0002 - 009510',NULL,NULL,NULL,NULL,NULL),(170703,NULL,0,NULL,NULL,21,40817,40827,57,6067,1,1,'2024-04-12','2024-04-12',53808.01,1,855.00,'FACTURA A 0002 - 009525',NULL,NULL,NULL,NULL,NULL),(170704,NULL,0,NULL,NULL,21,40817,40827,57,6067,1,1,'2024-04-15','2024-04-15',260724.99,1,855.00,'FACTURA A 0002 - 009530',NULL,NULL,NULL,NULL,NULL),(170705,NULL,0,NULL,NULL,21,40817,40827,57,6067,1,1,'2024-04-18','2024-04-18',56916.01,1,855.00,'FACTURA A 0002 - 009569',NULL,NULL,NULL,NULL,NULL),(170706,NULL,0,NULL,NULL,21,40817,40827,57,6067,1,1,'2024-04-19','2024-04-19',534280.37,1,855.00,'FACTURA A 0002 - 009575',NULL,NULL,NULL,NULL,NULL),(170707,NULL,0,NULL,170707,3,40817,40827,57,6067,2,1,'2024-04-19','2024-04-19',2447805.25,1,855.00,'PAGO  0004 - 004068',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170708,NULL,0,NULL,NULL,21,40817,40827,57,6067,1,1,'2024-04-24','2024-04-24',217749.95,1,855.00,'FACTURA A 0002 - 009584',NULL,NULL,NULL,NULL,NULL),(170709,NULL,0,NULL,NULL,21,40817,40827,57,6067,1,1,'2024-04-25','2024-04-25',171900.01,1,855.00,'FACTURA A 0002 - 009590',NULL,NULL,NULL,NULL,NULL),(170710,NULL,0,NULL,170710,3,40817,40827,57,6067,2,1,'2024-04-25','2024-04-25',786820.08,1,855.00,'PAGO  0004 - 004103',NULL,NULL,NULL,NULL,NULL),(170711,NULL,0,NULL,170711,3,40817,40827,57,6068,2,1,'2024-05-17','2024-05-17',923930.33,1,855.00,'PAGO  0004 - 004220',NULL,NULL,NULL,NULL,NULL),(170712,NULL,0,NULL,NULL,21,40817,46975,57,7590,1,1,'2021-12-31','2021-12-31',67094.97,1,855.00,'FACTURA A 0003 - 011386',NULL,NULL,NULL,NULL,NULL),(170713,NULL,0,NULL,NULL,21,40817,46975,57,7590,1,1,'2021-12-31','2021-12-31',4882.48,1,855.00,'FACTURA A 0003 - 011387',NULL,NULL,NULL,NULL,NULL),(170714,NULL,0,NULL,170714,3,40817,46975,57,7594,2,1,'2022-01-25','2022-01-25',72040.00,1,855.00,'PAGO  0004 - 000056',NULL,NULL,NULL,NULL,NULL),(170715,NULL,0,NULL,NULL,21,40817,46975,57,7620,1,1,'2023-12-19','2023-12-19',62.55,1,855.00,'AJUSTE POSITIVO  0001 - 000004',NULL,NULL,NULL,NULL,NULL),(170716,NULL,0,NULL,NULL,21,40817,40934,57,7590,1,1,'2021-12-27','2021-12-27',272154.63,1,855.00,'FACTURA A 0608 - 135538',NULL,NULL,NULL,NULL,NULL),(170717,NULL,0,NULL,170717,3,40817,40934,57,7594,2,1,'2022-01-31','2022-01-31',272154.63,1,855.00,'PAGO  0004 - 000078',NULL,NULL,NULL,NULL,NULL),(170718,NULL,0,NULL,NULL,21,40817,40934,57,7595,1,1,'2022-02-14','2022-02-14',272154.63,1,855.00,'FACTURA A 0608 - 137349',NULL,NULL,NULL,NULL,NULL),(170719,NULL,0,NULL,NULL,21,40817,40934,57,7595,1,1,'2022-02-14','2022-02-14',299370.09,1,855.00,'FACTURA A 0608 - 137350',NULL,NULL,NULL,NULL,NULL),(170720,NULL,0,NULL,170720,3,40817,40934,57,7595,2,1,'2022-02-15','2022-02-15',571524.72,1,855.00,'PAGO  0004 - 000159',NULL,NULL,NULL,NULL,NULL),(170721,NULL,0,NULL,NULL,21,40817,40934,57,7596,1,1,'2022-03-08','2022-03-08',641329.86,1,855.00,'FACTURA A 0608 - 138103',NULL,NULL,NULL,NULL,NULL),(170722,NULL,0,NULL,NULL,21,40817,40934,57,7596,1,1,'2022-03-17','2022-03-17',168350.22,1,855.00,'FACTURA A 0608 - 138403',NULL,NULL,NULL,NULL,NULL),(170723,NULL,0,NULL,170723,3,40817,40934,57,7596,2,1,'2022-03-22','2022-03-22',641329.86,1,855.00,'PAGO  0004 - 000305',NULL,NULL,NULL,NULL,NULL),(170724,NULL,0,NULL,NULL,21,40817,40934,57,7597,1,1,'2022-04-06','2022-04-06',299370.09,1,855.00,'FACTURA A 0608 - 139433',NULL,NULL,NULL,NULL,NULL),(170725,NULL,0,NULL,170725,3,40817,40934,57,7597,2,1,'2022-04-11','2022-04-11',168350.22,1,855.00,'PAGO  0004 - 000410',NULL,NULL,NULL,NULL,NULL),(170726,NULL,0,NULL,170726,3,40817,40934,57,7597,2,1,'2022-04-25','2022-04-25',299370.09,1,855.00,'PAGO  0004 - 000475',NULL,NULL,NULL,NULL,NULL),(170727,NULL,0,NULL,NULL,21,40817,40934,57,7598,1,1,'2022-05-09','2022-05-09',533760.53,1,855.00,'FACTURA A 0608 - 141177',NULL,NULL,NULL,NULL,NULL),(170728,NULL,0,NULL,170728,3,40817,40934,57,7599,2,1,'2022-06-03','2022-06-03',533760.53,1,855.00,'PAGO  0004 - 000653',NULL,NULL,NULL,NULL,NULL),(170729,NULL,0,NULL,NULL,21,40817,40934,57,7599,1,1,'2022-06-14','2022-06-14',518531.32,1,855.00,'FACTURA A 0608 - 142683',NULL,NULL,NULL,NULL,NULL),(170730,NULL,0,NULL,170730,3,40817,40934,57,7600,2,1,'2022-07-12','2022-07-12',518531.32,1,855.00,'PAGO  0004 - 000808',NULL,NULL,NULL,NULL,NULL),(170731,NULL,0,NULL,NULL,21,40817,40934,57,7600,1,1,'2022-07-13','2022-07-13',428593.70,1,855.00,'FACTURA A 0608 - 143718',NULL,NULL,NULL,NULL,NULL),(170732,NULL,0,NULL,NULL,21,40817,40934,57,7601,1,1,'2022-08-03','2022-08-03',693090.97,1,855.00,'FACTURA A 0608 - 144997',NULL,NULL,NULL,NULL,NULL),(170733,NULL,0,NULL,170733,3,40817,40934,57,7601,2,1,'2022-08-03','2022-08-03',428593.70,1,855.00,'PAGO  0004 - 000924',NULL,NULL,NULL,NULL,NULL),(170734,NULL,0,NULL,170734,3,40817,40934,57,7601,2,1,'2022-08-18','2022-08-18',693090.97,1,855.00,'PAGO  0004 - 001020',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170735,NULL,0,NULL,NULL,21,40817,40934,57,7602,1,1,'2022-09-09','2022-09-09',458596.06,1,855.00,'FACTURA A 0608 - 146469',NULL,NULL,NULL,NULL,NULL),(170736,NULL,0,NULL,170736,3,40817,40934,57,7602,2,1,'2022-09-28','2022-09-28',458596.06,1,855.00,'PAGO  0004 - 001218',NULL,NULL,NULL,NULL,NULL),(170737,NULL,0,NULL,NULL,21,40817,40934,57,7603,1,1,'2022-10-14','2022-10-14',963868.46,1,855.00,'FACTURA A 0608 - 147601',NULL,NULL,NULL,NULL,NULL),(170738,NULL,0,NULL,NULL,21,40817,40934,57,7604,1,1,'2022-11-02','2022-11-02',181741.53,1,855.00,'FACTURA A 0608 - 148443',NULL,NULL,NULL,NULL,NULL),(170739,NULL,0,NULL,170739,3,40817,40934,57,7604,2,1,'2022-11-10','2022-11-10',963868.46,1,855.00,'PAGO  0004 - 001405',NULL,NULL,NULL,NULL,NULL),(170740,NULL,0,NULL,NULL,21,40817,40934,57,7604,1,1,'2022-11-22','2022-11-22',958964.48,1,855.00,'FACTURA A 0608 - 149079',NULL,NULL,NULL,NULL,NULL),(170741,NULL,0,NULL,170741,3,40817,40934,57,7604,2,1,'2022-11-25','2022-11-25',181741.53,1,855.00,'PAGO  0004 - 001473',NULL,NULL,NULL,NULL,NULL),(170742,NULL,0,NULL,170742,3,40817,40934,57,7605,2,1,'2022-12-07','2022-12-07',958964.48,1,855.00,'PAGO  0004 - 001539',NULL,NULL,NULL,NULL,NULL),(170743,NULL,0,NULL,NULL,21,40817,40934,57,7609,1,1,'2023-01-09','2023-01-09',535121.76,1,855.00,'FACTURA A 0608 - 150573',NULL,NULL,NULL,NULL,NULL),(170744,NULL,0,NULL,NULL,21,40817,40934,57,7609,1,1,'2023-01-09','2023-01-09',27735.66,1,855.00,'FACTURA A 0608 - 150574',NULL,NULL,NULL,NULL,NULL),(170745,NULL,0,NULL,170745,3,40817,40934,57,7610,2,1,'2023-02-06','2023-02-06',562857.42,1,855.00,'PAGO  0004 - 001791',NULL,NULL,NULL,NULL,NULL),(170746,NULL,0,NULL,NULL,21,40817,40934,57,7610,1,1,'2023-02-13','2023-02-13',748779.12,1,855.00,'FACTURA A 0608 - 151783',NULL,NULL,NULL,NULL,NULL),(170747,NULL,0,NULL,170747,3,40817,40934,57,7611,2,1,'2023-03-02','2023-03-02',748779.12,1,855.00,'PAGO  0004 - 001886',NULL,NULL,NULL,NULL,NULL),(170748,NULL,0,NULL,NULL,21,40817,40934,57,7611,1,1,'2023-03-10','2023-03-10',561878.10,1,855.00,'FACTURA A 0608 - 152649',NULL,NULL,NULL,NULL,NULL),(170749,NULL,0,NULL,170749,3,40817,40934,57,7612,2,1,'2023-04-03','2023-04-03',561878.10,1,855.00,'PAGO  0004 - 002048',NULL,NULL,NULL,NULL,NULL),(170750,NULL,0,NULL,NULL,21,40817,40934,57,7612,1,1,'2023-04-04','2023-04-04',1154412.16,1,855.00,'FACTURA A 0608 - 153570',NULL,NULL,NULL,NULL,NULL),(170751,NULL,0,NULL,170751,3,40817,40934,57,7612,2,1,'2023-04-28','2023-04-28',1154412.16,1,855.00,'PAGO  0004 - 002166',NULL,NULL,NULL,NULL,NULL),(170752,NULL,0,NULL,NULL,21,40817,40934,57,7613,1,1,'2023-05-16','2023-05-16',1186621.86,1,855.00,'FACTURA A 0608 - 154974',NULL,NULL,NULL,NULL,NULL),(170753,NULL,0,NULL,170753,3,40817,40934,57,7614,2,1,'2023-06-08','2023-06-08',1186621.86,1,855.00,'PAGO  0004 - 002371',NULL,NULL,NULL,NULL,NULL),(170754,NULL,0,NULL,NULL,21,40817,40934,57,7615,1,1,'2023-07-06','2023-07-06',717316.81,1,855.00,'FACTURA A 0608 - 156834',NULL,NULL,NULL,NULL,NULL),(170755,NULL,0,NULL,NULL,21,40817,40934,57,7615,1,1,'2023-07-24','2023-07-24',218854.38,1,855.00,'FACTURA A 0608 - 157548',NULL,NULL,NULL,NULL,NULL),(170756,NULL,0,NULL,NULL,21,40817,40934,57,7615,1,1,'2023-07-24','2023-07-24',218854.38,1,855.00,'FACTURA A 0608 - 157549',NULL,NULL,NULL,NULL,NULL),(170757,NULL,0,NULL,NULL,21,40817,40934,57,7615,1,1,'2023-07-24','2023-07-24',218854.38,1,855.00,'FACTURA A 0608 - 157550',NULL,NULL,NULL,NULL,NULL),(170758,NULL,0,NULL,NULL,21,40817,40934,57,7615,1,1,'2023-07-24','2023-07-24',218854.38,1,855.00,'FACTURA A 0608 - 157551',NULL,NULL,NULL,NULL,NULL),(170759,NULL,0,NULL,170759,3,40817,40934,57,7615,2,1,'2023-07-26','2023-07-26',717316.81,1,855.00,'PAGO  0004 - 002617',NULL,NULL,NULL,NULL,NULL),(170760,NULL,0,NULL,NULL,21,40817,40934,57,7616,1,1,'2023-08-03','2023-08-03',1309539.86,1,855.00,'FACTURA A 0608 - 158169',NULL,NULL,NULL,NULL,NULL),(170761,NULL,0,NULL,NULL,21,40817,40934,57,7616,1,1,'2023-08-08','2023-08-08',104528.05,1,855.00,'FACTURA A 0608 - 158368',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170762,NULL,0,NULL,NULL,21,40817,40934,57,7616,1,1,'2023-08-08','2023-08-08',604713.04,1,855.00,'FACTURA A 0608 - 158369',NULL,NULL,NULL,NULL,NULL),(170763,NULL,0,NULL,NULL,21,40817,40934,57,7616,1,1,'2023-08-10','2023-08-10',1144677.20,1,855.00,'FACTURA A 0608 - 158441',NULL,NULL,NULL,NULL,NULL),(170764,NULL,0,NULL,170764,3,40817,40934,57,7616,2,1,'2023-08-23','2023-08-23',875417.52,1,855.00,'PAGO  0004 - 002762',NULL,NULL,NULL,NULL,NULL),(170765,NULL,0,NULL,170765,3,40817,40934,57,7616,2,1,'2023-08-31','2023-08-31',1309539.86,1,855.00,'PAGO  0004 - 002789',NULL,NULL,NULL,NULL,NULL),(170766,NULL,0,NULL,170766,3,40817,40934,57,7616,2,1,'2023-08-31','2023-08-31',709241.09,1,855.00,'PAGO  0004 - 002790',NULL,NULL,NULL,NULL,NULL),(170767,NULL,0,NULL,170767,3,40817,40934,57,7616,2,1,'2023-08-31','2023-08-31',1144677.20,1,855.00,'PAGO  0004 - 002791',NULL,NULL,NULL,NULL,NULL),(170768,NULL,0,NULL,NULL,21,40817,40934,57,7616,1,1,'2023-08-31','2023-08-31',1122436.04,1,855.00,'FACTURA A 0608 - 159245',NULL,NULL,NULL,NULL,NULL),(170769,NULL,0,NULL,NULL,21,40817,40934,57,7617,1,1,'2023-09-12','2023-09-12',979920.31,1,855.00,'FACTURA A 0608 - 159531',NULL,NULL,NULL,NULL,NULL),(170770,NULL,0,NULL,170770,3,40817,40934,57,7617,2,1,'2023-09-26','2023-09-26',1122436.04,1,855.00,'PAGO  0004 - 002943',NULL,NULL,NULL,NULL,NULL),(170771,NULL,0,NULL,NULL,21,40817,40934,57,7617,1,1,'2023-09-29','2023-09-29',979920.31,1,855.00,'FACTURA A 0608 - 160246',NULL,NULL,NULL,NULL,NULL),(170772,NULL,0,NULL,170772,3,40817,40934,57,7618,2,1,'2023-10-10','2023-10-10',979920.31,1,855.00,'PAGO  0004 - 003006',NULL,NULL,NULL,NULL,NULL),(170773,NULL,0,NULL,170773,3,40817,40934,57,7618,2,1,'2023-10-26','2023-10-26',979920.31,1,855.00,'PAGO  0004 - 003104',NULL,NULL,NULL,NULL,NULL),(170774,NULL,0,NULL,NULL,21,40817,40934,57,7619,1,1,'2023-11-08','2023-11-08',2659225.77,1,855.00,'FACTURA A 0608 - 161331',NULL,NULL,NULL,NULL,NULL),(170775,NULL,0,NULL,NULL,21,40817,40934,57,7619,1,1,'2023-11-30','2023-11-30',3637987.12,1,855.00,'FACTURA A 0608 - 161994',NULL,NULL,NULL,NULL,NULL),(170776,NULL,0,NULL,NULL,21,40817,40934,57,7620,1,1,'2023-12-06','2023-12-06',1964221.63,1,855.00,'FACTURA A 0608 - 162144',NULL,NULL,NULL,NULL,NULL),(170777,NULL,0,NULL,170777,3,40817,40934,57,7620,2,1,'2023-12-06','2023-12-06',2659225.77,1,855.00,'PAGO  0004 - 003324',NULL,NULL,NULL,NULL,NULL),(170778,NULL,0,NULL,NULL,21,40817,40934,57,7620,1,1,'2023-12-14','2023-12-14',1393973.37,1,855.00,'FACTURA A 0608 - 162327',NULL,NULL,NULL,NULL,NULL),(170779,NULL,0,NULL,170779,3,40817,40934,57,7620,2,1,'2023-12-16','2023-12-16',3637987.12,1,855.00,'PAGO  0004 - 003388',NULL,NULL,NULL,NULL,NULL),(170780,NULL,0,NULL,NULL,21,40817,40934,57,7620,1,1,'2023-12-20','2023-12-20',3145841.59,1,855.00,'FACTURA A 0608 - 162503',NULL,NULL,NULL,NULL,NULL),(170781,NULL,0,NULL,170781,3,40817,40934,57,6064,2,1,'2024-01-05','2024-01-05',1964221.63,1,855.00,'PAGO  0004 - 003499',NULL,NULL,NULL,NULL,NULL),(170782,NULL,0,NULL,170782,3,40817,40934,57,6064,2,1,'2024-01-11','2024-01-11',1393973.37,1,855.00,'PAGO  0004 - 003518',NULL,NULL,NULL,NULL,NULL),(170783,NULL,0,NULL,170783,3,40817,40934,57,6064,2,1,'2024-01-11','2024-01-11',3145841.59,1,855.00,'PAGO  0004 - 003519',NULL,NULL,NULL,NULL,NULL),(170784,NULL,0,NULL,NULL,21,40817,40934,57,6064,1,1,'2024-01-11','2024-01-11',3142754.10,1,855.00,'FACTURA A 0608 - 162842',NULL,NULL,NULL,NULL,NULL),(170785,NULL,0,NULL,NULL,21,40817,40934,57,6065,1,1,'2024-02-05','2024-02-05',6563859.87,1,855.00,'FACTURA A 0608 - 163572',NULL,NULL,NULL,NULL,NULL),(170786,NULL,0,NULL,170786,3,40817,40934,57,6065,2,1,'2024-02-06','2024-02-06',3142754.10,1,855.00,'PAGO  0004 - 003651',NULL,NULL,NULL,NULL,NULL),(170787,NULL,0,NULL,NULL,21,40817,40934,57,6065,1,1,'2024-02-27','2024-02-27',3142754.10,1,855.00,'FACTURA A 0608 - 164086',NULL,NULL,NULL,NULL,NULL),(170788,NULL,0,NULL,170788,3,40817,40934,57,6066,2,1,'2024-03-05','2024-03-05',6563859.87,1,855.00,'PAGO  0004 - 003813',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170789,NULL,0,NULL,170789,3,40817,40934,57,6066,2,1,'2024-03-05','2024-03-05',3142754.10,1,855.00,'PAGO  0004 - 003814',NULL,NULL,NULL,NULL,NULL),(170790,NULL,0,NULL,NULL,21,40817,40934,57,6066,1,1,'2024-03-27','2024-03-27',1812057.79,1,855.00,'FACTURA A 0608 - 164915',NULL,NULL,NULL,NULL,NULL),(170791,NULL,0,NULL,NULL,21,40817,40934,57,6066,1,1,'2024-03-27','2024-03-27',3142754.10,1,855.00,'FACTURA A 0608 - 164916',NULL,NULL,NULL,NULL,NULL),(170792,NULL,0,NULL,NULL,21,40817,40934,57,6066,1,1,'2024-03-27','2024-03-27',2980148.83,1,855.00,'FACTURA A 0608 - 164917',NULL,NULL,NULL,NULL,NULL),(170793,NULL,0,NULL,170793,3,40817,40934,57,6067,2,1,'2024-04-07','2024-04-07',7934960.72,1,855.00,'PAGO  0004 - 003972',NULL,NULL,NULL,NULL,NULL),(170794,NULL,0,NULL,NULL,21,40817,40934,57,6067,1,1,'2024-04-26','2024-04-26',3142754.10,1,855.00,'FACTURA A 0608 - 165483',NULL,NULL,NULL,NULL,NULL),(170795,NULL,0,NULL,170795,3,40817,40934,57,6068,2,1,'2024-05-11','2024-05-11',3142754.10,1,855.00,'PAGO  0004 - 004164',NULL,NULL,NULL,NULL,NULL),(170796,NULL,0,NULL,170796,3,40817,46951,57,7590,2,1,'2021-12-31','2021-12-31',855.01,1,855.00,'PAGO  0001 - 000007',NULL,NULL,NULL,NULL,NULL),(170797,NULL,0,NULL,NULL,21,40817,46951,57,7594,1,1,'2022-01-21','2022-01-21',30734.00,1,855.00,'FACTURA A 0002 - 004079',NULL,NULL,NULL,NULL,NULL),(170798,NULL,0,NULL,NULL,21,40817,46951,57,7594,1,1,'2022-01-22','2022-01-22',30976.00,1,855.00,'FACTURA A 0002 - 004083',NULL,NULL,NULL,NULL,NULL),(170799,NULL,0,NULL,NULL,21,40817,46951,57,7594,1,1,'2022-01-24','2022-01-24',30501.98,1,855.00,'FACTURA A 0002 - 004084',NULL,NULL,NULL,NULL,NULL),(170800,NULL,0,NULL,170800,3,40817,46951,57,7595,2,1,'2022-02-07','2022-02-07',91356.97,1,855.00,'PAGO  0004 - 000125',NULL,NULL,NULL,NULL,NULL),(170801,NULL,0,NULL,NULL,21,40817,46951,57,7595,1,1,'2022-02-14','2022-02-14',31460.00,1,855.00,'FACTURA A 0002 - 004097',NULL,NULL,NULL,NULL,NULL),(170802,NULL,0,NULL,NULL,21,40817,46951,57,7595,1,1,'2022-02-16','2022-02-16',30310.50,1,855.00,'FACTURA A 0002 - 004100',NULL,NULL,NULL,NULL,NULL),(170803,NULL,0,NULL,NULL,21,40817,46951,57,7595,1,1,'2022-02-16','2022-02-16',19347.90,1,855.00,'FACTURA A 0002 - 004101',NULL,NULL,NULL,NULL,NULL),(170804,NULL,0,NULL,170804,3,40817,46951,57,7595,2,1,'2022-02-18','2022-02-18',81118.40,1,855.00,'PAGO  0004 - 000176',NULL,NULL,NULL,NULL,NULL),(170805,NULL,0,NULL,NULL,21,40817,46951,57,7597,1,1,'2022-04-18','2022-04-18',33517.00,1,855.00,'FACTURA A 0010 - 000004',NULL,NULL,NULL,NULL,NULL),(170806,NULL,0,NULL,NULL,21,40817,46951,57,7597,1,1,'2022-04-19','2022-04-19',41841.80,1,855.00,'FACTURA A 0010 - 000005',NULL,NULL,NULL,NULL,NULL),(170807,NULL,0,NULL,NULL,21,40817,46951,57,7597,1,1,'2022-04-20','2022-04-20',25095.40,1,855.00,'FACTURA A 0010 - 000007',NULL,NULL,NULL,NULL,NULL),(170808,NULL,0,NULL,170808,3,40817,46951,57,7597,2,1,'2022-04-27','2022-04-27',100454.20,1,855.00,'PAGO  0004 - 000484',NULL,NULL,NULL,NULL,NULL),(170809,NULL,0,NULL,NULL,21,40817,46951,57,7601,1,1,'2022-08-18','2022-08-18',145200.00,1,855.00,'FACTURA A 0010 - 000094',NULL,NULL,NULL,NULL,NULL),(170810,NULL,0,NULL,170810,3,40817,46951,57,7601,2,1,'2022-08-26','2022-08-26',145200.00,1,855.00,'PAGO  0004 - 001057',NULL,NULL,NULL,NULL,NULL),(170811,NULL,0,NULL,NULL,21,40817,46951,57,7615,1,1,'2023-07-06','2023-07-06',225060.00,1,855.00,'ANULACION DE PAGOS  0001 - 000132',NULL,NULL,NULL,NULL,NULL),(170812,NULL,0,NULL,NULL,21,40817,46951,57,7615,1,1,'2023-07-06','2023-07-06',225060.00,1,855.00,'FACTURA A 0010 - 000316',NULL,NULL,NULL,NULL,NULL),(170813,NULL,0,NULL,170813,3,40817,46951,57,7615,2,1,'2023-07-06','2023-07-06',225060.00,1,855.00,'PAGO  0001 - 002358',NULL,NULL,NULL,NULL,NULL),(170814,NULL,0,NULL,170814,3,40817,46951,57,7615,2,1,'2023-07-07','2023-07-07',225060.00,1,855.00,'PAGO  0004 - 002516',NULL,NULL,NULL,NULL,NULL),(170815,NULL,0,NULL,NULL,21,40817,46951,57,6066,1,1,'2024-03-26','2024-03-26',1331000.00,1,855.00,'FACTURA A 0010 - 000529',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170816,NULL,0,NULL,170816,3,40817,46951,57,6067,2,1,'2024-04-05','2024-04-05',1331906.95,1,855.00,'PAGO  0004 - 003962',NULL,NULL,NULL,NULL,NULL),(170817,NULL,0,NULL,NULL,21,40817,40959,57,7590,1,1,'2021-12-13','2021-12-13',275002.30,1,855.00,'FACTURA A 0002 - 007319',NULL,NULL,NULL,NULL,NULL),(170818,NULL,0,NULL,170818,3,40817,40959,57,7590,2,1,'2021-12-31','2021-12-31',1949.96,1,855.00,'PAGO  0001 - 000008',NULL,NULL,NULL,NULL,NULL),(170819,NULL,0,NULL,170819,3,40817,40959,57,7594,2,1,'2022-01-03','2022-01-03',11183.83,1,855.00,'NOTA DE CREDITO A 0002 - 000364',NULL,NULL,NULL,NULL,NULL),(170820,NULL,0,NULL,NULL,21,40817,40959,57,7594,1,1,'2022-01-14','2022-01-14',139422.56,1,855.00,'FACTURA A 0002 - 007396',NULL,NULL,NULL,NULL,NULL),(170821,NULL,0,NULL,170821,3,40817,40959,57,7594,2,1,'2022-01-24','2022-01-24',261868.51,1,855.00,'PAGO  0001 - 000095',NULL,NULL,NULL,NULL,NULL),(170822,NULL,0,NULL,NULL,21,40817,40959,57,7595,1,1,'2022-02-10','2022-02-10',231943.36,1,855.00,'FACTURA A 0002 - 007478',NULL,NULL,NULL,NULL,NULL),(170823,NULL,0,NULL,170823,3,40817,40959,57,7596,2,1,'2022-03-08','2022-03-08',372872.42,1,855.00,'PAGO  0004 - 000233',NULL,NULL,NULL,NULL,NULL),(170824,NULL,0,NULL,NULL,21,40817,40959,57,7596,1,1,'2022-03-18','2022-03-18',239006.07,1,855.00,'FACTURA A 0002 - 007538',NULL,NULL,NULL,NULL,NULL),(170825,NULL,0,NULL,NULL,21,40817,40959,57,7597,1,1,'2022-04-18','2022-04-18',351004.72,1,855.00,'FACTURA A 0002 - 007609',NULL,NULL,NULL,NULL,NULL),(170826,NULL,0,NULL,170826,3,40817,40959,57,7597,2,1,'2022-04-25','2022-04-25',589053.61,1,855.00,'PAGO  0004 - 000476',NULL,NULL,NULL,NULL,NULL),(170827,NULL,0,NULL,NULL,21,40817,40959,57,7598,1,1,'2022-05-12','2022-05-12',363267.65,1,855.00,'FACTURA A 0002 - 007685',NULL,NULL,NULL,NULL,NULL),(170828,NULL,0,NULL,NULL,21,40817,40959,57,7599,1,1,'2022-06-21','2022-06-21',273436.89,1,855.00,'FACTURA A 0002 - 007783',NULL,NULL,NULL,NULL,NULL),(170829,NULL,0,NULL,170829,3,40817,40959,57,7599,2,1,'2022-06-24','2022-06-24',362718.33,1,855.00,'PAGO  0004 - 000765',NULL,NULL,NULL,NULL,NULL),(170830,NULL,0,NULL,170830,3,40817,40959,57,7600,2,1,'2022-07-15','2022-07-15',273436.89,1,855.00,'PAGO  0001 - 000780',NULL,NULL,NULL,NULL,NULL),(170831,NULL,0,NULL,NULL,21,40817,40959,57,7600,1,1,'2022-07-22','2022-07-22',357484.44,1,855.00,'FACTURA A 0002 - 007856',NULL,NULL,NULL,NULL,NULL),(170832,NULL,0,NULL,170832,3,40817,40959,57,7601,2,1,'2022-08-10','2022-08-10',357484.44,1,855.00,'PAGO  0004 - 000984',NULL,NULL,NULL,NULL,NULL),(170833,NULL,0,NULL,NULL,21,40817,40959,57,7601,1,1,'2022-08-16','2022-08-16',262905.62,1,855.00,'FACTURA A 0002 - 007897',NULL,NULL,NULL,NULL,NULL),(170834,NULL,0,NULL,170834,3,40817,40959,57,7602,2,1,'2022-09-19','2022-09-19',262905.62,1,855.00,'PAGO  0004 - 001172',NULL,NULL,NULL,NULL,NULL),(170835,NULL,0,NULL,NULL,21,40817,40959,57,7602,1,1,'2022-09-23','2022-09-23',569699.55,1,855.00,'FACTURA A 0002 - 008013',NULL,NULL,NULL,NULL,NULL),(170836,NULL,0,NULL,NULL,21,40817,40959,57,7603,1,1,'2022-10-17','2022-10-17',847326.11,1,855.00,'FACTURA A 0002 - 008063',NULL,NULL,NULL,NULL,NULL),(170837,NULL,0,NULL,170837,3,40817,40959,57,7604,2,1,'2022-11-04','2022-11-04',1418075.80,1,855.00,'PAGO  0004 - 001384',NULL,NULL,NULL,NULL,NULL),(170838,NULL,0,NULL,NULL,21,40817,40959,57,7604,1,1,'2022-11-09','2022-11-09',556650.55,1,855.00,'FACTURA A 0002 - 008106',NULL,NULL,NULL,NULL,NULL),(170839,NULL,0,NULL,NULL,21,40817,40959,57,7605,1,1,'2022-12-13','2022-12-13',578820.31,1,855.00,'FACTURA A 0002 - 008174',NULL,NULL,NULL,NULL,NULL),(170840,NULL,0,NULL,NULL,21,40817,40959,57,7605,1,1,'2022-12-26','2022-12-26',156428.48,1,855.00,'FACTURA A 0002 - 008206',NULL,NULL,NULL,NULL,NULL),(170841,NULL,0,NULL,170841,3,40817,40959,57,7609,2,1,'2023-01-02','2023-01-02',555600.41,1,855.00,'PAGO  0004 - 001623',NULL,NULL,NULL,NULL,NULL),(170842,NULL,0,NULL,NULL,21,40817,40959,57,7609,1,1,'2023-01-12','2023-01-12',535181.42,1,855.00,'FACTURA A 0002 - 008249',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170843,NULL,0,NULL,170843,3,40817,40959,57,7610,2,1,'2023-02-06','2023-02-06',578820.31,1,855.00,'PAGO  0004 - 001794',NULL,NULL,NULL,NULL,NULL),(170844,NULL,0,NULL,NULL,21,40817,40959,57,7610,1,1,'2023-02-22','2023-02-22',553975.16,1,855.00,'FACTURA A 0002 - 008351',NULL,NULL,NULL,NULL,NULL),(170845,NULL,0,NULL,170845,3,40817,40959,57,7610,2,1,'2023-02-27','2023-02-27',691609.90,1,855.00,'PAGO  0004 - 001872',NULL,NULL,NULL,NULL,NULL),(170846,NULL,0,NULL,NULL,21,40817,40959,57,7611,1,1,'2023-03-24','2023-03-24',455824.05,1,855.00,'FACTURA A 0002 - 008416',NULL,NULL,NULL,NULL,NULL),(170847,NULL,0,NULL,NULL,21,40817,40959,57,7611,1,1,'2023-03-28','2023-03-28',519101.90,1,855.00,'FACTURA A 0002 - 008441',NULL,NULL,NULL,NULL,NULL),(170848,NULL,0,NULL,170848,3,40817,40959,57,7611,2,1,'2023-03-29','2023-03-29',555885.21,1,855.00,'PAGO  0004 - 002024',NULL,NULL,NULL,NULL,NULL),(170849,NULL,0,NULL,170849,3,40817,40959,57,7612,2,1,'2023-04-10','2023-04-10',976093.31,1,855.00,'PAGO  0004 - 002076',NULL,NULL,NULL,NULL,NULL),(170850,NULL,0,NULL,NULL,21,40817,40959,57,7613,1,1,'2023-05-03','2023-05-03',962078.82,1,855.00,'FACTURA A 0002 - 008508',NULL,NULL,NULL,NULL,NULL),(170851,NULL,0,NULL,NULL,21,40817,40959,57,7613,1,1,'2023-05-12','2023-05-12',801380.58,1,855.00,'FACTURA A 0002 - 008541',NULL,NULL,NULL,NULL,NULL),(170852,NULL,0,NULL,170852,3,40817,40959,57,7614,2,1,'2023-06-15','2023-06-15',1760381.99,1,855.00,'PAGO  0004 - 002429',NULL,NULL,NULL,NULL,NULL),(170853,NULL,0,NULL,NULL,21,40817,40959,57,7614,1,1,'2023-06-16','2023-06-16',1041489.56,1,855.00,'FACTURA A 0002 - 008622',NULL,NULL,NULL,NULL,NULL),(170854,NULL,0,NULL,NULL,21,40817,40959,57,7615,1,1,'2023-07-12','2023-07-12',881262.36,1,855.00,'FACTURA A 0002 - 008691',NULL,NULL,NULL,NULL,NULL),(170855,NULL,0,NULL,170855,3,40817,40959,57,7615,2,1,'2023-07-25','2023-07-25',1041489.56,1,855.00,'PAGO  0004 - 002603',NULL,NULL,NULL,NULL,NULL),(170856,NULL,0,NULL,NULL,21,40817,40959,57,7616,1,1,'2023-08-11','2023-08-11',1207323.48,1,855.00,'FACTURA A 0002 - 008770',NULL,NULL,NULL,NULL,NULL),(170857,NULL,0,NULL,170857,3,40817,40959,57,7616,2,1,'2023-08-24','2023-08-24',2101482.67,1,855.00,'PAGO  0004 - 002767',NULL,NULL,NULL,NULL,NULL),(170858,NULL,0,NULL,NULL,21,40817,40959,57,7617,1,1,'2023-09-25','2023-09-25',1103219.92,1,855.00,'FACTURA A 0002 - 008841',NULL,NULL,NULL,NULL,NULL),(170859,NULL,0,NULL,NULL,21,40817,40959,57,7618,1,1,'2023-10-17','2023-10-17',1559579.53,1,855.00,'FACTURA A 0002 - 008907',NULL,NULL,NULL,NULL,NULL),(170860,NULL,0,NULL,170860,3,40817,40959,57,7619,2,1,'2023-11-01','2023-11-01',1090323.09,1,855.00,'PAGO  0004 - 003146',NULL,NULL,NULL,NULL,NULL),(170861,NULL,0,NULL,NULL,21,40817,40959,57,7619,1,1,'2023-11-10','2023-11-10',1901717.14,1,855.00,'FACTURA A 0002 - 009015',NULL,NULL,NULL,NULL,NULL),(170862,NULL,0,NULL,170862,3,40817,40959,57,7620,2,1,'2023-12-06','2023-12-06',1560266.45,1,855.00,'PAGO  0004 - 003325',NULL,NULL,NULL,NULL,NULL),(170863,NULL,0,NULL,NULL,21,40817,40959,57,7620,1,1,'2023-12-11','2023-12-11',1996132.21,1,855.00,'FACTURA A 0002 - 009072',NULL,NULL,NULL,NULL,NULL),(170864,NULL,0,NULL,170864,3,40817,40959,57,7620,2,1,'2023-12-16','2023-12-16',1901030.22,1,855.00,'PAGO  0004 - 003389',NULL,NULL,NULL,NULL,NULL),(170865,NULL,0,NULL,NULL,21,40817,40959,57,6064,1,1,'2024-01-09','2024-01-09',2685159.88,1,855.00,'FACTURA A 0002 - 009125',NULL,NULL,NULL,NULL,NULL),(170866,NULL,0,NULL,170866,3,40817,40959,57,6064,2,1,'2024-01-18','2024-01-18',1996132.21,1,855.00,'PAGO  0004 - 003570',NULL,NULL,NULL,NULL,NULL),(170867,NULL,0,NULL,NULL,21,40817,40959,57,6065,1,1,'2024-02-14','2024-02-14',2211405.74,1,855.00,'FACTURA A 0002 - 009197',NULL,NULL,NULL,NULL,NULL),(170868,NULL,0,NULL,170868,3,40817,40959,57,6065,2,1,'2024-02-26','2024-02-26',2826591.29,1,855.00,'PAGO  0004 - 003752',NULL,NULL,NULL,NULL,NULL),(170869,NULL,0,NULL,NULL,21,40817,40959,57,6066,1,1,'2024-03-12','2024-03-12',1353295.94,1,855.00,'FACTURA A 0002 - 009263',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170870,NULL,0,NULL,170870,3,40817,40959,57,6066,2,1,'2024-03-15','2024-03-15',2076683.18,1,855.00,'PAGO  0004 - 003889',NULL,NULL,NULL,NULL,NULL),(170871,NULL,0,NULL,170871,3,40817,40959,57,6067,2,1,'2024-04-12','2024-04-12',1351202.69,1,855.00,'PAGO  0004 - 004026',NULL,NULL,NULL,NULL,NULL),(170872,NULL,0,NULL,NULL,21,40817,40959,57,6067,1,1,'2024-04-17','2024-04-17',1834545.08,1,855.00,'FACTURA A 0002 - 009357',NULL,NULL,NULL,NULL,NULL),(170873,NULL,0,NULL,NULL,21,40817,40959,57,6068,1,1,'2024-05-10','2024-05-10',2911229.11,1,855.00,'FACTURA A 0002 - 009387',NULL,NULL,NULL,NULL,NULL),(170874,NULL,0,NULL,170874,3,40817,40959,57,6068,2,1,'2024-05-15','2024-05-15',1835043.13,1,855.00,'PAGO  0004 - 004197',NULL,NULL,NULL,NULL,NULL),(170875,NULL,0,NULL,NULL,21,40817,40900,57,7590,1,1,'2021-12-31','2021-12-31',27336.52,1,855.00,'FACTURA A 0016 - 019120',NULL,NULL,NULL,NULL,NULL),(170876,NULL,0,NULL,NULL,21,40817,40900,57,7590,1,1,'2021-12-31','2021-12-31',410.00,1,855.00,'FACTURA A 0016 - 019144',NULL,NULL,NULL,NULL,NULL),(170877,NULL,0,NULL,NULL,21,40817,40900,57,7594,1,1,'2022-01-06','2022-01-06',2149.95,1,855.00,'FACTURA A 0024 - 003976',NULL,NULL,NULL,NULL,NULL),(170878,NULL,0,NULL,170878,3,40817,40900,57,7594,2,1,'2022-01-11','2022-01-11',2149.95,1,855.00,'PAGO  0001 - 000023',NULL,NULL,NULL,NULL,NULL),(170879,NULL,0,NULL,NULL,21,40817,40900,57,7594,1,1,'2022-01-11','2022-01-11',4400.52,1,855.00,'FACTURA A 0016 - 019170',NULL,NULL,NULL,NULL,NULL),(170880,NULL,0,NULL,170880,3,40817,40900,57,7594,2,1,'2022-01-13','2022-01-13',32147.04,1,855.00,'PAGO  0004 - 000010',NULL,NULL,NULL,NULL,NULL),(170881,NULL,0,NULL,NULL,21,40817,40900,57,7594,1,1,'2022-01-18','2022-01-18',14909.73,1,855.00,'FACTURA A 0016 - 019219',NULL,NULL,NULL,NULL,NULL),(170882,NULL,0,NULL,NULL,21,40817,40900,57,7594,1,1,'2022-01-18','2022-01-18',224.00,1,855.00,'FACTURA A 0016 - 019245',NULL,NULL,NULL,NULL,NULL),(170883,NULL,0,NULL,170883,3,40817,40900,57,7594,2,1,'2022-01-20','2022-01-20',15133.73,1,855.00,'PAGO  0004 - 000041',NULL,NULL,NULL,NULL,NULL),(170884,NULL,0,NULL,NULL,21,40817,40900,57,7594,1,1,'2022-01-25','2022-01-25',30848.11,1,855.00,'FACTURA A 0016 - 019270',NULL,NULL,NULL,NULL,NULL),(170885,NULL,0,NULL,NULL,21,40817,40900,57,7594,1,1,'2022-01-25','2022-01-25',463.00,1,855.00,'FACTURA A 0016 - 019296',NULL,NULL,NULL,NULL,NULL),(170886,NULL,0,NULL,NULL,21,40817,40900,57,7594,1,1,'2022-01-31','2022-01-31',24276.29,1,855.00,'FACTURA A 0016 - 019319',NULL,NULL,NULL,NULL,NULL),(170887,NULL,0,NULL,NULL,21,40817,40900,57,7594,1,1,'2022-01-31','2022-01-31',364.00,1,855.00,'FACTURA A 0016 - 019342',NULL,NULL,NULL,NULL,NULL),(170888,NULL,0,NULL,170888,3,40817,40900,57,7595,2,1,'2022-02-02','2022-02-02',55951.40,1,855.00,'PAGO  0004 - 000096',NULL,NULL,NULL,NULL,NULL),(170889,NULL,0,NULL,170889,3,40817,40900,57,7595,2,1,'2022-02-03','2022-02-03',2650.03,1,855.00,'PAGO CONTADO  0001 - 000174',NULL,NULL,NULL,NULL,NULL),(170890,NULL,0,NULL,NULL,21,40817,40900,57,7595,1,1,'2022-02-03','2022-02-03',2650.03,1,855.00,'FACTURA A 0024 - 004201',NULL,NULL,NULL,NULL,NULL),(170891,NULL,0,NULL,NULL,21,40817,40900,57,7595,1,1,'2022-02-08','2022-02-08',23843.59,1,855.00,'FACTURA A 0016 - 019366',NULL,NULL,NULL,NULL,NULL),(170892,NULL,0,NULL,NULL,21,40817,40900,57,7595,1,1,'2022-02-08','2022-02-08',353.00,1,855.00,'FACTURA A 0016 - 019388',NULL,NULL,NULL,NULL,NULL),(170893,NULL,0,NULL,170893,3,40817,40900,57,7595,2,1,'2022-02-09','2022-02-09',24196.59,1,855.00,'PAGO  0004 - 000139',NULL,NULL,NULL,NULL,NULL),(170894,NULL,0,NULL,170894,3,40817,40900,57,7595,2,1,'2022-02-11','2022-02-11',2900.45,1,855.00,'PAGO CONTADO  0001 - 000175',NULL,NULL,NULL,NULL,NULL),(170895,NULL,0,NULL,NULL,21,40817,40900,57,7595,1,1,'2022-02-11','2022-02-11',2900.45,1,855.00,'FACTURA A 0024 - 004326',NULL,NULL,NULL,NULL,NULL),(170896,NULL,0,NULL,NULL,21,40817,40900,57,7595,1,1,'2022-02-15','2022-02-15',32269.67,1,855.00,'FACTURA A 0016 - 019410',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170897,NULL,0,NULL,NULL,21,40817,40900,57,7595,1,1,'2022-02-15','2022-02-15',484.00,1,855.00,'FACTURA A 0016 - 019434',NULL,NULL,NULL,NULL,NULL),(170898,NULL,0,NULL,NULL,21,40817,40900,57,7595,1,1,'2022-02-22','2022-02-22',28701.96,1,855.00,'FACTURA A 0016 - 019458',NULL,NULL,NULL,NULL,NULL),(170899,NULL,0,NULL,NULL,21,40817,40900,57,7595,1,1,'2022-02-22','2022-02-22',430.50,1,855.00,'FACTURA A 0016 - 019487',NULL,NULL,NULL,NULL,NULL),(170900,NULL,0,NULL,170900,3,40817,40900,57,7595,2,1,'2022-02-25','2022-02-25',57920.24,1,855.00,'PAGO  0004 - 000201',NULL,NULL,NULL,NULL,NULL),(170901,NULL,0,NULL,NULL,21,40817,40900,57,7595,1,1,'2022-02-28','2022-02-28',18288.68,1,855.00,'FACTURA A 0016 - 019510',NULL,NULL,NULL,NULL,NULL),(170902,NULL,0,NULL,NULL,21,40817,40900,57,7595,1,1,'2022-02-28','2022-02-28',274.00,1,855.00,'FACTURA A 0016 - 019541',NULL,NULL,NULL,NULL,NULL),(170903,NULL,0,NULL,170903,3,40817,40900,57,7596,2,1,'2022-03-02','2022-03-02',3965.89,1,855.00,'PAGO  0004 - 000205',NULL,NULL,NULL,NULL,NULL),(170904,NULL,0,NULL,170904,3,40817,40900,57,7596,2,1,'2022-03-03','2022-03-03',4000.44,1,855.00,'PAGO CONTADO  0001 - 000275',NULL,NULL,NULL,NULL,NULL),(170905,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-03','2022-03-03',4000.44,1,855.00,'FACTURA A 0024 - 004632',NULL,NULL,NULL,NULL,NULL),(170906,NULL,0,NULL,170906,3,40817,40900,57,7596,2,1,'2022-03-08','2022-03-08',18562.68,1,855.00,'PAGO  0004 - 000242',NULL,NULL,NULL,NULL,NULL),(170907,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-08','2022-03-08',215.00,1,855.00,'FACTURA A 0016 - 016598',NULL,NULL,NULL,NULL,NULL),(170908,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-08','2022-03-08',5884.56,1,855.00,'FACTURA A 0016 - 019565',NULL,NULL,NULL,NULL,NULL),(170909,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-08','2022-03-08',14357.88,1,855.00,'FACTURA A 0016 - 019568',NULL,NULL,NULL,NULL,NULL),(170910,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-08','2022-03-08',87.00,1,855.00,'FACTURA A 0016 - 019596',NULL,NULL,NULL,NULL,NULL),(170911,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',10502.19,1,855.00,'FACTURA A 0026 - 005595',NULL,NULL,NULL,NULL,NULL),(170912,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',20000.00,1,855.00,'FACTURA A 0026 - 005596',NULL,NULL,NULL,NULL,NULL),(170913,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',20000.00,1,855.00,'FACTURA A 0026 - 005597',NULL,NULL,NULL,NULL,NULL),(170914,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',7177.58,1,855.00,'FACTURA A 0026 - 005598',NULL,NULL,NULL,NULL,NULL),(170915,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',14850.07,1,855.00,'FACTURA A 0026 - 005599',NULL,NULL,NULL,NULL,NULL),(170916,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',20000.00,1,855.00,'FACTURA A 0026 - 005600',NULL,NULL,NULL,NULL,NULL),(170917,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',5831.51,1,855.00,'FACTURA A 0026 - 005601',NULL,NULL,NULL,NULL,NULL),(170918,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',11520.97,1,855.00,'FACTURA A 0026 - 005602',NULL,NULL,NULL,NULL,NULL),(170919,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',6897.49,1,855.00,'FACTURA A 0026 - 005603',NULL,NULL,NULL,NULL,NULL),(170920,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',20000.01,1,855.00,'FACTURA A 0026 - 005604',NULL,NULL,NULL,NULL,NULL),(170921,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',2806.32,1,855.00,'FACTURA A 0026 - 005605',NULL,NULL,NULL,NULL,NULL),(170922,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',20000.00,1,855.00,'FACTURA A 0026 - 005606',NULL,NULL,NULL,NULL,NULL),(170923,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',13476.35,1,855.00,'FACTURA A 0026 - 005607',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170924,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',20000.01,1,855.00,'FACTURA A 0026 - 005608',NULL,NULL,NULL,NULL,NULL),(170925,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',2679.60,1,855.00,'FACTURA A 0026 - 005609',NULL,NULL,NULL,NULL,NULL),(170926,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',20000.00,1,855.00,'FACTURA A 0026 - 005610',NULL,NULL,NULL,NULL,NULL),(170927,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',20000.00,1,855.00,'FACTURA A 0026 - 005611',NULL,NULL,NULL,NULL,NULL),(170928,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',7305.61,1,855.00,'FACTURA A 0026 - 005612',NULL,NULL,NULL,NULL,NULL),(170929,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',16982.01,1,855.00,'FACTURA A 0026 - 005613',NULL,NULL,NULL,NULL,NULL),(170930,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',15036.16,1,855.00,'FACTURA A 0026 - 005614',NULL,NULL,NULL,NULL,NULL),(170931,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',4049.64,1,855.00,'FACTURA A 0026 - 005615',NULL,NULL,NULL,NULL,NULL),(170932,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',11611.20,1,855.00,'FACTURA A 0026 - 005616',NULL,NULL,NULL,NULL,NULL),(170933,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',20000.01,1,855.00,'FACTURA A 0026 - 005617',NULL,NULL,NULL,NULL,NULL),(170934,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',8855.86,1,855.00,'FACTURA A 0026 - 005618',NULL,NULL,NULL,NULL,NULL),(170935,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',17758.95,1,855.00,'FACTURA A 0026 - 005619',NULL,NULL,NULL,NULL,NULL),(170936,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',20000.01,1,855.00,'FACTURA A 0026 - 005620',NULL,NULL,NULL,NULL,NULL),(170937,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',3399.79,1,855.00,'FACTURA A 0026 - 005621',NULL,NULL,NULL,NULL,NULL),(170938,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',20000.00,1,855.00,'FACTURA A 0026 - 005622',NULL,NULL,NULL,NULL,NULL),(170939,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',9715.96,1,855.00,'FACTURA A 0026 - 005623',NULL,NULL,NULL,NULL,NULL),(170940,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-12','2022-03-12',6299.68,1,855.00,'FACTURA A 0026 - 005624',NULL,NULL,NULL,NULL,NULL),(170941,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-15','2022-03-15',11673.56,1,855.00,'FACTURA A 0016 - 019623',NULL,NULL,NULL,NULL,NULL),(170942,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-15','2022-03-15',27224.42,1,855.00,'FACTURA A 0016 - 019626',NULL,NULL,NULL,NULL,NULL),(170943,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-15','2022-03-15',158.00,1,855.00,'FACTURA A 0016 - 019655',NULL,NULL,NULL,NULL,NULL),(170944,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-15','2022-03-15',408.00,1,855.00,'FACTURA A 0016 - 019657',NULL,NULL,NULL,NULL,NULL),(170945,NULL,0,NULL,170945,3,40817,40900,57,7596,2,1,'2022-03-18','2022-03-18',60008.42,1,855.00,'PAGO  0004 - 000294',NULL,NULL,NULL,NULL,NULL),(170946,NULL,0,NULL,170946,3,40817,40900,57,7596,2,1,'2022-03-18','2022-03-18',396756.98,1,855.00,'PAGO  0004 - 000295',NULL,NULL,NULL,NULL,NULL),(170947,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',5102.83,1,855.00,'FACTURA A 0026 - 005793',NULL,NULL,NULL,NULL,NULL),(170948,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',20000.00,1,855.00,'FACTURA A 0026 - 005794',NULL,NULL,NULL,NULL,NULL),(170949,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',14518.03,1,855.00,'FACTURA A 0026 - 005795',NULL,NULL,NULL,NULL,NULL),(170950,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',19999.99,1,855.00,'FACTURA A 0026 - 005796',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170951,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',19612.30,1,855.00,'FACTURA A 0026 - 005797',NULL,NULL,NULL,NULL,NULL),(170952,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',20000.00,1,855.00,'FACTURA A 0026 - 005798',NULL,NULL,NULL,NULL,NULL),(170953,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',11053.68,1,855.00,'FACTURA A 0026 - 005799',NULL,NULL,NULL,NULL,NULL),(170954,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',19999.99,1,855.00,'FACTURA A 0026 - 005800',NULL,NULL,NULL,NULL,NULL),(170955,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',3176.92,1,855.00,'FACTURA A 0026 - 005801',NULL,NULL,NULL,NULL,NULL),(170956,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',20000.00,1,855.00,'FACTURA A 0026 - 005802',NULL,NULL,NULL,NULL,NULL),(170957,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',2394.96,1,855.00,'FACTURA A 0026 - 005803',NULL,NULL,NULL,NULL,NULL),(170958,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',16642.23,1,855.00,'FACTURA A 0026 - 005804',NULL,NULL,NULL,NULL,NULL),(170959,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',19999.99,1,855.00,'FACTURA A 0026 - 005805',NULL,NULL,NULL,NULL,NULL),(170960,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',14211.67,1,855.00,'FACTURA A 0026 - 005806',NULL,NULL,NULL,NULL,NULL),(170961,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',20000.00,1,855.00,'FACTURA A 0026 - 005807',NULL,NULL,NULL,NULL,NULL),(170962,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',12131.20,1,855.00,'FACTURA A 0026 - 005808',NULL,NULL,NULL,NULL,NULL),(170963,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',9678.08,1,855.00,'FACTURA A 0026 - 005809',NULL,NULL,NULL,NULL,NULL),(170964,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',20000.00,1,855.00,'FACTURA A 0026 - 005810',NULL,NULL,NULL,NULL,NULL),(170965,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',9698.22,1,855.00,'FACTURA A 0026 - 005811',NULL,NULL,NULL,NULL,NULL),(170966,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',19999.99,1,855.00,'FACTURA A 0026 - 005812',NULL,NULL,NULL,NULL,NULL),(170967,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',9490.41,1,855.00,'FACTURA A 0026 - 005813',NULL,NULL,NULL,NULL,NULL),(170968,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',20000.00,1,855.00,'FACTURA A 0026 - 005814',NULL,NULL,NULL,NULL,NULL),(170969,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',7070.28,1,855.00,'FACTURA A 0026 - 005815',NULL,NULL,NULL,NULL,NULL),(170970,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',19999.99,1,855.00,'FACTURA A 0026 - 005816',NULL,NULL,NULL,NULL,NULL),(170971,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',11950.90,1,855.00,'FACTURA A 0026 - 005817',NULL,NULL,NULL,NULL,NULL),(170972,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',20000.00,1,855.00,'FACTURA A 0026 - 005818',NULL,NULL,NULL,NULL,NULL),(170973,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',14580.88,1,855.00,'FACTURA A 0026 - 005819',NULL,NULL,NULL,NULL,NULL),(170974,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',20000.00,1,855.00,'FACTURA A 0026 - 005822',NULL,NULL,NULL,NULL,NULL),(170975,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-19','2022-03-19',15281.08,1,855.00,'FACTURA A 0026 - 005823',NULL,NULL,NULL,NULL,NULL),(170976,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-21','2022-03-21',19999.99,1,855.00,'FACTURA A 0026 - 005820',NULL,NULL,NULL,NULL,NULL),(170977,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-21','2022-03-21',3908.85,1,855.00,'FACTURA A 0026 - 005821',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (170978,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-22','2022-03-22',31356.35,1,855.00,'FACTURA A 0016 - 019683',NULL,NULL,NULL,NULL,NULL),(170979,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-22','2022-03-22',470.00,1,855.00,'FACTURA A 0016 - 019716',NULL,NULL,NULL,NULL,NULL),(170980,NULL,0,NULL,170980,3,40817,40900,57,7596,2,1,'2022-03-25','2022-03-25',492328.81,1,855.00,'PAGO  0004 - 000327',NULL,NULL,NULL,NULL,NULL),(170981,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',19999.99,1,855.00,'FACTURA A 0026 - 005985',NULL,NULL,NULL,NULL,NULL),(170982,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',7003.14,1,855.00,'FACTURA A 0026 - 005986',NULL,NULL,NULL,NULL,NULL),(170983,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',20000.00,1,855.00,'FACTURA A 0026 - 005987',NULL,NULL,NULL,NULL,NULL),(170984,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',9022.22,1,855.00,'FACTURA A 0026 - 005988',NULL,NULL,NULL,NULL,NULL),(170985,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',19999.99,1,855.00,'FACTURA A 0026 - 005989',NULL,NULL,NULL,NULL,NULL),(170986,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',10980.45,1,855.00,'FACTURA A 0026 - 005990',NULL,NULL,NULL,NULL,NULL),(170987,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',20000.00,1,855.00,'FACTURA A 0026 - 005991',NULL,NULL,NULL,NULL,NULL),(170988,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',20000.00,1,855.00,'FACTURA A 0026 - 005992',NULL,NULL,NULL,NULL,NULL),(170989,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',20000.00,1,855.00,'FACTURA A 0026 - 005993',NULL,NULL,NULL,NULL,NULL),(170990,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',3634.30,1,855.00,'FACTURA A 0026 - 005994',NULL,NULL,NULL,NULL,NULL),(170991,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',9569.21,1,855.00,'FACTURA A 0026 - 005995',NULL,NULL,NULL,NULL,NULL),(170992,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',10798.70,1,855.00,'FACTURA A 0026 - 005996',NULL,NULL,NULL,NULL,NULL),(170993,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',19999.99,1,855.00,'FACTURA A 0026 - 005997',NULL,NULL,NULL,NULL,NULL),(170994,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',9379.68,1,855.00,'FACTURA A 0026 - 005998',NULL,NULL,NULL,NULL,NULL),(170995,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',16922.35,1,855.00,'FACTURA A 0026 - 005999',NULL,NULL,NULL,NULL,NULL),(170996,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',15480.96,1,855.00,'FACTURA A 0026 - 006000',NULL,NULL,NULL,NULL,NULL),(170997,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',20000.00,1,855.00,'FACTURA A 0026 - 006001',NULL,NULL,NULL,NULL,NULL),(170998,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',20000.00,1,855.00,'FACTURA A 0026 - 006002',NULL,NULL,NULL,NULL,NULL),(170999,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',10042.71,1,855.00,'FACTURA A 0026 - 006003',NULL,NULL,NULL,NULL,NULL),(171000,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',19999.99,1,855.00,'FACTURA A 0026 - 006004',NULL,NULL,NULL,NULL,NULL),(171001,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',4004.02,1,855.00,'FACTURA A 0026 - 006005',NULL,NULL,NULL,NULL,NULL),(171002,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',20000.00,1,855.00,'FACTURA A 0026 - 006006',NULL,NULL,NULL,NULL,NULL),(171003,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',20000.00,1,855.00,'FACTURA A 0026 - 006007',NULL,NULL,NULL,NULL,NULL),(171004,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',20000.00,1,855.00,'FACTURA A 0026 - 006008',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171005,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',19496.87,1,855.00,'FACTURA A 0026 - 006009',NULL,NULL,NULL,NULL,NULL),(171006,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',19999.99,1,855.00,'FACTURA A 0026 - 006010',NULL,NULL,NULL,NULL,NULL),(171007,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',18360.24,1,855.00,'FACTURA A 0026 - 006011',NULL,NULL,NULL,NULL,NULL),(171008,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',17413.97,1,855.00,'FACTURA A 0026 - 006012',NULL,NULL,NULL,NULL,NULL),(171009,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',18806.74,1,855.00,'FACTURA A 0026 - 006013',NULL,NULL,NULL,NULL,NULL),(171010,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',18722.16,1,855.00,'FACTURA A 0026 - 006014',NULL,NULL,NULL,NULL,NULL),(171011,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',19999.99,1,855.00,'FACTURA A 0026 - 006015',NULL,NULL,NULL,NULL,NULL),(171012,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',12107.92,1,855.00,'FACTURA A 0026 - 006016',NULL,NULL,NULL,NULL,NULL),(171013,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',20000.00,1,855.00,'FACTURA A 0026 - 006017',NULL,NULL,NULL,NULL,NULL),(171014,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-26','2022-03-26',19059.63,1,855.00,'FACTURA A 0026 - 006018',NULL,NULL,NULL,NULL,NULL),(171015,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-29','2022-03-29',9720.15,1,855.00,'FACTURA A 0026 - 006057',NULL,NULL,NULL,NULL,NULL),(171016,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-29','2022-03-29',10529.25,1,855.00,'FACTURA A 0026 - 006058',NULL,NULL,NULL,NULL,NULL),(171017,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-29','2022-03-29',26520.27,1,855.00,'FACTURA A 0016 - 019744',NULL,NULL,NULL,NULL,NULL),(171018,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-29','2022-03-29',397.80,1,855.00,'FACTURA A 0016 - 019772',NULL,NULL,NULL,NULL,NULL),(171019,NULL,0,NULL,171019,3,40817,40900,57,7596,2,1,'2022-03-30','2022-03-30',571054.61,1,855.00,'PAGO  0004 - 000345',NULL,NULL,NULL,NULL,NULL),(171020,NULL,0,NULL,171020,3,40817,40900,57,7596,2,1,'2022-03-30','2022-03-30',26918.07,1,855.00,'PAGO  0004 - 000346',NULL,NULL,NULL,NULL,NULL),(171021,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-31','2022-03-31',39170.27,1,855.00,'FACTURA A 0016 - 019797',NULL,NULL,NULL,NULL,NULL),(171022,NULL,0,NULL,NULL,21,40817,40900,57,7596,1,1,'2022-03-31','2022-03-31',6439.99,1,855.00,'FACTURA A 0016 - 019800',NULL,NULL,NULL,NULL,NULL),(171023,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',20000.01,1,855.00,'FACTURA A 0026 - 006186',NULL,NULL,NULL,NULL,NULL),(171024,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',19621.87,1,855.00,'FACTURA A 0026 - 006187',NULL,NULL,NULL,NULL,NULL),(171025,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',20000.01,1,855.00,'FACTURA A 0026 - 006188',NULL,NULL,NULL,NULL,NULL),(171026,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',13173.50,1,855.00,'FACTURA A 0026 - 006189',NULL,NULL,NULL,NULL,NULL),(171027,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',20000.01,1,855.00,'FACTURA A 0026 - 006190',NULL,NULL,NULL,NULL,NULL),(171028,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',6579.20,1,855.00,'FACTURA A 0026 - 006191',NULL,NULL,NULL,NULL,NULL),(171029,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',1349.65,1,855.00,'FACTURA A 0026 - 006192',NULL,NULL,NULL,NULL,NULL),(171030,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',7472.16,1,855.00,'FACTURA A 0026 - 006193',NULL,NULL,NULL,NULL,NULL),(171031,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',20000.01,1,855.00,'FACTURA A 0026 - 006194',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171032,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',5958.22,1,855.00,'FACTURA A 0026 - 006195',NULL,NULL,NULL,NULL,NULL),(171033,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',20000.01,1,855.00,'FACTURA A 0026 - 006196',NULL,NULL,NULL,NULL,NULL),(171034,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',20000.01,1,855.00,'FACTURA A 0026 - 006197',NULL,NULL,NULL,NULL,NULL),(171035,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',5435.37,1,855.00,'FACTURA A 0026 - 006198',NULL,NULL,NULL,NULL,NULL),(171036,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',20000.01,1,855.00,'FACTURA A 0026 - 006199',NULL,NULL,NULL,NULL,NULL),(171037,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',9865.65,1,855.00,'FACTURA A 0026 - 006200',NULL,NULL,NULL,NULL,NULL),(171038,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',17461.57,1,855.00,'FACTURA A 0026 - 006201',NULL,NULL,NULL,NULL,NULL),(171039,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',20000.01,1,855.00,'FACTURA A 0026 - 006202',NULL,NULL,NULL,NULL,NULL),(171040,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',20000.01,1,855.00,'FACTURA A 0026 - 006203',NULL,NULL,NULL,NULL,NULL),(171041,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',20000.01,1,855.00,'FACTURA A 0026 - 006204',NULL,NULL,NULL,NULL,NULL),(171042,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',20000.01,1,855.00,'FACTURA A 0026 - 006205',NULL,NULL,NULL,NULL,NULL),(171043,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',12608.97,1,855.00,'FACTURA A 0026 - 006206',NULL,NULL,NULL,NULL,NULL),(171044,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',6930.25,1,855.00,'FACTURA A 0026 - 006207',NULL,NULL,NULL,NULL,NULL),(171045,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',11701.97,1,855.00,'FACTURA A 0026 - 006208',NULL,NULL,NULL,NULL,NULL),(171046,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',16202.30,1,855.00,'FACTURA A 0026 - 006209',NULL,NULL,NULL,NULL,NULL),(171047,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',20000.01,1,855.00,'FACTURA A 0026 - 006210',NULL,NULL,NULL,NULL,NULL),(171048,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',15166.40,1,855.00,'FACTURA A 0026 - 006211',NULL,NULL,NULL,NULL,NULL),(171049,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',20000.01,1,855.00,'FACTURA A 0026 - 006212',NULL,NULL,NULL,NULL,NULL),(171050,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',1471.87,1,855.00,'FACTURA A 0026 - 006213',NULL,NULL,NULL,NULL,NULL),(171051,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',15317.38,1,855.00,'FACTURA A 0026 - 006214',NULL,NULL,NULL,NULL,NULL),(171052,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',14400.93,1,855.00,'FACTURA A 0026 - 006215',NULL,NULL,NULL,NULL,NULL),(171053,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',8637.26,1,855.00,'FACTURA A 0026 - 006216',NULL,NULL,NULL,NULL,NULL),(171054,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-04','2022-04-04',20000.01,1,855.00,'FACTURA A 0026 - 006217',NULL,NULL,NULL,NULL,NULL),(171055,NULL,0,NULL,171055,3,40817,40900,57,7597,2,1,'2022-04-06','2022-04-06',45610.26,1,855.00,'PAGO  0004 - 000396',NULL,NULL,NULL,NULL,NULL),(171056,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-09','2022-04-09',20000.01,1,855.00,'FACTURA A 0026 - 006382',NULL,NULL,NULL,NULL,NULL),(171057,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-09','2022-04-09',17549.36,1,855.00,'FACTURA A 0026 - 006383',NULL,NULL,NULL,NULL,NULL),(171058,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-09','2022-04-09',20000.01,1,855.00,'FACTURA A 0026 - 006384',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171059,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-09','2022-04-09',8332.60,1,855.00,'FACTURA A 0026 - 006385',NULL,NULL,NULL,NULL,NULL),(171060,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',14580.79,1,855.00,'FACTURA A 0026 - 006386',NULL,NULL,NULL,NULL,NULL),(171061,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',20000.01,1,855.00,'FACTURA A 0026 - 006387',NULL,NULL,NULL,NULL,NULL),(171062,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',9970.94,1,855.00,'FACTURA A 0026 - 006388',NULL,NULL,NULL,NULL,NULL),(171063,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',3608.57,1,855.00,'FACTURA A 0026 - 006389',NULL,NULL,NULL,NULL,NULL),(171064,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',20000.01,1,855.00,'FACTURA A 0026 - 006390',NULL,NULL,NULL,NULL,NULL),(171065,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',10734.63,1,855.00,'FACTURA A 0026 - 006391',NULL,NULL,NULL,NULL,NULL),(171066,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',20000.01,1,855.00,'FACTURA A 0026 - 006392',NULL,NULL,NULL,NULL,NULL),(171067,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',20000.01,1,855.00,'FACTURA A 0026 - 006393',NULL,NULL,NULL,NULL,NULL),(171068,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',5212.06,1,855.00,'FACTURA A 0026 - 006394',NULL,NULL,NULL,NULL,NULL),(171069,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',20000.01,1,855.00,'FACTURA A 0026 - 006395',NULL,NULL,NULL,NULL,NULL),(171070,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',5321.12,1,855.00,'FACTURA A 0026 - 006396',NULL,NULL,NULL,NULL,NULL),(171071,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',15122.72,1,855.00,'FACTURA A 0026 - 006397',NULL,NULL,NULL,NULL,NULL),(171072,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',12201.24,1,855.00,'FACTURA A 0026 - 006398',NULL,NULL,NULL,NULL,NULL),(171073,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',20000.01,1,855.00,'FACTURA A 0026 - 006399',NULL,NULL,NULL,NULL,NULL),(171074,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',10484.82,1,855.00,'FACTURA A 0026 - 006400',NULL,NULL,NULL,NULL,NULL),(171075,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',9900.88,1,855.00,'FACTURA A 0026 - 006401',NULL,NULL,NULL,NULL,NULL),(171076,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',6660.62,1,855.00,'FACTURA A 0026 - 006402',NULL,NULL,NULL,NULL,NULL),(171077,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',20000.01,1,855.00,'FACTURA A 0026 - 006403',NULL,NULL,NULL,NULL,NULL),(171078,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',4569.78,1,855.00,'FACTURA A 0026 - 006404',NULL,NULL,NULL,NULL,NULL),(171079,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',20000.01,1,855.00,'FACTURA A 0026 - 006405',NULL,NULL,NULL,NULL,NULL),(171080,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',7342.49,1,855.00,'FACTURA A 0026 - 006406',NULL,NULL,NULL,NULL,NULL),(171081,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',20000.01,1,855.00,'FACTURA A 0026 - 006407',NULL,NULL,NULL,NULL,NULL),(171082,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',11565.70,1,855.00,'FACTURA A 0026 - 006408',NULL,NULL,NULL,NULL,NULL),(171083,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',20000.01,1,855.00,'FACTURA A 0026 - 006409',NULL,NULL,NULL,NULL,NULL),(171084,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',2589.88,1,855.00,'FACTURA A 0026 - 006410',NULL,NULL,NULL,NULL,NULL),(171085,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',20000.01,1,855.00,'FACTURA A 0026 - 006411',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171086,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',5287.26,1,855.00,'FACTURA A 0026 - 006412',NULL,NULL,NULL,NULL,NULL),(171087,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',12061.65,1,855.00,'FACTURA A 0026 - 006413',NULL,NULL,NULL,NULL,NULL),(171088,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',2699.18,1,855.00,'FACTURA A 0026 - 006414',NULL,NULL,NULL,NULL,NULL),(171089,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',14454.30,1,855.00,'FACTURA A 0026 - 006600',NULL,NULL,NULL,NULL,NULL),(171090,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-11','2022-04-11',5849.65,1,855.00,'FACTURA A 0026 - 006601',NULL,NULL,NULL,NULL,NULL),(171091,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-12','2022-04-12',35998.01,1,855.00,'FACTURA A 0016 - 019828',NULL,NULL,NULL,NULL,NULL),(171092,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-12','2022-04-12',587.00,1,855.00,'FACTURA A 0016 - 019859',NULL,NULL,NULL,NULL,NULL),(171093,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-12','2022-04-12',1563.00,1,855.00,'FACTURA A 0016 - 019860',NULL,NULL,NULL,NULL,NULL),(171094,NULL,0,NULL,171094,3,40817,40900,57,7597,2,1,'2022-04-13','2022-04-13',469354.66,1,855.00,'PAGO  0004 - 000418',NULL,NULL,NULL,NULL,NULL),(171095,NULL,0,NULL,171095,3,40817,40900,57,7597,2,1,'2022-04-18','2022-04-18',36585.01,1,855.00,'PAGO  0004 - 000434',NULL,NULL,NULL,NULL,NULL),(171096,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-19','2022-04-19',18187.93,1,855.00,'FACTURA A 0016 - 019888',NULL,NULL,NULL,NULL,NULL),(171097,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-19','2022-04-19',272.80,1,855.00,'FACTURA A 0016 - 019919',NULL,NULL,NULL,NULL,NULL),(171098,NULL,0,NULL,171098,3,40817,40900,57,7597,2,1,'2022-04-22','2022-04-22',456100.37,1,855.00,'PAGO  0004 - 000467',NULL,NULL,NULL,NULL,NULL),(171099,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-26','2022-04-26',2255.00,1,855.00,'FACTURA A 0016 - 019948',NULL,NULL,NULL,NULL,NULL),(171100,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-26','2022-04-26',13799.33,1,855.00,'FACTURA A 0016 - 019951',NULL,NULL,NULL,NULL,NULL),(171101,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-26','2022-04-26',34.00,1,855.00,'FACTURA A 0016 - 019981',NULL,NULL,NULL,NULL,NULL),(171102,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-26','2022-04-26',207.00,1,855.00,'FACTURA A 0016 - 019983',NULL,NULL,NULL,NULL,NULL),(171103,NULL,0,NULL,171103,3,40817,40900,57,7597,2,1,'2022-04-27','2022-04-27',20023.73,1,855.00,'PAGO  0004 - 000482',NULL,NULL,NULL,NULL,NULL),(171104,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-30','2022-04-30',34485.14,1,855.00,'FACTURA A 0016 - 020010',NULL,NULL,NULL,NULL,NULL),(171105,NULL,0,NULL,NULL,21,40817,40900,57,7597,1,1,'2022-04-30','2022-04-30',517.00,1,855.00,'FACTURA A 0016 - 020039',NULL,NULL,NULL,NULL,NULL),(171106,NULL,0,NULL,171106,3,40817,40900,57,7598,2,1,'2022-05-03','2022-05-03',2533.62,1,855.00,'PAGO CONTADO  0001 - 000520',NULL,NULL,NULL,NULL,NULL),(171107,NULL,0,NULL,NULL,21,40817,40900,57,7598,1,1,'2022-05-03','2022-05-03',2533.62,1,855.00,'FACTURA A 0019 - 022179',NULL,NULL,NULL,NULL,NULL),(171108,NULL,0,NULL,171108,3,40817,40900,57,7598,2,1,'2022-05-04','2022-05-04',51297.47,1,855.00,'PAGO  0004 - 000511',NULL,NULL,NULL,NULL,NULL),(171109,NULL,0,NULL,NULL,21,40817,40900,57,7598,1,1,'2022-05-10','2022-05-10',37361.65,1,855.00,'FACTURA A 0016 - 020065',NULL,NULL,NULL,NULL,NULL),(171110,NULL,0,NULL,NULL,21,40817,40900,57,7598,1,1,'2022-05-10','2022-05-10',560.50,1,855.00,'FACTURA A 0016 - 020095',NULL,NULL,NULL,NULL,NULL),(171111,NULL,0,NULL,171111,3,40817,40900,57,7598,2,1,'2022-05-12','2022-05-12',3065.29,1,855.00,'PAGO CONTADO  0001 - 000525',NULL,NULL,NULL,NULL,NULL),(171112,NULL,0,NULL,NULL,21,40817,40900,57,7598,1,1,'2022-05-12','2022-05-12',3065.29,1,855.00,'FACTURA A 0021 - 017570',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171113,NULL,0,NULL,171113,3,40817,40900,57,7598,2,1,'2022-05-13','2022-05-13',37922.15,1,855.00,'PAGO  0004 - 000564',NULL,NULL,NULL,NULL,NULL),(171114,NULL,0,NULL,NULL,21,40817,40900,57,7598,1,1,'2022-05-17','2022-05-17',26850.46,1,855.00,'FACTURA A 0016 - 020120',NULL,NULL,NULL,NULL,NULL),(171115,NULL,0,NULL,NULL,21,40817,40900,57,7598,1,1,'2022-05-17','2022-05-17',403.00,1,855.00,'FACTURA A 0016 - 020149',NULL,NULL,NULL,NULL,NULL),(171116,NULL,0,NULL,171116,3,40817,40900,57,7598,2,1,'2022-05-19','2022-05-19',27253.46,1,855.00,'PAGO  0004 - 000601',NULL,NULL,NULL,NULL,NULL),(171117,NULL,0,NULL,171117,3,40817,40900,57,7598,2,1,'2022-05-20','2022-05-20',3299.86,1,855.00,'PAGO CONTADO  0001 - 000577',NULL,NULL,NULL,NULL,NULL),(171118,NULL,0,NULL,NULL,21,40817,40900,57,7598,1,1,'2022-05-20','2022-05-20',3299.86,1,855.00,'FACTURA A 0024 - 006174',NULL,NULL,NULL,NULL,NULL),(171119,NULL,0,NULL,NULL,21,40817,40900,57,7598,1,1,'2022-05-24','2022-05-24',2593.00,1,855.00,'FACTURA A 0016 - 020174',NULL,NULL,NULL,NULL,NULL),(171120,NULL,0,NULL,NULL,21,40817,40900,57,7598,1,1,'2022-05-24','2022-05-24',25760.41,1,855.00,'FACTURA A 0016 - 020177',NULL,NULL,NULL,NULL,NULL),(171121,NULL,0,NULL,NULL,21,40817,40900,57,7598,1,1,'2022-05-24','2022-05-24',39.00,1,855.00,'FACTURA A 0016 - 020206',NULL,NULL,NULL,NULL,NULL),(171122,NULL,0,NULL,NULL,21,40817,40900,57,7598,1,1,'2022-05-24','2022-05-24',386.00,1,855.00,'FACTURA A 0016 - 020208',NULL,NULL,NULL,NULL,NULL),(171123,NULL,0,NULL,NULL,21,40817,40900,57,7598,1,1,'2022-05-27','2022-05-27',3310.11,1,855.00,'FACTURA A 0024 - 006286',NULL,NULL,NULL,NULL,NULL),(171124,NULL,0,NULL,171124,3,40817,40900,57,7598,2,1,'2022-05-27','2022-05-27',3310.11,1,855.00,'PAGO CONTADO  0001 - 000578',NULL,NULL,NULL,NULL,NULL),(171125,NULL,0,NULL,NULL,21,40817,40900,57,7598,1,1,'2022-05-31','2022-05-31',36694.34,1,855.00,'FACTURA A 0016 - 020234',NULL,NULL,NULL,NULL,NULL),(171126,NULL,0,NULL,NULL,21,40817,40900,57,7598,1,1,'2022-05-31','2022-05-31',550.00,1,855.00,'FACTURA A 0016 - 020263',NULL,NULL,NULL,NULL,NULL),(171127,NULL,0,NULL,171127,3,40817,40900,57,7599,2,1,'2022-06-03','2022-06-03',66022.75,1,855.00,'PAGO  0004 - 000654',NULL,NULL,NULL,NULL,NULL),(171128,NULL,0,NULL,171128,3,40817,40900,57,7599,2,1,'2022-06-04','2022-06-04',3301.42,1,855.00,'PAGO CONTADO  0001 - 000637',NULL,NULL,NULL,NULL,NULL),(171129,NULL,0,NULL,NULL,21,40817,40900,57,7599,1,1,'2022-06-04','2022-06-04',3301.42,1,855.00,'FACTURA A 0019 - 022836',NULL,NULL,NULL,NULL,NULL),(171130,NULL,0,NULL,NULL,21,40817,40900,57,7599,1,1,'2022-06-07','2022-06-07',32061.15,1,855.00,'FACTURA A 0016 - 020289',NULL,NULL,NULL,NULL,NULL),(171131,NULL,0,NULL,NULL,21,40817,40900,57,7599,1,1,'2022-06-07','2022-06-07',477.00,1,855.00,'FACTURA A 0016 - 020317',NULL,NULL,NULL,NULL,NULL),(171132,NULL,0,NULL,NULL,21,40817,40900,57,7599,1,1,'2022-06-10','2022-06-10',3050.58,1,855.00,'FACTURA A 0019 - 022984',NULL,NULL,NULL,NULL,NULL),(171133,NULL,0,NULL,171133,3,40817,40900,57,7599,2,1,'2022-06-10','2022-06-10',3050.58,1,855.00,'PAGO CONTADO  0001 - 000638',NULL,NULL,NULL,NULL,NULL),(171134,NULL,0,NULL,171134,3,40817,40900,57,7599,2,1,'2022-06-14','2022-06-14',56006.75,1,855.00,'PAGO  0004 - 000717',NULL,NULL,NULL,NULL,NULL),(171135,NULL,0,NULL,NULL,21,40817,40900,57,7599,1,1,'2022-06-14','2022-06-14',23121.60,1,855.00,'FACTURA A 0016 - 020345',NULL,NULL,NULL,NULL,NULL),(171136,NULL,0,NULL,NULL,21,40817,40900,57,7599,1,1,'2022-06-14','2022-06-14',347.00,1,855.00,'FACTURA A 0016 - 020376',NULL,NULL,NULL,NULL,NULL),(171137,NULL,0,NULL,171137,3,40817,40900,57,7599,2,1,'2022-06-17','2022-06-17',2999.56,1,855.00,'PAGO CONTADO  0001 - 000739',NULL,NULL,NULL,NULL,NULL),(171138,NULL,0,NULL,NULL,21,40817,40900,57,7599,1,1,'2022-06-17','2022-06-17',2999.56,1,855.00,'FACTURA A 0025 - 006566',NULL,NULL,NULL,NULL,NULL),(171139,NULL,0,NULL,NULL,21,40817,40900,57,7599,1,1,'2022-06-19','2022-06-19',6000.47,1,855.00,'FACTURA A 0039 - 006685',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171140,NULL,0,NULL,171140,3,40817,40900,57,7599,2,1,'2022-06-19','2022-06-19',6000.47,1,855.00,'PAGO CONTADO  0001 - 000740',NULL,NULL,NULL,NULL,NULL),(171141,NULL,0,NULL,NULL,21,40817,40900,57,7599,1,1,'2022-06-21','2022-06-21',23497.50,1,855.00,'FACTURA A 0016 - 020405',NULL,NULL,NULL,NULL,NULL),(171142,NULL,0,NULL,NULL,21,40817,40900,57,7599,1,1,'2022-06-21','2022-06-21',352.00,1,855.00,'FACTURA A 0016 - 020435',NULL,NULL,NULL,NULL,NULL),(171143,NULL,0,NULL,171143,3,40817,40900,57,7599,2,1,'2022-06-24','2022-06-24',23849.50,1,855.00,'PAGO  0004 - 000751',NULL,NULL,NULL,NULL,NULL),(171144,NULL,0,NULL,NULL,21,40817,40900,57,7599,1,1,'2022-06-25','2022-06-25',6499.98,1,855.00,'FACTURA A 0024 - 006856',NULL,NULL,NULL,NULL,NULL),(171145,NULL,0,NULL,171145,3,40817,40900,57,7599,2,1,'2022-06-25','2022-06-25',6499.98,1,855.00,'PAGO CONTADO  0001 - 000711',NULL,NULL,NULL,NULL,NULL),(171146,NULL,0,NULL,NULL,21,40817,40900,57,7599,1,1,'2022-06-27','2022-06-27',1922.88,1,855.00,'FACTURA A 0021 - 018359',NULL,NULL,NULL,NULL,NULL),(171147,NULL,0,NULL,NULL,21,40817,40900,57,7599,1,1,'2022-06-27','2022-06-27',10720.85,1,855.00,'FACTURA A 0025 - 006766',NULL,NULL,NULL,NULL,NULL),(171148,NULL,0,NULL,171148,3,40817,40900,57,7599,2,1,'2022-06-27','2022-06-27',1922.88,1,855.00,'PAGO CONTADO  0001 - 000709',NULL,NULL,NULL,NULL,NULL),(171149,NULL,0,NULL,171149,3,40817,40900,57,7599,2,1,'2022-06-27','2022-06-27',10720.85,1,855.00,'PAGO CONTADO  0001 - 000710',NULL,NULL,NULL,NULL,NULL),(171150,NULL,0,NULL,NULL,21,40817,40900,57,7599,1,1,'2022-06-28','2022-06-28',35074.80,1,855.00,'FACTURA A 0016 - 020461',NULL,NULL,NULL,NULL,NULL),(171151,NULL,0,NULL,NULL,21,40817,40900,57,7599,1,1,'2022-06-28','2022-06-28',526.00,1,855.00,'FACTURA A 0016 - 020492',NULL,NULL,NULL,NULL,NULL),(171152,NULL,0,NULL,NULL,21,40817,40900,57,7599,1,1,'2022-06-30','2022-06-30',3075.13,1,855.00,'FACTURA A 0016 - 020518',NULL,NULL,NULL,NULL,NULL),(171153,NULL,0,NULL,NULL,21,40817,40900,57,7599,1,1,'2022-06-30','2022-06-30',37283.41,1,855.00,'FACTURA A 0016 - 020521',NULL,NULL,NULL,NULL,NULL),(171154,NULL,0,NULL,NULL,21,40817,40900,57,7599,1,1,'2022-06-30','2022-06-30',559.00,1,855.00,'FACTURA A 0016 - 020549',NULL,NULL,NULL,NULL,NULL),(171155,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-05','2022-07-05',1518.00,1,855.00,'FACTURA A 0016 - 020568',NULL,NULL,NULL,NULL,NULL),(171156,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-05','2022-07-05',33697.00,1,855.00,'FACTURA A 0016 - 020571',NULL,NULL,NULL,NULL,NULL),(171157,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-05','2022-07-05',23.00,1,855.00,'FACTURA A 0016 - 020595',NULL,NULL,NULL,NULL,NULL),(171158,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-05','2022-07-05',505.00,1,855.00,'FACTURA A 0016 - 020597',NULL,NULL,NULL,NULL,NULL),(171159,NULL,0,NULL,171159,3,40817,40900,57,7600,2,1,'2022-07-06','2022-07-06',3000.17,1,855.00,'PAGO CONTADO  0001 - 000760',NULL,NULL,NULL,NULL,NULL),(171160,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-06','2022-07-06',3000.17,1,855.00,'FACTURA A 0021 - 018510',NULL,NULL,NULL,NULL,NULL),(171161,NULL,0,NULL,171161,3,40817,40900,57,7600,2,1,'2022-07-11','2022-07-11',116761.46,1,855.00,'PAGO  0004 - 000802',NULL,NULL,NULL,NULL,NULL),(171162,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-12','2022-07-12',5851.51,1,855.00,'FACTURA A 0016 - 020617',NULL,NULL,NULL,NULL,NULL),(171163,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-12','2022-07-12',20099.85,1,855.00,'FACTURA A 0016 - 020620',NULL,NULL,NULL,NULL,NULL),(171164,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-12','2022-07-12',88.00,1,855.00,'FACTURA A 0016 - 020650',NULL,NULL,NULL,NULL,NULL),(171165,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-12','2022-07-12',301.50,1,855.00,'FACTURA A 0016 - 020652',NULL,NULL,NULL,NULL,NULL),(171166,NULL,0,NULL,171166,3,40817,40900,57,7600,2,1,'2022-07-13','2022-07-13',2205.18,1,855.00,'PAGO CONTADO  0001 - 000774',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171167,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-13','2022-07-13',2205.18,1,855.00,'FACTURA A 0021 - 018616',NULL,NULL,NULL,NULL,NULL),(171168,NULL,0,NULL,171168,3,40817,40900,57,7600,2,1,'2022-07-15','2022-07-15',21840.74,1,855.00,'PAGO  0004 - 000842',NULL,NULL,NULL,NULL,NULL),(171169,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-19','2022-07-19',1660.00,1,855.00,'FACTURA A 0016 - 020681',NULL,NULL,NULL,NULL,NULL),(171170,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-19','2022-07-19',19157.42,1,855.00,'FACTURA A 0016 - 020684',NULL,NULL,NULL,NULL,NULL),(171171,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-19','2022-07-19',25.00,1,855.00,'FACTURA A 0016 - 020713',NULL,NULL,NULL,NULL,NULL),(171172,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-19','2022-07-19',287.00,1,855.00,'FACTURA A 0016 - 020715',NULL,NULL,NULL,NULL,NULL),(171173,NULL,0,NULL,171173,3,40817,40900,57,7600,2,1,'2022-07-20','2022-07-20',21129.42,1,855.00,'PAGO  0004 - 000862',NULL,NULL,NULL,NULL,NULL),(171174,NULL,0,NULL,171174,3,40817,40900,57,7600,2,1,'2022-07-20','2022-07-20',2228.93,1,855.00,'PAGO CONTADO  0001 - 000832',NULL,NULL,NULL,NULL,NULL),(171175,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-20','2022-07-20',2228.93,1,855.00,'FACTURA A 0021 - 018752',NULL,NULL,NULL,NULL,NULL),(171176,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-25','2022-07-25',2700.48,1,855.00,'FACTURA A 0021 - 018816',NULL,NULL,NULL,NULL,NULL),(171177,NULL,0,NULL,171177,3,40817,40900,57,7600,2,1,'2022-07-25','2022-07-25',2700.48,1,855.00,'PAGO CONTADO  0001 - 000849',NULL,NULL,NULL,NULL,NULL),(171178,NULL,0,NULL,171178,3,40817,40900,57,7600,2,1,'2022-07-26','2022-07-26',3000.02,1,855.00,'PAGO CONTADO  0001 - 000850',NULL,NULL,NULL,NULL,NULL),(171179,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-26','2022-07-26',3000.02,1,855.00,'FACTURA A 0025 - 007413',NULL,NULL,NULL,NULL,NULL),(171180,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-26','2022-07-26',9013.49,1,855.00,'FACTURA A 0016 - 020742',NULL,NULL,NULL,NULL,NULL),(171181,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-26','2022-07-26',10352.00,1,855.00,'FACTURA A 0016 - 020745',NULL,NULL,NULL,NULL,NULL),(171182,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-26','2022-07-26',135.00,1,855.00,'FACTURA A 0016 - 020776',NULL,NULL,NULL,NULL,NULL),(171183,NULL,0,NULL,NULL,21,40817,40900,57,7600,1,1,'2022-07-26','2022-07-26',155.00,1,855.00,'FACTURA A 0016 - 020778',NULL,NULL,NULL,NULL,NULL),(171184,NULL,0,NULL,171184,3,40817,40900,57,7600,2,1,'2022-07-28','2022-07-28',19655.49,1,855.00,'PAGO  0004 - 000897',NULL,NULL,NULL,NULL,NULL),(171185,NULL,0,NULL,171185,3,40817,40900,57,7601,2,1,'2022-08-01','2022-08-01',2900.07,1,855.00,'PAGO CONTADO  0001 - 000878',NULL,NULL,NULL,NULL,NULL),(171186,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-01','2022-08-01',2900.07,1,855.00,'FACTURA A 0025 - 007523',NULL,NULL,NULL,NULL,NULL),(171187,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-02','2022-08-02',9646.86,1,855.00,'FACTURA A 0016 - 020803',NULL,NULL,NULL,NULL,NULL),(171188,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-02','2022-08-02',17202.89,1,855.00,'FACTURA A 0016 - 020807',NULL,NULL,NULL,NULL,NULL),(171189,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-02','2022-08-02',144.70,1,855.00,'FACTURA A 0016 - 020836',NULL,NULL,NULL,NULL,NULL),(171190,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-02','2022-08-02',258.00,1,855.00,'FACTURA A 0016 - 020839',NULL,NULL,NULL,NULL,NULL),(171191,NULL,0,NULL,171191,3,40817,40900,57,7601,2,1,'2022-08-03','2022-08-03',27252.45,1,855.00,'PAGO  0004 - 000925',NULL,NULL,NULL,NULL,NULL),(171192,NULL,0,NULL,171192,3,40817,40900,57,7601,2,1,'2022-08-08','2022-08-08',3481.12,1,855.00,'PAGO CONTADO  0001 - 000919',NULL,NULL,NULL,NULL,NULL),(171193,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-08','2022-08-08',3481.12,1,855.00,'FACTURA A 0025 - 007689',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171194,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-09','2022-08-09',36881.39,1,855.00,'FACTURA A 0016 - 020864',NULL,NULL,NULL,NULL,NULL),(171195,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-09','2022-08-09',20176.41,1,855.00,'FACTURA A 0016 - 020867',NULL,NULL,NULL,NULL,NULL),(171196,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-09','2022-08-09',553.00,1,855.00,'FACTURA A 0016 - 020899',NULL,NULL,NULL,NULL,NULL),(171197,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-09','2022-08-09',302.00,1,855.00,'FACTURA A 0016 - 020901',NULL,NULL,NULL,NULL,NULL),(171198,NULL,0,NULL,171198,3,40817,40900,57,7601,2,1,'2022-08-11','2022-08-11',57912.80,1,855.00,'PAGO  0004 - 000985',NULL,NULL,NULL,NULL,NULL),(171199,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-16','2022-08-16',481.50,1,855.00,'FACTURA A 0016 - 020961',NULL,NULL,NULL,NULL,NULL),(171200,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-16','2022-08-16',434.50,1,855.00,'FACTURA A 0016 - 020964',NULL,NULL,NULL,NULL,NULL),(171201,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-16','2022-08-16',32102.74,1,855.00,'FACTURA A 0016 - 020927',NULL,NULL,NULL,NULL,NULL),(171202,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-17','2022-08-17',28975.94,1,855.00,'FACTURA A 0016 - 020931',NULL,NULL,NULL,NULL,NULL),(171203,NULL,0,NULL,171203,3,40817,40900,57,7601,2,1,'2022-08-17','2022-08-17',61994.68,1,855.00,'PAGO  0004 - 001013',NULL,NULL,NULL,NULL,NULL),(171204,NULL,0,NULL,171204,3,40817,40900,57,7601,2,1,'2022-08-17','2022-08-17',2300.08,1,855.00,'PAGO CONTADO  0001 - 000936',NULL,NULL,NULL,NULL,NULL),(171205,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-17','2022-08-17',2300.08,1,855.00,'FACTURA A 0025 - 007884',NULL,NULL,NULL,NULL,NULL),(171206,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-23','2022-08-23',2999.01,1,855.00,'FACTURA A 0021 - 019267',NULL,NULL,NULL,NULL,NULL),(171207,NULL,0,NULL,171207,3,40817,40900,57,7601,2,1,'2022-08-23','2022-08-23',2999.01,1,855.00,'PAGO CONTADO  0001 - 000962',NULL,NULL,NULL,NULL,NULL),(171208,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-23','2022-08-23',26074.67,1,855.00,'FACTURA A 0016 - 020997',NULL,NULL,NULL,NULL,NULL),(171209,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-23','2022-08-23',8372.84,1,855.00,'FACTURA A 0016 - 021001',NULL,NULL,NULL,NULL,NULL),(171210,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-23','2022-08-23',391.00,1,855.00,'FACTURA A 0016 - 021032',NULL,NULL,NULL,NULL,NULL),(171211,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-23','2022-08-23',125.60,1,855.00,'FACTURA A 0016 - 021035',NULL,NULL,NULL,NULL,NULL),(171212,NULL,0,NULL,171212,3,40817,40900,57,7601,2,1,'2022-08-26','2022-08-26',34964.11,1,855.00,'PAGO  0004 - 001055',NULL,NULL,NULL,NULL,NULL),(171213,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-31','2022-08-31',61281.17,1,855.00,'FACTURA A 0016 - 021063',NULL,NULL,NULL,NULL,NULL),(171214,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-31','2022-08-31',17427.40,1,855.00,'FACTURA A 0016 - 021067',NULL,NULL,NULL,NULL,NULL),(171215,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-31','2022-08-31',919.01,1,855.00,'FACTURA A 0016 - 021098',NULL,NULL,NULL,NULL,NULL),(171216,NULL,0,NULL,NULL,21,40817,40900,57,7601,1,1,'2022-08-31','2022-08-31',261.00,1,855.00,'FACTURA A 0016 - 021101',NULL,NULL,NULL,NULL,NULL),(171217,NULL,0,NULL,171217,3,40817,40900,57,7602,2,1,'2022-09-05','2022-09-05',79888.58,1,855.00,'PAGO  0004 - 001098',NULL,NULL,NULL,NULL,NULL),(171218,NULL,0,NULL,171218,3,40817,40900,57,7602,2,1,'2022-09-06','2022-09-06',32292.48,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000049',NULL,NULL,NULL,NULL,NULL),(171219,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-06','2022-09-06',27295.21,1,855.00,'FACTURA A 0016 - 021129',NULL,NULL,NULL,NULL,NULL),(171220,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-06','2022-09-06',32292.48,1,855.00,'FACTURA A 0016 - 021132',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171221,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-06','2022-09-06',32292.48,1,855.00,'FACTURA A 0016 - 021132',NULL,NULL,NULL,NULL,NULL),(171222,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-06','2022-09-06',409.40,1,855.00,'FACTURA A 0016 - 021159',NULL,NULL,NULL,NULL,NULL),(171223,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-06','2022-09-06',484.00,1,855.00,'FACTURA A 0016 - 021161',NULL,NULL,NULL,NULL,NULL),(171224,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-07','2022-09-07',3900.94,1,855.00,'FACTURA A 0019 - 024775',NULL,NULL,NULL,NULL,NULL),(171225,NULL,0,NULL,171225,3,40817,40900,57,7602,2,1,'2022-09-07','2022-09-07',3900.94,1,855.00,'PAGO CONTADO  0001 - 001053',NULL,NULL,NULL,NULL,NULL),(171226,NULL,0,NULL,171226,3,40817,40900,57,7602,2,1,'2022-09-09','2022-09-09',60481.09,1,855.00,'PAGO  0004 - 001120',NULL,NULL,NULL,NULL,NULL),(171227,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-13','2022-09-13',43315.78,1,855.00,'FACTURA A 0016 - 021189',NULL,NULL,NULL,NULL,NULL),(171228,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-13','2022-09-13',22209.81,1,855.00,'FACTURA A 0016 - 021192',NULL,NULL,NULL,NULL,NULL),(171229,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-13','2022-09-13',649.70,1,855.00,'FACTURA A 0016 - 021222',NULL,NULL,NULL,NULL,NULL),(171230,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-13','2022-09-13',333.00,1,855.00,'FACTURA A 0016 - 021224',NULL,NULL,NULL,NULL,NULL),(171231,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-17','2022-09-17',3001.65,1,855.00,'FACTURA A 0019 - 024994',NULL,NULL,NULL,NULL,NULL),(171232,NULL,0,NULL,171232,3,40817,40900,57,7602,2,1,'2022-09-17','2022-09-17',3001.65,1,855.00,'PAGO CONTADO  0001 - 001054',NULL,NULL,NULL,NULL,NULL),(171233,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-20','2022-09-20',28276.21,1,855.00,'FACTURA A 0016 - 021248',NULL,NULL,NULL,NULL,NULL),(171234,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-20','2022-09-20',22152.62,1,855.00,'FACTURA A 0016 - 021251',NULL,NULL,NULL,NULL,NULL),(171235,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-20','2022-09-20',424.00,1,855.00,'FACTURA A 0016 - 021280',NULL,NULL,NULL,NULL,NULL),(171236,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-20','2022-09-20',332.00,1,855.00,'FACTURA A 0016 - 021282',NULL,NULL,NULL,NULL,NULL),(171237,NULL,0,NULL,171237,3,40817,40900,57,7602,2,1,'2022-09-22','2022-09-22',117693.12,1,855.00,'PAGO  0004 - 001183',NULL,NULL,NULL,NULL,NULL),(171238,NULL,0,NULL,171238,3,40817,40900,57,7602,2,1,'2022-09-27','2022-09-27',4000.79,1,855.00,'PAGO CONTADO  0001 - 001109',NULL,NULL,NULL,NULL,NULL),(171239,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-27','2022-09-27',4000.79,1,855.00,'FACTURA A 0021 - 019875',NULL,NULL,NULL,NULL,NULL),(171240,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-27','2022-09-27',43532.03,1,855.00,'FACTURA A 0016 - 021308',NULL,NULL,NULL,NULL,NULL),(171241,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-27','2022-09-27',19549.08,1,855.00,'FACTURA A 0016 - 021311',NULL,NULL,NULL,NULL,NULL),(171242,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-27','2022-09-27',653.00,1,855.00,'FACTURA A 0016 - 021339',NULL,NULL,NULL,NULL,NULL),(171243,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-27','2022-09-27',293.00,1,855.00,'FACTURA A 0016 - 021341',NULL,NULL,NULL,NULL,NULL),(171244,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-30','2022-09-30',24559.50,1,855.00,'FACTURA A 0016 - 021367',NULL,NULL,NULL,NULL,NULL),(171245,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-30','2022-09-30',6435.39,1,855.00,'FACTURA A 0016 - 021370',NULL,NULL,NULL,NULL,NULL),(171246,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-30','2022-09-30',346.00,1,855.00,'FACTURA A 0016 - 021399',NULL,NULL,NULL,NULL,NULL),(171247,NULL,0,NULL,NULL,21,40817,40900,57,7602,1,1,'2022-09-30','2022-09-30',92.00,1,855.00,'FACTURA A 0016 - 021401',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171248,NULL,0,NULL,171248,3,40817,40900,57,7602,2,1,'2022-09-30','2022-09-30',64027.11,1,855.00,'PAGO  0004 - 001233',NULL,NULL,NULL,NULL,NULL),(171249,NULL,0,NULL,171249,3,40817,40900,57,7603,2,1,'2022-10-04','2022-10-04',3591.58,1,855.00,'PAGO CONTADO  0001 - 001203',NULL,NULL,NULL,NULL,NULL),(171250,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-04','2022-10-04',13800.71,1,855.00,'FACTURA A 0016 - 021426',NULL,NULL,NULL,NULL,NULL),(171251,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-04','2022-10-04',207.00,1,855.00,'FACTURA A 0016 - 021448',NULL,NULL,NULL,NULL,NULL),(171252,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-04','2022-10-04',3591.58,1,855.00,'FACTURA A 0019 - 025375',NULL,NULL,NULL,NULL,NULL),(171253,NULL,0,NULL,171253,3,40817,40900,57,7603,2,1,'2022-10-05','2022-10-05',45440.60,1,855.00,'PAGO  0004 - 001253',NULL,NULL,NULL,NULL,NULL),(171254,NULL,0,NULL,171254,3,40817,40900,57,7603,2,1,'2022-10-11','2022-10-11',4001.55,1,855.00,'PAGO CONTADO  0001 - 001202',NULL,NULL,NULL,NULL,NULL),(171255,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-11','2022-10-11',4001.55,1,855.00,'FACTURA A 0019 - 025512',NULL,NULL,NULL,NULL,NULL),(171256,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-11','2022-10-11',69995.52,1,855.00,'FACTURA A 0016 - 021469',NULL,NULL,NULL,NULL,NULL),(171257,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-11','2022-10-11',41548.40,1,855.00,'FACTURA A 0016 - 021472',NULL,NULL,NULL,NULL,NULL),(171258,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-11','2022-10-11',1050.00,1,855.00,'FACTURA A 0016 - 021500',NULL,NULL,NULL,NULL,NULL),(171259,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-11','2022-10-11',623.00,1,855.00,'FACTURA A 0016 - 021502',NULL,NULL,NULL,NULL,NULL),(171260,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-18','2022-10-18',28439.00,1,855.00,'FACTURA A 0016 - 021530',NULL,NULL,NULL,NULL,NULL),(171261,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-18','2022-10-18',47242.62,1,855.00,'FACTURA A 0016 - 021533',NULL,NULL,NULL,NULL,NULL),(171262,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-19','2022-10-19',426.50,1,855.00,'FACTURA A 0016 - 021562',NULL,NULL,NULL,NULL,NULL),(171263,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-19','2022-10-19',708.00,1,855.00,'FACTURA A 0016 - 021564',NULL,NULL,NULL,NULL,NULL),(171264,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-19','2022-10-19',113216.92,1,855.00,'ANULACION DE PAGOS  0001 - 000065',NULL,NULL,NULL,NULL,NULL),(171265,NULL,0,NULL,171265,3,40817,40900,57,7603,2,1,'2022-10-19','2022-10-19',113216.92,1,855.00,'PAGO  0004 - 001292',NULL,NULL,NULL,NULL,NULL),(171266,NULL,0,NULL,171266,3,40817,40900,57,7603,2,1,'2022-10-20','2022-10-20',161420.71,1,855.00,'PAGO  0004 - 001298',NULL,NULL,NULL,NULL,NULL),(171267,NULL,0,NULL,171267,3,40817,40900,57,7603,2,1,'2022-10-20','2022-10-20',999.97,1,855.00,'PAGO CONTADO  0001 - 001269',NULL,NULL,NULL,NULL,NULL),(171268,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-20','2022-10-20',999.97,1,855.00,'FACTURA A 0021 - 020309',NULL,NULL,NULL,NULL,NULL),(171269,NULL,0,NULL,171269,3,40817,40900,57,7603,2,1,'2022-10-22','2022-10-22',1599.95,1,855.00,'PAGO CONTADO  0001 - 001270',NULL,NULL,NULL,NULL,NULL),(171270,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-22','2022-10-22',1599.95,1,855.00,'FACTURA A 0019 - 025733',NULL,NULL,NULL,NULL,NULL),(171271,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-25','2022-10-25',355.00,1,855.00,'FACTURA A 0016 - 021611',NULL,NULL,NULL,NULL,NULL),(171272,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-25','2022-10-25',387.00,1,855.00,'FACTURA A 0016 - 021614',NULL,NULL,NULL,NULL,NULL),(171273,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-25','2022-10-25',23712.56,1,855.00,'FACTURA A 0016 - 021641',NULL,NULL,NULL,NULL,NULL),(171274,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-25','2022-10-25',25818.03,1,855.00,'FACTURA A 0016 - 021644',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171275,NULL,0,NULL,171275,3,40817,40900,57,7603,2,1,'2022-10-26','2022-10-26',3613.47,1,855.00,'PAGO CONTADO  0001 - 001272',NULL,NULL,NULL,NULL,NULL),(171276,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-26','2022-10-26',3613.47,1,855.00,'FACTURA A 0021 - 020420',NULL,NULL,NULL,NULL,NULL),(171277,NULL,0,NULL,171277,3,40817,40900,57,7603,2,1,'2022-10-28','2022-10-28',78884.92,1,855.00,'PAGO  0004 - 001359',NULL,NULL,NULL,NULL,NULL),(171278,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-31','2022-10-31',57250.52,1,855.00,'FACTURA A 0016 - 021659',NULL,NULL,NULL,NULL,NULL),(171279,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-31','2022-10-31',8130.16,1,855.00,'FACTURA A 0016 - 021663',NULL,NULL,NULL,NULL,NULL),(171280,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-31','2022-10-31',858.00,1,855.00,'FACTURA A 0016 - 021694',NULL,NULL,NULL,NULL,NULL),(171281,NULL,0,NULL,NULL,21,40817,40900,57,7603,1,1,'2022-10-31','2022-10-31',122.00,1,855.00,'FACTURA A 0016 - 021697',NULL,NULL,NULL,NULL,NULL),(171282,NULL,0,NULL,171282,3,40817,40900,57,7604,2,1,'2022-11-03','2022-11-03',4199.88,1,855.00,'PAGO CONTADO  0001 - 001294',NULL,NULL,NULL,NULL,NULL),(171283,NULL,0,NULL,NULL,21,40817,40900,57,7604,1,1,'2022-11-03','2022-11-03',4199.88,1,855.00,'FACTURA A 0024 - 009498',NULL,NULL,NULL,NULL,NULL),(171284,NULL,0,NULL,171284,3,40817,40900,57,7604,2,1,'2022-11-04','2022-11-04',66360.68,1,855.00,'PAGO  0004 - 001375',NULL,NULL,NULL,NULL,NULL),(171285,NULL,0,NULL,NULL,21,40817,40900,57,7604,1,1,'2022-11-08','2022-11-08',27848.04,1,855.00,'FACTURA A 0016 - 021726',NULL,NULL,NULL,NULL,NULL),(171286,NULL,0,NULL,NULL,21,40817,40900,57,7604,1,1,'2022-11-08','2022-11-08',34247.02,1,855.00,'FACTURA A 0016 - 021730',NULL,NULL,NULL,NULL,NULL),(171287,NULL,0,NULL,NULL,21,40817,40900,57,7604,1,1,'2022-11-08','2022-11-08',418.00,1,855.00,'FACTURA A 0016 - 021761',NULL,NULL,NULL,NULL,NULL),(171288,NULL,0,NULL,NULL,21,40817,40900,57,7604,1,1,'2022-11-08','2022-11-08',502.00,1,855.00,'FACTURA A 0016 - 021764',NULL,NULL,NULL,NULL,NULL),(171289,NULL,0,NULL,NULL,21,40817,40900,57,7604,1,1,'2022-11-15','2022-11-15',32426.67,1,855.00,'FACTURA A 0016 - 021795',NULL,NULL,NULL,NULL,NULL),(171290,NULL,0,NULL,NULL,21,40817,40900,57,7604,1,1,'2022-11-15','2022-11-15',47641.49,1,855.00,'FACTURA A 0016 - 021798',NULL,NULL,NULL,NULL,NULL),(171291,NULL,0,NULL,NULL,21,40817,40900,57,7604,1,1,'2022-11-15','2022-11-15',486.00,1,855.00,'FACTURA A 0016 - 021825',NULL,NULL,NULL,NULL,NULL),(171292,NULL,0,NULL,NULL,21,40817,40900,57,7604,1,1,'2022-11-15','2022-11-15',715.00,1,855.00,'FACTURA A 0016 - 021827',NULL,NULL,NULL,NULL,NULL),(171293,NULL,0,NULL,171293,3,40817,40900,57,7604,2,1,'2022-11-21','2022-11-21',3999.96,1,855.00,'PAGO CONTADO  0001 - 001375',NULL,NULL,NULL,NULL,NULL),(171294,NULL,0,NULL,NULL,21,40817,40900,57,7604,1,1,'2022-11-21','2022-11-21',3999.96,1,855.00,'FACTURA A 0024 - 009943',NULL,NULL,NULL,NULL,NULL),(171295,NULL,0,NULL,171295,3,40817,40900,57,7604,2,1,'2022-11-22','2022-11-22',144284.22,1,855.00,'PAGO  0004 - 001440',NULL,NULL,NULL,NULL,NULL),(171296,NULL,0,NULL,NULL,21,40817,40900,57,7604,1,1,'2022-11-22','2022-11-22',26932.91,1,855.00,'FACTURA A 0016 - 021851',NULL,NULL,NULL,NULL,NULL),(171297,NULL,0,NULL,NULL,21,40817,40900,57,7604,1,1,'2022-11-22','2022-11-22',16388.37,1,855.00,'FACTURA A 0016 - 021854',NULL,NULL,NULL,NULL,NULL),(171298,NULL,0,NULL,NULL,21,40817,40900,57,7604,1,1,'2022-11-22','2022-11-22',404.00,1,855.00,'FACTURA A 0016 - 021883',NULL,NULL,NULL,NULL,NULL),(171299,NULL,0,NULL,NULL,21,40817,40900,57,7604,1,1,'2022-11-22','2022-11-22',246.00,1,855.00,'FACTURA A 0016 - 021885',NULL,NULL,NULL,NULL,NULL),(171300,NULL,0,NULL,171300,3,40817,40900,57,7604,2,1,'2022-11-23','2022-11-23',43971.28,1,855.00,'PAGO  0004 - 001446',NULL,NULL,NULL,NULL,NULL),(171301,NULL,0,NULL,171301,3,40817,40900,57,7604,2,1,'2022-11-28','2022-11-28',3600.84,1,855.00,'PAGO CONTADO  0001 - 001400',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171302,NULL,0,NULL,NULL,21,40817,40900,57,7604,1,1,'2022-11-28','2022-11-28',3600.84,1,855.00,'FACTURA A 0019 - 026534',NULL,NULL,NULL,NULL,NULL),(171303,NULL,0,NULL,NULL,21,40817,40900,57,7604,1,1,'2022-11-30','2022-11-30',56512.08,1,855.00,'FACTURA A 0016 - 021921',NULL,NULL,NULL,NULL,NULL),(171304,NULL,0,NULL,NULL,21,40817,40900,57,7604,1,1,'2022-11-30','2022-11-30',50722.64,1,855.00,'FACTURA A 0016 - 021924',NULL,NULL,NULL,NULL,NULL),(171305,NULL,0,NULL,NULL,21,40817,40900,57,7604,1,1,'2022-11-30','2022-11-30',848.00,1,855.00,'FACTURA A 0016 - 021954',NULL,NULL,NULL,NULL,NULL),(171306,NULL,0,NULL,NULL,21,40817,40900,57,7604,1,1,'2022-11-30','2022-11-30',760.80,1,855.00,'FACTURA A 0016 - 021956',NULL,NULL,NULL,NULL,NULL),(171307,NULL,0,NULL,171307,3,40817,40900,57,7605,2,1,'2022-12-05','2022-12-05',108843.52,1,855.00,'PAGO  0004 - 001510',NULL,NULL,NULL,NULL,NULL),(171308,NULL,0,NULL,171308,3,40817,40900,57,7605,2,1,'2022-12-06','2022-12-06',2042.52,1,855.00,'PAGO CONTADO  0001 - 001470',NULL,NULL,NULL,NULL,NULL),(171309,NULL,0,NULL,171309,3,40817,40900,57,7605,2,1,'2022-12-06','2022-12-06',3796.63,1,855.00,'PAGO CONTADO  0001 - 001473',NULL,NULL,NULL,NULL,NULL),(171310,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-06','2022-12-06',24315.56,1,855.00,'FACTURA A 0016 - 021998',NULL,NULL,NULL,NULL,NULL),(171311,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-06','2022-12-06',12895.95,1,855.00,'FACTURA A 0016 - 022001',NULL,NULL,NULL,NULL,NULL),(171312,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-06','2022-12-06',350.00,1,855.00,'FACTURA A 0016 - 022009',NULL,NULL,NULL,NULL,NULL),(171313,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-06','2022-12-06',185.00,1,855.00,'FACTURA A 0016 - 022011',NULL,NULL,NULL,NULL,NULL),(171314,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-06','2022-12-06',2042.52,1,855.00,'FACTURA A 0019 - 026713',NULL,NULL,NULL,NULL,NULL),(171315,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-06','2022-12-06',3796.63,1,855.00,'FACTURA A 0019 - 026730',NULL,NULL,NULL,NULL,NULL),(171316,NULL,0,NULL,171316,3,40817,40900,57,7605,2,1,'2022-12-12','2022-12-12',4354.56,1,855.00,'PAGO CONTADO  0001 - 001505',NULL,NULL,NULL,NULL,NULL),(171317,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-12','2022-12-12',4354.56,1,855.00,'FACTURA A 0025 - 010293',NULL,NULL,NULL,NULL,NULL),(171318,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-13','2022-12-13',27420.99,1,855.00,'FACTURA A 0016 - 022056',NULL,NULL,NULL,NULL,NULL),(171319,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-13','2022-12-13',38617.37,1,855.00,'FACTURA A 0016 - 022058',NULL,NULL,NULL,NULL,NULL),(171320,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-13','2022-12-13',411.30,1,855.00,'FACTURA A 0016 - 022067',NULL,NULL,NULL,NULL,NULL),(171321,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-13','2022-12-13',579.20,1,855.00,'FACTURA A 0016 - 022068',NULL,NULL,NULL,NULL,NULL),(171322,NULL,0,NULL,171322,3,40817,40900,57,7605,2,1,'2022-12-14','2022-12-14',37746.51,1,855.00,'PAGO  0004 - 001564',NULL,NULL,NULL,NULL,NULL),(171323,NULL,0,NULL,171323,3,40817,40900,57,7605,2,1,'2022-12-16','2022-12-16',67028.86,1,855.00,'PAGO  0004 - 001572',NULL,NULL,NULL,NULL,NULL),(171324,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-20','2022-12-20',27268.03,1,855.00,'FACTURA A 0016 - 022093',NULL,NULL,NULL,NULL,NULL),(171325,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-20','2022-12-20',33554.54,1,855.00,'FACTURA A 0016 - 022096',NULL,NULL,NULL,NULL,NULL),(171326,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-20','2022-12-20',409.00,1,855.00,'FACTURA A 0016 - 022124',NULL,NULL,NULL,NULL,NULL),(171327,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-20','2022-12-20',503.00,1,855.00,'FACTURA A 0016 - 022126',NULL,NULL,NULL,NULL,NULL),(171328,NULL,0,NULL,171328,3,40817,40900,57,7605,2,1,'2022-12-21','2022-12-21',4908.71,1,855.00,'PAGO CONTADO  0001 - 001537',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171329,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-21','2022-12-21',4908.71,1,855.00,'FACTURA A 0025 - 010471',NULL,NULL,NULL,NULL,NULL),(171330,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-26','2022-12-26',17000.09,1,855.00,'FACTURA A 0021 - 036590',NULL,NULL,NULL,NULL,NULL),(171331,NULL,0,NULL,171331,3,40817,40900,57,7605,2,1,'2022-12-26','2022-12-26',17000.09,1,855.00,'PAGO CONTADO  0001 - 001574',NULL,NULL,NULL,NULL,NULL),(171332,NULL,0,NULL,171332,3,40817,40900,57,7605,2,1,'2022-12-27','2022-12-27',61734.57,1,855.00,'PAGO  0004 - 001604',NULL,NULL,NULL,NULL,NULL),(171333,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-27','2022-12-27',54701.95,1,855.00,'FACTURA A 0016 - 022151',NULL,NULL,NULL,NULL,NULL),(171334,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-27','2022-12-27',18107.98,1,855.00,'FACTURA A 0016 - 022155',NULL,NULL,NULL,NULL,NULL),(171335,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-27','2022-12-27',820.50,1,855.00,'FACTURA A 0016 - 022182',NULL,NULL,NULL,NULL,NULL),(171336,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-27','2022-12-27',271.60,1,855.00,'FACTURA A 0016 - 022185',NULL,NULL,NULL,NULL,NULL),(171337,NULL,0,NULL,171337,3,40817,40900,57,7605,2,1,'2022-12-29','2022-12-29',73902.03,1,855.00,'PAGO  0004 - 001612',NULL,NULL,NULL,NULL,NULL),(171338,NULL,0,NULL,171338,3,40817,40900,57,7605,2,1,'2022-12-31','2022-12-31',3500.28,1,855.00,'PAGO CONTADO  0001 - 001579',NULL,NULL,NULL,NULL,NULL),(171339,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-31','2022-12-31',3500.28,1,855.00,'FACTURA A 0021 - 021641',NULL,NULL,NULL,NULL,NULL),(171340,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-31','2022-12-31',35250.73,1,855.00,'FACTURA A 0016 - 022219',NULL,NULL,NULL,NULL,NULL),(171341,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-31','2022-12-31',40601.48,1,855.00,'FACTURA A 0016 - 022222',NULL,NULL,NULL,NULL,NULL),(171342,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-31','2022-12-31',529.00,1,855.00,'FACTURA A 0016 - 022248',NULL,NULL,NULL,NULL,NULL),(171343,NULL,0,NULL,NULL,21,40817,40900,57,7605,1,1,'2022-12-31','2022-12-31',609.00,1,855.00,'FACTURA A 0016 - 022250',NULL,NULL,NULL,NULL,NULL),(171344,NULL,0,NULL,NULL,21,40817,40900,57,7609,1,1,'2023-01-07','2023-01-07',3400.49,1,855.00,'FACTURA A 0021 - 021770',NULL,NULL,NULL,NULL,NULL),(171345,NULL,0,NULL,171345,3,40817,40900,57,7609,2,1,'2023-01-07','2023-01-07',3400.49,1,855.00,'PAGO CONTADO  0001 - 001660',NULL,NULL,NULL,NULL,NULL),(171346,NULL,0,NULL,171346,3,40817,40900,57,7609,2,1,'2023-01-07','2023-01-07',76990.21,1,855.00,'PAGO  0004 - 001641',NULL,NULL,NULL,NULL,NULL),(171347,NULL,0,NULL,NULL,21,40817,40900,57,7609,1,1,'2023-01-09','2023-01-09',4999.97,1,855.00,'FACTURA A 0035 - 016552',NULL,NULL,NULL,NULL,NULL),(171348,NULL,0,NULL,171348,3,40817,40900,57,7609,2,1,'2023-01-09','2023-01-09',4999.97,1,855.00,'PAGO CONTADO  0001 - 001745',NULL,NULL,NULL,NULL,NULL),(171349,NULL,0,NULL,NULL,21,40817,40900,57,7609,1,1,'2023-01-10','2023-01-10',51124.51,1,855.00,'FACTURA A 0016 - 022276',NULL,NULL,NULL,NULL,NULL),(171350,NULL,0,NULL,NULL,21,40817,40900,57,7609,1,1,'2023-01-10','2023-01-10',9909.47,1,855.00,'FACTURA A 0016 - 022279',NULL,NULL,NULL,NULL,NULL),(171351,NULL,0,NULL,NULL,21,40817,40900,57,7609,1,1,'2023-01-10','2023-01-10',767.00,1,855.00,'FACTURA A 0016 - 022304',NULL,NULL,NULL,NULL,NULL),(171352,NULL,0,NULL,NULL,21,40817,40900,57,7609,1,1,'2023-01-10','2023-01-10',148.60,1,855.00,'FACTURA A 0016 - 022306',NULL,NULL,NULL,NULL,NULL),(171353,NULL,0,NULL,171353,3,40817,40900,57,7609,2,1,'2023-01-14','2023-01-14',61949.58,1,855.00,'PAGO  0004 - 001713',NULL,NULL,NULL,NULL,NULL),(171354,NULL,0,NULL,NULL,21,40817,40900,57,7609,1,1,'2023-01-17','2023-01-17',36085.96,1,855.00,'FACTURA A 0016 - 022335',NULL,NULL,NULL,NULL,NULL),(171355,NULL,0,NULL,NULL,21,40817,40900,57,7609,1,1,'2023-01-17','2023-01-17',31324.26,1,855.00,'FACTURA A 0016 - 022338',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171356,NULL,0,NULL,NULL,21,40817,40900,57,7609,1,1,'2023-01-17','2023-01-17',541.28,1,855.00,'FACTURA A 0016 - 022363',NULL,NULL,NULL,NULL,NULL),(171357,NULL,0,NULL,NULL,21,40817,40900,57,7609,1,1,'2023-01-17','2023-01-17',469.86,1,855.00,'FACTURA A 0016 - 022365',NULL,NULL,NULL,NULL,NULL),(171358,NULL,0,NULL,171358,3,40817,40900,57,7609,2,1,'2023-01-18','2023-01-18',4400.38,1,855.00,'PAGO CONTADO  0001 - 001693',NULL,NULL,NULL,NULL,NULL),(171359,NULL,0,NULL,NULL,21,40817,40900,57,7609,1,1,'2023-01-18','2023-01-18',4400.38,1,855.00,'FACTURA A 0024 - 011290',NULL,NULL,NULL,NULL,NULL),(171360,NULL,0,NULL,NULL,21,40817,40900,57,7609,1,1,'2023-01-24','2023-01-24',33724.66,1,855.00,'FACTURA A 0016 - 022394',NULL,NULL,NULL,NULL,NULL),(171361,NULL,0,NULL,NULL,21,40817,40900,57,7609,1,1,'2023-01-24','2023-01-24',24295.03,1,855.00,'FACTURA A 0016 - 022397',NULL,NULL,NULL,NULL,NULL),(171362,NULL,0,NULL,NULL,21,40817,40900,57,7609,1,1,'2023-01-24','2023-01-24',364.42,1,855.00,'FACTURA A 0016 - 022422',NULL,NULL,NULL,NULL,NULL),(171363,NULL,0,NULL,NULL,21,40817,40900,57,7609,1,1,'2023-01-25','2023-01-25',126805.47,1,855.00,'ANULACION DE PAGOS  0001 - 000099',NULL,NULL,NULL,NULL,NULL),(171364,NULL,0,NULL,171364,3,40817,40900,57,7609,2,1,'2023-01-25','2023-01-25',126805.47,1,855.00,'PAGO  0004 - 001760',NULL,NULL,NULL,NULL,NULL),(171365,NULL,0,NULL,171365,3,40817,40900,57,7609,2,1,'2023-01-26','2023-01-26',126805.47,1,855.00,'PAGO  0004 - 001763',NULL,NULL,NULL,NULL,NULL),(171366,NULL,0,NULL,NULL,21,40817,40900,57,7609,1,1,'2023-01-31','2023-01-31',63084.79,1,855.00,'FACTURA A 0016 - 022457',NULL,NULL,NULL,NULL,NULL),(171367,NULL,0,NULL,NULL,21,40817,40900,57,7609,1,1,'2023-01-31','2023-01-31',89337.02,1,855.00,'FACTURA A 0016 - 022460',NULL,NULL,NULL,NULL,NULL),(171368,NULL,0,NULL,NULL,21,40817,40900,57,7609,1,1,'2023-01-31','2023-01-31',946.00,1,855.00,'FACTURA A 0016 - 022486',NULL,NULL,NULL,NULL,NULL),(171369,NULL,0,NULL,NULL,21,40817,40900,57,7609,1,1,'2023-01-31','2023-01-31',1340.05,1,855.00,'FACTURA A 0016 - 022488',NULL,NULL,NULL,NULL,NULL),(171370,NULL,0,NULL,NULL,21,40817,40900,57,7610,1,1,'2023-02-02','2023-02-02',4000.87,1,855.00,'FACTURA A 0024 - 011611',NULL,NULL,NULL,NULL,NULL),(171371,NULL,0,NULL,171371,3,40817,40900,57,7610,2,1,'2023-02-06','2023-02-06',4000.87,1,855.00,'PAGO  0001 - 001769',NULL,NULL,NULL,NULL,NULL),(171372,NULL,0,NULL,171372,3,40817,40900,57,7610,2,1,'2023-02-07','2023-02-07',10600.13,1,855.00,'PAGO CONTADO  0001 - 001893',NULL,NULL,NULL,NULL,NULL),(171373,NULL,0,NULL,NULL,21,40817,40900,57,7610,1,1,'2023-02-07','2023-02-07',10600.13,1,855.00,'FACTURA A 0016 - 022519',NULL,NULL,NULL,NULL,NULL),(171374,NULL,0,NULL,NULL,21,40817,40900,57,7610,1,1,'2023-02-07','2023-02-07',159.00,1,855.00,'FACTURA A 0016 - 022547',NULL,NULL,NULL,NULL,NULL),(171375,NULL,0,NULL,171375,3,40817,40900,57,7610,2,1,'2023-02-08','2023-02-08',154707.86,1,855.00,'PAGO  0004 - 001815',NULL,NULL,NULL,NULL,NULL),(171376,NULL,0,NULL,NULL,21,40817,40900,57,7610,1,1,'2023-02-09','2023-02-09',5000.00,1,855.00,'FACTURA A 0019 - 028168',NULL,NULL,NULL,NULL,NULL),(171377,NULL,0,NULL,171377,3,40817,40900,57,7610,2,1,'2023-02-09','2023-02-09',5000.00,1,855.00,'PAGO CONTADO  0001 - 001818',NULL,NULL,NULL,NULL,NULL),(171378,NULL,0,NULL,NULL,21,40817,40900,57,7610,1,1,'2023-02-14','2023-02-14',47213.40,1,855.00,'FACTURA A 0016 - 022573',NULL,NULL,NULL,NULL,NULL),(171379,NULL,0,NULL,NULL,21,40817,40900,57,7610,1,1,'2023-02-14','2023-02-14',708.00,1,855.00,'FACTURA A 0016 - 022601',NULL,NULL,NULL,NULL,NULL),(171380,NULL,0,NULL,NULL,21,40817,40900,57,7610,1,1,'2023-02-22','2023-02-22',19201.33,1,855.00,'FACTURA A 0016 - 022625',NULL,NULL,NULL,NULL,NULL),(171381,NULL,0,NULL,NULL,21,40817,40900,57,7610,1,1,'2023-02-22','2023-02-22',26778.90,1,855.00,'FACTURA A 0016 - 022628',NULL,NULL,NULL,NULL,NULL),(171382,NULL,0,NULL,NULL,21,40817,40900,57,7610,1,1,'2023-02-22','2023-02-22',288.00,1,855.00,'FACTURA A 0016 - 022651',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171383,NULL,0,NULL,NULL,21,40817,40900,57,7610,1,1,'2023-02-22','2023-02-22',399.80,1,855.00,'FACTURA A 0016 - 022653',NULL,NULL,NULL,NULL,NULL),(171384,NULL,0,NULL,NULL,21,40817,40900,57,7610,1,1,'2023-02-28','2023-02-28',55025.46,1,855.00,'FACTURA A 0016 - 022679',NULL,NULL,NULL,NULL,NULL),(171385,NULL,0,NULL,NULL,21,40817,40900,57,7610,1,1,'2023-02-28','2023-02-28',31695.43,1,855.00,'FACTURA A 0016 - 022682',NULL,NULL,NULL,NULL,NULL),(171386,NULL,0,NULL,NULL,21,40817,40900,57,7610,1,1,'2023-02-28','2023-02-28',825.00,1,855.00,'FACTURA A 0016 - 022711',NULL,NULL,NULL,NULL,NULL),(171387,NULL,0,NULL,NULL,21,40817,40900,57,7610,1,1,'2023-02-28','2023-02-28',475.00,1,855.00,'FACTURA A 0016 - 022713',NULL,NULL,NULL,NULL,NULL),(171388,NULL,0,NULL,171388,3,40817,40900,57,7610,2,1,'2023-02-28','2023-02-28',94748.43,1,855.00,'PAGO  0004 - 001877',NULL,NULL,NULL,NULL,NULL),(171389,NULL,0,NULL,171389,3,40817,40900,57,7611,2,1,'2023-03-07','2023-03-07',88020.89,1,855.00,'PAGO  0004 - 001897',NULL,NULL,NULL,NULL,NULL),(171390,NULL,0,NULL,NULL,21,40817,40900,57,7611,1,1,'2023-03-07','2023-03-07',20329.03,1,855.00,'FACTURA A 0016 - 022744',NULL,NULL,NULL,NULL,NULL),(171391,NULL,0,NULL,NULL,21,40817,40900,57,7611,1,1,'2023-03-07','2023-03-07',305.00,1,855.00,'FACTURA A 0016 - 022769',NULL,NULL,NULL,NULL,NULL),(171392,NULL,0,NULL,NULL,21,40817,40900,57,7611,1,1,'2023-03-15','2023-03-15',32841.84,1,855.00,'FACTURA A 0016 - 022798',NULL,NULL,NULL,NULL,NULL),(171393,NULL,0,NULL,NULL,21,40817,40900,57,7611,1,1,'2023-03-15','2023-03-15',38211.59,1,855.00,'FACTURA A 0016 - 022801',NULL,NULL,NULL,NULL,NULL),(171394,NULL,0,NULL,NULL,21,40817,40900,57,7611,1,1,'2023-03-15','2023-03-15',493.00,1,855.00,'FACTURA A 0016 - 022828',NULL,NULL,NULL,NULL,NULL),(171395,NULL,0,NULL,NULL,21,40817,40900,57,7611,1,1,'2023-03-15','2023-03-15',573.00,1,855.00,'FACTURA A 0016 - 022830',NULL,NULL,NULL,NULL,NULL),(171396,NULL,0,NULL,171396,3,40817,40900,57,7611,2,1,'2023-03-16','2023-03-16',20634.03,1,855.00,'PAGO  0004 - 001963',NULL,NULL,NULL,NULL,NULL),(171397,NULL,0,NULL,NULL,21,40817,40900,57,7611,1,1,'2023-03-21','2023-03-21',74303.06,1,855.00,'FACTURA A 0016 - 022860',NULL,NULL,NULL,NULL,NULL),(171398,NULL,0,NULL,NULL,21,40817,40900,57,7611,1,1,'2023-03-21','2023-03-21',1114.50,1,855.00,'FACTURA A 0016 - 022888',NULL,NULL,NULL,NULL,NULL),(171399,NULL,0,NULL,171399,3,40817,40900,57,7611,2,1,'2023-03-22','2023-03-22',72119.43,1,855.00,'PAGO  0004 - 001997',NULL,NULL,NULL,NULL,NULL),(171400,NULL,0,NULL,171400,3,40817,40900,57,7611,2,1,'2023-03-23','2023-03-23',75417.56,1,855.00,'PAGO  0004 - 002002',NULL,NULL,NULL,NULL,NULL),(171401,NULL,0,NULL,NULL,21,40817,40900,57,7611,1,1,'2023-03-28','2023-03-28',90871.86,1,855.00,'FACTURA A 0016 - 022917',NULL,NULL,NULL,NULL,NULL),(171402,NULL,0,NULL,NULL,21,40817,40900,57,7611,1,1,'2023-03-28','2023-03-28',1363.00,1,855.00,'FACTURA A 0016 - 022946',NULL,NULL,NULL,NULL,NULL),(171403,NULL,0,NULL,171403,3,40817,40900,57,7611,2,1,'2023-03-31','2023-03-31',74010.99,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000105',NULL,NULL,NULL,NULL,NULL),(171404,NULL,0,NULL,NULL,21,40817,40900,57,7611,1,1,'2023-03-31','2023-03-31',74010.99,1,855.00,'FACTURA A 0016 - 022976',NULL,NULL,NULL,NULL,NULL),(171405,NULL,0,NULL,NULL,21,40817,40900,57,7612,1,1,'2023-04-01','2023-04-01',1110.00,1,855.00,'FACTURA A 0016 - 023004',NULL,NULL,NULL,NULL,NULL),(171406,NULL,0,NULL,NULL,21,40817,40900,57,7612,1,1,'2023-04-01','2023-04-01',74010.99,1,855.00,'FACTURA A 0016 - 022976',NULL,NULL,NULL,NULL,NULL),(171407,NULL,0,NULL,171407,3,40817,40900,57,7612,2,1,'2023-04-03','2023-04-03',92234.86,1,855.00,'PAGO  0004 - 002049',NULL,NULL,NULL,NULL,NULL),(171408,NULL,0,NULL,NULL,21,40817,40900,57,7612,1,1,'2023-04-04','2023-04-04',15801.04,1,855.00,'FACTURA A 0016 - 023029',NULL,NULL,NULL,NULL,NULL),(171409,NULL,0,NULL,NULL,21,40817,40900,57,7612,1,1,'2023-04-04','2023-04-04',237.00,1,855.00,'FACTURA A 0016 - 023047',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171410,NULL,0,NULL,171410,3,40817,40900,57,7612,2,1,'2023-04-10','2023-04-10',91159.03,1,855.00,'PAGO  0004 - 002070',NULL,NULL,NULL,NULL,NULL),(171411,NULL,0,NULL,NULL,21,40817,40900,57,7612,1,1,'2023-04-11','2023-04-11',57308.31,1,855.00,'FACTURA A 0016 - 023072',NULL,NULL,NULL,NULL,NULL),(171412,NULL,0,NULL,NULL,21,40817,40900,57,7612,1,1,'2023-04-11','2023-04-11',859.62,1,855.00,'FACTURA A 0016 - 023101',NULL,NULL,NULL,NULL,NULL),(171413,NULL,0,NULL,171413,3,40817,40900,57,7612,2,1,'2023-04-14','2023-04-14',58167.93,1,855.00,'PAGO  0004 - 002109',NULL,NULL,NULL,NULL,NULL),(171414,NULL,0,NULL,NULL,21,40817,40900,57,7612,1,1,'2023-04-18','2023-04-18',93312.54,1,855.00,'FACTURA A 0016 - 023138',NULL,NULL,NULL,NULL,NULL),(171415,NULL,0,NULL,NULL,21,40817,40900,57,7612,1,1,'2023-04-18','2023-04-18',1399.60,1,855.00,'FACTURA A 0016 - 023168',NULL,NULL,NULL,NULL,NULL),(171416,NULL,0,NULL,NULL,21,40817,40900,57,7612,1,1,'2023-04-25','2023-04-25',30005.11,1,855.00,'FACTURA A 0016 - 023194',NULL,NULL,NULL,NULL,NULL),(171417,NULL,0,NULL,NULL,21,40817,40900,57,7612,1,1,'2023-04-25','2023-04-25',46460.85,1,855.00,'FACTURA A 0016 - 023197',NULL,NULL,NULL,NULL,NULL),(171418,NULL,0,NULL,NULL,21,40817,40900,57,7612,1,1,'2023-04-25','2023-04-25',450.00,1,855.00,'FACTURA A 0016 - 023226',NULL,NULL,NULL,NULL,NULL),(171419,NULL,0,NULL,NULL,21,40817,40900,57,7612,1,1,'2023-04-25','2023-04-25',697.00,1,855.00,'FACTURA A 0016 - 023228',NULL,NULL,NULL,NULL,NULL),(171420,NULL,0,NULL,171420,3,40817,40900,57,7612,2,1,'2023-04-26','2023-04-26',172325.10,1,855.00,'PAGO  0004 - 002159',NULL,NULL,NULL,NULL,NULL),(171421,NULL,0,NULL,NULL,21,40817,40900,57,7612,1,1,'2023-04-27','2023-04-27',3890.65,1,855.00,'FACTURA A 0016 - 023258',NULL,NULL,NULL,NULL,NULL),(171422,NULL,0,NULL,NULL,21,40817,40900,57,7612,1,1,'2023-04-27','2023-04-27',22151.34,1,855.00,'FACTURA A 0016 - 023259',NULL,NULL,NULL,NULL,NULL),(171423,NULL,0,NULL,NULL,21,40817,40900,57,7612,1,1,'2023-04-30','2023-04-30',16647.00,1,855.00,'FACTURA A 0016 - 023279',NULL,NULL,NULL,NULL,NULL),(171424,NULL,0,NULL,NULL,21,40817,40900,57,7612,1,1,'2023-04-30','2023-04-30',45193.76,1,855.00,'FACTURA A 0016 - 023282',NULL,NULL,NULL,NULL,NULL),(171425,NULL,0,NULL,NULL,21,40817,40900,57,7612,1,1,'2023-04-30','2023-04-30',249.70,1,855.00,'FACTURA A 0016 - 023310',NULL,NULL,NULL,NULL,NULL),(171426,NULL,0,NULL,NULL,21,40817,40900,57,7612,1,1,'2023-04-30','2023-04-30',677.90,1,855.00,'FACTURA A 0016 - 023312',NULL,NULL,NULL,NULL,NULL),(171427,NULL,0,NULL,NULL,21,40817,40900,57,7613,1,1,'2023-05-03','2023-05-03',28664.00,1,855.00,'FACTURA A 0016 - 023338',NULL,NULL,NULL,NULL,NULL),(171428,NULL,0,NULL,NULL,21,40817,40900,57,7613,1,1,'2023-05-03','2023-05-03',429.90,1,855.00,'FACTURA A 0016 - 023363',NULL,NULL,NULL,NULL,NULL),(171429,NULL,0,NULL,NULL,21,40817,40900,57,7613,1,1,'2023-05-09','2023-05-09',11502.21,1,855.00,'FACTURA A 0016 - 023386',NULL,NULL,NULL,NULL,NULL),(171430,NULL,0,NULL,NULL,21,40817,40900,57,7613,1,1,'2023-05-09','2023-05-09',76494.57,1,855.00,'FACTURA A 0016 - 023389',NULL,NULL,NULL,NULL,NULL),(171431,NULL,0,NULL,NULL,21,40817,40900,57,7613,1,1,'2023-05-09','2023-05-09',172.50,1,855.00,'FACTURA A 0016 - 023417',NULL,NULL,NULL,NULL,NULL),(171432,NULL,0,NULL,NULL,21,40817,40900,57,7613,1,1,'2023-05-09','2023-05-09',1147.00,1,855.00,'FACTURA A 0016 - 023419',NULL,NULL,NULL,NULL,NULL),(171433,NULL,0,NULL,171433,3,40817,40900,57,7613,2,1,'2023-05-09','2023-05-09',91862.26,1,855.00,'PAGO  0004 - 002214',NULL,NULL,NULL,NULL,NULL),(171434,NULL,0,NULL,171434,3,40817,40900,57,7613,2,1,'2023-05-12','2023-05-12',115358.27,1,855.00,'PAGO  0004 - 002245',NULL,NULL,NULL,NULL,NULL),(171435,NULL,0,NULL,171435,3,40817,40900,57,7613,2,1,'2023-05-15','2023-05-15',7899.57,1,855.00,'PAGO CONTADO  0001 - 002203',NULL,NULL,NULL,NULL,NULL),(171436,NULL,0,NULL,NULL,21,40817,40900,57,7613,1,1,'2023-05-15','2023-05-15',7899.57,1,855.00,'FACTURA A 0019 - 030313',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171437,NULL,0,NULL,NULL,21,40817,40900,57,7613,1,1,'2023-05-16','2023-05-16',23379.31,1,855.00,'FACTURA A 0016 - 023449',NULL,NULL,NULL,NULL,NULL),(171438,NULL,0,NULL,NULL,21,40817,40900,57,7613,1,1,'2023-05-16','2023-05-16',37445.83,1,855.00,'FACTURA A 0016 - 023452',NULL,NULL,NULL,NULL,NULL),(171439,NULL,0,NULL,NULL,21,40817,40900,57,7613,1,1,'2023-05-16','2023-05-16',350.60,1,855.00,'FACTURA A 0016 - 023481',NULL,NULL,NULL,NULL,NULL),(171440,NULL,0,NULL,NULL,21,40817,40900,57,7613,1,1,'2023-05-16','2023-05-16',561.60,1,855.00,'FACTURA A 0016 - 023483',NULL,NULL,NULL,NULL,NULL),(171441,NULL,0,NULL,171441,3,40817,40900,57,7613,2,1,'2023-05-19','2023-05-19',61737.34,1,855.00,'PAGO  0004 - 002286',NULL,NULL,NULL,NULL,NULL),(171442,NULL,0,NULL,NULL,21,40817,40900,57,7613,1,1,'2023-05-23','2023-05-23',100056.08,1,855.00,'FACTURA A 0016 - 023516',NULL,NULL,NULL,NULL,NULL),(171443,NULL,0,NULL,NULL,21,40817,40900,57,7613,1,1,'2023-05-23','2023-05-23',1494.20,1,855.00,'FACTURA A 0016 - 023548',NULL,NULL,NULL,NULL,NULL),(171444,NULL,0,NULL,NULL,21,40817,40900,57,7613,1,1,'2023-05-31','2023-05-31',23657.06,1,855.00,'FACTURA A 0016 - 023577',NULL,NULL,NULL,NULL,NULL),(171445,NULL,0,NULL,NULL,21,40817,40900,57,7613,1,1,'2023-05-31','2023-05-31',92882.34,1,855.00,'FACTURA A 0016 - 023580',NULL,NULL,NULL,NULL,NULL),(171446,NULL,0,NULL,NULL,21,40817,40900,57,7613,1,1,'2023-05-31','2023-05-31',354.80,1,855.00,'FACTURA A 0016 - 023609',NULL,NULL,NULL,NULL,NULL),(171447,NULL,0,NULL,NULL,21,40817,40900,57,7613,1,1,'2023-05-31','2023-05-31',1387.00,1,855.00,'FACTURA A 0016 - 023611',NULL,NULL,NULL,NULL,NULL),(171448,NULL,0,NULL,171448,3,40817,40900,57,7614,2,1,'2023-06-02','2023-06-02',219831.48,1,855.00,'PAGO  0004 - 002344',NULL,NULL,NULL,NULL,NULL),(171449,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-02','2023-06-02',24311.65,1,855.00,'FACTURA A 0026 - 017918',NULL,NULL,NULL,NULL,NULL),(171450,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-02','2023-06-02',29259.13,1,855.00,'FACTURA A 0026 - 017920',NULL,NULL,NULL,NULL,NULL),(171451,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-02','2023-06-02',52025.75,1,855.00,'FACTURA A 0026 - 017922',NULL,NULL,NULL,NULL,NULL),(171452,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-02','2023-06-02',54999.99,1,855.00,'FACTURA A 0026 - 017926',NULL,NULL,NULL,NULL,NULL),(171453,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-02','2023-06-02',17544.15,1,855.00,'FACTURA A 0026 - 017927',NULL,NULL,NULL,NULL,NULL),(171454,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-02','2023-06-02',54999.98,1,855.00,'FACTURA A 0026 - 017929',NULL,NULL,NULL,NULL,NULL),(171455,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-02','2023-06-02',54999.98,1,855.00,'FACTURA A 0026 - 017931',NULL,NULL,NULL,NULL,NULL),(171456,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-02','2023-06-02',54999.98,1,855.00,'FACTURA A 0026 - 017934',NULL,NULL,NULL,NULL,NULL),(171457,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-02','2023-06-02',17636.36,1,855.00,'FACTURA A 0026 - 017935',NULL,NULL,NULL,NULL,NULL),(171458,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-02','2023-06-02',23854.43,1,855.00,'FACTURA A 0026 - 017937',NULL,NULL,NULL,NULL,NULL),(171459,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-06','2023-06-06',36714.80,1,855.00,'FACTURA A 0026 - 018030',NULL,NULL,NULL,NULL,NULL),(171460,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-06','2023-06-06',25206.62,1,855.00,'FACTURA A 0026 - 018031',NULL,NULL,NULL,NULL,NULL),(171461,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-06','2023-06-06',22053.84,1,855.00,'FACTURA A 0026 - 018032',NULL,NULL,NULL,NULL,NULL),(171462,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-06','2023-06-06',10798.65,1,855.00,'FACTURA A 0026 - 018033',NULL,NULL,NULL,NULL,NULL),(171463,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-06','2023-06-06',54999.99,1,855.00,'FACTURA A 0026 - 018034',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171464,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-06','2023-06-06',14668.57,1,855.00,'FACTURA A 0026 - 018035',NULL,NULL,NULL,NULL,NULL),(171465,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-06','2023-06-06',54999.98,1,855.00,'FACTURA A 0026 - 018036',NULL,NULL,NULL,NULL,NULL),(171466,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-06','2023-06-06',3055.71,1,855.00,'FACTURA A 0026 - 018037',NULL,NULL,NULL,NULL,NULL),(171467,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-06','2023-06-06',52106.31,1,855.00,'FACTURA A 0026 - 018038',NULL,NULL,NULL,NULL,NULL),(171468,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-06','2023-06-06',32560.42,1,855.00,'FACTURA A 0026 - 018039',NULL,NULL,NULL,NULL,NULL),(171469,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-06','2023-06-06',54999.99,1,855.00,'FACTURA A 0026 - 018040',NULL,NULL,NULL,NULL,NULL),(171470,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-06','2023-06-06',32721.37,1,855.00,'FACTURA A 0026 - 018041',NULL,NULL,NULL,NULL,NULL),(171471,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-06','2023-06-06',22965.75,1,855.00,'FACTURA A 0016 - 023638',NULL,NULL,NULL,NULL,NULL),(171472,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-06','2023-06-06',50548.61,1,855.00,'FACTURA A 0016 - 023641',NULL,NULL,NULL,NULL,NULL),(171473,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-06','2023-06-06',344.50,1,855.00,'FACTURA A 0016 - 023668',NULL,NULL,NULL,NULL,NULL),(171474,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-06','2023-06-06',758.00,1,855.00,'FACTURA A 0016 - 023670',NULL,NULL,NULL,NULL,NULL),(171475,NULL,0,NULL,171475,3,40817,40900,57,7614,2,1,'2023-06-07','2023-06-07',779517.65,1,855.00,'PAGO  0004 - 002362',NULL,NULL,NULL,NULL,NULL),(171476,NULL,0,NULL,171476,3,40817,40900,57,7614,2,1,'2023-06-08','2023-06-08',74616.86,1,855.00,'PAGO  0004 - 002372',NULL,NULL,NULL,NULL,NULL),(171477,NULL,0,NULL,171477,3,40817,40900,57,7614,2,1,'2023-06-12','2023-06-12',9000.50,1,855.00,'PAGO CONTADO  0001 - 002282',NULL,NULL,NULL,NULL,NULL),(171478,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-12','2023-06-12',9000.50,1,855.00,'FACTURA A 0019 - 030929',NULL,NULL,NULL,NULL,NULL),(171479,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-13','2023-06-13',88199.90,1,855.00,'FACTURA A 0016 - 023698',NULL,NULL,NULL,NULL,NULL),(171480,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-13','2023-06-13',66203.12,1,855.00,'FACTURA A 0016 - 023701',NULL,NULL,NULL,NULL,NULL),(171481,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-13','2023-06-13',6390.19,1,855.00,'FACTURA A 0016 - 023722',NULL,NULL,NULL,NULL,NULL),(171482,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-13','2023-06-13',1323.00,1,855.00,'FACTURA A 0016 - 023733',NULL,NULL,NULL,NULL,NULL),(171483,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-13','2023-06-13',993.00,1,855.00,'FACTURA A 0016 - 023735',NULL,NULL,NULL,NULL,NULL),(171484,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-13','2023-06-13',96.00,1,855.00,'FACTURA A 0016 - 023753',NULL,NULL,NULL,NULL,NULL),(171485,NULL,0,NULL,171485,3,40817,40900,57,7614,2,1,'2023-06-16','2023-06-16',163511.38,1,855.00,'PAGO  0004 - 002433',NULL,NULL,NULL,NULL,NULL),(171486,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-20','2023-06-20',101756.65,1,855.00,'FACTURA A 0016 - 023769',NULL,NULL,NULL,NULL,NULL),(171487,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-20','2023-06-20',1526.00,1,855.00,'FACTURA A 0016 - 023799',NULL,NULL,NULL,NULL,NULL),(171488,NULL,0,NULL,171488,3,40817,40900,57,7614,2,1,'2023-06-22','2023-06-22',102976.48,1,855.00,'PAGO  0004 - 002447',NULL,NULL,NULL,NULL,NULL),(171489,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-27','2023-06-27',49255.52,1,855.00,'FACTURA A 0016 - 023826',NULL,NULL,NULL,NULL,NULL),(171490,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-27','2023-06-27',88843.32,1,855.00,'FACTURA A 0016 - 023829',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171491,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-27','2023-06-27',739.00,1,855.00,'FACTURA A 0016 - 023860',NULL,NULL,NULL,NULL,NULL),(171492,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-27','2023-06-27',1332.60,1,855.00,'FACTURA A 0016 - 023862',NULL,NULL,NULL,NULL,NULL),(171493,NULL,0,NULL,171493,3,40817,40900,57,7614,2,1,'2023-06-28','2023-06-28',140170.44,1,855.00,'PAGO  0004 - 002486',NULL,NULL,NULL,NULL,NULL),(171494,NULL,0,NULL,171494,3,40817,40900,57,7614,2,1,'2023-06-30','2023-06-30',9000.33,1,855.00,'PAGO CONTADO  0001 - 002366',NULL,NULL,NULL,NULL,NULL),(171495,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-30','2023-06-30',9000.33,1,855.00,'FACTURA A 0025 - 014297',NULL,NULL,NULL,NULL,NULL),(171496,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-30','2023-06-30',30751.27,1,855.00,'FACTURA A 0016 - 023894',NULL,NULL,NULL,NULL,NULL),(171497,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-30','2023-06-30',124826.73,1,855.00,'FACTURA A 0016 - 023898',NULL,NULL,NULL,NULL,NULL),(171498,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-30','2023-06-30',461.00,1,855.00,'FACTURA A 0016 - 023926',NULL,NULL,NULL,NULL,NULL),(171499,NULL,0,NULL,NULL,21,40817,40900,57,7614,1,1,'2023-06-30','2023-06-30',1872.40,1,855.00,'FACTURA A 0016 - 023929',NULL,NULL,NULL,NULL,NULL),(171500,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-03','2023-07-03',25211.52,1,855.00,'FACTURA A 0026 - 018574',NULL,NULL,NULL,NULL,NULL),(171501,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-03','2023-07-03',51121.51,1,855.00,'FACTURA A 0026 - 018575',NULL,NULL,NULL,NULL,NULL),(171502,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-03','2023-07-03',50039.88,1,855.00,'FACTURA A 0026 - 018576',NULL,NULL,NULL,NULL,NULL),(171503,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-03','2023-07-03',55000.00,1,855.00,'FACTURA A 0026 - 018577',NULL,NULL,NULL,NULL,NULL),(171504,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-03','2023-07-03',2604.58,1,855.00,'FACTURA A 0026 - 018578',NULL,NULL,NULL,NULL,NULL),(171505,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-03','2023-07-03',24848.36,1,855.00,'FACTURA A 0026 - 018579',NULL,NULL,NULL,NULL,NULL),(171506,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-03','2023-07-03',53103.98,1,855.00,'FACTURA A 0026 - 018580',NULL,NULL,NULL,NULL,NULL),(171507,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-03','2023-07-03',36181.59,1,855.00,'FACTURA A 0026 - 018581',NULL,NULL,NULL,NULL,NULL),(171508,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-03','2023-07-03',55000.00,1,855.00,'FACTURA A 0026 - 018582',NULL,NULL,NULL,NULL,NULL),(171509,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-03','2023-07-03',11599.05,1,855.00,'FACTURA A 0026 - 018583',NULL,NULL,NULL,NULL,NULL),(171510,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-03','2023-07-03',25201.84,1,855.00,'FACTURA A 0026 - 018584',NULL,NULL,NULL,NULL,NULL),(171511,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-04','2023-07-04',38413.20,1,855.00,'FACTURA A 0016 - 023950',NULL,NULL,NULL,NULL,NULL),(171512,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-04','2023-07-04',25267.64,1,855.00,'FACTURA A 0016 - 023953',NULL,NULL,NULL,NULL,NULL),(171513,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-04','2023-07-04',576.00,1,855.00,'FACTURA A 0016 - 023973',NULL,NULL,NULL,NULL,NULL),(171514,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-04','2023-07-04',379.00,1,855.00,'FACTURA A 0016 - 023975',NULL,NULL,NULL,NULL,NULL),(171515,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-06','2023-07-06',55000.00,1,855.00,'FACTURA A 0026 - 018650',NULL,NULL,NULL,NULL,NULL),(171516,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-06','2023-07-06',10786.33,1,855.00,'FACTURA A 0026 - 018651',NULL,NULL,NULL,NULL,NULL),(171517,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-06','2023-07-06',55000.00,1,855.00,'FACTURA A 0026 - 018653',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171518,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-06','2023-07-06',55000.00,1,855.00,'FACTURA A 0026 - 018654',NULL,NULL,NULL,NULL,NULL),(171519,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-06','2023-07-06',8917.99,1,855.00,'FACTURA A 0026 - 018655',NULL,NULL,NULL,NULL,NULL),(171520,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-06','2023-07-06',22513.91,1,855.00,'FACTURA A 0026 - 018658',NULL,NULL,NULL,NULL,NULL),(171521,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-06','2023-07-06',30196.24,1,855.00,'FACTURA A 0026 - 018660',NULL,NULL,NULL,NULL,NULL),(171522,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-06','2023-07-06',38841.89,1,855.00,'FACTURA A 0026 - 018662',NULL,NULL,NULL,NULL,NULL),(171523,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-06','2023-07-06',22513.91,1,855.00,'FACTURA A 0026 - 018725',NULL,NULL,NULL,NULL,NULL),(171524,NULL,0,NULL,171524,3,40817,40900,57,7615,2,1,'2023-07-06','2023-07-06',22513.91,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000130',NULL,NULL,NULL,NULL,NULL),(171525,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-10','2023-07-10',25748.98,1,855.00,'FACTURA A 0026 - 018726',NULL,NULL,NULL,NULL,NULL),(171526,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-10','2023-07-10',11158.24,1,855.00,'FACTURA A 0026 - 018727',NULL,NULL,NULL,NULL,NULL),(171527,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-10','2023-07-10',54999.98,1,855.00,'FACTURA A 0026 - 018728',NULL,NULL,NULL,NULL,NULL),(171528,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-10','2023-07-10',8899.27,1,855.00,'FACTURA A 0026 - 018729',NULL,NULL,NULL,NULL,NULL),(171529,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-10','2023-07-10',55000.01,1,855.00,'FACTURA A 0026 - 018730',NULL,NULL,NULL,NULL,NULL),(171530,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-10','2023-07-10',18992.51,1,855.00,'FACTURA A 0026 - 018731',NULL,NULL,NULL,NULL,NULL),(171531,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-10','2023-07-10',46079.70,1,855.00,'FACTURA A 0026 - 018732',NULL,NULL,NULL,NULL,NULL),(171532,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-10','2023-07-10',55000.01,1,855.00,'FACTURA A 0026 - 018733',NULL,NULL,NULL,NULL,NULL),(171533,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-10','2023-07-10',30857.20,1,855.00,'FACTURA A 0026 - 018734',NULL,NULL,NULL,NULL,NULL),(171534,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-10','2023-07-10',11431.02,1,855.00,'FACTURA A 0026 - 018735',NULL,NULL,NULL,NULL,NULL),(171535,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-10','2023-07-10',55000.01,1,855.00,'FACTURA A 0026 - 018736',NULL,NULL,NULL,NULL,NULL),(171536,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-10','2023-07-10',54999.98,1,855.00,'FACTURA A 0026 - 018738',NULL,NULL,NULL,NULL,NULL),(171537,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-10','2023-07-10',3964.96,1,855.00,'FACTURA A 0026 - 018739',NULL,NULL,NULL,NULL,NULL),(171538,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-10','2023-07-10',55000.01,1,855.00,'FACTURA A 0026 - 018740',NULL,NULL,NULL,NULL,NULL),(171539,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-10','2023-07-10',6477.33,1,855.00,'FACTURA A 0026 - 018741',NULL,NULL,NULL,NULL,NULL),(171540,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-10','2023-07-10',54999.98,1,855.00,'FACTURA A 0026 - 018742',NULL,NULL,NULL,NULL,NULL),(171541,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-10','2023-07-10',15869.46,1,855.00,'FACTURA A 0026 - 018743',NULL,NULL,NULL,NULL,NULL),(171542,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-10','2023-07-10',11273.95,1,855.00,'FACTURA A 0029 - 018737',NULL,NULL,NULL,NULL,NULL),(171543,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-10','2023-07-10',28806.70,1,855.00,'FACTURA A 0026 - 018725',NULL,NULL,NULL,NULL,NULL),(171544,NULL,0,NULL,171544,3,40817,40900,57,7615,2,1,'2023-07-11','2023-07-11',247425.41,1,855.00,'PAGO  0004 - 002524',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171545,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-11','2023-07-11',86299.91,1,855.00,'FACTURA A 0016 - 024000',NULL,NULL,NULL,NULL,NULL),(171546,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-11','2023-07-11',92467.17,1,855.00,'FACTURA A 0016 - 024005',NULL,NULL,NULL,NULL,NULL),(171547,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-11','2023-07-11',1265.00,1,855.00,'FACTURA A 0016 - 024035',NULL,NULL,NULL,NULL,NULL),(171548,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-11','2023-07-11',1338.00,1,855.00,'FACTURA A 0016 - 024039',NULL,NULL,NULL,NULL,NULL),(171549,NULL,0,NULL,171549,3,40817,40900,57,7615,2,1,'2023-07-13','2023-07-13',156491.91,1,855.00,'PAGO  0004 - 002558',NULL,NULL,NULL,NULL,NULL),(171550,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-13','2023-07-13',55000.01,1,855.00,'FACTURA A 0026 - 018819',NULL,NULL,NULL,NULL,NULL),(171551,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-13','2023-07-13',54719.32,1,855.00,'FACTURA A 0026 - 018820',NULL,NULL,NULL,NULL,NULL),(171552,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-13','2023-07-13',33748.05,1,855.00,'FACTURA A 0026 - 018822',NULL,NULL,NULL,NULL,NULL),(171553,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-13','2023-07-13',19799.98,1,855.00,'FACTURA A 0026 - 018824',NULL,NULL,NULL,NULL,NULL),(171554,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-13','2023-07-13',55000.01,1,855.00,'FACTURA A 0026 - 018826',NULL,NULL,NULL,NULL,NULL),(171555,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-13','2023-07-13',37657.18,1,855.00,'FACTURA A 0026 - 018827',NULL,NULL,NULL,NULL,NULL),(171556,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-13','2023-07-13',55000.01,1,855.00,'FACTURA A 0026 - 018829',NULL,NULL,NULL,NULL,NULL),(171557,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-13','2023-07-13',10355.82,1,855.00,'FACTURA A 0026 - 018830',NULL,NULL,NULL,NULL,NULL),(171558,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-13','2023-07-13',37351.35,1,855.00,'FACTURA A 0026 - 018831',NULL,NULL,NULL,NULL,NULL),(171559,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-14','2023-07-14',8001.01,1,855.00,'FACTURA A 0021 - 025208',NULL,NULL,NULL,NULL,NULL),(171560,NULL,0,NULL,171560,3,40817,40900,57,7615,2,1,'2023-07-14','2023-07-14',8001.01,1,855.00,'PAGO CONTADO  0001 - 002394',NULL,NULL,NULL,NULL,NULL),(171561,NULL,0,NULL,171561,3,40817,40900,57,7615,2,1,'2023-07-17','2023-07-17',1629359.70,1,855.00,'PAGO  0004 - 002568',NULL,NULL,NULL,NULL,NULL),(171562,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-18','2023-07-18',122054.79,1,855.00,'FACTURA A 0016 - 024065',NULL,NULL,NULL,NULL,NULL),(171563,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-18','2023-07-18',47652.91,1,855.00,'FACTURA A 0016 - 024068',NULL,NULL,NULL,NULL,NULL),(171564,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-18','2023-07-18',1831.00,1,855.00,'FACTURA A 0016 - 024099',NULL,NULL,NULL,NULL,NULL),(171565,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-18','2023-07-18',715.00,1,855.00,'FACTURA A 0016 - 024101',NULL,NULL,NULL,NULL,NULL),(171566,NULL,0,NULL,171566,3,40817,40900,57,7615,2,1,'2023-07-20','2023-07-20',172253.70,1,855.00,'PAGO  0004 - 002587',NULL,NULL,NULL,NULL,NULL),(171567,NULL,0,NULL,171567,3,40817,40900,57,7615,2,1,'2023-07-20','2023-07-20',4999.93,1,855.00,'PAGO CONTADO  0001 - 002395',NULL,NULL,NULL,NULL,NULL),(171568,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-20','2023-07-20',4999.93,1,855.00,'FACTURA A 0024 - 015262',NULL,NULL,NULL,NULL,NULL),(171569,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-25','2023-07-25',63927.12,1,855.00,'FACTURA A 0016 - 024131',NULL,NULL,NULL,NULL,NULL),(171570,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-25','2023-07-25',101042.31,1,855.00,'FACTURA A 0016 - 024134',NULL,NULL,NULL,NULL,NULL),(171571,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-25','2023-07-25',959.00,1,855.00,'FACTURA A 0016 - 024166',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171572,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-25','2023-07-25',1515.60,1,855.00,'FACTURA A 0016 - 024168',NULL,NULL,NULL,NULL,NULL),(171573,NULL,0,NULL,171573,3,40817,40900,57,7615,2,1,'2023-07-26','2023-07-26',167444.03,1,855.00,'PAGO  0004 - 002618',NULL,NULL,NULL,NULL,NULL),(171574,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-31','2023-07-31',385793.87,1,855.00,'FACTURA A 0016 - 024200',NULL,NULL,NULL,NULL,NULL),(171575,NULL,0,NULL,NULL,21,40817,40900,57,7615,1,1,'2023-07-31','2023-07-31',1429252.47,1,855.00,'FACTURA A 0016 - 024203',NULL,NULL,NULL,NULL,NULL),(171576,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-01','2023-08-01',5786.90,1,855.00,'FACTURA A 0016 - 024234',NULL,NULL,NULL,NULL,NULL),(171577,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-01','2023-08-01',21438.80,1,855.00,'FACTURA A 0016 - 024235',NULL,NULL,NULL,NULL,NULL),(171578,NULL,0,NULL,171578,3,40817,40900,57,7616,2,1,'2023-08-01','2023-08-01',8400.75,1,855.00,'PAGO CONTADO  0001 - 002506',NULL,NULL,NULL,NULL,NULL),(171579,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-01','2023-08-01',8400.75,1,855.00,'FACTURA A 0019 - 031955',NULL,NULL,NULL,NULL,NULL),(171580,NULL,0,NULL,171580,3,40817,40900,57,7616,2,1,'2023-08-02','2023-08-02',1845179.06,1,855.00,'PAGO  0004 - 002647',NULL,NULL,NULL,NULL,NULL),(171581,NULL,0,NULL,171581,3,40817,40900,57,7616,2,1,'2023-08-08','2023-08-08',101028.91,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000136',NULL,NULL,NULL,NULL,NULL),(171582,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-08','2023-08-08',368163.28,1,855.00,'FACTURA A 0016 - 024264',NULL,NULL,NULL,NULL,NULL),(171583,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-08','2023-08-08',101028.91,1,855.00,'FACTURA A 0016 - 024268',NULL,NULL,NULL,NULL,NULL),(171584,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-08','2023-08-08',5475.50,1,855.00,'FACTURA A 0016 - 024300',NULL,NULL,NULL,NULL,NULL),(171585,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-08','2023-08-08',101028.91,1,855.00,'FACTURA A 0016 - 024300',NULL,NULL,NULL,NULL,NULL),(171586,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-08','2023-08-08',1515.00,1,855.00,'FACTURA A 0016 - 024303',NULL,NULL,NULL,NULL,NULL),(171587,NULL,0,NULL,171587,3,40817,40900,57,7616,2,1,'2023-08-10','2023-08-10',477687.16,1,855.00,'PAGO  0004 - 002711',NULL,NULL,NULL,NULL,NULL),(171588,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-15','2023-08-15',1114667.06,1,855.00,'FACTURA A 0016 - 024336',NULL,NULL,NULL,NULL,NULL),(171589,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-15','2023-08-15',64736.42,1,855.00,'FACTURA A 0016 - 024339',NULL,NULL,NULL,NULL,NULL),(171590,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-15','2023-08-15',16717.00,1,855.00,'FACTURA A 0016 - 024371',NULL,NULL,NULL,NULL,NULL),(171591,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-15','2023-08-15',971.00,1,855.00,'FACTURA A 0016 - 024373',NULL,NULL,NULL,NULL,NULL),(171592,NULL,0,NULL,171592,3,40817,40900,57,7616,2,1,'2023-08-17','2023-08-17',3760338.41,1,855.00,'PAGO  0004 - 002741',NULL,NULL,NULL,NULL,NULL),(171593,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-22','2023-08-22',1812434.42,1,855.00,'FACTURA A 0016 - 024406',NULL,NULL,NULL,NULL,NULL),(171594,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-22','2023-08-22',450564.77,1,855.00,'FACTURA A 0016 - 024410',NULL,NULL,NULL,NULL,NULL),(171595,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-22','2023-08-22',27186.50,1,855.00,'FACTURA A 0016 - 024442',NULL,NULL,NULL,NULL,NULL),(171596,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-22','2023-08-22',6758.50,1,855.00,'FACTURA A 0016 - 024445',NULL,NULL,NULL,NULL,NULL),(171597,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-29','2023-08-29',1163439.75,1,855.00,'FACTURA A 0016 - 024475',NULL,NULL,NULL,NULL,NULL),(171598,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-29','2023-08-29',133820.34,1,855.00,'FACTURA A 0016 - 024478',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171599,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-29','2023-08-29',17451.50,1,855.00,'FACTURA A 0016 - 024511',NULL,NULL,NULL,NULL,NULL),(171600,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-29','2023-08-29',2007.00,1,855.00,'FACTURA A 0016 - 024513',NULL,NULL,NULL,NULL,NULL),(171601,NULL,0,NULL,171601,3,40817,40900,57,7616,2,1,'2023-08-29','2023-08-29',1046004.36,1,855.00,'PAGO  0004 - 002783',NULL,NULL,NULL,NULL,NULL),(171602,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-31','2023-08-31',382103.50,1,855.00,'FACTURA A 0016 - 034544',NULL,NULL,NULL,NULL,NULL),(171603,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-31','2023-08-31',13700.34,1,855.00,'FACTURA A 0016 - 024547',NULL,NULL,NULL,NULL,NULL),(171604,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-31','2023-08-31',5731.50,1,855.00,'FACTURA A 0016 - 024578',NULL,NULL,NULL,NULL,NULL),(171605,NULL,0,NULL,NULL,21,40817,40900,57,7616,1,1,'2023-08-31','2023-08-31',205.50,1,855.00,'FACTURA A 0016 - 024580',NULL,NULL,NULL,NULL,NULL),(171606,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-05','2023-09-05',250286.97,1,855.00,'FACTURA A 0016 - 024612',NULL,NULL,NULL,NULL,NULL),(171607,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-05','2023-09-05',12789.90,1,855.00,'FACTURA A 0016 - 024615',NULL,NULL,NULL,NULL,NULL),(171608,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-05','2023-09-05',3754.50,1,855.00,'FACTURA A 0016 - 024644',NULL,NULL,NULL,NULL,NULL),(171609,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-05','2023-09-05',192.00,1,855.00,'FACTURA A 0016 - 024646',NULL,NULL,NULL,NULL,NULL),(171610,NULL,0,NULL,171610,3,40817,40900,57,7617,2,1,'2023-09-05','2023-09-05',494427.83,1,855.00,'PAGO  0004 - 002808',NULL,NULL,NULL,NULL,NULL),(171611,NULL,0,NULL,171611,3,40817,40900,57,7617,2,1,'2023-09-07','2023-09-07',174336.38,1,855.00,'PAGO  0004 - 002826',NULL,NULL,NULL,NULL,NULL),(171612,NULL,0,NULL,171612,3,40817,40900,57,7617,2,1,'2023-09-12','2023-09-12',69000.01,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000148',NULL,NULL,NULL,NULL,NULL),(171613,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-12','2023-09-12',69000.01,1,855.00,'FACTURA A 0016 - 024671',NULL,NULL,NULL,NULL,NULL),(171614,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-12','2023-09-12',706262.01,1,855.00,'FACTURA A 0016 - 024675',NULL,NULL,NULL,NULL,NULL),(171615,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-12','2023-09-12',51921.67,1,855.00,'FACTURA A 0016 - 024679',NULL,NULL,NULL,NULL,NULL),(171616,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-12','2023-09-12',10594.00,1,855.00,'FACTURA A 0016 - 024710',NULL,NULL,NULL,NULL,NULL),(171617,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-12','2023-09-12',778.80,1,855.00,'FACTURA A 0016 - 024713',NULL,NULL,NULL,NULL,NULL),(171618,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-15','2023-09-15',132294.48,1,855.00,'ANULACION DE PAGOS  0001 - 000152',NULL,NULL,NULL,NULL,NULL),(171619,NULL,0,NULL,171619,3,40817,40900,57,7617,2,1,'2023-09-15','2023-09-15',769556.48,1,855.00,'PAGO  0001 - 002653',NULL,NULL,NULL,NULL,NULL),(171620,NULL,0,NULL,171620,3,40817,40900,57,7617,2,1,'2023-09-15','2023-09-15',132294.48,1,855.00,'PAGO  0004 - 002898',NULL,NULL,NULL,NULL,NULL),(171621,NULL,0,NULL,171621,3,40817,40900,57,7617,2,1,'2023-09-19','2023-09-19',204020.97,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000150',NULL,NULL,NULL,NULL,NULL),(171622,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-19','2023-09-19',204020.97,1,855.00,'FACTURA A 0016 - 024734',NULL,NULL,NULL,NULL,NULL),(171623,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-19','2023-09-19',255583.92,1,855.00,'FACTURA A 0016 - 024743',NULL,NULL,NULL,NULL,NULL),(171624,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-19','2023-09-19',46604.78,1,855.00,'FACTURA A 0016 - 024747',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171625,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-19','2023-09-19',3833.70,1,855.00,'FACTURA A 0016 - 024779',NULL,NULL,NULL,NULL,NULL),(171626,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-19','2023-09-19',699.00,1,855.00,'FACTURA A 0016 - 024782',NULL,NULL,NULL,NULL,NULL),(171627,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',37075.84,1,855.00,'FACTURA A 0026 - 020369',NULL,NULL,NULL,NULL,NULL),(171628,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',58956.03,1,855.00,'FACTURA A 0026 - 020370',NULL,NULL,NULL,NULL,NULL),(171629,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',56611.61,1,855.00,'FACTURA A 0026 - 020371',NULL,NULL,NULL,NULL,NULL),(171630,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',62759.93,1,855.00,'FACTURA A 0026 - 020372',NULL,NULL,NULL,NULL,NULL),(171631,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',36470.35,1,855.00,'FACTURA A 0026 - 020373',NULL,NULL,NULL,NULL,NULL),(171632,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',64999.99,1,855.00,'FACTURA A 0026 - 020374',NULL,NULL,NULL,NULL,NULL),(171633,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',8353.38,1,855.00,'FACTURA A 0026 - 020375',NULL,NULL,NULL,NULL,NULL),(171634,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',64999.97,1,855.00,'FACTURA A 0026 - 020376',NULL,NULL,NULL,NULL,NULL),(171635,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',64999.97,1,855.00,'FACTURA A 0026 - 020377',NULL,NULL,NULL,NULL,NULL),(171636,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',64999.97,1,855.00,'FACTURA A 0026 - 020378',NULL,NULL,NULL,NULL,NULL),(171637,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',64999.97,1,855.00,'FACTURA A 0026 - 020379',NULL,NULL,NULL,NULL,NULL),(171638,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',41646.19,1,855.00,'FACTURA A 0026 - 020380',NULL,NULL,NULL,NULL,NULL),(171639,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',32336.55,1,855.00,'FACTURA A 0026 - 020381',NULL,NULL,NULL,NULL,NULL),(171640,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',62197.16,1,855.00,'FACTURA A 0026 - 020382',NULL,NULL,NULL,NULL,NULL),(171641,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',64999.99,1,855.00,'FACTURA A 0026 - 020383',NULL,NULL,NULL,NULL,NULL),(171642,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',63230.00,1,855.00,'FACTURA A 0026 - 020384',NULL,NULL,NULL,NULL,NULL),(171643,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',64999.97,1,855.00,'FACTURA A 0026 - 020385',NULL,NULL,NULL,NULL,NULL),(171644,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',14630.29,1,855.00,'FACTURA A 0026 - 020386',NULL,NULL,NULL,NULL,NULL),(171645,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',29336.92,1,855.00,'FACTURA A 0026 - 020387',NULL,NULL,NULL,NULL,NULL),(171646,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',23716.90,1,855.00,'FACTURA A 0026 - 020388',NULL,NULL,NULL,NULL,NULL),(171647,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',42299.74,1,855.00,'FACTURA A 0026 - 020389',NULL,NULL,NULL,NULL,NULL),(171648,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',50442.83,1,855.00,'FACTURA A 0026 - 020390',NULL,NULL,NULL,NULL,NULL),(171649,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',33924.29,1,855.00,'FACTURA A 0026 - 020391',NULL,NULL,NULL,NULL,NULL),(171650,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',13511.78,1,855.00,'FACTURA A 0026 - 020392',NULL,NULL,NULL,NULL,NULL),(171651,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',64999.97,1,855.00,'FACTURA A 0026 - 020393',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171652,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',38924.67,1,855.00,'FACTURA A 0026 - 020394',NULL,NULL,NULL,NULL,NULL),(171653,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-21','2023-09-21',23849.81,1,855.00,'FACTURA A 0026 - 020395',NULL,NULL,NULL,NULL,NULL),(171654,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-22','2023-09-22',255158.45,1,855.00,'ANULACION DE PAGOS  0001 - 000158',NULL,NULL,NULL,NULL,NULL),(171655,NULL,0,NULL,171655,3,40817,40900,57,7617,2,1,'2023-09-22','2023-09-22',255158.45,1,855.00,'PAGO  0004 - 002934',NULL,NULL,NULL,NULL,NULL),(171656,NULL,0,NULL,171656,3,40817,40900,57,7617,2,1,'2023-09-25','2023-09-25',1250923.03,1,855.00,'PAGO  0004 - 002936',NULL,NULL,NULL,NULL,NULL),(171657,NULL,0,NULL,171657,3,40817,40900,57,7617,2,1,'2023-09-25','2023-09-25',306721.40,1,855.00,'PAGO  0001 - 002699',NULL,NULL,NULL,NULL,NULL),(171658,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-26','2023-09-26',318816.14,1,855.00,'FACTURA A 0016 - 024816',NULL,NULL,NULL,NULL,NULL),(171659,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-26','2023-09-26',124335.23,1,855.00,'FACTURA A 0016 - 024819',NULL,NULL,NULL,NULL,NULL),(171660,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-26','2023-09-26',4782.00,1,855.00,'FACTURA A 0016 - 024853',NULL,NULL,NULL,NULL,NULL),(171661,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-26','2023-09-26',1865.00,1,855.00,'FACTURA A 0016 - 024855',NULL,NULL,NULL,NULL,NULL),(171662,NULL,0,NULL,171662,3,40817,40900,57,7617,2,1,'2023-09-27','2023-09-27',3021967.55,1,855.00,'PAGO  0004 - 002962',NULL,NULL,NULL,NULL,NULL),(171663,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-29','2023-09-29',10108.93,1,855.00,'NOTA DE DEBITO A 0016 - 000017',NULL,NULL,NULL,NULL,NULL),(171664,NULL,0,NULL,171664,3,40817,40900,57,7617,2,1,'2023-09-30','2023-09-30',2108.93,1,855.00,'NOTA DE CREDITO A 0016 - 000177',NULL,NULL,NULL,NULL,NULL),(171665,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-30','2023-09-30',1998355.63,1,855.00,'FACTURA A 0016 - 024888',NULL,NULL,NULL,NULL,NULL),(171666,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-30','2023-09-30',120222.61,1,855.00,'FACTURA A 0016 - 024892',NULL,NULL,NULL,NULL,NULL),(171667,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-30','2023-09-30',29975.00,1,855.00,'FACTURA A 0016 - 024924',NULL,NULL,NULL,NULL,NULL),(171668,NULL,0,NULL,NULL,21,40817,40900,57,7617,1,1,'2023-09-30','2023-09-30',1803.00,1,855.00,'FACTURA A 0016 - 024927',NULL,NULL,NULL,NULL,NULL),(171669,NULL,0,NULL,171669,3,40817,40900,57,7618,2,1,'2023-10-01','2023-10-01',10999.99,1,855.00,'PAGO CONTADO  0001 - 002874',NULL,NULL,NULL,NULL,NULL),(171670,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-01','2023-10-01',10999.99,1,855.00,'FACTURA A 0031 - 076043',NULL,NULL,NULL,NULL,NULL),(171671,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-03','2023-10-03',2108.93,1,855.00,'NOTA DE DEBITO A 0016 - 000018',NULL,NULL,NULL,NULL,NULL),(171672,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-03','2023-10-03',387187.15,1,855.00,'FACTURA A 0016 - 024951',NULL,NULL,NULL,NULL,NULL),(171673,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-03','2023-10-03',31380.05,1,855.00,'FACTURA A 0016 - 024953',NULL,NULL,NULL,NULL,NULL),(171674,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-03','2023-10-03',5807.80,1,855.00,'FACTURA A 0016 - 024970',NULL,NULL,NULL,NULL,NULL),(171675,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-03','2023-10-03',470.70,1,855.00,'FACTURA A 0016 - 024972',NULL,NULL,NULL,NULL,NULL),(171676,NULL,0,NULL,171676,3,40817,40900,57,7618,2,1,'2023-10-05','2023-10-05',41011.82,1,855.00,'PAGO  0004 - 002993',NULL,NULL,NULL,NULL,NULL),(171677,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-09','2023-10-09',16922.48,1,855.00,'FACTURA A 0022 - 050789',NULL,NULL,NULL,NULL,NULL),(171678,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-10','2023-10-10',1097449.71,1,855.00,'FACTURA A 0016 - 024997',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171679,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-10','2023-10-10',126878.35,1,855.00,'FACTURA A 0016 - 025001',NULL,NULL,NULL,NULL,NULL),(171680,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-10','2023-10-10',16461.70,1,855.00,'FACTURA A 0016 - 025035',NULL,NULL,NULL,NULL,NULL),(171681,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-10','2023-10-10',1903.17,1,855.00,'FACTURA A 0016 - 025038',NULL,NULL,NULL,NULL,NULL),(171682,NULL,0,NULL,171682,3,40817,40900,57,7618,2,1,'2023-10-11','2023-10-11',1414828.15,1,855.00,'PAGO  0004 - 003018',NULL,NULL,NULL,NULL,NULL),(171683,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-17','2023-10-17',506242.77,1,855.00,'FACTURA A 0016 - 025070',NULL,NULL,NULL,NULL,NULL),(171684,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-17','2023-10-17',61836.00,1,855.00,'FACTURA A 0016 - 025073',NULL,NULL,NULL,NULL,NULL),(171685,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-17','2023-10-17',7593.60,1,855.00,'FACTURA A 0016 - 025103',NULL,NULL,NULL,NULL,NULL),(171686,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-17','2023-10-17',927.50,1,855.00,'FACTURA A 0016 - 025105',NULL,NULL,NULL,NULL,NULL),(171687,NULL,0,NULL,171687,3,40817,40900,57,7618,2,1,'2023-10-18','2023-10-18',392868.04,1,855.00,'PAGO  0004 - 003065',NULL,NULL,NULL,NULL,NULL),(171688,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-24','2023-10-24',646974.44,1,855.00,'FACTURA A 0016 - 025133',NULL,NULL,NULL,NULL,NULL),(171689,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-24','2023-10-24',110568.75,1,855.00,'FACTURA A 0016 - 025137',NULL,NULL,NULL,NULL,NULL),(171690,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-24','2023-10-24',9704.50,1,855.00,'FACTURA A 0016 - 025171',NULL,NULL,NULL,NULL,NULL),(171691,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-24','2023-10-24',1658.50,1,855.00,'FACTURA A 0016 - 025174',NULL,NULL,NULL,NULL,NULL),(171692,NULL,0,NULL,171692,3,40817,40900,57,7618,2,1,'2023-10-27','2023-10-27',768906.19,1,855.00,'PAGO  0004 - 003115',NULL,NULL,NULL,NULL,NULL),(171693,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-31','2023-10-31',5300.13,1,855.00,'FACTURA A 0035 - 025794',NULL,NULL,NULL,NULL,NULL),(171694,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-31','2023-10-31',1863970.04,1,855.00,'FACTURA A 0016 - 025207',NULL,NULL,NULL,NULL,NULL),(171695,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-31','2023-10-31',138768.29,1,855.00,'FACTURA A 0016 - 025210',NULL,NULL,NULL,NULL,NULL),(171696,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-31','2023-10-31',27959.50,1,855.00,'FACTURA A 0016 - 025243',NULL,NULL,NULL,NULL,NULL),(171697,NULL,0,NULL,NULL,21,40817,40900,57,7618,1,1,'2023-10-31','2023-10-31',2081.50,1,855.00,'FACTURA A 0016 - 025245',NULL,NULL,NULL,NULL,NULL),(171698,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-07','2023-11-07',586629.96,1,855.00,'FACTURA A 0016 - 025280',NULL,NULL,NULL,NULL,NULL),(171699,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-07','2023-11-07',105120.73,1,855.00,'FACTURA A 0016 - 025283',NULL,NULL,NULL,NULL,NULL),(171700,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-07','2023-11-07',8799.00,1,855.00,'FACTURA A 0016 - 025315',NULL,NULL,NULL,NULL,NULL),(171701,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-07','2023-11-07',1576.80,1,855.00,'FACTURA A 0016 - 025317',NULL,NULL,NULL,NULL,NULL),(171702,NULL,0,NULL,171702,3,40817,40900,57,7619,2,1,'2023-11-07','2023-11-07',5300.13,1,855.00,'PAGO  0001 - 002913',NULL,NULL,NULL,NULL,NULL),(171703,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-14','2023-11-14',1055640.34,1,855.00,'FACTURA A 0016 - 025348',NULL,NULL,NULL,NULL,NULL),(171704,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-14','2023-11-14',117731.67,1,855.00,'FACTURA A 0016 - 025352',NULL,NULL,NULL,NULL,NULL),(171705,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-14','2023-11-14',15834.60,1,855.00,'FACTURA A 0016 - 025384',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171706,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-14','2023-11-14',1766.00,1,855.00,'FACTURA A 0016 - 025387',NULL,NULL,NULL,NULL,NULL),(171707,NULL,0,NULL,171707,3,40817,40900,57,7619,2,1,'2023-11-15','2023-11-15',3925878.43,1,855.00,'PAGO  0004 - 003225',NULL,NULL,NULL,NULL,NULL),(171708,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-21','2023-11-21',1890790.20,1,855.00,'FACTURA A 0016 - 025417',NULL,NULL,NULL,NULL,NULL),(171709,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-21','2023-11-21',72714.82,1,855.00,'FACTURA A 0016 - 025421',NULL,NULL,NULL,NULL,NULL),(171710,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-21','2023-11-21',28361.80,1,855.00,'FACTURA A 0016 - 025451',NULL,NULL,NULL,NULL,NULL),(171711,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-21','2023-11-21',1091.00,1,855.00,'FACTURA A 0016 - 025454',NULL,NULL,NULL,NULL,NULL),(171712,NULL,0,NULL,171712,3,40817,40900,57,7619,2,1,'2023-11-22','2023-11-22',1992957.82,1,855.00,'PAGO  0004 - 003250',NULL,NULL,NULL,NULL,NULL),(171713,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-28','2023-11-28',1010769.31,1,855.00,'FACTURA A 0016 - 025486',NULL,NULL,NULL,NULL,NULL),(171714,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-28','2023-11-28',2445574.92,1,855.00,'FACTURA A 0016 - 025487',NULL,NULL,NULL,NULL,NULL),(171715,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-28','2023-11-28',168178.73,1,855.00,'FACTURA A 0016 - 025491',NULL,NULL,NULL,NULL,NULL),(171716,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-28','2023-11-28',65146.00,1,855.00,'FACTURA A 0016 - 025523',NULL,NULL,NULL,NULL,NULL),(171717,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-28','2023-11-28',2523.00,1,855.00,'FACTURA A 0016 - 025526',NULL,NULL,NULL,NULL,NULL),(171718,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-30','2023-11-30',1691535.70,1,855.00,'FACTURA A 0016 - 025555',NULL,NULL,NULL,NULL,NULL),(171719,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-30','2023-11-30',43608.28,1,855.00,'FACTURA A 0016 - 025558',NULL,NULL,NULL,NULL,NULL),(171720,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-30','2023-11-30',25373.00,1,855.00,'FACTURA A 0016 - 025586',NULL,NULL,NULL,NULL,NULL),(171721,NULL,0,NULL,NULL,21,40817,40900,57,7619,1,1,'2023-11-30','2023-11-30',654.00,1,855.00,'FACTURA A 0016 - 025588',NULL,NULL,NULL,NULL,NULL),(171722,NULL,0,NULL,171722,3,40817,40900,57,7620,2,1,'2023-12-04','2023-12-04',5453362.94,1,855.00,'PAGO  0004 - 003297',NULL,NULL,NULL,NULL,NULL),(171723,NULL,0,NULL,171723,3,40817,40900,57,7620,2,1,'2023-12-05','2023-12-05',1216367.25,1,855.00,'PAGO  0004 - 003320',NULL,NULL,NULL,NULL,NULL),(171724,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-05','2023-12-05',11587.67,1,855.00,'FACTURA A 0024 - 018360',NULL,NULL,NULL,NULL,NULL),(171725,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-05','2023-12-05',1102720.53,1,855.00,'FACTURA A 0016 - 025613',NULL,NULL,NULL,NULL,NULL),(171726,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-05','2023-12-05',95671.72,1,855.00,'FACTURA A 0016 - 025617',NULL,NULL,NULL,NULL,NULL),(171727,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-05','2023-12-05',16540.00,1,855.00,'FACTURA A 0016 - 025641',NULL,NULL,NULL,NULL,NULL),(171728,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-05','2023-12-05',1435.00,1,855.00,'FACTURA A 0016 - 025644',NULL,NULL,NULL,NULL,NULL),(171729,NULL,0,NULL,171729,3,40817,40900,57,7620,2,1,'2023-12-07','2023-12-07',11587.67,1,855.00,'PAGO CONTADO  0001 - 003048',NULL,NULL,NULL,NULL,NULL),(171730,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-12','2023-12-12',1512554.94,1,855.00,'FACTURA A 0016 - 025674',NULL,NULL,NULL,NULL,NULL),(171731,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-12','2023-12-12',178088.99,1,855.00,'FACTURA A 0016 - 025677',NULL,NULL,NULL,NULL,NULL),(171732,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-12','2023-12-12',22688.00,1,855.00,'FACTURA A 0016 - 025708',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171733,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-12','2023-12-12',205.00,1,855.00,'FACTURA A 0016 - 025710',NULL,NULL,NULL,NULL,NULL),(171734,NULL,0,NULL,171734,3,40817,40900,57,7620,2,1,'2023-12-13','2023-12-13',1713536.93,1,855.00,'PAGO  0004 - 003365',NULL,NULL,NULL,NULL,NULL),(171735,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-19','2023-12-19',2545235.05,1,855.00,'FACTURA A 0016 - 025739',NULL,NULL,NULL,NULL,NULL),(171736,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-19','2023-12-19',220513.94,1,855.00,'FACTURA A 0016 - 025743',NULL,NULL,NULL,NULL,NULL),(171737,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-19','2023-12-19',38178.50,1,855.00,'FACTURA A 0016 - 025770',NULL,NULL,NULL,NULL,NULL),(171738,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-19','2023-12-19',3307.70,1,855.00,'FACTURA A 0016 - 025773',NULL,NULL,NULL,NULL,NULL),(171739,NULL,0,NULL,171739,3,40817,40900,57,7620,2,1,'2023-12-20','2023-12-20',2808199.11,1,855.00,'PAGO  0004 - 003421',NULL,NULL,NULL,NULL,NULL),(171740,NULL,0,NULL,171740,3,40817,40900,57,7620,2,1,'2023-12-26','2023-12-26',4556610.78,1,855.00,'PAGO  0004 - 003445',NULL,NULL,NULL,NULL,NULL),(171741,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-26','2023-12-26',4231717.22,1,855.00,'FACTURA A 0016 - 025799',NULL,NULL,NULL,NULL,NULL),(171742,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-26','2023-12-26',258503.97,1,855.00,'FACTURA A 0016 - 025802',NULL,NULL,NULL,NULL,NULL),(171743,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-26','2023-12-26',63476.00,1,855.00,'FACTURA A 0016 - 025828',NULL,NULL,NULL,NULL,NULL),(171744,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-26','2023-12-26',3877.51,1,855.00,'FACTURA A 0016 - 025831',NULL,NULL,NULL,NULL,NULL),(171745,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-31','2023-12-31',4322745.22,1,855.00,'FACTURA A 0016 - 025861',NULL,NULL,NULL,NULL,NULL),(171746,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-31','2023-12-31',166523.06,1,855.00,'FACTURA A 0016 - 025865',NULL,NULL,NULL,NULL,NULL),(171747,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-31','2023-12-31',64841.00,1,855.00,'FACTURA A 0016 - 025894',NULL,NULL,NULL,NULL,NULL),(171748,NULL,0,NULL,NULL,21,40817,40900,57,7620,1,1,'2023-12-31','2023-12-31',2498.00,1,855.00,'FACTURA A 0016 - 025897',NULL,NULL,NULL,NULL,NULL),(171749,NULL,0,NULL,171749,3,40817,40900,57,6064,2,1,'2024-01-03','2024-01-03',4556607.28,1,855.00,'PAGO  0004 - 003475',NULL,NULL,NULL,NULL,NULL),(171750,NULL,0,NULL,NULL,21,40817,40900,57,6064,1,1,'2024-01-09','2024-01-09',4477912.21,1,855.00,'FACTURA A 0016 - 025924',NULL,NULL,NULL,NULL,NULL),(171751,NULL,0,NULL,NULL,21,40817,40900,57,6064,1,1,'2024-01-09','2024-01-09',276099.95,1,855.00,'FACTURA A 0016 - 025927',NULL,NULL,NULL,NULL,NULL),(171752,NULL,0,NULL,NULL,21,40817,40900,57,6064,1,1,'2024-01-09','2024-01-09',67168.00,1,855.00,'FACTURA A 0016 - 025956',NULL,NULL,NULL,NULL,NULL),(171753,NULL,0,NULL,NULL,21,40817,40900,57,6064,1,1,'2024-01-09','2024-01-09',4141.50,1,855.00,'FACTURA A 0016 - 025958',NULL,NULL,NULL,NULL,NULL),(171754,NULL,0,NULL,171754,3,40817,40900,57,6064,2,1,'2024-01-10','2024-01-10',4825321.66,1,855.00,'PAGO  0004 - 003513',NULL,NULL,NULL,NULL,NULL),(171755,NULL,0,NULL,171755,3,40817,40900,57,6064,2,1,'2024-01-16','2024-01-16',7259988.52,1,855.00,'PAGO  0004 - 003558',NULL,NULL,NULL,NULL,NULL),(171756,NULL,0,NULL,NULL,21,40817,40900,57,6064,1,1,'2024-01-16','2024-01-16',6316636.02,1,855.00,'FACTURA A 0016 - 025985',NULL,NULL,NULL,NULL,NULL),(171757,NULL,0,NULL,NULL,21,40817,40900,57,6064,1,1,'2024-01-16','2024-01-16',836062.00,1,855.00,'FACTURA A 0016 - 025989',NULL,NULL,NULL,NULL,NULL),(171758,NULL,0,NULL,NULL,21,40817,40900,57,6064,1,1,'2024-01-16','2024-01-16',94749.50,1,855.00,'FACTURA A 0016 - 026014',NULL,NULL,NULL,NULL,NULL),(171759,NULL,0,NULL,NULL,21,40817,40900,57,6064,1,1,'2024-01-16','2024-01-16',12541.00,1,855.00,'FACTURA A 0016 - 026017',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171760,NULL,0,NULL,NULL,21,40817,40900,57,6064,1,1,'2024-01-23','2024-01-23',4414497.91,1,855.00,'FACTURA A 0016 - 026041',NULL,NULL,NULL,NULL,NULL),(171761,NULL,0,NULL,NULL,21,40817,40900,57,6064,1,1,'2024-01-23','2024-01-23',122395.91,1,855.00,'FACTURA A 0016 - 026045',NULL,NULL,NULL,NULL,NULL),(171762,NULL,0,NULL,NULL,21,40817,40900,57,6064,1,1,'2024-01-23','2024-01-23',66217.00,1,855.00,'FACTURA A 0016 - 026072',NULL,NULL,NULL,NULL,NULL),(171763,NULL,0,NULL,NULL,21,40817,40900,57,6064,1,1,'2024-01-23','2024-01-23',66217.00,1,855.00,'FACTURA A 0016 - 026072',NULL,NULL,NULL,NULL,NULL),(171764,NULL,0,NULL,NULL,21,40817,40900,57,6064,1,1,'2024-01-23','2024-01-23',1836.01,1,855.00,'FACTURA A 0016 - 026075',NULL,NULL,NULL,NULL,NULL),(171765,NULL,0,NULL,171765,3,40817,40900,57,6064,2,1,'2024-01-23','2024-01-23',4604946.83,1,855.00,'PAGO  0001 - 003236',NULL,NULL,NULL,NULL,NULL),(171766,NULL,0,NULL,171766,3,40817,40900,57,6064,2,1,'2024-01-23','2024-01-23',66217.00,1,855.00,'ANULACION COMPROBANTE COMPRAS  0001 - 000183',NULL,NULL,NULL,NULL,NULL),(171767,NULL,0,NULL,NULL,21,40817,40900,57,6064,1,1,'2024-01-31','2024-01-31',1197033.04,1,855.00,'FACTURA A 0016 - 026106',NULL,NULL,NULL,NULL,NULL),(171768,NULL,0,NULL,NULL,21,40817,40900,57,6064,1,1,'2024-01-31','2024-01-31',268640.13,1,855.00,'FACTURA A 0016 - 026110',NULL,NULL,NULL,NULL,NULL),(171769,NULL,0,NULL,NULL,21,40817,40900,57,6064,1,1,'2024-01-31','2024-01-31',17955.50,1,855.00,'FACTURA A 0016 - 026142',NULL,NULL,NULL,NULL,NULL),(171770,NULL,0,NULL,NULL,21,40817,40900,57,6064,1,1,'2024-01-31','2024-01-31',4029.61,1,855.00,'FACTURA A 0016 - 026145',NULL,NULL,NULL,NULL,NULL),(171771,NULL,0,NULL,171771,3,40817,40900,57,6065,2,1,'2024-02-02','2024-02-02',1487658.28,1,855.00,'PAGO  0004 - 003640',NULL,NULL,NULL,NULL,NULL),(171772,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-06','2024-02-06',256723.65,1,855.00,'FACTURA A 0016 - 026173',NULL,NULL,NULL,NULL,NULL),(171773,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-06','2024-02-06',133755.96,1,855.00,'FACTURA A 0016 - 026175',NULL,NULL,NULL,NULL,NULL),(171774,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-06','2024-02-06',3850.86,1,855.00,'FACTURA A 0016 - 026198',NULL,NULL,NULL,NULL,NULL),(171775,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-06','2024-02-06',2006.34,1,855.00,'FACTURA A 0016 - 026199',NULL,NULL,NULL,NULL,NULL),(171776,NULL,0,NULL,171776,3,40817,40900,57,6065,2,1,'2024-02-07','2024-02-07',396336.81,1,855.00,'PAGO  0004 - 003661',NULL,NULL,NULL,NULL,NULL),(171777,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-14','2024-02-14',204301.02,1,855.00,'FACTURA A 0016 - 026225',NULL,NULL,NULL,NULL,NULL),(171778,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-14','2024-02-14',214229.99,1,855.00,'FACTURA A 0016 - 026228',NULL,NULL,NULL,NULL,NULL),(171779,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-14','2024-02-14',3064.50,1,855.00,'FACTURA A 0016 - 026257',NULL,NULL,NULL,NULL,NULL),(171780,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-14','2024-02-14',3213.00,1,855.00,'FACTURA A 0016 - 026259',NULL,NULL,NULL,NULL,NULL),(171781,NULL,0,NULL,171781,3,40817,40900,57,6065,2,1,'2024-02-16','2024-02-16',424808.51,1,855.00,'PAGO  0004 - 003707',NULL,NULL,NULL,NULL,NULL),(171782,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-20','2024-02-20',1042097.03,1,855.00,'FACTURA A 0016 - 026288',NULL,NULL,NULL,NULL,NULL),(171783,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-20','2024-02-20',340664.05,1,855.00,'FACTURA A 0016 - 026291',NULL,NULL,NULL,NULL,NULL),(171784,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-20','2024-02-20',15631.00,1,855.00,'FACTURA A 0016 - 026317',NULL,NULL,NULL,NULL,NULL),(171785,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-20','2024-02-20',5110.00,1,855.00,'FACTURA A 0016 - 026319',NULL,NULL,NULL,NULL,NULL),(171786,NULL,0,NULL,171786,3,40817,40900,57,6065,2,1,'2024-02-22','2024-02-22',1405189.34,1,855.00,'PAGO  0004 - 003734',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171787,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-27','2024-02-27',235518.00,1,855.00,'FACTURA A 0016 - 026345',NULL,NULL,NULL,NULL,NULL),(171788,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-27','2024-02-27',352141.96,1,855.00,'FACTURA A 0016 - 026348',NULL,NULL,NULL,NULL,NULL),(171789,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-27','2024-02-27',3532.70,1,855.00,'FACTURA A 0016 - 026375',NULL,NULL,NULL,NULL,NULL),(171790,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-27','2024-02-27',5282.00,1,855.00,'FACTURA A 0016 - 026377',NULL,NULL,NULL,NULL,NULL),(171791,NULL,0,NULL,171791,3,40817,40900,57,6065,2,1,'2024-02-28','2024-02-28',594787.40,1,855.00,'PAGO  0004 - 003766',NULL,NULL,NULL,NULL,NULL),(171792,NULL,0,NULL,171792,3,40817,40900,57,6065,2,1,'2024-02-28','2024-02-28',1739774.30,1,855.00,'PAGO  0004 - 003773',NULL,NULL,NULL,NULL,NULL),(171793,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-28','2024-02-28',25193.27,1,855.00,'FACTURA A 0026 - 023340',NULL,NULL,NULL,NULL,NULL),(171794,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-28','2024-02-28',180336.98,1,855.00,'FACTURA A 0026 - 023344',NULL,NULL,NULL,NULL,NULL),(171795,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-28','2024-02-28',400000.00,1,855.00,'FACTURA A 0026 - 023348',NULL,NULL,NULL,NULL,NULL),(171796,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-28','2024-02-28',315663.79,1,855.00,'FACTURA A 0026 - 023349',NULL,NULL,NULL,NULL,NULL),(171797,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-28','2024-02-28',194476.69,1,855.00,'FACTURA A 0026 - 023354',NULL,NULL,NULL,NULL,NULL),(171798,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-28','2024-02-28',174494.27,1,855.00,'FACTURA A 0026 - 023358',NULL,NULL,NULL,NULL,NULL),(171799,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-28','2024-02-28',99910.49,1,855.00,'FACTURA A 0026 - 023362',NULL,NULL,NULL,NULL,NULL),(171800,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-28','2024-02-28',119885.28,1,855.00,'FACTURA A 0026 - 023365',NULL,NULL,NULL,NULL,NULL),(171801,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-28','2024-02-28',63018.59,1,855.00,'FACTURA A 0026 - 023368',NULL,NULL,NULL,NULL,NULL),(171802,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-28','2024-02-28',166794.94,1,855.00,'FACTURA A 0026 - 023373',NULL,NULL,NULL,NULL,NULL),(171803,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-29','2024-02-29',64585.01,1,855.00,'FACTURA A 0016 - 026406',NULL,NULL,NULL,NULL,NULL),(171804,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-29','2024-02-29',144342.00,1,855.00,'FACTURA A 0016 - 026408',NULL,NULL,NULL,NULL,NULL),(171805,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-29','2024-02-29',969.00,1,855.00,'FACTURA A 0016 - 026433',NULL,NULL,NULL,NULL,NULL),(171806,NULL,0,NULL,NULL,21,40817,40900,57,6065,1,1,'2024-02-29','2024-02-29',2165.00,1,855.00,'FACTURA A 0016 - 026434',NULL,NULL,NULL,NULL,NULL),(171807,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-04','2024-03-04',84341.27,1,855.00,'FACTURA A 0026 - 023441',NULL,NULL,NULL,NULL,NULL),(171808,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-04','2024-03-04',185222.84,1,855.00,'FACTURA A 0026 - 023443',NULL,NULL,NULL,NULL,NULL),(171809,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-04','2024-03-04',100799.30,1,855.00,'FACTURA A 0026 - 023445',NULL,NULL,NULL,NULL,NULL),(171810,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-04','2024-03-04',224619.85,1,855.00,'FACTURA A 0026 - 023447',NULL,NULL,NULL,NULL,NULL),(171811,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-04','2024-03-04',223064.95,1,855.00,'FACTURA A 0026 - 023450',NULL,NULL,NULL,NULL,NULL),(171812,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-04','2024-03-04',62997.11,1,855.00,'FACTURA A 0026 - 023452',NULL,NULL,NULL,NULL,NULL),(171813,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-04','2024-03-04',205648.37,1,855.00,'FACTURA A 0026 - 023454',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171814,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-04','2024-03-04',261777.13,1,855.00,'FACTURA A 0026 - 023456',NULL,NULL,NULL,NULL,NULL),(171815,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-04','2024-03-04',61276.36,1,855.00,'FACTURA A 0026 - 023458',NULL,NULL,NULL,NULL,NULL),(171816,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-04','2024-03-04',127799.32,1,855.00,'FACTURA A 0026 - 023460',NULL,NULL,NULL,NULL,NULL),(171817,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-05','2024-03-05',19036.02,1,855.00,'FACTURA A 0016 - 026460',NULL,NULL,NULL,NULL,NULL),(171818,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-05','2024-03-05',285.50,1,855.00,'FACTURA A 0016 - 026486',NULL,NULL,NULL,NULL,NULL),(171819,NULL,0,NULL,171819,3,40817,40900,57,6066,2,1,'2024-03-06','2024-03-06',250363.24,1,855.00,'PAGO  0004 - 003815',NULL,NULL,NULL,NULL,NULL),(171820,NULL,0,NULL,171820,3,40817,40900,57,6066,2,1,'2024-03-06','2024-03-06',1537546.50,1,855.00,'PAGO  0004 - 003818',NULL,NULL,NULL,NULL,NULL),(171821,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-11','2024-03-11',117183.49,1,855.00,'FACTURA A 0026 - 023540',NULL,NULL,NULL,NULL,NULL),(171822,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-11','2024-03-11',65197.92,1,855.00,'FACTURA A 0026 - 023543',NULL,NULL,NULL,NULL,NULL),(171823,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-11','2024-03-11',128603.85,1,855.00,'FACTURA A 0026 - 023546',NULL,NULL,NULL,NULL,NULL),(171824,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-11','2024-03-11',12506.07,1,855.00,'FACTURA A 0026 - 023549',NULL,NULL,NULL,NULL,NULL),(171825,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-11','2024-03-11',23997.21,1,855.00,'FACTURA A 0026 - 023554',NULL,NULL,NULL,NULL,NULL),(171826,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-11','2024-03-11',33993.54,1,855.00,'FACTURA A 0026 - 023557',NULL,NULL,NULL,NULL,NULL),(171827,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-11','2024-03-11',71998.87,1,855.00,'FACTURA A 0026 - 023560',NULL,NULL,NULL,NULL,NULL),(171828,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-11','2024-03-11',49449.14,1,855.00,'FACTURA A 0026 - 023564',NULL,NULL,NULL,NULL,NULL),(171829,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-12','2024-03-12',5000.89,1,855.00,'FACTURA A 0026 - 023567',NULL,NULL,NULL,NULL,NULL),(171830,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-12','2024-03-12',12798.49,1,855.00,'FACTURA A 0026 - 023569',NULL,NULL,NULL,NULL,NULL),(171831,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-12','2024-03-12',4599.08,1,855.00,'FACTURA A 0026 - 023571',NULL,NULL,NULL,NULL,NULL),(171832,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-12','2024-03-12',25100.19,1,855.00,'FACTURA A 0026 - 023573',NULL,NULL,NULL,NULL,NULL),(171833,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-12','2024-03-12',23994.38,1,855.00,'FACTURA A 0026 - 023575',NULL,NULL,NULL,NULL,NULL),(171834,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-12','2024-03-12',32600.32,1,855.00,'FACTURA A 0026 - 023577',NULL,NULL,NULL,NULL,NULL),(171835,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-12','2024-03-12',61480.01,1,855.00,'FACTURA A 0016 - 026513',NULL,NULL,NULL,NULL,NULL),(171836,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-12','2024-03-12',331795.89,1,855.00,'FACTURA A 0016 - 026516',NULL,NULL,NULL,NULL,NULL),(171837,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-12','2024-03-12',922.00,1,855.00,'FACTURA A 0016 - 026547',NULL,NULL,NULL,NULL,NULL),(171838,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-12','2024-03-12',4977.00,1,855.00,'FACTURA A 0016 - 026549',NULL,NULL,NULL,NULL,NULL),(171839,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-13','2024-03-13',147608.68,1,855.00,'FACTURA A 0026 - 023580',NULL,NULL,NULL,NULL,NULL),(171840,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-13','2024-03-13',191383.56,1,855.00,'FACTURA A 0026 - 023582',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171841,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-13','2024-03-13',48597.75,1,855.00,'FACTURA A 0026 - 023584',NULL,NULL,NULL,NULL,NULL),(171842,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-13','2024-03-13',354591.59,1,855.00,'FACTURA A 0026 - 023586',NULL,NULL,NULL,NULL,NULL),(171843,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-13','2024-03-13',18764.51,1,855.00,'FACTURA A 0026 - 023588',NULL,NULL,NULL,NULL,NULL),(171844,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-13','2024-03-13',6003.90,1,855.00,'FACTURA A 0026 - 023590',NULL,NULL,NULL,NULL,NULL),(171845,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-13','2024-03-13',40681.98,1,855.00,'FACTURA A 0026 - 023591',NULL,NULL,NULL,NULL,NULL),(171846,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-13','2024-03-13',26481.67,1,855.00,'FACTURA A 0026 - 023593',NULL,NULL,NULL,NULL,NULL),(171847,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-13','2024-03-13',31951.11,1,855.00,'FACTURA A 0026 - 023595',NULL,NULL,NULL,NULL,NULL),(171848,NULL,0,NULL,171848,3,40817,40900,57,6066,2,1,'2024-03-14','2024-03-14',380194.19,1,855.00,'PAGO  0004 - 003869',NULL,NULL,NULL,NULL,NULL),(171849,NULL,0,NULL,171849,3,40817,40900,57,6066,2,1,'2024-03-14','2024-03-14',1473088.19,1,855.00,'PAGO  0004 - 003876',NULL,NULL,NULL,NULL,NULL),(171850,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-18','2024-03-18',23816.60,1,855.00,'FACTURA A 0026 - 023667',NULL,NULL,NULL,NULL,NULL),(171851,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-18','2024-03-18',3998.90,1,855.00,'FACTURA A 0026 - 023668',NULL,NULL,NULL,NULL,NULL),(171852,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-18','2024-03-18',6200.79,1,855.00,'FACTURA A 0026 - 023669',NULL,NULL,NULL,NULL,NULL),(171853,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-18','2024-03-18',31299.44,1,855.00,'FACTURA A 0026 - 023670',NULL,NULL,NULL,NULL,NULL),(171854,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-18','2024-03-18',29583.73,1,855.00,'FACTURA A 0026 - 023671',NULL,NULL,NULL,NULL,NULL),(171855,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-18','2024-03-18',54744.64,1,855.00,'FACTURA A 0026 - 023672',NULL,NULL,NULL,NULL,NULL),(171856,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-18','2024-03-18',34417.56,1,855.00,'FACTURA A 0026 - 023673',NULL,NULL,NULL,NULL,NULL),(171857,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-18','2024-03-18',13000.11,1,855.00,'FACTURA A 0026 - 023674',NULL,NULL,NULL,NULL,NULL),(171858,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-18','2024-03-18',24402.77,1,855.00,'FACTURA A 0026 - 023675',NULL,NULL,NULL,NULL,NULL),(171859,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-19','2024-03-19',30322.07,1,855.00,'FACTURA A 0026 - 023686',NULL,NULL,NULL,NULL,NULL),(171860,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-19','2024-03-19',265507.19,1,855.00,'FACTURA A 0026 - 023687',NULL,NULL,NULL,NULL,NULL),(171861,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-19','2024-03-19',179976.99,1,855.00,'FACTURA A 0026 - 023688',NULL,NULL,NULL,NULL,NULL),(171862,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-19','2024-03-19',312058.54,1,855.00,'FACTURA A 0026 - 023690',NULL,NULL,NULL,NULL,NULL),(171863,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-19','2024-03-19',286448.66,1,855.00,'FACTURA A 0026 - 023694',NULL,NULL,NULL,NULL,NULL),(171864,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-19','2024-03-19',422967.73,1,855.00,'FACTURA A 0026 - 232692',NULL,NULL,NULL,NULL,NULL),(171865,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-19','2024-03-19',62792.99,1,855.00,'FACTURA A 0016 - 026574',NULL,NULL,NULL,NULL,NULL),(171866,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-19','2024-03-19',270955.05,1,855.00,'FACTURA A 0016 - 026578',NULL,NULL,NULL,NULL,NULL),(171867,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-19','2024-03-19',942.00,1,855.00,'FACTURA A 0016 - 026602',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171868,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-19','2024-03-19',4064.00,1,855.00,'FACTURA A 0016 - 026605',NULL,NULL,NULL,NULL,NULL),(171869,NULL,0,NULL,171869,3,40817,40900,57,6066,2,1,'2024-03-21','2024-03-21',338754.04,1,855.00,'PAGO  0004 - 003911',NULL,NULL,NULL,NULL,NULL),(171870,NULL,0,NULL,171870,3,40817,40900,57,6066,2,1,'2024-03-21','2024-03-21',1718745.72,1,855.00,'PAGO  0004 - 003912',NULL,NULL,NULL,NULL,NULL),(171871,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-25','2024-03-25',12501.36,1,855.00,'FACTURA A 0026 - 023766',NULL,NULL,NULL,NULL,NULL),(171872,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-25','2024-03-25',105819.56,1,855.00,'FACTURA A 0026 - 023768',NULL,NULL,NULL,NULL,NULL),(171873,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-25','2024-03-25',114750.54,1,855.00,'FACTURA A 0026 - 023770',NULL,NULL,NULL,NULL,NULL),(171874,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-25','2024-03-25',98993.21,1,855.00,'FACTURA A 0026 - 023772',NULL,NULL,NULL,NULL,NULL),(171875,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-25','2024-03-25',105511.50,1,855.00,'FACTURA A 0026 - 023774',NULL,NULL,NULL,NULL,NULL),(171876,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-26','2024-03-26',126362.25,1,855.00,'FACTURA A 0026 - 023788',NULL,NULL,NULL,NULL,NULL),(171877,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-26','2024-03-26',128731.07,1,855.00,'FACTURA A 0016 - 026630',NULL,NULL,NULL,NULL,NULL),(171878,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-26','2024-03-26',244278.04,1,855.00,'FACTURA A 0016 - 026633',NULL,NULL,NULL,NULL,NULL),(171879,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-26','2024-03-26',1931.00,1,855.00,'FACTURA A 0016 - 026660',NULL,NULL,NULL,NULL,NULL),(171880,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-26','2024-03-26',3664.00,1,855.00,'FACTURA A 0016 - 026662',NULL,NULL,NULL,NULL,NULL),(171881,NULL,0,NULL,171881,3,40817,40900,57,6066,2,1,'2024-03-28','2024-03-28',379648.97,1,855.00,'PAGO  0004 - 003940',NULL,NULL,NULL,NULL,NULL),(171882,NULL,0,NULL,171882,3,40817,40900,57,6066,2,1,'2024-03-28','2024-03-28',563938.42,1,855.00,'PAGO  0004 - 003946',NULL,NULL,NULL,NULL,NULL),(171883,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-31','2024-03-31',54542.03,1,855.00,'FACTURA A 0016 - 026691',NULL,NULL,NULL,NULL,NULL),(171884,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-31','2024-03-31',206329.71,1,855.00,'FACTURA A 0016 - 026693',NULL,NULL,NULL,NULL,NULL),(171885,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-31','2024-03-31',818.00,1,855.00,'FACTURA A 0016 - 026725',NULL,NULL,NULL,NULL,NULL),(171886,NULL,0,NULL,NULL,21,40817,40900,57,6066,1,1,'2024-03-31','2024-03-31',2957.00,1,855.00,'FACTURA A 0016 - 026726',NULL,NULL,NULL,NULL,NULL),(171887,NULL,0,NULL,171887,3,40817,40900,57,6067,2,1,'2024-04-07','2024-04-07',263601.88,1,855.00,'PAGO  0004 - 003973',NULL,NULL,NULL,NULL,NULL),(171888,NULL,0,NULL,NULL,21,40817,40900,57,6067,1,1,'2024-04-09','2024-04-09',250217.03,1,855.00,'FACTURA A 0016 - 026754',NULL,NULL,NULL,NULL,NULL),(171889,NULL,0,NULL,NULL,21,40817,40900,57,6067,1,1,'2024-04-09','2024-04-09',219661.91,1,855.00,'FACTURA A 0016 - 026757',NULL,NULL,NULL,NULL,NULL),(171890,NULL,0,NULL,NULL,21,40817,40900,57,6067,1,1,'2024-04-09','2024-04-09',3753.00,1,855.00,'FACTURA A 0016 - 026785',NULL,NULL,NULL,NULL,NULL),(171891,NULL,0,NULL,NULL,21,40817,40900,57,6067,1,1,'2024-04-09','2024-04-09',3295.00,1,855.00,'FACTURA A 0016 - 026787',NULL,NULL,NULL,NULL,NULL),(171892,NULL,0,NULL,171892,3,40817,40900,57,6067,2,1,'2024-04-11','2024-04-11',476926.94,1,855.00,'PAGO  0004 - 004013',NULL,NULL,NULL,NULL,NULL),(171893,NULL,0,NULL,NULL,21,40817,40900,57,6067,1,1,'2024-04-11','2024-04-11',106100.00,1,855.00,'NOTA DE DEBITO A 0016 - 000027',NULL,NULL,NULL,NULL,NULL),(171894,NULL,0,NULL,NULL,21,40817,40900,57,6067,1,1,'2024-04-16','2024-04-16',65546.00,1,855.00,'FACTURA A 0016 - 026815',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente` VALUES (171895,NULL,0,NULL,NULL,21,40817,40900,57,6067,1,1,'2024-04-16','2024-04-16',415920.17,1,855.00,'FACTURA A 0016 - 026819',NULL,NULL,NULL,NULL,NULL),(171896,NULL,0,NULL,NULL,21,40817,40900,57,6067,1,1,'2024-04-16','2024-04-16',983.00,1,855.00,'FACTURA A 0016 - 026848',NULL,NULL,NULL,NULL,NULL),(171897,NULL,0,NULL,NULL,21,40817,40900,57,6067,1,1,'2024-04-16','2024-04-16',6238.80,1,855.00,'FACTURA A 0016 - 026851',NULL,NULL,NULL,NULL,NULL),(171898,NULL,0,NULL,171898,3,40817,40900,57,6067,2,1,'2024-04-19','2024-04-19',594787.97,1,855.00,'PAGO  0004 - 004072',NULL,NULL,NULL,NULL,NULL),(171899,NULL,0,NULL,NULL,21,40817,40900,57,6067,1,1,'2024-04-23','2024-04-23',157466.06,1,855.00,'FACTURA A 0016 - 026879',NULL,NULL,NULL,NULL,NULL),(171900,NULL,0,NULL,NULL,21,40817,40900,57,6067,1,1,'2024-04-23','2024-04-23',289247.02,1,855.00,'FACTURA A 0016 - 026884',NULL,NULL,NULL,NULL,NULL),(171901,NULL,0,NULL,NULL,21,40817,40900,57,6067,1,1,'2024-04-23','2024-04-23',2362.00,1,855.00,'FACTURA A 0016 - 026912',NULL,NULL,NULL,NULL,NULL),(171902,NULL,0,NULL,NULL,21,40817,40900,57,6067,1,1,'2024-04-23','2024-04-23',4338.00,1,855.00,'FACTURA A 0016 - 026915',NULL,NULL,NULL,NULL,NULL),(171903,NULL,0,NULL,171903,3,40817,40900,57,6067,2,1,'2024-04-24','2024-04-24',453413.08,1,855.00,'PAGO  0004 - 004098',NULL,NULL,NULL,NULL,NULL),(171904,NULL,0,NULL,NULL,21,40817,40900,57,6067,1,1,'2024-04-30','2024-04-30',316682.90,1,855.00,'FACTURA A 0016 - 026945',NULL,NULL,NULL,NULL,NULL),(171905,NULL,0,NULL,NULL,21,40817,40900,57,6067,1,1,'2024-04-30','2024-04-30',76709.49,1,855.00,'FACTURA A 0016 - 026948',NULL,NULL,NULL,NULL,NULL),(171906,NULL,0,NULL,NULL,21,40817,40900,57,6067,1,1,'2024-04-30','2024-04-30',4750.21,1,855.00,'FACTURA A 0016 - 026977',NULL,NULL,NULL,NULL,NULL),(171907,NULL,0,NULL,NULL,21,40817,40900,57,6067,1,1,'2024-04-30','2024-04-30',1150.60,1,855.00,'FACTURA A 0016 - 026979',NULL,NULL,NULL,NULL,NULL),(171908,NULL,0,NULL,171908,3,40817,40900,57,6068,2,1,'2024-05-03','2024-05-03',399293.20,1,855.00,'PAGO  0004 - 004151',NULL,NULL,NULL,NULL,NULL),(171909,NULL,0,NULL,NULL,21,40817,40900,57,6068,1,1,'2024-05-07','2024-05-07',82378.00,1,855.00,'FACTURA A 0016 - 027009',NULL,NULL,NULL,NULL,NULL),(171910,NULL,0,NULL,NULL,21,40817,40900,57,6068,1,1,'2024-05-07','2024-05-07',68613.03,1,855.00,'FACTURA A 0016 - 027013',NULL,NULL,NULL,NULL,NULL),(171911,NULL,0,NULL,NULL,21,40817,40900,57,6068,1,1,'2024-05-07','2024-05-07',1236.00,1,855.00,'FACTURA A 0016 - 027041',NULL,NULL,NULL,NULL,NULL),(171912,NULL,0,NULL,NULL,21,40817,40900,57,6068,1,1,'2024-05-07','2024-05-07',1029.00,1,855.00,'FACTURA A 0016 - 027043',NULL,NULL,NULL,NULL,NULL),(171913,NULL,0,NULL,171913,3,40817,40900,57,6068,2,1,'2024-05-11','2024-05-11',153256.03,1,855.00,'PAGO  0004 - 004165',NULL,NULL,NULL,NULL,NULL),(171914,NULL,0,NULL,NULL,21,40817,40900,57,6068,1,1,'2024-05-14','2024-05-14',71963.96,1,855.00,'FACTURA A 0016 - 027072',NULL,NULL,NULL,NULL,NULL),(171915,NULL,0,NULL,NULL,21,40817,40900,57,6068,1,1,'2024-05-14','2024-05-14',257087.05,1,855.00,'FACTURA A 0016 - 027076',NULL,NULL,NULL,NULL,NULL),(171916,NULL,0,NULL,NULL,21,40817,40900,57,6068,1,1,'2024-05-14','2024-05-14',1079.01,1,855.00,'FACTURA A 0016 - 027106',NULL,NULL,NULL,NULL,NULL),(171917,NULL,0,NULL,NULL,21,40817,40900,57,6068,1,1,'2024-05-14','2024-05-14',3856.00,1,855.00,'FACTURA A 0016 - 027109',NULL,NULL,NULL,NULL,NULL),(171918,NULL,0,NULL,171918,3,40817,40900,57,6068,2,1,'2024-05-16','2024-05-16',333986.02,1,855.00,'PAGO  0004 - 004213',NULL,NULL,NULL,NULL,NULL),(171919,NULL,0,NULL,NULL,21,40817,40828,57,7594,1,1,'2022-01-03','2022-01-03',44747.01,1,855.00,'FACTURA A 0002 - 018614',NULL,NULL,NULL,NULL,NULL),(171920,NULL,0,NULL,171920,3,40817,40828,57,7594,2,1,'2022-01-12','2022-01-12',44747.01,1,855.00,'PAGO  0001 - 000034',NULL,NULL,NULL,NULL,NULL),(171921,NULL,0,NULL,NULL,21,40817,40828,57,7595,1,1,'2022-02-01','2022-02-01',44747.01,1,855.00,'FACTURA A 0002 - 018745',NULL,NULL,NULL,NULL,NULL);
