Skip to content
CiklePublic

About

Lohnify is a Flutter-based mobile application designed to help users in Switzerland calculate their net salary by considering various deductions including social security contributions, pension funds, and cantonal tax rates.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

233 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Lohnify - Swiss Salary Calculator

Lohnify is a Flutter-based mobile application designed to help users in Switzerland calculate their net salary by considering various deductions including social security contributions, pension funds, and cantonal tax rates.

Features

  • Gross to net salary calculation
  • Support for all 26 Swiss cantons with their specific tax rates
  • Social security deductions (AHV, IV, EO, ALV)
  • Pension fund contributions
  • Church tax calculations
  • 13th month salary support
  • Dark/Light theme support
  • Multilingual support (German/English)
  • Automatic canton rates updates

Technical Details

Architecture

The app follows a service-based architecture with:

  • Services layer (services/) - Handles data fetching and business logic
  • Models layer (models/) - Contains data structures and calculation logic
  • UI layer (screens/) - Manages user interface and interactions

Key Components

  1. Canton Rates Service

    • Fetches current canton tax rates from API
    • Implements local caching with SharedPreferences
    • Falls back to default rates if network unavailable
  2. Contribution Rates

    • Manages social security contribution rates
    • Handles canton-specific tax rates
    • Provides default values for offline use
  3. Salary Calculator

    • Processes gross salary input
    • Applies all relevant deductions
    • Calculates net salary and yearly totals

Setup & Installation

  1. Ensure Flutter is installed and configured:
flutter doctor
  1. Clone the repository:
git clone https://github.com/yourusername/lohnify.git
  1. Install dependencies:
flutter pub get
  1. Run the app:
flutter run

About

Lohnify is a Flutter-based mobile application designed to help users in Switzerland calculate their net salary by considering various deductions including social security contributions, pension funds, and cantonal tax rates.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages