taxes

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2017 License: Unlicense Imports: 9 Imported by: 0

README

taxes GoDoc Build Status Go Report Card

Commandline quarterly tax calculator for simplified Ukrainian taxation system

Install

go get -u github.com/mxmCherry/taxes

Use

By default (if no --file provided), taxes command tries to consume ~/.taxes/data.yaml. Refer to example.yaml for example structure.

$ taxes --file=example.yaml
Year	QQ	Payments	Income (UAH)	   Tax (UAH)
2016	Q3	       2	      268.20	       13.41
2016	Q4	       2	      805.99	       40.30
2017	Q1	       2	     1434.60	       71.73
2017	Q2	       2	     1917.27	       95.87

Documentation

Overview

Command taxes calculates quarterly taxes from company/payments YAML file.

Usage:

taxes --file=example.yaml

Company/payments file example:

company:
  base_currency: UAH
  tax_rate:      0.05
payments:
  - date:     2016-08-09T16:54:00+03:00
    currency: USD
    amount:   10.00
  - date:     2016-08-10T10:33:00+03:00
    currency: UAH
    amount:   20.00

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL