-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIRS8844.xsl
469 lines (457 loc) · 23.8 KB
/
IRS8844.xsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
<?xml version="1.0" encoding="UTF-8"?>
<!--Updated per UWR 35952 on 02/01/2011 By Robert Jones -->
<!--Updated per UWR 36537 on 06/16/2011 By Robert Jones -->
<!--Updated per UWR 40639 on 07/07/2011 but no changes made as Tax Year done in prior UWR and Schema does not contain new element names listed in UWR foe Part 1 Line 1b By Robert Jones -->
<!--Updated per UWR 47515 on 10/04/2011 but no changes made as Tax Year done in prior UWR and Schema does not contain new element names listed in UWR for Line 4 as described by UWR By Robert Jones -->
<!--Updated per UWR 67848 on 8/08/2012 By Robert Jones -->
<!--Updated per email dated 8/6/2012 on 08/09/2012 which states that we should add link feature when customer adds a for "Information about ...." statement - This version not submitted yet! By Robert Jones -->
<!--Updated per PDF Review on 12/07/2012 By Robert Jones Unshaded lines per Analyst. Schema will not allow entry on those lines.-->
<!--Updated per UWR 79474 on 1/30/2013 By Robert Jones -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:include href="PopulateTemplate.xsl"/>
<xsl:include href="AddHeader.xsl"/>
<xsl:include href="CommonPathRef.xsl"/>
<xsl:include href="AddOnTable.xsl"/>
<xsl:include href="IRS8844Style.xsl"/>
<xsl:output method="html" indent="yes"/>
<xsl:strip-space elements="*"/>
<xsl:param name="Form8844Data" select="$RtnDoc/IRS8844"/>
<xsl:template match="/">
<html lang="EN-US">
<head>
<title>
<xsl:call-template name="FormTitle">
<xsl:with-param name="RootElement" select="local-name($Form8844Data)"/>
</xsl:call-template>
</title>
<!-- No Browser Caching -->
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Expires" content="0"/>
<!-- No Proxy Caching -->
<meta http-equiv="Cache-Control" content="private"/>
<!-- Define Character Set -->
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<meta name="Description" content="IRS Form 8844"/>
<script language="JavaScript" src="{$ScriptPath}/FormDisplay.js" type="text/javascript"/>
<xsl:call-template name="InitJS"/>
<style type="text/css">
<xsl:if test="not($Print) or $Print=''">
<xsl:call-template name="IRS8844Style"/>
<xsl:call-template name="AddOnStyle"/>
</xsl:if>
</style>
<xsl:call-template name="GlobalStylesForm"/>
</head>
<body class="styBodyClass">
<form id="Form8844">
<xsl:call-template name="DocumentHeader"/>
<div class="styTBB" style="width:187mm;">
<div class="styFNBox" style="width:30mm;height:16mm;">
<div style="height:9mm;">Form<span class="styFormNumber"> 8844</span>
<br/>
</div>
<div style="height:6mm;padding-top:5mm;">
<span class="styAgency">Department of the Treasury</span>
<br/>
<span class="styAgency">Internal Revenue Service</span>
</div>
</div>
<div class="styFTBox" style="width:125mm;height:10mm;">
<div class="styMainTitle" style="height:10mm;font-size:13pt;padding-top:1mm;">
Empowerment Zone Employment Credit
</div>
<div class="styFMT" style="height:2mm;font-size:7pt;padding-top:1mm;">
<img src="{$ImagePath}/8844_Bullet.gif" alt="Bullet Image"/>
Attach to your tax return.
</div>
<div class="styFMT" style="height:2mm;font-size:7pt;padding-top:2mm;">
Information about Form 8844 and its instructions is available at
<a href="http://www.irs.gov/form8844" title="Link to IRS.gov">
<i>www.irs.gov/form 8844</i>
</a>
</div>
</div>
<div class="styTYBox" style="width:32mm;height:12mm;">
<div class="styOMB" style="height:3mm;padding-top:0mm;">
OMB No. 1545-1444
</div>
<div class="styTY" style="height:3mm;font-size:21pt;padding-top:0mm;padding-bottom:0mm;">
20<span class="styTYcolor">12</span>
</div>
<div class="styOMB" style="height:3.5m;text-align:left;padding-left:5mm;border-bottom-width:0px;">
Attachment <br/>Sequence No. <span class="styBoldText">99</span>
</div>
</div>
</div>
<!-- End Form Number and Name section -->
<!-- Begin Names and Identifying number section -->
<div style="width:187mm;" class="styBB">
<div style="width:138mm;height:8mm;font-weight:normal;font-size:7pt;" class="styNameBox">
Name(s) shown on return<br/>
<div style="font-family:verdana;font-size:6pt;height:6.25mm">
<!-- Added per UWR 31342 to allow 1040/ssn filer to use this form -->
<xsl:choose>
<xsl:when test="$RtnHdrData/ReturnType='1040'">
<br/>
<xsl:call-template name="PopulateReturnHeaderFiler">
<xsl:with-param name="TargetNode">Name</xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="PopulateReturnHeaderFiler">
<xsl:with-param name="TargetNode">BusinessNameLine1</xsl:with-param>
</xsl:call-template>
<br/>
<xsl:call-template name="PopulateReturnHeaderFiler">
<xsl:with-param name="TargetNode">BusinessNameLine2</xsl:with-param>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</div>
</div>
<div style="width:49mm;height:4mm;padding-left:2mm;font-size:7pt;" class="styEINBox">
Identifying number<br/>
<br/>
<span style="font-weight:normal;">
<xsl:choose>
<xsl:when test="$RtnHdrData/ReturnType='1040'">
<xsl:call-template name="PopulateReturnHeaderFiler">
<xsl:with-param name="TargetNode">PrimarySSN</xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="PopulateReturnHeaderFiler">
<xsl:with-param name="TargetNode">EIN</xsl:with-param>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</span>
</div>
</div>
<!-- End Names and Identifying number section -->
<!-- Start Part I Current Year Credit -->
<!--
<div style="width:187mm;" class="styBB">
<div class="styPartName" style="width:15mm;">Part I</div>
<div class="styPartDesc" style="padding-left:3mm;">
Current Year Credit
</div>
</div>
-->
<!-- L1 -->
<div style="width:187mm;">
<div style="width:187mm;">
<div style="float:left;">
<div class="styLNLeftNumBoxSD">1</div>
<div class="styLNDesc" style="height:4mm;">
Enter the total qualified wages paid or incurred during <span class="styBoldText"> calendar year 2012</span> only (see instructions)
</div>
</div>
<div style="float:right;">
<div class="styLNRightNumBoxNBB" style="background-color:lightgrey;height:4mm;border-right-width:1px;border-right-width:0px;"/>
<div class="styLNAmountBoxNBB"/>
</div>
</div>
<!-- L1a -->
<div style="width:187mm;">
<div style="float:left;">
<div class="styLNLeftNumBox" style="padding-left:4mm;">a</div>
<div class="styLNDesc">
<span style="width:48mm;float:left;">Qualified empowerment zone wages </span>
<span class="styDotLn" style="float:left;padding-right:1mm;">......</span>
<div style="width:3mm;float:left;clear:none;">
$
</div>
<div style="width:32mm;text-align:right;float:left;clear:none;">
<xsl:if test="not($Form8844Data/QualifiedEmpowermentZoneWages) or $Form8844Data/QualifiedEmpowermentZoneWages = ''">
<span style="width:1px;"/>
</xsl:if>
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8844Data/QualifiedEmpowermentZoneWages"/>
</xsl:call-template>
</div>
<div style="width:18mm;float:left;Clear:none;">
<span style="width:4px;"/>X 20% (.20)</div>
<div style="width:12mm;float:left;Clear:none;"/>
</div>
</div>
<div style="float:right;">
<div class="styLNRightNumBox">1a</div>
<!--<div class="styLNAmountBox">-->
<div class="styLNAmountBox" style="">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8844Data/TotalQualifiedEmpwrZoneWages"/>
</xsl:call-template>
</div>
</div>
</div>
<!-- L1b -->
<div style="width:187mm;">
<div style="float:left;">
<div class="styLNLeftNumBox" style="padding-left:4mm;">b</div>
<div class="styLNDesc" >
<span style="width:48mm;float:left;">Skip line 1b (see instructions) </span>
<span class="styDotLn" style="float:left;padding-right:1mm;">......</span>
<div style="width:3mm;float:left;clear:none; ">
$
</div>
<!--<div style="width:32mm;text-align:right;float:left;clear:none;background-color:lightgrey;">-->
<div style="width:32mm;text-align:right;float:left;clear:none;">
<xsl:if test="not($Form8844Data/QualifiedRenewalCommunityWages ) or $Form8844Data/QualifiedRenewalCommunityWages = ''">
<span style="width:1px;"/>
</xsl:if>
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8844Data/QualifiedRenewalCommunityWages "/>
</xsl:call-template>
</div>
<div style="width:18mm;float:left;Clear:none;">
<span style="width:4px;"/>X 0% (.00)</div>
<div style="width:12mm;float:left;Clear:none;"/>
</div>
</div>
<div style="float:right;">
<div class="styLNRightNumBox">1b</div>
<div class="styLNAmountBox" style="">
<!-- <div class="styLNAmountBox" style="background-color:lightgrey;">-->
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8844Data/TotalQlfyRnwlCommunityWages"/>
</xsl:call-template>
</div>
</div>
</div>
<!-- Part I, line 2 -->
<div style="width:187mm;">
<div style="float:left;">
<div class="styLNLeftNumBoxSD">2</div>
<div class="styLNDesc" style="width:139mm;">
<span style="float:left;">Enter the amount from line 1a. See instructions for the adjustment you must make to salaries and wages</span>
</div>
</div>
<div style="float:right;">
<div class="styLNRightNumBox">2</div>
<!--<div class="styLNAmountBox">-->
<div class="styLNAmountBox" style="">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8844Data/CurrentYearCredit1"/>
</xsl:call-template>
</div>
</div>
</div>
<!-- Part I, line 3 -->
<div style="width:187mm;">
<div style="float:left;">
<div class="styLNLeftNumBoxSD" style="">3</div>
<div class="styLNDesc" style="width:139mm;">
Empowerment zone employment credit from partnerships, S corporations,
cooperatives, estates, and
<span style="float:left;">trusts</span>
<span class="styDotLn" style="float:right;padding-right:2mm;">.......................</span>
</div>
</div>
<div style="float:right;">
<div class="styLNRightNumBox" style="height:8mm;padding-top:4mm;">3</div>
<div class="styLNAmountBox" style="height:8mm;padding-top:4mm;">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8844Data/CreditsFromFlowthruEntities"/>
</xsl:call-template>
</div>
</div>
</div>
<!-- Part I, line 4 -->
<div style="width:187mm;">
<div style="float:left;">
<div class="styLNLeftNumBoxSD" style="">4</div>
<div class="styLNDesc" style="width:139mm;height:8mm;">
Add lines 2 and 3. Cooperatives, estates, and trusts, go to line 5. Partnerships and S corporations, stop here and report this amount on Schedule K. All others, stop here and report this amount on Form 3800,
<span style="float:left;">Part III, line 3</span>
<span class="styDotLn" style="float:right;padding-right:2mm;">............................</span>
</div>
</div>
<div style="float:right;">
<div class="styLNRightNumBox" style="height:10mm;padding-top:7mm;">4</div>
<div class="styLNAmountBox" style="height:10mm;padding-top:7mm;">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8844Data/TotalCurrentYearEZRCECreditAmt"/>
</xsl:call-template>
</div>
</div>
</div>
<!-- Part I, line 5 -->
<div style="width:187mm;">
<div style="float:left;">
<div class="styLNLeftNumBoxSD" style="">5</div>
<div class="styLNDesc" style="width:139mm;">
Amount allocated to patrons of the cooperative or beneficiaries of the estate or trust (see
instructions)
<!--<span style="float:left;">activities (see instructions) </span>-->
<!-- <span class="styDotLn" style="float:right;padding-right:2mm;">.........................</span>-->
</div>
</div>
<div style="float:right;">
<div class="styLNRightNumBox" style="height:7.5mm;padding-top:4mm;">5</div>
<div class="styLNAmountBox" style="height:7.5mm;padding-top:4mm;">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8844Data/AllocatedToBeneficiariesAmt"/>
</xsl:call-template>
</div>
</div>
</div>
<!-- Part I, line 6 -->
<div class="styTBB" style="width:187mm;">
<div style="float:left;">
<div class="styLNLeftNumBoxSD" style="">6</div>
<div class="styLNDesc" style="width:139mm;height:7.5mm;">
Cooperatives, estates, and trusts, subtract line 5 from line 4. Report this amount on Form 3800,
<span style="float:left;">Part III, line 3 </span>
<span class="styDotLn" style="padding-right:2mm;">......</span>
</div>
</div>
<div style="float:right;">
<div class="styLNRightNumBox" style="height:7.5mm;padding-top:4mm;">6</div>
<div class="styLNAmountBox" style="height:7.5mm;padding-top:4mm;">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8844Data/EstatesTrustsAndCoopsCreditAmt"/>
</xsl:call-template>
</div>
</div>
</div>
<!-- Part I, line 7 Removed lines 7 through 12 per UWR 45320 - Robert L Jones
<div style="width:187mm;">
<div style="float:left;">
<div class="styLNLeftNumBoxSD" style="">7</div>
<div class="styLNDesc" style="width:139mm;">
<span style="float:left;">Passive activity credit allowed for 2010 (see instructions) </span>
<span class="styDotLn" style="float:right;padding-right:2mm;">...............</span>
</div>
</div>
<div style="float:right;">
<div class="styLNRightNumBox">7</div>
<div class="styLNAmountBox">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8844Data/PssvActivityCreditAllowedForPY"/>
</xsl:call-template>
</div>
</div>
</div>
<div style="width:187mm;">
<div style="float:left;">
<div class="styLNLeftNumBoxSD" style="">8</div>
<div class="styLNDesc" style="width:139mm;">
<span style="float:left;">Carryforward of empowerment zone and renewal community employment credit to 2010 </span>
<span class="styDotLn" style="float:right;padding-right:2mm;">......</span>
</div>
</div>
<div style="float:right;">
<div class="styLNRightNumBox">8</div>
<div class="styLNAmountBox">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8844Data/CarryForwardOfEZECrToPY"/>
</xsl:call-template>
</div>
</div>
</div>
<div style="width:187mm;">
<div style="float:left;">
<div class="styLNLeftNumBoxSD" style="">9</div>
<div class="styLNDesc" style="width:139mm;">
<span style="float:left;font-size:7pt;">Carryback of empowerment zone employment credit from 2011 (see instructions) </span>
</div>
</div>
<div style="float:right;clear:none;">
<div style="width:40mm:">
<div class="styLNRightNumBox">9</div>
<div class="styLNAmountBox">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8844Data/CarrybackofEZECredit"/>
</xsl:call-template>
</div>
</div>
</div>
</div>
<div style="width:187mm;">
<div style="float:left;">
<div class="styLNLeftNumBox" style="">10</div>
<div class="styLNDesc" style="width:139mm;">
Add lines 6 through 9. Cooperatives, estates, and trusts, go to line 11. All others, report this
<span style="float:left;">amount on Form 3800, line 24 </span>
<span class="styDotLn" style="float:right;padding-right:2mm;">........................</span>
</div>
</div>
<div style="float:right;">
<div class="styLNRightNumBox" style="height:8mm;padding-top:4mm;">10</div>
<div class="styLNAmountBox" style="height:8mm;padding-top:4mm;">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8844Data/SumOfLinesSixThroughNine"/>
</xsl:call-template>
</div>
</div>
</div>
</div>
<div style="width:187mm;">
<div style="float:left;">
<div class="styLNLeftNumBox" style="">11</div>
<div class="styLNDesc" style="width:139mm;">
Amount allocated to the patrons of the cooperative or the beneficiaries of the estate or trust (see
<span style="float:left;"> instructions) </span>
<span class="styDotLn" style="float:right;padding-right:2mm;">..............................</span>
</div>
</div>
<div style="float:right;">
<div class="styLNRightNumBox" style="height:8mm;padding-top:4mm;">11</div>
<div class="styLNAmountBox" style="height:8mm;padding-top:4mm;">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8844Data/AmountAllocatedToBeneficiaries"/>
</xsl:call-template>
</div>
</div>
</div>
<div class="styTBB" style="width:187mm;">
<div style="float:left;">
<div class="styLNLeftNumBox" style="">12</div>
<div class="styLNDesc" style="width:139mm;">
<b>Cooperatives, estates, and trusts.</b> Subtract line 11 from line 10. Report this amount on Form 3800, line
<span style="float:left;">24 </span>
<span class="styDotLn" style="float:right;padding-right:2mm;">.................................</span>
</div>
</div>
<div style="float:right;">
<div class="styLNRightNumBoxNBB" style="height:8mm;padding-top:4mm;">12</div>
<div class="styLNAmountBoxNBB" style="height:8mm;padding-top:4mm;">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8844Data/EstatesTrustsCooperativeCr"/>
</xsl:call-template>
</div>
</div>
-->
</div>
<!--Page End-->
<div style="width:186mm;clear:both;padding-top:0mm;">
<div style="width:90mm;font-weight:bold;" class="styGenericDiv">For Paperwork Reduction Act Notice, see instructions.</div>
<div style="width:55mm;text-align:center;" class="styGenericDiv">Cat. No. 16145S</div>
<div style="float:right;" class="styGenericDiv">Form <span class="styBoldText">8844</span> (2012)</div>
</div>
<p class="pageend"/>
<!-- BEGIN Left Over Table -->
<!-- Additonal Data Title Bar and Button -->
<div class="styLeftOverTitleLine" id="LeftoverData">
<div class="styLeftOverTitle">
Additional Data
</div>
<div class="styLeftOverButtonContainer">
<input class="styLeftoverTableBtn" TabIndex="1" type="button" value="Return to Form" onclick="javascript:returnToWriteInImage();"/>
</div>
</div>
<!-- Additional Data Table -->
<table class="styLeftOverTbl">
<xsl:call-template name="PopulateCommonLeftover">
<xsl:with-param name="TargetNode" select="$Form8844Data"/>
<xsl:with-param name="DescWidth" select="100"/>
</xsl:call-template>
</table>
<!-- END Left Over Table -->
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>