Download the PHP package phdevutils/bir without Composer
On this page you can find all versions of the php package phdevutils/bir. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download phdevutils/bir
More information about phdevutils/bir
Files in phdevutils/bir
Package bir
Short Description BIR (Bureau of Internal Revenue) tax utilities for the Philippines — VAT (12% / ₱3M threshold), percentage tax (3% standing, with historical 1% rate awareness), and a reference list of commonly-used BIR forms.
License MIT
Informations about the package bir
phdevutils/bir
BIR (Bureau of Internal Revenue) tax utilities for the Philippines — VAT, percentage tax, individual income tax, expanded withholding tax (EWT), and a reference list of common BIR forms. PHP + JavaScript, MIT-licensed.
Companion to phdevutils/payroll, which covers the employee side (SSS / PhilHealth / Pag-IBIG / 13th-month / BIR withholding tax on compensation). This package covers the non-employee side: VAT on goods and services, percentage tax for small non-VAT businesses, graduated/8% income tax, creditable withholding on income payments, and form references.
PHP usage
JS usage
A parity JavaScript/TypeScript package is published as @ph-dev-utils/bir:
What's verified
| Capability | Rate / Value | Legal basis | Effective |
|---|---|---|---|
| VAT rate | 12% | RA 9337 | 2005-11-01 |
| VAT threshold | ₱3,000,000 | TRAIN RA 10963 | 2018-01-01 |
| Percentage tax | 3% | Tax Code § 116 | reverted 2023-07-01 |
| Percentage tax (historical) | 1% | RA 11534 (CREATE) | 2020-07-01 → 2023-06-30 |
| Individual income tax | graduated + 8% option | TRAIN RA 10963 | 2018 & 2023 tables |
| EWT — professional/commission | 5%/10% (indiv.), 10%/15% (corp.) | RR 11-2018 | TRAIN era |
| EWT — rental / contractor / TWA | 5% / 2% / 1%–2% | RR 11-2018 | TRAIN era |
| Form 2550M supersession | retired | EOPT Act RA 11976 | 2024-01-22 |
Each rate is sourced to the originating Republic Act / Revenue Regulation, with _meta on each data file recording source, source_url, and verified_on. DST is deferred pending verification of the 2025 CMEPA (RA 12214) revisions.
⚠️ Disclaimer
Real-money tax math. Verify outputs against official BIR calculators before production use. PRs welcome for additions, corrections, and EWT/DST/ATC contributions.
License
MIT