fin_raport.py 982 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. '''
  2. Created on 3 Aug 2022 @author: vnc-console
  3. '''
  4. from anafapi.anafapi import anafAPI
  5. vats = [
  6. # '18123758',
  7. # '31434328',
  8. # '15873542',
  9. # '6340770',
  10. # '34767882',
  11. # '21480386',
  12. # '44122255',
  13. # '33779005',
  14. # '40506393',
  15. # '22987647',
  16. # '42706665',
  17. # '26141720',
  18. # '21788140',
  19. # '21035036',
  20. # '23869690',
  21. # '6799951',
  22. # '39693298',
  23. # '6110398',
  24. # '37244799',
  25. # '18564509',
  26. # '5078647',
  27. # '40257772',
  28. # '43659219',
  29. # '9818829',
  30. # '28515317',
  31. # '6225053',
  32. # '21694100',
  33. # '22520381',
  34. # '23608067',
  35. # '45112055',
  36. # '15469227',
  37. # '38168894',
  38. # '14048939',
  39. # '38521197',
  40. # '26118434',
  41. # '15416575',
  42. # '30666044',
  43. # '33907694'
  44. '17259191',
  45. '27100508',
  46. '24476096',
  47. '32621286',
  48. '38063294'
  49. ]
  50. api = anafAPI()
  51. if __name__ == '__main__':
  52. api.to_excel('to_rep', cui=vats, func=api.get_rep, year=2022)
  53. api.open()