-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIRS1310.xsl
392 lines (390 loc) · 21.8 KB
/
IRS1310.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
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:include href="PopulateTemplate.xsl"/>
<xsl:include href="CommonPathRef.xsl"/>
<xsl:include href="AddHeader.xsl"/>
<xsl:include href="AddOnTable.xsl"/>
<xsl:include href="IRS1310Style.xsl"/>
<xsl:output method="html" indent="yes"/>
<xsl:strip-space elements="*"/>
<!-- Defines the stage of the data, e.g. original or latest -->
<xsl:param name="FormData" select="$RtnDoc/IRS1310"/>
<xsl:template match="/">
<html>
<head>
<title>
<xsl:call-template name="FormTitle">
<xsl:with-param name="RootElement" select="local-name($FormData)"/>
</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 1310"/>
<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="IRS1310Style"/>
<xsl:call-template name="AddOnStyle"/>
</xsl:if>
</style>
<xsl:call-template name="GlobalStylesForm"/>
</head>
<body class="styBodyClass">
<form name="Form1310">
<!--xsl:value-of select='$PageWatermark'/-->
<!-- BEGIN WARNING LINE -->
<xsl:call-template name="DocumentHeader"/>
<!-- END WARNING LINE -->
<!-- Begin Form Number and Name -->
<div class="styBB" style="width:187mm;">
<div class="styFNBox" style="width:31mm;height:20mm;">
Form<span class="styFormNumber"> 1310</span><br/>(Rev. November 2005)
<div class="styAgency" style="padding-top:1mm;">Department of the Treasury<br/>Internal Revenue Service</div>
</div>
<div class="styFTBox" style="width:125mm;height:20mm;">
<div class="styMainTitle" style="height:8mm;padding-top:2mm;">Statement of Person Claiming<br/>
Refund Due a Deceased Taxpayer</div>
<div class="styFST" style="height:5mm;font-size:7pt;padding-top:4mm;">
<img src="{$ImagePath}/1310_Bullet.gif" width="9" height="9" alt="bullet image"/>See instructions below and on back.
</div>
</div>
<div class="styTYBox" style="width:30mm;height:20mm;">
<div class="styOMB" style="height:1mm;">OMB No. 1545-0074</div>
<div class="stySequence" style="height:9mm;border-bottom-width:0px;padding-left:4mm;border-left-width:0px;padding-top:1mm;">Attachment<br/>
Sequence No. <span class="styBoldText">87</span>
</div>
</div>
</div>
<!-- End Form Number and Name section -->
<div class="styBB" style="width:187mm;height:12mm;">
<div style="padding:2mm 0mm;font-size:9pt;">Tax year decedent was due a refund:</div>
<div style="padding:1mm 0mm;font-size:8pt;">Calendar year
<span style="width:15mm;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="$FormData/RefundDueTaxYear"/>
</xsl:call-template>
</span>
, or other tax year beginning
<span style="width:15mm;">
<xsl:if test="$FormData/RefundDueTaxPeriod">
<xsl:call-template name="PopulateMonth">
<xsl:with-param name="TargetNode" select="$FormData/RefundDueTaxPeriod/RefundDueTaxPeriodBeginDt"/>
</xsl:call-template>-<xsl:call-template name="PopulateDay">
<xsl:with-param name="TargetNode" select="$FormData/RefundDueTaxPeriod/RefundDueTaxPeriodBeginDt"/>
</xsl:call-template>-<xsl:call-template name="PopulateYear">
<xsl:with-param name="TargetNode" select="$FormData/RefundDueTaxPeriod/RefundDueTaxPeriodBeginDt"/>
</xsl:call-template>
</xsl:if>
</span>, 20
<span style="width:10mm"/>, and ending
<span style="width:20mm;">
<xsl:if test="$FormData/RefundDueTaxPeriod">
<xsl:call-template name="PopulateMonth">
<xsl:with-param name="TargetNode" select="$FormData/RefundDueTaxPeriod/RefundDueTaxPeriodEndDt"/>
</xsl:call-template>-<xsl:call-template name="PopulateDay">
<xsl:with-param name="TargetNode" select="$FormData/RefundDueTaxPeriod/RefundDueTaxPeriodEndDt"/>
</xsl:call-template>-<xsl:call-template name="PopulateYear">
<xsl:with-param name="TargetNode" select="$FormData/RefundDueTaxPeriod/RefundDueTaxPeriodEndDt"/>
</xsl:call-template>
</xsl:if>
</span>, 20
</div>
</div>
<div class="styGenericDiv" style="width:187mm;height:22mm;">
<div class="styGenericDiv" style="width:15mm;height:20mm;float:left;font-weight:bold;font-size:9pt;text-align:center;padding:16mm 0mm;">Please<br/>print<br/>or<br/>type</div>
<div class="styGenericDiv" style="width:171mm;height:8mm;border-left:1px solid black;border-bottom:1px solid black;padding-left:2mm;">
<div class="styNameBox" style="width:78mm;height:12mm;font-size:7pt;">
<div>Name of decedent</div>
<span>
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="$FormData/DecedentName"/>
</xsl:call-template>
</span>
</div>
<div class="styNameBox" style="width:40mm;height:12mm;font-size:7pt;padding-left:2mm;">
<div>Date of death</div>
<span>
<xsl:call-template name="PopulateMonth">
<xsl:with-param name="TargetNode" select="$FormData/DeathDt"/>
</xsl:call-template> /
<xsl:call-template name="PopulateDay">
<xsl:with-param name="TargetNode" select="$FormData/DeathDt"/>
</xsl:call-template> /
<xsl:call-template name="PopulateYear">
<xsl:with-param name="TargetNode" select="$FormData/DeathDt"/>
</xsl:call-template>
</span>
</div>
<div class="styEINBox" style="width:50mm;height:12mm;padding-left:2mm;font-size:7pt;">
<div style="font-weight:bold;">Decedent’s social security number</div>
<span style="width:27mm;text-align:left;font-weight:normal;">
<xsl:call-template name="PopulateSSN">
<xsl:with-param name="TargetNode" select="$FormData/DecedentSSN"/>
</xsl:call-template>
</span>
</div>
</div>
<div class="styGenericDiv" style="width:171mm;height:8mm;border-left:1px solid black;border-bottom:1px solid black;padding-left:2mm;">
<div class="styNameBox" style="width:118mm;height:12mm;font-size:7pt;">
<div>Name of person claiming refund</div>
<span>
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="$FormData/RefundClaimantName"/>
</xsl:call-template>
<span style="width:4px;"/>
<xsl:call-template name="LinkToLeftoverDataTableInline">
<xsl:with-param name="Desc">Header - Name Control of Person Claiming Refund</xsl:with-param>
<xsl:with-param name="TargetNode" select="$FormData/PersonNameControlTxt"/>
</xsl:call-template>
</span>
</div>
<div class="styEINBox" style="width:50mm;height:12mm;padding-left:2mm;font-size:7pt;">
<div style="font-weight:bold;">Your social security number</div>
<span style="width:27mm;text-align:left;font-weight:normal;">
<xsl:call-template name="PopulateSSN">
<xsl:with-param name="TargetNode" select="$FormData/RefundClaimantSSN"/>
</xsl:call-template>
</span>
</div>
</div>
<div class="styGenericDiv" style="width:171mm;height:8mm;border-left:1px solid black;border-bottom:1px solid black;padding-left:2mm;">
<div class="styNameBox" style="width:138mm;height:12mm;font-size:7pt;">
<div>Home address (number and street). If you have a P.O. box, see instructions.</div>
<span>
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="$FormData/RefundClaimantUSAddress/AddressLine1"/>
</xsl:call-template>
<xsl:if test="$FormData/RefundClaimantUSAddress/AddressLine2!=''">
<br/>
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="$FormData/RefundClaimantUSAddress/AddressLine2"/>
</xsl:call-template>
</xsl:if>
</span>
</div>
<div class="styNameBox" style="width:30mm;height:12mm;font-size:7pt;border-right:none;padding-left:2mm;">Apt. no.</div>
</div>
<div class="styGenericDiv" style="width:171mm;height:8mm;border-left:1px solid black;padding-left:2mm;">
<div class="styNameBox" style="width:168mm;height:12mm;font-size:7pt;border-right:none;">
<div>City, town or post office, state, and ZIP code. If you have a foreign address, see instructions.</div>
<span>
<xsl:call-template name="PopulateCityStateInfo">
<xsl:with-param name="TargetNode" select="$FormData/RefundClaimantUSAddress"/>
</xsl:call-template>
</span>
</div>
</div>
</div>
<!-- Part I -->
<div class="styGenericDiv" style="width:187mm;border-top:1px solid black;border-bottom:1px solid black;padding:1mm 0mm;">
<div class="styPartName" style="font-family:sans-serif;">Part I</div>
<div class="styPartDesc">Check the box that applies to you. <span style="font-weight:normal">Check only one box.</span> Be sure to complete Part III below.</div>
</div>
<!-- Part I, Line A -->
<div class="styGenericDiv" style="width:187mm;padding-top:1mm;font-size:8pt;">
<span class="styLNLeftLtrBox">A</span>
<div class="styGenericDiv">
<input type="checkbox">
<xsl:call-template name="PopulateCheckbox">
<xsl:with-param name="TargetNode" select="$FormData/SurvivingSpouseInd" />
<xsl:with-param name="BackupName">FormDataSurvivingSpouseInd</xsl:with-param>
</xsl:call-template></input></div>
<label>
<xsl:call-template name="PopulateLabel">
<xsl:with-param name="TargetNode" select="$FormData/SurvivingSpouseInd" />
<xsl:with-param name="BackupName">FormDataSurvivingSpouseInd</xsl:with-param>
</xsl:call-template>
<span style="line-height:4mm;">Surviving spouse requesting reissuance of a refund check (see instructions).</span>
</label>
</div>
<!-- Part I, Line B -->
<div class="styGenericDiv" style="width:187mm;font-size:8pt;">
<div class="styLNLeftLtrBox" style="clear:left;">B</div>
<div class="styGenericDiv"><input type="checkbox">
<xsl:call-template name="PopulateCheckbox">
<xsl:with-param name="TargetNode" select="$FormData/CourtOrPersonalRepInd" />
<xsl:with-param name="BackupName">FormDataCourtOrPersonalRepInd</xsl:with-param>
</xsl:call-template></input></div>
<label>
<xsl:call-template name="PopulateLabel">
<xsl:with-param name="TargetNode" select="$FormData/CourtOrPersonalRepInd" />
<xsl:with-param name="BackupName">FormDataCourtOrPersonalRepInd</xsl:with-param>
</xsl:call-template>
<span style="line-height:4mm;">Court-appointed or certified personal representative (defined below). Attach a court certificate showing your appointment, unless previously filed (see instructions).</span>
</label>
<xsl:call-template name="SetFormLinkInline">
<xsl:with-param name="TargetNode" select="$FormData/CertificatePreviouslyFiledCd"/>
</xsl:call-template>
<xsl:call-template name="LinkToLeftoverDataTableInline">
<xsl:with-param name="TargetNode" select="$FormData/CertificatePreviouslyFiledCd"/>
<xsl:with-param name="Desc">Certificate Previously Filed Code</xsl:with-param>
</xsl:call-template>
</div>
<!-- Part I, Line C -->
<div class="styGenericDiv" style="width:187mm;padding-bottom:1mm;font-size:8pt;">
<div class="styLNLeftLtrBox" style="clear:left;">C</div>
<div class="styGenericDiv"><input type="checkbox">
<xsl:call-template name="PopulateCheckbox">
<xsl:with-param name="TargetNode" select="$FormData/OtherPersonClaimingRefundInd" />
<xsl:with-param name="BackupName">FormDataOtherPersonClaimingRefundInd</xsl:with-param>
</xsl:call-template></input>
<xsl:call-template name="LinkToLeftoverDataTableInline">
<xsl:with-param name="Desc">Part I Line C - Valid Proof Of Death Indicator</xsl:with-param>
<xsl:with-param name="TargetNode" select="$FormData/ValidProofOfDeathInd"/>
</xsl:call-template>
</div>
<label>
<xsl:call-template name="PopulateLabel">
<xsl:with-param name="TargetNode" select="$FormData/OtherPersonClaimingRefundInd" />
<xsl:with-param name="BackupName">FormDataOtherPersonClaimingRefundInd</xsl:with-param>
</xsl:call-template>
<span style="line-height:4mm;">Person, <span style="font-weight:bold;">other</span> than A or B, claiming refund for the decedent’s estate (see instructions). Also, complete Part II.</span>
</label>
</div>
<!-- Part I END -->
<!-- Part II -->
<div class="styBB" style="width:187mm;border-top:1px solid black;padding:1mm 0mm;">
<div class="styPartName" style="font-family:sans-serif;">Part II</div>
<div class="styPartDesc">Complete this part only if you checked the box on line C above.</div>
</div>
<div style="width:187mm;font-size:8pt;">
<div class="styLNDesc" style="width:157mm;height:4.5mm;"/>
<div class="styLNRightNumBox" style="width:15mm;height:4.5mm;">Yes</div>
<div class="styLNRightNumBox" style="width:15mm;height:4.5mm;">No</div>
</div>
<!-- Part II, Line 1 -->
<div style="width:187mm;font-size:8pt;">
<div class="styLNLeftNumBox" style="padding-left:1mm;width:7mm;height:4.5mm">1</div>
<div class="styLNDesc" style="width:150mm;height:4.5mm;">Did the decedent leave a will?<span style="letter-spacing:3mm;">..........................</span></div>
<div class="styLNRightNumBox" style="width:15mm;height:4.5mm;font-weight:normal;">
<xsl:call-template name="PopulateYesBoxText">
<xsl:with-param name="TargetNode" select="$FormData/DecedentHasWillInd" />
</xsl:call-template></div>
<div class="styLNRightNumBox" style="width:15mm;height:4.5mm;font-weight:normal;">
<xsl:call-template name="PopulateNoBoxText">
<xsl:with-param name="TargetNode" select="$FormData/DecedentHasWillInd" />
</xsl:call-template></div>
</div>
<!-- Part II, Line 2a -->
<div style="width:187mm;font-size:8pt;">
<div class="styLNLeftNumBox" style="padding-left:1mm;width:7mm;height:4.5mm">2a</div>
<div class="styLNDesc" style="width:150mm;height:4.5mm;">Has a court appointed a personal representative for the estate of the decedent?<span style="letter-spacing:3mm;">.......</span></div>
<div class="styLNRightNumBox" style="width:15mm;height:4.5mm;font-weight:normal;">
<xsl:call-template name="PopulateYesBoxText">
<xsl:with-param name="TargetNode" select="$FormData/CourtAppointedRepInd" />
</xsl:call-template></div>
<div class="styLNRightNumBox" style="width:15mm;height:4.5mm;font-weight:normal;">
<xsl:call-template name="PopulateNoBoxText">
<xsl:with-param name="TargetNode" select="$FormData/CourtAppointedRepInd" />
</xsl:call-template></div>
</div>
<!-- Part II, Line 2b -->
<div style="width:187mm;font-size:8pt;">
<div class="styLNLeftNumBox" style="padding-left:1mm;width:7mm;height:4.5mm;text-align:right;padding-right:1.5mm;">b</div>
<div class="styLNDesc" style="width:150mm;height:4.5mm;">If you answered <span style="font-weight:bold;">"No" </span> to 2a, will one be appointed?<span style="letter-spacing:3mm;">..................</span></div>
<div class="styLNRightNumBox" style="width:15mm;height:4.5mm;font-weight:normal;">
<xsl:call-template name="PopulateYesBoxText">
<xsl:with-param name="TargetNode" select="$FormData/RepresentativeToBeAppointedInd" />
</xsl:call-template></div>
<div class="styLNRightNumBox" style="width:15mm;height:4.5mm;font-weight:normal;">
<xsl:call-template name="PopulateNoBoxText">
<xsl:with-param name="TargetNode" select="$FormData/RepresentativeToBeAppointedInd" />
</xsl:call-template></div>
</div>
<div style="width:187mm;font-size:8pt;">
<div class="styLNLeftNumBox" style="padding-left:1mm;width:7mm;height:4.5mm;"/>
<div class="styLNDesc" style="width:150mm;height:4.5mm;">If you answered <span style="font-weight:bold;">"Yes" </span> to 2a or 2b, the personal representative must file for the refund.</div>
<div class="styLNRightNumBox" style="width:15mm;height:4.5mm;background-color:lightgrey;"/>
<div class="styLNRightNumBox" style="width:15mm;height:4.5mm;background-color:lightgrey;"/>
</div>
<!-- Part II, Line 3 -->
<div style="width:187mm;font-size:8pt;">
<div class="styLNLeftNumBox" style="padding-left:1mm;width:7mm;height:8mm">3</div>
<div class="styLNDesc" style="width:150mm;height:8mm;">As the person claiming the refund for the decedent's estate, will you pay out the refund according to the laws of the state where the decedent was a legal resident?<span style="letter-spacing:3mm;">..........</span></div>
<div class="styLNRightNumBox" style="width:15mm;height:8mm;font-weight:normal;">
<xsl:call-template name="PopulateYesBoxText">
<xsl:with-param name="TargetNode" select="$FormData/PaymentAccordingToStateLawInd" />
</xsl:call-template></div>
<div class="styLNRightNumBox" style="width:15mm;height:8mm;font-weight:normal;">
<xsl:call-template name="PopulateNoBoxText">
<xsl:with-param name="TargetNode" select="$FormData/PaymentAccordingToStateLawInd" />
</xsl:call-template></div>
</div>
<div style="width:187mm;font-size:8pt;">
<div class="styLNLeftNumBox" style="padding-left:1mm;width:7mm;"/>
<div class="styLNDesc" style="width:150mm;">If you answered <span style="font-weight:bold;">"No"</span> to 3, a refund cannot be made until you submit a court certificate showing your appointment as personal representative or other evidence that you are entitled under state law to receive the refund.</div>
<div class="styLNRightNumBox" style="width:30mm;border:none;"/>
</div>
<!-- Part III -->
<div class="styBB" style="width:187mm;border-top:1px solid black;padding:1mm 0mm;">
<div class="styPartName" style="font-family:sans-serif;">Part III</div>
<div class="styPartDesc">Signature and verification. All filers must complete this part.</div>
</div>
<div style="width:187mm;font-size:8pt;height:16mm;">
I request a refund of taxes overpaid by or on behalf of the decedent. Under penalties of perjury, I declare that I have examined this claim, and to the best of my knowledge and belief, it is true, correct, and complete.
</div>
<div style="width:187mm;font-size:8pt;font-weight:bold;">
<span style="width:150mm;"><img src="{$ImagePath}/1310_Bullet.gif" width="9" height="9" alt="bullet image"/>Signature of person claiming refund</span>
<span style="width:37mm;"><img src="{$ImagePath}/1310_Bullet.gif" width="9" height="9" alt="bullet image"/>Date
<xsl:call-template name="PopulateMonth">
<xsl:with-param name="TargetNode" select="$FormData/RefundClaimantSignatureDt" />
</xsl:call-template>-<xsl:call-template name="PopulateDay">
<xsl:with-param name="TargetNode" select="$FormData/RefundClaimantSignatureDt" />
</xsl:call-template>-<xsl:call-template name="PopulateYear">
<xsl:with-param name="TargetNode" select="$FormData/RefundClaimantSignatureDt" />
</xsl:call-template>
</span>
</div>
<!-- capturing the page bottom info -->
<div class="pageEnd" style="width:187mm; font-size:7pt; border-top:1 solid black; padding-top:0.5mm">
<div style="float:left; font-size:8pt">
<b>For Privacy Act and Paperwork Reduction Act Notice, see page 2.</b>
</div>
<div style="float:right">
<span style="width:2.5mm"/>
Cat. No. 11566B
<span style="width:10mm"/>
Form <b style="font-size:9pt">1310</b> (Rev. 11-2005)
</div>
</div>
<!-- Additonal Data Title Bar and Button -->
<div class="styLeftOverTitleLine" id="LeftoverData">
<div class="styLeftOverTitle">
Additional Data
</div>
<div class="styLeftOverButtonContainer">
<input class="styLeftoverTableBtn" type="button" TabIndex="-1" 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="$FormData"/>
<xsl:with-param name="DescWidth" select="100"/>
</xsl:call-template>
<xsl:call-template name="PopulateLeftoverRow">
<xsl:with-param name="Desc">Header - Name Control of Person Claiming Refund</xsl:with-param>
<xsl:with-param name="TargetNode" select="$FormData/PersonNameControlTxt"/>
<xsl:with-param name="DescWidth" select="100"/>
</xsl:call-template>
<xsl:call-template name="PopulateLeftoverRow">
<xsl:with-param name="TargetNode" select="$FormData/CertificatePreviouslyFiledCd"/>
<xsl:with-param name="Desc">Certificate Previously Filed Code</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="PopulateLeftoverRow">
<xsl:with-param name="TargetNode" select="$FormData/ValidProofOfDeathInd"/>
<xsl:with-param name="Desc">Part I Line C - Valid Proof Of Death Indicator</xsl:with-param>
</xsl:call-template>
</table>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>