''' Created on 3 Aug 2022 @author: vnc-console ''' from anafapi.anafapi import anafAPI vats = [ # '18123758', # '31434328', # '15873542', # '6340770', # '34767882', # '21480386', # '44122255', # '33779005', # '40506393', # '22987647', # '42706665', # '26141720', # '21788140', # '21035036', # '23869690', # '6799951', # '39693298', # '6110398', # '37244799', # '18564509', # '5078647', # '40257772', # '43659219', # '9818829', # '28515317', # '6225053', # '21694100', # '22520381', # '23608067', # '45112055', # '15469227', # '38168894', # '14048939', # '38521197', # '26118434', # '15416575', # '30666044', # '33907694' '17259191', '27100508', '24476096', '32621286', '38063294' ] api = anafAPI() if __name__ == '__main__': api.to_excel('to_rep', cui=vats, func=api.get_rep, year=2022) api.open()