1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- '''Created Feb 3, 2023 deeejas'''
- class Taxes(object):
- def __init__(self, name: str=None,
- vat: int=None,
- vat_final: int=None,
- contribs: int=None,
- cam: int=None,
- income_tax: int=None,
- dividend_tax: int=None,
- other_tax: int=None,
- return_: int=None,
- result: int=None,
- tax_type: str=None,
- period: str=None):
- self.name = name
- self.vat = vat
- self.vat_final = vat_final
- self.contribs = contribs
- self.cam = cam
- self.income_tax = income_tax
- self.dividend_tax = dividend_tax
- self.other_tax = other_tax
- self.return_ = return_
- self.result = result
- self.tax_type = tax_type
- self.period = period
- def __repr__(self) -> str:
- s = ''
- s += 'Impozite *{}* {}{}'.format(self.period, self.name, '\n' * 2)
- s += 'TVA: *{}*\n'.format(self.vat)
- s += 'TVA final: *{}*\n'.format(self.vat_final)
- s += 'Contributii: *{}*\n'.format(self.contribs)
- s += 'CAM: *{}*\n'.format(self.cam)
- s += 'Impozit {}: *{}*\n'.format(self.tax_type, self.income_tax)
- s += 'Impozit dividende: *{}*\n'.format(self.dividend_tax)
- s += 'Alte impozite: *{}*\n'.format(self.other_tax)
- s += 'Cont salarii/impozit micro/profit/dividende: *RO14TREZ2165503XXXXXXXXX*\n'
- s += 'Cont TVA: *RO32TREZ21620A100101XTVA*\n'
- s += 'Cont CAM: *RO54TREZ21620A470300XXXX*'
- return s
|