luca-jp 0.1.5 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/luca-jp +12 -0
- data/lib/luca/jp.rb +2 -0
- data/lib/luca/jp/aoiro.rb +239 -65
- data/lib/luca/jp/chihouzei.rb +23 -6
- data/lib/luca/jp/common.rb +16 -3
- data/lib/luca/jp/it_part.rb +1 -1
- data/lib/luca/jp/syouhizei.rb +2 -2
- data/lib/luca/jp/templates/beppyo1.xml.erb +2 -0
- data/lib/luca/jp/templates/beppyo2.xml.erb +32 -0
- data/lib/luca/jp/templates/beppyo4.xml.erb +15 -11
- data/lib/luca/jp/templates/beppyo51.xml.erb +14 -7
- data/lib/luca/jp/templates/beppyo52.xml.erb +50 -19
- data/lib/luca/jp/templates/chidai-meisai.xml.erb +15 -0
- data/lib/luca/jp/templates/el-no6-43.xml.erb +1 -1
- data/lib/luca/jp/templates/el-no6-9.xml.erb +2 -2
- data/lib/luca/jp/templates/el-no6.xml.erb +12 -20
- data/lib/luca/jp/templates/eltax-userinf.xml.erb +20 -0
- data/lib/luca/jp/templates/eltax.xml.erb +7 -7
- data/lib/luca/jp/templates/gaikyo.xml.erb +65 -0
- data/lib/luca/jp/templates/kaikake-meisai.xml.erb +16 -0
- data/lib/luca/jp/templates/kariire-meisai.xml.erb +13 -0
- data/lib/luca/jp/templates/shoken-meisai.xml.erb +21 -0
- data/lib/luca/jp/templates/tekiyougaku.xml.erb +2 -0
- data/lib/luca/jp/templates/yokin-meisai.xml.erb +7 -4
- data/lib/luca/jp/uchiwake.rb +195 -0
- data/lib/luca/jp/urikake.rb +47 -0
- data/lib/luca/jp/util.rb +25 -0
- data/lib/luca/jp/version.rb +1 -1
- metadata +9 -2
data/lib/luca/jp/chihouzei.rb
CHANGED
@@ -24,8 +24,9 @@ module Luca
|
|
24
24
|
@issue_date = Date.today
|
25
25
|
@company = CGI.escapeHTML(config.dig('company', 'name'))
|
26
26
|
@software = 'LucaJp'
|
27
|
-
@jimusho_code =
|
28
|
-
@jimusho_name = '
|
27
|
+
@jimusho_code = eltax_config('jimusho_code')
|
28
|
+
@jimusho_name = eltax_config('jimusho_name')
|
29
|
+
@app_version = eltax_config('app_version')
|
29
30
|
|
30
31
|
@税額 = 税額計算
|
31
32
|
@均等割 = @税額.dig(:kenmin, :kintou)
|
@@ -63,7 +64,7 @@ module Luca
|
|
63
64
|
@procedure_code = 'R0102100'
|
64
65
|
@procedure_name = '法人都道府県民税・事業税・特別法人事業税又は地方法人特別税 確定申告'
|
65
66
|
@form_sec = ['R0102AA190', 'R0102AG120', 別表九フォーム].compact.map{ |c| form_attr(c) }.join('')
|
66
|
-
@user_inf = render_erb(search_template('
|
67
|
+
@user_inf = render_erb(search_template('eltax-userinf.xml.erb'))
|
67
68
|
@form_data = [第六号, 別表四三, 別表九].compact.join("\n")
|
68
69
|
render_erb(search_template('eltax.xml.erb'))
|
69
70
|
end
|
@@ -105,6 +106,7 @@ module Luca
|
|
105
106
|
end
|
106
107
|
|
107
108
|
def 第六号
|
109
|
+
@資本金準備金 = eltax_config('shihon') || it_part_config('shihon_kin')
|
108
110
|
render_erb(search_template('el-no6.xml.erb'))
|
109
111
|
end
|
110
112
|
|
@@ -128,8 +130,7 @@ module Luca
|
|
128
130
|
private
|
129
131
|
|
130
132
|
def 法人税割課税標準
|
131
|
-
|
132
|
-
(national_tax[:kokuzei][:zeigaku] / 1000).floor * 1000
|
133
|
+
(@税額.dig(:houjin, :kokuzei) / 1000).floor * 1000
|
133
134
|
end
|
134
135
|
|
135
136
|
def 事業税中間納付
|
@@ -166,8 +167,24 @@ module Luca
|
|
166
167
|
</AMB00200>)
|
167
168
|
end
|
168
169
|
|
170
|
+
def eltax_kouza
|
171
|
+
items = it_part_config('kanpu_kinyukikan').split('-')
|
172
|
+
%Q(<gen:kubun_CD />
|
173
|
+
<gen:kinyukikan_NM>#{items[0]}</gen:kinyukikan_NM>
|
174
|
+
<gen:shiten_NM>#{items[1]}</gen:shiten_NM>
|
175
|
+
<gen:kinyukikan_CD />
|
176
|
+
<gen:shiten_CD />
|
177
|
+
<gen:yokin>1</gen:yokin>
|
178
|
+
<gen:koza>#{items[3]}</gen:koza>)
|
179
|
+
end
|
180
|
+
|
169
181
|
def form_attr(code)
|
170
|
-
|
182
|
+
name = {
|
183
|
+
'R0102AA' => '中間・確定申告書',
|
184
|
+
'R0102AG' => '均等割額の計算に関する明細書',
|
185
|
+
'R0102AM' => '欠損金額等及び災害損失金の控除明細書'
|
186
|
+
}[code[0,7]]
|
187
|
+
"<FORM_ATTR><FORM_ID>#{code}</FORM_ID><FORM_NAME>#{name}</FORM_NAME><FORM_FILE_NAME></FORM_FILE_NAME><FORM_XSL_NAME></FORM_XSL_NAME></FORM_ATTR>"
|
171
188
|
end
|
172
189
|
|
173
190
|
def karibarai_label(key)
|
data/lib/luca/jp/common.rb
CHANGED
@@ -204,12 +204,25 @@ module Luca
|
|
204
204
|
end
|
205
205
|
|
206
206
|
def 還付事業税
|
207
|
-
|
207
|
+
refund_tax('1504')
|
208
208
|
end
|
209
209
|
|
210
210
|
def 未納事業税期中増減
|
211
|
-
r =
|
212
|
-
[LucaSupport::Code.readable(r[
|
211
|
+
r = gross_amount('5152', @start_date.year, @start_date.month, @end_date.year, @end_date.month)
|
212
|
+
[LucaSupport::Code.readable(r[0]), LucaSupport::Code.readable(r[1])]
|
213
|
+
end
|
214
|
+
|
215
|
+
|
216
|
+
# -----------------------------------------------------
|
217
|
+
# :section: 消費税の計算
|
218
|
+
# -----------------------------------------------------
|
219
|
+
|
220
|
+
def 消費税中間納付額
|
221
|
+
prepaid_tax('185B')
|
222
|
+
end
|
223
|
+
|
224
|
+
def 地方消費税中間納付額
|
225
|
+
prepaid_tax('185C')
|
213
226
|
end
|
214
227
|
end
|
215
228
|
end
|
data/lib/luca/jp/it_part.rb
CHANGED
@@ -24,7 +24,7 @@ module Luca
|
|
24
24
|
entries << %Q(<TETSUZUKI ID="TETSUZUKI"><procedure_CD>#{@procedure_code}</procedure_CD><procedure_NM>#{@procedure_name}</procedure_NM></TETSUZUKI>)
|
25
25
|
entries.concat([jigyo_nendo_from, jigyo_nendo_to, kazei_kikan_from, kazei_kikan_to])
|
26
26
|
entries << render_it_tag('keiri_sekininsha')
|
27
|
-
entries << '<SHINKOKU_KBN ID="SHINKOKU_KBN"><kubun_CD>
|
27
|
+
entries << '<SHINKOKU_KBN ID="SHINKOKU_KBN"><kubun_CD>30</kubun_CD></SHINKOKU_KBN>'
|
28
28
|
entries.concat(['eltax_id'].map{ |key| render_it_tag(key) })
|
29
29
|
entries << '</IT>'
|
30
30
|
entries.compact.join("\n")
|
data/lib/luca/jp/syouhizei.rb
CHANGED
@@ -34,8 +34,8 @@ module Luca
|
|
34
34
|
@みなし仕入税額 = (@tax_amount * みなし仕入率(config.dig('jp', 'syouhizei_kubun')) / 100).floor
|
35
35
|
@税額 = LucaSupport::Code.readable(((@tax_amount - @みなし仕入税額) / 100).floor * 100)
|
36
36
|
@譲渡割額 = (@税額 * 地方税率 / (税率*100)).floor * 100
|
37
|
-
@中間納付額 =
|
38
|
-
@地方税中間納付額 =
|
37
|
+
@中間納付額 = 消費税中間納付額
|
38
|
+
@地方税中間納付額 = 地方消費税中間納付額
|
39
39
|
|
40
40
|
if export
|
41
41
|
{
|
@@ -14,8 +14,10 @@
|
|
14
14
|
<BGA00110 IDREF="DAIHYO_NM"/>
|
15
15
|
</BGA00090>
|
16
16
|
<BGA00120 IDREF="DAIHYO_ADR"/>
|
17
|
+
<BGA00130><kubun_CD>1</kubun_CD></BGA00130>
|
17
18
|
<BGA00140 IDREF="JIGYO_NAIYO"/>
|
18
19
|
<BGA00150 IDREF="SHIHON_KIN"/>
|
20
|
+
<%= render_attr('BGA00170', 別表一同族区分) %>
|
19
21
|
<BGA00210>
|
20
22
|
<BGA00220><kubun_CD>1</kubun_CD></BGA00220>
|
21
23
|
<BGA00230><kubun_CD>1</kubun_CD></BGA00230>
|
@@ -6,4 +6,36 @@
|
|
6
6
|
</VAA00010>
|
7
7
|
<VAA00040 IDREF="NOZEISHA_NM"/>
|
8
8
|
</VAA00000>
|
9
|
+
<VAB00000>
|
10
|
+
<%= render_attr('VAB00010', beppyo2_config('total_shares')) %>
|
11
|
+
<%= render_attr('VAB00020', 別表二上位株数) %>
|
12
|
+
<%= render_attr('VAB00030', 別表二上位株割合) %>
|
13
|
+
<VAB00040>
|
14
|
+
<%= render_attr('VAB00060', beppyo2_config('total_votes')) %>
|
15
|
+
</VAB00040>
|
16
|
+
<%= render_attr('VAB00070', 別表二上位議決権数) %>
|
17
|
+
<%= render_attr('VAB00080', 別表二上位議決権割合) %>
|
18
|
+
</VAB00000>
|
19
|
+
<%= render_attr('VAD00000', 別表二同族区分) %>
|
20
|
+
<VAE00000>
|
21
|
+
<VAE00010>
|
22
|
+
<VAE00020>
|
23
|
+
<VAE00030>1</VAE00030>
|
24
|
+
<VAE00040>1</VAE00040>
|
25
|
+
</VAE00020>
|
26
|
+
<VAE00050>
|
27
|
+
<%= render_attr('VAE00060', beppyo2_config('owners')&.dig(0, 'address')) %>
|
28
|
+
<%= render_attr('VAE00070', beppyo2_config('owners')&.dig(0, 'name')) %>
|
29
|
+
</VAE00050>
|
30
|
+
<VAE00080>
|
31
|
+
<VAE00120>
|
32
|
+
<%= render_attr('VAE00130', beppyo2_config('owners')&.dig(0, 'shares')) %>
|
33
|
+
<VAE00140>
|
34
|
+
<%= render_attr('VAE00160', beppyo2_config('owners')&.dig(0, 'votes')) %>
|
35
|
+
</VAE00140>
|
36
|
+
</VAE00120>
|
37
|
+
</VAE00080>
|
38
|
+
</VAE00010>
|
39
|
+
<%= 別表二株主リスト %>
|
40
|
+
</VAE00000>
|
9
41
|
</HOA201>
|
@@ -20,20 +20,20 @@
|
|
20
20
|
<%= render_attr('ARC00060', (都道府県民税損金納付 + 市民税損金納付 + 都道府県民税仮払納付 + 市民税仮払納付)) %>
|
21
21
|
</ARC00040>
|
22
22
|
<ARC00100>
|
23
|
-
<%= render_attr('ARC00110', (@法人税等 - 法人税損金納付額 - 都道府県民税損金納付 - 市民税損金納付)) %>
|
24
|
-
<%= render_attr('ARC00120', (@法人税等 - 法人税損金納付額 - 都道府県民税損金納付 - 市民税損金納付)) %>
|
23
|
+
<%= render_attr('ARC00110', (@法人税等 - 法人税損金納付額 - 都道府県民税損金納付 - 市民税損金納付 - 事業税損金納付)) %>
|
24
|
+
<%= render_attr('ARC00120', (@法人税等 - 法人税損金納付額 - 都道府県民税損金納付 - 市民税損金納付 - 事業税損金納付)) %>
|
25
25
|
</ARC00100>
|
26
26
|
<%= 別表四還付事業税 %>
|
27
|
-
<% if (
|
27
|
+
<% if (@当期還付法人税 + @当期還付都道府県住民税 + @当期還付市民税) > 0 %>
|
28
28
|
<ARC00220>
|
29
29
|
<%= render_attr('ARC00230', '前期仮払税金否認') %>
|
30
|
-
<%= render_attr('ARC00240', (
|
31
|
-
<%= render_attr('ARC00250', (
|
30
|
+
<%= render_attr('ARC00240', (@当期還付法人税 + @当期還付都道府県住民税 + @当期還付市民税)) %>
|
31
|
+
<%= render_attr('ARC00250', (@当期還付法人税 + @当期還付都道府県住民税 + @当期還付市民税)) %>
|
32
32
|
</ARC00220>
|
33
33
|
<% end %>
|
34
34
|
<ARC00325>
|
35
|
-
<%= render_attr('ARC00330', @法人税等 +
|
36
|
-
<%= render_attr('ARC00340', @法人税等 +
|
35
|
+
<%= render_attr('ARC00330', @法人税等 + @当期還付事業税 + 法人税仮払納付額 + 都道府県民税仮払納付 + 市民税仮払納付) %>
|
36
|
+
<%= render_attr('ARC00340', @法人税等 + @当期還付事業税 + 法人税仮払納付額 + 都道府県民税仮払納付 + 市民税仮払納付) %>
|
37
37
|
</ARC00325>
|
38
38
|
</ARC00000>
|
39
39
|
<ARD00000>
|
@@ -42,8 +42,8 @@
|
|
42
42
|
<%= render_attr('ARD00060', @納付事業税) %>
|
43
43
|
</ARD00040>
|
44
44
|
<ARD00100>
|
45
|
-
<%= render_attr('ARD00110',
|
46
|
-
<%= render_attr('ARD00120',
|
45
|
+
<%= render_attr('ARD00110', @当期還付法人税 + @当期還付都道府県住民税 + @当期還付市民税) %>
|
46
|
+
<%= render_attr('ARD00120', @当期還付法人税 + @当期還付都道府県住民税 + @当期還付市民税) %>
|
47
47
|
</ARD00100>
|
48
48
|
<% if (法人税仮払納付額 + 都道府県民税仮払納付 + 市民税仮払納付) > 0 %>
|
49
49
|
<ARD00215>
|
@@ -53,14 +53,18 @@
|
|
53
53
|
</ARD00215>
|
54
54
|
<% end %>
|
55
55
|
<ARD00280>
|
56
|
-
<%= render_attr('ARD00290', (@納付事業税 + 法人税仮払納付額 + 都道府県民税仮払納付 + 市民税仮払納付
|
57
|
-
<%= render_attr('ARD00300', (@納付事業税 + 法人税仮払納付額 + 都道府県民税仮払納付 + 市民税仮払納付
|
56
|
+
<%= render_attr('ARD00290', (@納付事業税 + 法人税仮払納付額 + 都道府県民税仮払納付 + 市民税仮払納付)) %>
|
57
|
+
<%= render_attr('ARD00300', (@納付事業税 + 法人税仮払納付額 + 都道府県民税仮払納付 + 市民税仮払納付)) %>
|
58
58
|
</ARD00280>
|
59
59
|
</ARD00000>
|
60
60
|
<ARE00000>
|
61
61
|
<%= render_attr('ARE00010', @別表四調整所得) %>
|
62
62
|
<%= render_attr('ARE00020', @別表四調整所得) %>
|
63
63
|
</ARE00000>
|
64
|
+
<ARZ10000>
|
65
|
+
<%= render_attr('ARZ10010', @別表四調整所得) %>
|
66
|
+
<%= render_attr('ARZ10020', @別表四調整所得) %>
|
67
|
+
</ARZ10000>
|
64
68
|
<ARK00000>
|
65
69
|
<%= render_attr('ARK00010', @別表四調整所得) %>
|
66
70
|
<%= render_attr('ARK00020', @別表四調整所得) %>
|
@@ -7,6 +7,10 @@
|
|
7
7
|
<ICA00040 IDREF="NOZEISHA_NM"/>
|
8
8
|
</ICA00000>
|
9
9
|
<ICB00000>
|
10
|
+
<%= 別表五一仮払税金 %>
|
11
|
+
<%= 別表五一還付法人税 %>
|
12
|
+
<%= 別表五一還付都道府県住民税 %>
|
13
|
+
<%= 別表五一還付市民税 %>
|
10
14
|
<ICB00400>
|
11
15
|
<%= render_attr('ICB00410', 期首繰越損益) %>
|
12
16
|
<ICB00420>
|
@@ -21,15 +25,16 @@
|
|
21
25
|
<%= render_attr('ICB00490', @納税充当金期中減) %>
|
22
26
|
<%= render_attr('ICB00500', @納税充当金期中増) %>
|
23
27
|
</ICB00480>
|
24
|
-
<%= render_attr('ICB00510',
|
28
|
+
<%= render_attr('ICB00510', @納税充当金期中増) %>
|
25
29
|
</ICB00460>
|
26
30
|
<ICB00520>
|
27
31
|
<ICB00530>
|
28
32
|
<%= render_attr('ICB00540', 期首未納法人税) %>
|
29
33
|
<ICB00550>
|
30
|
-
<%= render_attr('ICB00560', @法人税期中減) %>
|
34
|
+
<%= render_attr('ICB00560', @法人税期中減 + @翌期還付法人税) %>
|
31
35
|
<ICB00570>
|
32
|
-
<%= render_attr('
|
36
|
+
<%= render_attr('ICB00580', @法人税中間納付 + @地方法人税中間納付) %>
|
37
|
+
<%= render_attr('ICB00590', 期末未納法人税) %>
|
33
38
|
</ICB00570>
|
34
39
|
</ICB00550>
|
35
40
|
<%= render_attr('ICB00610', 期末未納法人税) %>
|
@@ -37,9 +42,10 @@
|
|
37
42
|
<ICB00620>
|
38
43
|
<%= render_attr('ICB00630', 期首未納都道府県民税) %>
|
39
44
|
<ICB00640>
|
40
|
-
<%= render_attr('ICB00650', @都道府県民税期中減) %>
|
45
|
+
<%= render_attr('ICB00650', @都道府県民税期中減 + @翌期還付都道府県住民税) %>
|
41
46
|
<ICB00660>
|
42
|
-
<%= render_attr('
|
47
|
+
<%= render_attr('ICB00670', @都道府県民税中間納付) %>
|
48
|
+
<%= render_attr('ICB00680', 期末未納都道府県民税) %>
|
43
49
|
</ICB00660>
|
44
50
|
</ICB00640>
|
45
51
|
<%= render_attr('ICB00700', 期末未納都道府県民税) %>
|
@@ -47,9 +53,10 @@
|
|
47
53
|
<ICB00710>
|
48
54
|
<%= render_attr('ICB00720', 期首未納市民税) %>
|
49
55
|
<ICB00730>
|
50
|
-
<%= render_attr('ICB00740', @市民税期中減) %>
|
56
|
+
<%= render_attr('ICB00740', @市民税期中減 + @翌期還付市民税) %>
|
51
57
|
<ICB00750>
|
52
|
-
<%= render_attr('
|
58
|
+
<%= render_attr('ICB00760', @市民税中間納付) %>
|
59
|
+
<%= render_attr('ICB00770', 期末未納市民税) %>
|
53
60
|
</ICB00750>
|
54
61
|
</ICB00730>
|
55
62
|
<%= render_attr('ICB00790', 期末未納市民税) %>
|
@@ -10,11 +10,15 @@
|
|
10
10
|
<IEB00010>
|
11
11
|
<%= render_attr('IEB00020', etax_date(@start_date.prev_year)) %>
|
12
12
|
<%= render_attr('IEB00030', etax_date(@end_date.prev_year)) %>
|
13
|
+
<%= render_attr('IEB00040', @当期還付法人税 * -1) %>
|
13
14
|
<%= render_attr('IEB00050', 期首未納法人税) %>
|
14
15
|
<IEB00060>
|
15
16
|
<IEB00070>
|
16
17
|
<%= render_attr('IEB00090', @法人税期中減) %>
|
17
18
|
</IEB00070>
|
19
|
+
<IEB00100>
|
20
|
+
<%= render_attr('IEB00110', @当期還付法人税 * -1) %>
|
21
|
+
</IEB00100>
|
18
22
|
</IEB00060>
|
19
23
|
<%= render_attr('IEB00160', 期首未納法人税 - @法人税期中減) %>
|
20
24
|
</IEB00010>
|
@@ -36,8 +40,8 @@
|
|
36
40
|
<IEB00310>
|
37
41
|
<%= render_attr('IEB00320', (@確定法人税額 + @確定地方法人税額 - @法人税中間納付 - @地方法人税中間納付)) %>
|
38
42
|
<IEB00330>
|
39
|
-
<%= render_attr('IEB00340',
|
40
|
-
<%= render_attr('IEB00350',
|
43
|
+
<%= render_attr('IEB00340', @翌期還付法人税 * -1) %>
|
44
|
+
<%= render_attr('IEB00350', 期末未納法人税) %>
|
41
45
|
</IEB00330>
|
42
46
|
</IEB00310>
|
43
47
|
</IEB00170>
|
@@ -49,6 +53,7 @@
|
|
49
53
|
<%= render_attr('IEB00430', @法人税期中減) %>
|
50
54
|
</IEB00410>
|
51
55
|
<IEB00440>
|
56
|
+
<%= render_attr('IEB00450', @当期還付法人税 * -1) %>
|
52
57
|
<%= render_attr('IEB00460', 法人税仮払納付額) %>
|
53
58
|
</IEB00440>
|
54
59
|
<IEB00470>
|
@@ -56,7 +61,7 @@
|
|
56
61
|
</IEB00470>
|
57
62
|
</IEB00400>
|
58
63
|
<IEB00500>
|
59
|
-
<%= render_attr('IEB00510',
|
64
|
+
<%= render_attr('IEB00510', @翌期還付法人税 * -1) %>
|
60
65
|
<%= render_attr('IEB00520', 期末未納法人税) %>
|
61
66
|
</IEB00500>
|
62
67
|
</IEB00360>
|
@@ -65,11 +70,15 @@
|
|
65
70
|
<IEC00010>
|
66
71
|
<%= render_attr('IEC00020', etax_date(@start_date.prev_year)) %>
|
67
72
|
<%= render_attr('IEC00030', etax_date(@end_date.prev_year)) %>
|
73
|
+
<%= render_attr('IEC00040', @当期還付都道府県住民税 * -1) %>
|
68
74
|
<%= render_attr('IEC00050', 期首未納都道府県民税) %>
|
69
75
|
<IEC00060>
|
70
76
|
<IEC00070>
|
71
77
|
<%= render_attr('IEC00090', @都道府県民税期中減) %>
|
72
78
|
</IEC00070>
|
79
|
+
<IEC00100>
|
80
|
+
<%= render_attr('IEC00110', @当期還付都道府県住民税 * -1) %>
|
81
|
+
</IEC00100>
|
73
82
|
</IEC00060>
|
74
83
|
<%= render_attr('IEC00160', 期首未納都道府県民税 - @都道府県民税期中減) %>
|
75
84
|
</IEC00010>
|
@@ -89,7 +98,7 @@
|
|
89
98
|
<IEC00440>
|
90
99
|
<%= render_attr('IEC00450', (確定都道府県住民税 - @都道府県民税中間納付)) %>
|
91
100
|
<IEC00460>
|
92
|
-
<%= render_attr('IEC00470',
|
101
|
+
<%= render_attr('IEC00470', @翌期還付都道府県住民税 * -1) %>
|
93
102
|
<%= render_attr('IEC00480', 期末未納都道府県民税) %>
|
94
103
|
</IEC00460>
|
95
104
|
</IEC00440>
|
@@ -102,14 +111,15 @@
|
|
102
111
|
<%= render_attr('IEC00560', @都道府県民税期中減) %>
|
103
112
|
</IEC00540>
|
104
113
|
<IEC00570>
|
105
|
-
<%= render_attr('
|
114
|
+
<%= render_attr('IEC00580', @当期還付都道府県住民税 * -1) %>
|
115
|
+
<%= render_attr('IEC00590', 都道府県民税仮払納付) %>
|
106
116
|
</IEC00570>
|
107
117
|
<IEC00600>
|
108
|
-
<%= render_attr('IEC00620',
|
118
|
+
<%= render_attr('IEC00620', 都道府県民税損金納付) %>
|
109
119
|
</IEC00600>
|
110
120
|
</IEC00530>
|
111
121
|
<IEC00630>
|
112
|
-
<%= render_attr('IEC00640',
|
122
|
+
<%= render_attr('IEC00640', @翌期還付都道府県住民税 * -1) %>
|
113
123
|
<%= render_attr('IEC00650', 期末未納都道府県民税) %>
|
114
124
|
</IEC00630>
|
115
125
|
</IEC00490>
|
@@ -118,11 +128,15 @@
|
|
118
128
|
<IED00010>
|
119
129
|
<%= render_attr('IED00020', etax_date(@start_date.prev_year)) %>
|
120
130
|
<%= render_attr('IED00030', etax_date(@end_date.prev_year)) %>
|
131
|
+
<%= render_attr('IED00040', @当期還付市民税 * -1) %>
|
121
132
|
<%= render_attr('IED00050', 期首未納市民税) %>
|
122
133
|
<IED00060>
|
123
134
|
<IED00070>
|
124
135
|
<%= render_attr('IED00090', @市民税期中減) %>
|
125
136
|
</IED00070>
|
137
|
+
<IED00100>
|
138
|
+
<%= render_attr('IED00110', @当期還付市民税 * -1) %>
|
139
|
+
</IED00100>
|
126
140
|
</IED00060>
|
127
141
|
<%= render_attr('IED00160', 期首未納市民税 - @市民税期中減) %>
|
128
142
|
</IED00010>
|
@@ -142,8 +156,8 @@
|
|
142
156
|
<IED00310>
|
143
157
|
<%= render_attr('IED00320', (確定市民税 - @市民税中間納付)) %>
|
144
158
|
<IED00330>
|
145
|
-
<%= render_attr('IED00340',
|
146
|
-
<%= render_attr('IED00350',
|
159
|
+
<%= render_attr('IED00340', @翌期還付市民税 * -1) %>
|
160
|
+
<%= render_attr('IED00350', 期末未納市民税) %>
|
147
161
|
</IED00330>
|
148
162
|
</IED00310>
|
149
163
|
</IED00170>
|
@@ -155,6 +169,7 @@
|
|
155
169
|
<%= render_attr('IED00430', @市民税期中減) %>
|
156
170
|
</IED00410>
|
157
171
|
<IED00440>
|
172
|
+
<%= render_attr('IED00450', @当期還付市民税 * -1) %>
|
158
173
|
<%= render_attr('IED00460', 市民税仮払納付) %>
|
159
174
|
</IED00440>
|
160
175
|
<IED00470>
|
@@ -162,7 +177,7 @@
|
|
162
177
|
</IED00470>
|
163
178
|
</IED00400>
|
164
179
|
<IED00500>
|
165
|
-
<%= render_attr('IED00510',
|
180
|
+
<%= render_attr('IED00510', @翌期還付市民税 * -1) %>
|
166
181
|
<%= render_attr('IED00520', 期末未納市民税) %>
|
167
182
|
</IED00500>
|
168
183
|
</IED00360>
|
@@ -171,31 +186,40 @@
|
|
171
186
|
<IEE00010>
|
172
187
|
<%= render_attr('IEE00020', etax_date(@start_date.prev_year)) %>
|
173
188
|
<%= render_attr('IEE00030', etax_date(@end_date.prev_year)) %>
|
174
|
-
<%= render_attr('
|
189
|
+
<%= render_attr('IEE00050', @事業税期首残高) %>
|
175
190
|
<IEE00060>
|
176
191
|
<IEE00070>
|
177
192
|
<%= render_attr('IEE00090', @事業税期中減) %>
|
178
193
|
</IEE00070>
|
194
|
+
<IEE00100>
|
195
|
+
<%= render_attr('IEE00110', @当期還付事業税 * -1) %>
|
196
|
+
</IEE00100>
|
179
197
|
</IEE00060>
|
180
198
|
<%= render_attr('IEE00160', 期首未納事業税 - @事業税期中減) %>
|
181
199
|
</IEE00010>
|
182
200
|
<IEE00170>
|
183
|
-
<%= render_attr('IEE00180',
|
201
|
+
<%= render_attr('IEE00180', @事業税中間納付) %>
|
184
202
|
<IEE00190>
|
203
|
+
<IEE00230>
|
204
|
+
<%= render_attr('IEE00250', @事業税中間納付 - 事業税損金納付) %>
|
205
|
+
</IEE00230>
|
185
206
|
<IEE00260>
|
186
|
-
<%= render_attr('IEE00280',
|
207
|
+
<%= render_attr('IEE00280', 事業税損金納付) %>
|
187
208
|
</IEE00260>
|
188
209
|
</IEE00190>
|
189
210
|
</IEE00170>
|
190
211
|
<IEE00300>
|
191
|
-
<%= render_attr('
|
192
|
-
<%= render_attr('IEE00320', 当期事業税納付) %>
|
212
|
+
<%= render_attr('IEE00320', @事業税期首残高 + @事業税中間納付) %>
|
193
213
|
<IEE00330>
|
194
214
|
<IEE00340>
|
195
215
|
<%= render_attr('IEE00360', @事業税期中減) %>
|
196
216
|
</IEE00340>
|
217
|
+
<IEE00370>
|
218
|
+
<%= render_attr('IEE00380', @当期還付事業税 * -1) %>
|
219
|
+
<%= render_attr('IEE00390', @事業税中間納付 - 事業税損金納付) %>
|
220
|
+
</IEE00370>
|
197
221
|
<IEE00400>
|
198
|
-
<%= render_attr('IEE00420', 当期事業税納付) %>
|
222
|
+
<%= render_attr('IEE00420', 当期事業税納付 + 事業税損金納付) %>
|
199
223
|
</IEE00400>
|
200
224
|
</IEE00330>
|
201
225
|
<%= render_attr('IEE00430', 期首未納事業税 - @事業税期中減) %>
|
@@ -205,14 +229,21 @@
|
|
205
229
|
<IEF00010>
|
206
230
|
<IEF00300>
|
207
231
|
<%= render_attr('IEF00310', '消費税') %>
|
208
|
-
<%= render_attr('IEF00320',
|
232
|
+
<%= render_attr('IEF00320', @消費税期首残高) %>
|
209
233
|
<%= render_attr('IEF00330', @消費税期中増) %>
|
210
234
|
<IEF00340>
|
211
235
|
<IEF00350>
|
212
236
|
<%= render_attr('IEF00370', @消費税期中減) %>
|
213
237
|
</IEF00350>
|
238
|
+
<IEF00380>
|
239
|
+
<%= render_attr('IEF00390', @当期還付消費税 * -1) %>
|
240
|
+
<%= render_attr('IEF00400', @翌期還付消費税) %>
|
241
|
+
</IEF00380>
|
242
|
+
<IEF00410>
|
243
|
+
<%= render_attr('IEF00430', @消費税期中増 - 期末未納消費税) %>
|
244
|
+
</IEF00410>
|
214
245
|
</IEF00340>
|
215
|
-
<%= render_attr('IEF00440',
|
246
|
+
<%= render_attr('IEF00440', @消費税期中増 - @消費税中間納付額) %>
|
216
247
|
</IEF00300>
|
217
248
|
<IEF00300>
|
218
249
|
<%= render_attr('IEF00310', '印紙税等') %>
|
@@ -236,6 +267,6 @@
|
|
236
267
|
<%= render_attr('IEG00100', @事業税期中減) %>
|
237
268
|
<%= render_attr('IEG00180', @納税充当金期中減) %>
|
238
269
|
</IEG00080>
|
239
|
-
<%= render_attr('IEG00190',
|
270
|
+
<%= render_attr('IEG00190', @納税充当金期中増) %>
|
240
271
|
</IEG00000>
|
241
272
|
</HOA522>
|