https://github.com/alice1017/tax-deadline
Calculate a deadline of the Japanese tax payment.
https://github.com/alice1017/tax-deadline
calculate deadline node nodejs tax
Last synced: about 1 month ago
JSON representation
Calculate a deadline of the Japanese tax payment.
- Host: GitHub
- URL: https://github.com/alice1017/tax-deadline
- Owner: alice1017
- License: mit
- Created: 2019-07-03T01:07:39.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T02:00:30.000Z (over 2 years ago)
- Last Synced: 2025-02-15T08:25:57.925Z (3 months ago)
- Topics: calculate, deadline, node, nodejs, tax
- Language: JavaScript
- Size: 698 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tax-deadline
[](https://travis-ci.org/alice1017/tax-deadline)
This module calculate a **deadline** of the **Japanese tax payment**.
---
**tax-deadline is UNDER DEVELOPMENT.**
---
## Category of the tax
| Japanese | English |
|----------|----------------------|
| 法人税 | **Corporate** Tax |
| 所得税 | **Income** Tax |
| 源泉税 | **Withholding** Tax |
| 消費税 | **Consumption** Tax |Refer to [**this page**](https://www.nta.go.jp/taxes/nozei/nofu/24200042/noufu_kigen.htm) for a deadline of each tax by law.
## How to use
```javascript
import Tax from "tax-deadline";
const deadline = Tax.corporate(2019, 3);
console.log(deadline.format("YYYY年MM月DD日(ddd)");
// -> 2019年4月1日(月)
```## API document
### `Tax.corporate`
* ***description***
Calculate a deadline of the coporate tax, and return a [**moment**](https://momentjs.com/) instance.
A deadline of the corporate tax payment is from the next day of the fiscal year end date to two months. (ex, fiscal year: Aplil - March, deadline: 31th May )
* ***arguments***
* *year* - ``
A four-digit year number.
* *month* - ``
A 1-12 month number. this is the **tax declaration** month, not the fiscal year end month.