Download the PHP package riod94/payroll-calculator-indonesia without Composer
On this page you can find all versions of the php package riod94/payroll-calculator-indonesia. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download riod94/payroll-calculator-indonesia
More information about riod94/payroll-calculator-indonesia
Files in riod94/payroll-calculator-indonesia
Package payroll-calculator-indonesia
Short Description A comprehensive Indonesian payroll calculator library for PHP projects with tax calculations (PPh21, PPh23, PPh26).
License ISC
Homepage https://github.com/riod94/payroll-calculator-indonesia
Informations about the package payroll-calculator-indonesia
Payroll Calculator PHP
A comprehensive payroll calculator library for PHP projects with Indonesian tax calculations (PPh21, PPh23, PPh26).
Features
- PPh21 Calculation: Complete Indonesian income tax calculation for employees
- PPh23 Calculation: Withholding tax for services, rentals, and other payments (2025 compliant)
- PPh26 Calculation: Final withholding tax with 20% rate (2025 compliant)
- Multiple Calculation Methods: NETT, GROSS, and GROSS_UP support
- Overtime Calculation: Complete overtime payment calculation
- BPJS Integration: BPJS Kesehatan and BPJS Ketenagakerjaan calculations
- PTKP Support: All PTKP statuses (TK/0, TK/1, TK/2, TK/3, K/0, K/1, K/2, K/3)
- NPWP Surcharge: Automatic surcharge calculation for non-NPWP holders
Installation
Install the package via Composer:
Quick Start
Basic Usage
Features
- PPh 21 Calculation: Comprehensive PPh 21 tax calculation for various employee types
- BPJS Calculations: Support for BPJS Kesehatan and BPJS Ketenagakerjaan calculations
- Multiple Employee Types: Support for permanent, non-permanent, commissioners, and other tax subjects
- Overtime Calculation: Built-in overtime payment calculation
- Tax Methods: Support for GROSS, NETT, and GROSS UP calculation methods
- Annual & Monthly: Support for both monthly and annual tax calculations
- Resignation Benefits: Calculate tax for severance pay, compensation pay, and merit pay
Supported Employee Types
- Permanent Employee (Pegawai Tetap)
- Non-Permanent Employee (Pegawai Tidak Tetap)
- Not Employee Sustainable (Bukan Pegawai berkesinambungan)
- Not Employee Sustainable with Other Income (Bukan Pegawai berkesinambungan dan Memiliki penghasilan lainnya)
- Not Employee Unsustainable (Bukan Pegawai tidak berkesinambungan)
- Other Subjects (Subject pajak lainnya seperti: Peserta Kegiatan, Pensiunan dan Bukan Pegawai)
- Board of Commissioners (Dewan Pengawas / Komisaris)
- Foreign Individual Taxpayer (Wajib Pajak Asing)
Tax Status (PTKP)
- TK/0: Single, no dependents - Rp 54.000.000
- TK/1: Single, 1 dependent - Rp 58.500.000
- TK/2: Single, 2 dependents - Rp 63.000.000
- TK/3: Single, 3 dependents - Rp 67.500.000
- K/0: Married, no dependents - Rp 58.500.000
- K/1: Married, 1 dependent - Rp 63.000.000
- K/2: Married, 2 dependents - Rp 67.500.000
- K/3: Married, 3 dependents - Rp 72.000.000
Calculation Methods
GROSS
Tax is borne by the employee. The tax amount is deducted from the employee's take-home pay.
NETT
Tax is borne by the company. The employee receives the full gross amount, and the company pays the tax separately.
GROSS UP
Tax is borne by the company and given to the employee as a tax allowance. The employee receives both the gross amount and the tax amount.
Configuration
Testing
License
ISC License
Author
Rio Dwi Prabowo - [email protected]