taxes.py 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. '''Created Feb 3, 2023 deeejas'''
  2. class Taxes(object):
  3. def __init__(self, name: str=None,
  4. vat: int=None,
  5. vat_final: int=None,
  6. contribs: int=None,
  7. cam: int=None,
  8. income_tax: int=None,
  9. dividend_tax: int=None,
  10. other_tax: int=None,
  11. return_: int=None,
  12. result: int=None,
  13. tax_type: str=None,
  14. period: str=None):
  15. self.name = name
  16. self.vat = vat
  17. self.vat_final = vat_final
  18. self.contribs = contribs
  19. self.cam = cam
  20. self.income_tax = income_tax
  21. self.dividend_tax = dividend_tax
  22. self.other_tax = other_tax
  23. self.return_ = return_
  24. self.result = result
  25. self.tax_type = tax_type
  26. self.period = period
  27. def __repr__(self) -> str:
  28. s = ''
  29. s += 'Impozite *{}* {}{}'.format(self.period, self.name, '\n' * 2)
  30. s += 'TVA: *{}*\n'.format(self.vat)
  31. s += 'TVA final: *{}*\n'.format(self.vat_final)
  32. s += 'Contributii: *{}*\n'.format(self.contribs)
  33. s += 'CAM: *{}*\n'.format(self.cam)
  34. s += 'Impozit {}: *{}*\n'.format(self.tax_type, self.income_tax)
  35. s += 'Impozit dividende: *{}*\n'.format(self.dividend_tax)
  36. s += 'Alte impozite: *{}*\n'.format(self.other_tax)
  37. s += 'Cont salarii/impozit micro/profit/dividende: *RO14TREZ2165503XXXXXXXXX*\n'
  38. s += 'Cont TVA: *RO32TREZ21620A100101XTVA*\n'
  39. s += 'Cont CAM: *RO54TREZ21620A470300XXXX*'
  40. return s