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, 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, and form references.
PHP usage
JS usage
A parity JavaScript/TypeScript package is published as @ph-dev-utils/bir:
What's verified for v0.1
| 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 |
| Form 2550M supersession | retired | EOPT Act RA 11976 | 2024-01-22 |
Each rate is sourced to the originating Republic Act (Lawphil text), with _meta on each data file recording source, source_url, verified_on, and effective_from.
⚠️ 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