Build Status MetaCPAN Release

NAME

Business::Tax::Withholding::JP - auto calculation for Japanese tax and withholding

Business::Tax::Withholding::JP - 日本の消費税と源泉徴収のややこしい計算を自動化します。

SYNOPSIS

use Business::Tax::Withholding::JP;
my $calc = Business::Tax::Withholding::JP->new( price => 10000 );

$calc->net();          # 10000
$calc->amount();       # 1
$calc->subtotal();     # 10000
$calc->tax();          # 800
$calc->full();         # 10800
$calc->withholding();  # 1021
$calc->total();        # 9779

# Or you can set the date in period of special tax will expire
$calc = Business::Tax::Withholding::JP->new( date => '2038-01-01' );
$calc->price(10000);
$calc->withholding();  # 1000
$calc->total();        # 9800

# And you may ignore the withholdings
$calc = Business::Tax::Withholding::JP->new( no_wh => 1 );
$calc->price(10000);   # 10000
$calc->amount(2);      # 2
$calc->subtotal();     # 20000
$calc->tax();          # 1600
$calc->withholding();  # 0
$calc->total();        # 21600

# After 2019/10/01, this module will calculate with 10% consumption tax
$calc = Business::Tax::Withholding::JP->new( price => 10000 );
$calc->net();          # 10000
$calc->amount(2);      # 2
$calc->subtotal();     # 20000
$calc->tax();          # 2000
$calc->withholding();  # 2042
$calc->total();        # 19958

DESCRIPTION

Business::Tax::Withholding::JP is useful calculator for long term in Japanese Business.

You can get correctly taxes and withholdings from price in your context without worrying about the special tax for reconstructing from the Earthquake.

the consumption tax rate is 8% (automatically up to 10% after 2019/10/01)

You can also ignore the withholings. It means this module can be a tax calculator

Business::Tax::Withholding::JP は日本のビジネスで長期的に使えるモジュールです。 特別復興所得税の期限を心配することなく、請求価格から正しく税金額と源泉徴収額を計算できます。 なお、源泉徴収をしない経理にも対応します。消費税率は8%、2019年10月1日から自動的に10% です。

Constructor

new( price => Int, amount => Int, date => Date, no_wh => Bool );

You can omit these paramators.

パラメータは指定しなくて構いません。

Methods and subroutine

LICENSE

Copyright (C) Yuki Yoshida(worthmine).

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Yuki Yoshida worthmine@gmail.com