INSERT INTO `documents` VALUES (503,2,'d274f1d4-1e40-4e03-8189-bd727478b94e',2,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0107\",\"province\":{\"id\":\"0107\",\"description\":\"Utcubamba\"},\"district_id\":\"010701\",\"district\":{\"id\":\"010701\",\"description\":\"Bagua Grande\"},\"urbanization\":null,\"address\":\"JR. SIMON BOLIVAR NRO. 651\",\"email\":\"loceriasunion@gmail.com\",\"telephone\":\"+51 993 660 916\",\"code\":\"0002\",\"trade_address\":\"JR. SIMON BOLIVAR NRO. 651\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',0,0,'01','01','F002',1,'2023-02-23','10:48:38',307,'{\"identity_document_type_id\":\"6\",\"identity_document_type\":{\"id\":\"6\",\"description\":\"RUC\"},\"number\":\"20607264148\",\"name\":\"LOPEZVA EIRL\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0107\",\"province\":{\"id\":\"0107\",\"description\":\"Utcubamba\"},\"district_id\":\"010701\",\"district\":{\"id\":\"010701\",\"description\":\"Bagua Grande\"},\"address\":\"JR. LAMBAYEQUE NRO. 905 SEC. BUENOS AIRES\",\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,2,3.827,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,0.00,0.00,0.00,0.00,0.00,5730.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,5730.00,5730.00,5730.00,0,0,NULL,0,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Cinco mil setecientos treinta  con 00\\/100 \"}]',NULL,NULL,'10802930041-01-F002-1','10802930041-01-F002-1','i5I5dYSABxKgPBiqNLitBTFhcIg=','[encoded data, 90460 characters]',NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,'{\"sent\":true,\"code\":\"0\",\"description\":\"La Factura numero F002-1, ha sido aceptada\",\"notes\":[]}',0,NULL,0,NULL,NULL,NULL,'',NULL,'2023-02-25 10:49:55','2023-02-25 10:49:57',1,NULL,NULL),(504,3,'91520a9f-9ef7-4480-8bd0-ebe15ae0aa8c',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0107\",\"province\":{\"id\":\"0107\",\"description\":\"Utcubamba\"},\"district_id\":\"010701\",\"district\":{\"id\":\"010701\",\"description\":\"Bagua Grande\"},\"urbanization\":null,\"address\":\"JR. SIMON BOLIVAR NRO. 651\",\"email\":\"loceriasunion@gmail.com\",\"telephone\":\"+51 993 660 916\",\"code\":\"0000\",\"trade_address\":\"JR. SIMON BOLIVAR NRO. 651\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',0,0,'02','03','B003',358,'2023-02-27','09:54:27',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.820,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,5.00,0.00,0.00,0.00,0.00,30.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,30.00,30.00,25.00,0,0,NULL,0,0.00,0.00,NULL,'[{\"discount_type_id\":\"03\",\"description\":\"Descuentos globales que no afectan la base imponible del IGV\\/IVAP\",\"factor\":0.16667,\"amount\":5,\"base\":30,\"is_amount\":null}]',NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Veinticinco  con 00\\/100 \"}]',NULL,NULL,'10802930041-03-B003-358','10802930041-03-B003-358','sH0sV+fPKaEYj7s9wtyDj+i0EJA=','[encoded data, 90460 characters]',NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,NULL,0,NULL,0,NULL,NULL,NULL,'',NULL,'2023-02-27 09:56:32','2023-02-28 00:30:04',1,NULL,NULL),(505,3,'6cc1c79c-cf6d-4312-b542-031587af3024',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0107\",\"province\":{\"id\":\"0107\",\"description\":\"Utcubamba\"},\"district_id\":\"010701\",\"district\":{\"id\":\"010701\",\"description\":\"Bagua Grande\"},\"urbanization\":null,\"address\":\"JR. SIMON BOLIVAR NRO. 651\",\"email\":\"loceriasunion@gmail.com\",\"telephone\":\"+51 993 660 916\",\"code\":\"0000\",\"trade_address\":\"JR. SIMON BOLIVAR NRO. 651\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',0,0,'02','03','B003',359,'2023-02-27','17:58:40',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.820,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,10.00,0.00,0.00,0.00,0.00,492.80,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,492.80,492.80,482.80,0,0,NULL,0,0.00,0.00,NULL,'[{\"discount_type_id\":\"03\",\"description\":\"Descuentos globales que no afectan la base imponible del IGV\\/IVAP\",\"factor\":0.02029,\"amount\":10,\"base\":492.8,\"is_amount\":null}]',NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Cuatrocientos ochenta y dos  con 80\\/100 \"}]',NULL,NULL,'10802930041-03-B003-359','10802930041-03-B003-359','ytHU0ygcD+dNf8lbsOm9j4jKpaE=','[encoded data, 90460 characters]',NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,NULL,0,NULL,0,NULL,NULL,NULL,'',NULL,'2023-02-27 17:59:31','2023-02-28 00:30:04',1,NULL,NULL),(506,3,'4e45a4ed-4be3-4880-a8ac-a0a83db908c6',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0107\",\"province\":{\"id\":\"0107\",\"description\":\"Utcubamba\"},\"district_id\":\"010701\",\"district\":{\"id\":\"010701\",\"description\":\"Bagua Grande\"},\"urbanization\":null,\"address\":\"JR. SIMON BOLIVAR NRO. 651\",\"email\":\"loceriasunion@gmail.com\",\"telephone\":\"+51 993 660 916\",\"code\":\"0000\",\"trade_address\":\"JR. SIMON BOLIVAR NRO. 651\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',0,0,'02','03','B003',360,'2023-02-27','17:59:40',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.820,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,7.00,0.00,0.00,0.00,0.00,50.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,50.00,50.00,43.00,0,0,NULL,0,0.00,0.00,NULL,'[{\"discount_type_id\":\"03\",\"description\":\"Descuentos globales que no afectan la base imponible del IGV\\/IVAP\",\"factor\":0.14,\"amount\":7,\"base\":50,\"is_amount\":null}]',NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Cuarenta y tres  con 00\\/100 \"}]',NULL,NULL,'10802930041-03-B003-360','10802930041-03-B003-360','h8d2AEy7OvFotDODqHk4vPz3zgk=','[encoded data, 90460 characters]',NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,NULL,0,NULL,0,NULL,NULL,NULL,'',NULL,'2023-02-27 18:01:30','2023-02-28 00:30:04',1,NULL,NULL),(507,3,'9dabb9a7-d229-4cbd-9184-a6eb33955ba3',1,'{\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":\"01\",\"department\":{\"id\":\"01\",\"description\":\"AMAZONAS\"},\"province_id\":\"0107\",\"province\":{\"id\":\"0107\",\"description\":\"Utcubamba\"},\"district_id\":\"010701\",\"district\":{\"id\":\"010701\",\"description\":\"Bagua Grande\"},\"urbanization\":null,\"address\":\"JR. SIMON BOLIVAR NRO. 651\",\"email\":\"loceriasunion@gmail.com\",\"telephone\":\"+51 993 660 916\",\"code\":\"0000\",\"trade_address\":\"JR. SIMON BOLIVAR NRO. 651\",\"web_address\":null,\"aditional_information\":null,\"logo\":null}','02','05','2.1',0,0,'02','03','B003',361,'2023-02-27','18:01:35',1,'{\"identity_document_type_id\":\"0\",\"identity_document_type\":{\"id\":\"0\",\"description\":\"Doc.trib.no.dom.sin.ruc\"},\"number\":\"99999999\",\"name\":\"Clientes - Varios\",\"trade_name\":null,\"country_id\":\"PE\",\"country\":{\"id\":\"PE\",\"description\":\"PERU\"},\"department_id\":null,\"department\":{\"id\":null,\"description\":null},\"province_id\":null,\"province\":{\"id\":null,\"description\":null},\"district_id\":null,\"district\":{\"id\":null,\"description\":null},\"address\":null,\"email\":null,\"telephone\":null,\"perception_agent\":false,\"address_id\":null,\"internal_code\":null,\"address_type_id\":null,\"address_type\":{\"id\":null,\"description\":null}}','PEN','01',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,3,3.820,0,NULL,NULL,NULL,NULL,0,0,0.00,0.00,10.00,0.00,0.00,0.00,0.00,130.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,130.00,130.00,120.00,0,0,NULL,0,0.00,0.00,NULL,'[{\"discount_type_id\":\"03\",\"description\":\"Descuentos globales que no afectan la base imponible del IGV\\/IVAP\",\"factor\":0.07692,\"amount\":10,\"base\":130,\"is_amount\":null}]',NULL,NULL,NULL,NULL,NULL,NULL,'[{\"code\":1000,\"value\":\"Ciento veinte  con 00\\/100 \"}]',NULL,NULL,'10802930041-03-B003-361','10802930041-03-B003-361','Qj549moRVnaBKx6Gg0qLxp3WWy4=','[encoded data, 90460 characters]',NULL,NULL,0,0,0,NULL,0,0,NULL,0,NULL,NULL,0,1,NULL,0,NULL,0,NULL,NULL,NULL,'',NULL,'2023-02-27 18:02:38','2023-02-28 00:30:04',1,NULL,NULL),