georgia-tax-calculator

module
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: MIT

README

GitHub go.mod Go version GoDoc Latest release artifacts Go [lint, test] Go Report Card codecov Quality Gate Status coverbadger-tag-do-not-edit

georgia-tax-calculator

Calculates income taxes in Georgia.

  • Fetches official rates from the nbg.gov.ge for the date of income.
  • Converts income to GEL.
  • Calculate taxes amount according to specified Taxes Category.

Usage

  1. Download binary from Latest release artifacts

  2. Run ge-tax-calc run and follow instructions

All available flags, commands and usage:

NAME:
   ge-tax-calc - A command line tool helper for preparing tax declaration in Georgia 

USAGE:
   ge-tax-calc [global options] command [command options] [arguments...]

DESCRIPTION:
   Helper tool for preparing tax declarations in Georgia.
   It get income amount in received currency, converts it to GEL according to
   official rates on date of income and calculates tax amount
   according to selected taxes category.

AUTHOR:
   Oleg Balunenko <oleg.balunenko@gmail.com>

COMMANDS:
   run      Runs taxes calculations
   convert  Runs currency converter
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help (default: false)
   --version, -v  print the version (default: false)
Demo
Taxes calculations

asciicast

Cuurency conversion

asciicast

Directories

Path Synopsis
cmd
ge-tax-calc
ge-tax-calc is CLI for taxes calculations.
ge-tax-calc is CLI for taxes calculations.
internal
converter
Package converter provides functionality for converting money from currency to currency.
Package converter provides functionality for converting money from currency to currency.
models
Package models represents service common models.
Package models represents service common models.
service
Package service holds business logic.
Package service holds business logic.
spinner
Package spinner provides helper for setup spinner for long-term operations.
Package spinner provides helper for setup spinner for long-term operations.
taxes
Package taxes provides functionality for calculating taxes.
Package taxes provides functionality for calculating taxes.
pkg
dateutils
Package dateutils provides functionality for working with dates.
Package dateutils provides functionality for working with dates.
moneyutils
Package moneyutils provide functionality for work with money.
Package moneyutils provide functionality for work with money.
nbggovge
Package nbggovge provides functionality for fetching currency rates from nbg.gov.ge API.
Package nbggovge provides functionality for fetching currency rates from nbg.gov.ge API.
nbggovge/currencies
Package currencies contains currency codes constants.
Package currencies contains currency codes constants.
nbggovge/internal
Package internal holds internal logic and parameters for requests.
Package internal holds internal logic and parameters for requests.
nbggovge/mock
Package mock provides mock implementations of nbggovge.Client.
Package mock provides mock implementations of nbggovge.Client.
nbggovge/option
Package option represents options pattern for Rates request.
Package option represents options pattern for Rates request.

Jump to

Keyboard shortcuts

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