@ottoai/documents 1.5.21 → 1.5.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/create/pdf/united-states/form-1099-nec/schema.json +3 -3
- package/dist/create/pdf/united-states/form-4868/form.dto.d.ts +21 -0
- package/dist/create/pdf/united-states/form-4868/form.dto.js +93 -0
- package/dist/create/pdf/united-states/form-4868/form.dto.js.map +1 -0
- package/dist/create/pdf/united-states/form-4868/index.d.ts +4 -0
- package/dist/create/pdf/united-states/form-4868/index.js +87 -0
- package/dist/create/pdf/united-states/form-4868/index.js.map +1 -0
- package/dist/create/pdf/united-states/form-4868/schema.json +359 -0
- package/dist/create/pdf/united-states/form-4868/template.pdf +0 -0
- package/dist/create/pdf/united-states/form-8821/form.dto.d.ts +41 -0
- package/dist/create/pdf/united-states/form-8821/form.dto.js +220 -0
- package/dist/create/pdf/united-states/form-8821/form.dto.js.map +1 -0
- package/dist/create/pdf/united-states/form-8821/index.d.ts +5 -0
- package/dist/create/pdf/united-states/form-8821/index.js +146 -0
- package/dist/create/pdf/united-states/form-8821/index.js.map +1 -0
- package/dist/create/pdf/united-states/form-8821/schema.json +924 -0
- package/dist/create/pdf/united-states/form-8821/template.pdf +0 -0
- package/dist/create/pdf/united-states/index.d.ts +8 -2
- package/dist/create/pdf/united-states/index.js +12 -1
- package/dist/create/pdf/united-states/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -3
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"height": 5,
|
|
33
33
|
"rotate": 0,
|
|
34
34
|
"opacity": 1,
|
|
35
|
-
"required":
|
|
35
|
+
"required": false,
|
|
36
36
|
"readOnly": false
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -329,7 +329,7 @@
|
|
|
329
329
|
"height": 5,
|
|
330
330
|
"rotate": 0,
|
|
331
331
|
"opacity": 1,
|
|
332
|
-
"required":
|
|
332
|
+
"required": false,
|
|
333
333
|
"readOnly": false
|
|
334
334
|
},
|
|
335
335
|
{
|
|
@@ -638,7 +638,7 @@
|
|
|
638
638
|
"height": 5,
|
|
639
639
|
"rotate": 0,
|
|
640
640
|
"opacity": 1,
|
|
641
|
-
"required":
|
|
641
|
+
"required": false,
|
|
642
642
|
"readOnly": false
|
|
643
643
|
},
|
|
644
644
|
{
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AddressDto } from "../../types/common.dto";
|
|
2
|
+
export declare enum TaxYearType {
|
|
3
|
+
CALENDAR = "calendar",
|
|
4
|
+
FISCAL = "fiscal"
|
|
5
|
+
}
|
|
6
|
+
export declare class Form4868DataDto {
|
|
7
|
+
selectedTaxYear: TaxYearType;
|
|
8
|
+
taxYearStartDate?: string;
|
|
9
|
+
taxYearEndDate?: string;
|
|
10
|
+
name: string;
|
|
11
|
+
spouseName?: string;
|
|
12
|
+
address: AddressDto;
|
|
13
|
+
ssn?: string;
|
|
14
|
+
spouseSsn?: string;
|
|
15
|
+
estimatedTaxLiability?: number;
|
|
16
|
+
totalPayments?: number;
|
|
17
|
+
balanceDue?: number;
|
|
18
|
+
amountPaying?: number;
|
|
19
|
+
isOutOfCountry?: boolean;
|
|
20
|
+
isForm1040NRFiler?: boolean;
|
|
21
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Form4868DataDto = exports.TaxYearType = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const common_dto_1 = require("../../types/common.dto");
|
|
15
|
+
var TaxYearType;
|
|
16
|
+
(function (TaxYearType) {
|
|
17
|
+
TaxYearType["CALENDAR"] = "calendar";
|
|
18
|
+
TaxYearType["FISCAL"] = "fiscal";
|
|
19
|
+
})(TaxYearType || (exports.TaxYearType = TaxYearType = {}));
|
|
20
|
+
class Form4868DataDto {
|
|
21
|
+
}
|
|
22
|
+
exports.Form4868DataDto = Form4868DataDto;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsEnum)(TaxYearType),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], Form4868DataDto.prototype, "selectedTaxYear", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], Form4868DataDto.prototype, "taxYearStartDate", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], Form4868DataDto.prototype, "taxYearEndDate", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsString)(),
|
|
40
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], Form4868DataDto.prototype, "name", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsOptional)(),
|
|
45
|
+
(0, class_validator_1.IsString)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], Form4868DataDto.prototype, "spouseName", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsObject)(),
|
|
50
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
51
|
+
__metadata("design:type", common_dto_1.AddressDto)
|
|
52
|
+
], Form4868DataDto.prototype, "address", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_validator_1.IsOptional)(),
|
|
55
|
+
(0, class_validator_1.IsString)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], Form4868DataDto.prototype, "ssn", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_validator_1.IsOptional)(),
|
|
60
|
+
(0, class_validator_1.IsString)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], Form4868DataDto.prototype, "spouseSsn", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_validator_1.IsOptional)(),
|
|
65
|
+
(0, class_validator_1.IsNumber)(),
|
|
66
|
+
__metadata("design:type", Number)
|
|
67
|
+
], Form4868DataDto.prototype, "estimatedTaxLiability", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, class_validator_1.IsOptional)(),
|
|
70
|
+
(0, class_validator_1.IsNumber)(),
|
|
71
|
+
__metadata("design:type", Number)
|
|
72
|
+
], Form4868DataDto.prototype, "totalPayments", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, class_validator_1.IsOptional)(),
|
|
75
|
+
(0, class_validator_1.IsNumber)(),
|
|
76
|
+
__metadata("design:type", Number)
|
|
77
|
+
], Form4868DataDto.prototype, "balanceDue", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_validator_1.IsOptional)(),
|
|
80
|
+
(0, class_validator_1.IsNumber)(),
|
|
81
|
+
__metadata("design:type", Number)
|
|
82
|
+
], Form4868DataDto.prototype, "amountPaying", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, class_validator_1.IsOptional)(),
|
|
85
|
+
(0, class_validator_1.IsBoolean)(),
|
|
86
|
+
__metadata("design:type", Boolean)
|
|
87
|
+
], Form4868DataDto.prototype, "isOutOfCountry", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, class_validator_1.IsOptional)(),
|
|
90
|
+
(0, class_validator_1.IsBoolean)(),
|
|
91
|
+
__metadata("design:type", Boolean)
|
|
92
|
+
], Form4868DataDto.prototype, "isForm1040NRFiler", void 0);
|
|
93
|
+
//# sourceMappingURL=form.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.dto.js","sourceRoot":"","sources":["../../../../../src/create/pdf/united-states/form-4868/form.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,uDAAoD;AAEpD,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;AACnB,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB;AAED,MAAa,eAAe;CAwD3B;AAxDD,0CAwDC;AArDC;IAFC,IAAA,wBAAM,EAAC,WAAW,CAAC;IACnB,IAAA,4BAAU,GAAE;;wDACgB;AAI7B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACe;AAI1B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACa;AAIxB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACA;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACS;AAIpB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;8BACJ,uBAAU;gDAAC;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8DACoB;AAI/B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACY;AAIvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACS;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACW;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;uDACa;AAIzB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;0DACgB"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.form4868Coordinates = exports.form4868 = void 0;
|
|
7
|
+
const fs_1 = require("fs");
|
|
8
|
+
const util_1 = require("util");
|
|
9
|
+
const path_1 = require("path");
|
|
10
|
+
const date_fns_1 = require("date-fns");
|
|
11
|
+
const util_2 = require("../../util");
|
|
12
|
+
const schema_json_1 = __importDefault(require("./schema.json"));
|
|
13
|
+
const form_dto_1 = require("./form.dto");
|
|
14
|
+
const custom_generate_1 = require("../../custom-generate");
|
|
15
|
+
const readFilePromise = (0, util_1.promisify)(fs_1.readFile);
|
|
16
|
+
const formatAmount = (amount) => {
|
|
17
|
+
if (amount === undefined || amount === null)
|
|
18
|
+
return "";
|
|
19
|
+
return amount.toString();
|
|
20
|
+
};
|
|
21
|
+
const form4868Coordinates = (data) => {
|
|
22
|
+
const page1 = {};
|
|
23
|
+
if (data.selectedTaxYear === form_dto_1.TaxYearType.FISCAL) {
|
|
24
|
+
if (data.taxYearStartDate) {
|
|
25
|
+
page1.taxYear_start = (0, date_fns_1.format)(new Date(data.taxYearStartDate), util_2.DATE_FORMAT).slice(0, 5);
|
|
26
|
+
}
|
|
27
|
+
if (data.taxYearEndDate) {
|
|
28
|
+
page1.taxYear_end = (0, date_fns_1.format)(new Date(data.taxYearEndDate), util_2.DATE_FORMAT).slice(0, 5);
|
|
29
|
+
page1.year = (0, date_fns_1.format)(new Date(data.taxYearEndDate), "yy");
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
if (data.name) {
|
|
33
|
+
const fullName = data.spouseName
|
|
34
|
+
? `${data.name} & ${data.spouseName}`
|
|
35
|
+
: data.name;
|
|
36
|
+
page1.name = fullName;
|
|
37
|
+
}
|
|
38
|
+
if (data.address) {
|
|
39
|
+
page1.street_address = (0, util_2.formatAddressV2)(data.address.address_line_1 || "", data.address.address_line_2 || "");
|
|
40
|
+
page1.city = data.address.city || "";
|
|
41
|
+
if (data.address.state) {
|
|
42
|
+
const state = data.address.state.toUpperCase();
|
|
43
|
+
page1.state_1 = state.charAt(0) || "";
|
|
44
|
+
page1.state_2 = state.charAt(1) || "";
|
|
45
|
+
}
|
|
46
|
+
page1.zip = data.address.postal_code || "";
|
|
47
|
+
}
|
|
48
|
+
if (data.ssn) {
|
|
49
|
+
page1.ssn = data.ssn;
|
|
50
|
+
}
|
|
51
|
+
if (data.spouseSsn) {
|
|
52
|
+
page1.spouseSsn = data.spouseSsn;
|
|
53
|
+
}
|
|
54
|
+
if (data.estimatedTaxLiability !== undefined) {
|
|
55
|
+
page1.estimatedTaxLiability = formatAmount(data.estimatedTaxLiability);
|
|
56
|
+
}
|
|
57
|
+
if (data.totalPayments !== undefined) {
|
|
58
|
+
page1.totalPayments = formatAmount(data.totalPayments);
|
|
59
|
+
}
|
|
60
|
+
if (data.balanceDue !== undefined) {
|
|
61
|
+
page1.balanceDue = formatAmount(data.balanceDue);
|
|
62
|
+
}
|
|
63
|
+
if (data.amountPaying !== undefined) {
|
|
64
|
+
page1.amountPaying = formatAmount(data.amountPaying);
|
|
65
|
+
}
|
|
66
|
+
if (data.isOutOfCountry) {
|
|
67
|
+
page1.isOutOfCountry = util_2.CHECKED_IMAGE;
|
|
68
|
+
}
|
|
69
|
+
if (data.isForm1040NRFiler) {
|
|
70
|
+
page1.isForm1040NRFiler = util_2.CHECKED_IMAGE;
|
|
71
|
+
}
|
|
72
|
+
return [page1];
|
|
73
|
+
};
|
|
74
|
+
exports.form4868Coordinates = form4868Coordinates;
|
|
75
|
+
let pdfBufferInstance;
|
|
76
|
+
const getPDFInstance = async () => {
|
|
77
|
+
if (!pdfBufferInstance) {
|
|
78
|
+
pdfBufferInstance = await readFilePromise((0, path_1.resolve)(__dirname, "./template.pdf"));
|
|
79
|
+
}
|
|
80
|
+
return pdfBufferInstance;
|
|
81
|
+
};
|
|
82
|
+
const form4868 = async (data) => {
|
|
83
|
+
const pdfBuffer = await getPDFInstance();
|
|
84
|
+
return (0, custom_generate_1.generatePdf)(data, pdfBuffer, schema_json_1.default, form4868Coordinates);
|
|
85
|
+
};
|
|
86
|
+
exports.form4868 = form4868;
|
|
87
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/create/pdf/united-states/form-4868/index.ts"],"names":[],"mappings":";;;;;;AAAA,2BAA8B;AAC9B,+BAAiC;AACjC,+BAA+B;AAC/B,uCAAkC;AAClC,qCAAyE;AACzE,gEAA2C;AAC3C,yCAA0D;AAC1D,2DAAoD;AAEpD,MAAM,eAAe,GAAG,IAAA,gBAAS,EAAC,aAAQ,CAAC,CAAC;AAG5C,MAAM,YAAY,GAAG,CAAC,MAA0B,EAAU,EAAE;IAC1D,IAAI,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,IAAI;QAAE,OAAO,EAAE,CAAC;IACvD,OAAO,MAAM,CAAC,QAAQ,EAAE,CAAC;AAC3B,CAAC,CAAC;AAEF,MAAM,mBAAmB,GAAG,CAC1B,IAAqB,EACK,EAAE;IAC5B,MAAM,KAAK,GAA2B,EAAE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AE,CAAC;QAC3B,KAAK,CAAC,iBAAiB,GAAG,oBAAa,CAAC;IAC1C,CAAC;IAED,OAAO,CAAC,KAAK,CAAC,CAAC;AACjB,CAAC,CAAC;AAyBO,kDAAmB;AAvB5B,IAAI,iBAAyB,CAAC;AAC9B,MAAM,cAAc,GAAG,KAAK,IAAqB,EAAE;IACjD,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACvB,iBAAiB,GAAG,MAAM,eAAe,CACvC,IAAA,cAAO,EAAC,SAAS,EAAE,gBAAgB,CAAC,CACrC,CAAC;IACJ,CAAC;IACD,OAAO,iBAAiB,CAAC;AAC3B,CAAC,CAAC;AAKK,MAAM,QAAQ,GAAG,KAAK,EAAE,IAAqB,EAAmB,EAAE;IACvE,MAAM,SAAS,GAAG,MAAM,cAAc,EAAE,CAAC;IACzC,OAAO,IAAA,6BAAW,EAChB,IAAI,EACJ,SAAS,EACT,qBAAqB,EACrB,mBAAmB,CACpB,CAAC;AACJ,CAAC,CAAC;AARW,QAAA,QAAQ,YAQnB"}
|
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
[
|
|
2
|
+
[
|
|
3
|
+
{
|
|
4
|
+
"name": "name",
|
|
5
|
+
"type": "text",
|
|
6
|
+
"content": "Type Something...",
|
|
7
|
+
"position": { "x": 17.88, "y": 232.13 },
|
|
8
|
+
"width": 87.58,
|
|
9
|
+
"height": 5.29,
|
|
10
|
+
"rotate": 0,
|
|
11
|
+
"alignment": "left",
|
|
12
|
+
"verticalAlignment": "top",
|
|
13
|
+
"fontSize": 10,
|
|
14
|
+
"lineHeight": 1,
|
|
15
|
+
"characterSpacing": 0,
|
|
16
|
+
"fontColor": "#000000",
|
|
17
|
+
"fontName": "Roboto",
|
|
18
|
+
"backgroundColor": "",
|
|
19
|
+
"opacity": 1,
|
|
20
|
+
"strikethrough": false,
|
|
21
|
+
"underline": false,
|
|
22
|
+
"required": false,
|
|
23
|
+
"readOnly": false
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "estimatedTaxLiability",
|
|
27
|
+
"type": "text",
|
|
28
|
+
"content": "Type Something...",
|
|
29
|
+
"position": { "x": 176.42, "y": 228.3 },
|
|
30
|
+
"width": 39.42,
|
|
31
|
+
"height": 4.5,
|
|
32
|
+
"rotate": 0,
|
|
33
|
+
"alignment": "left",
|
|
34
|
+
"verticalAlignment": "top",
|
|
35
|
+
"fontSize": 10,
|
|
36
|
+
"lineHeight": 1,
|
|
37
|
+
"characterSpacing": 0,
|
|
38
|
+
"fontColor": "#000000",
|
|
39
|
+
"fontName": "Roboto",
|
|
40
|
+
"backgroundColor": "",
|
|
41
|
+
"opacity": 1,
|
|
42
|
+
"strikethrough": false,
|
|
43
|
+
"underline": false,
|
|
44
|
+
"required": false,
|
|
45
|
+
"readOnly": false
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "street_address",
|
|
49
|
+
"type": "text",
|
|
50
|
+
"content": "Type Something...",
|
|
51
|
+
"position": { "x": 18.77, "y": 243.54 },
|
|
52
|
+
"width": 86.78,
|
|
53
|
+
"height": 6.09,
|
|
54
|
+
"rotate": 0,
|
|
55
|
+
"alignment": "left",
|
|
56
|
+
"verticalAlignment": "top",
|
|
57
|
+
"fontSize": 10,
|
|
58
|
+
"lineHeight": 1,
|
|
59
|
+
"characterSpacing": 0,
|
|
60
|
+
"fontColor": "#000000",
|
|
61
|
+
"fontName": "Roboto",
|
|
62
|
+
"backgroundColor": "",
|
|
63
|
+
"opacity": 1,
|
|
64
|
+
"strikethrough": false,
|
|
65
|
+
"underline": false,
|
|
66
|
+
"required": false,
|
|
67
|
+
"readOnly": false
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "ssn",
|
|
71
|
+
"type": "text",
|
|
72
|
+
"content": "Type Something...",
|
|
73
|
+
"position": { "x": 16.37, "y": 262.12 },
|
|
74
|
+
"width": 42.07,
|
|
75
|
+
"height": 4.76,
|
|
76
|
+
"rotate": 0,
|
|
77
|
+
"alignment": "left",
|
|
78
|
+
"verticalAlignment": "top",
|
|
79
|
+
"fontSize": 10,
|
|
80
|
+
"lineHeight": 1,
|
|
81
|
+
"characterSpacing": 0,
|
|
82
|
+
"fontColor": "#000000",
|
|
83
|
+
"fontName": "Roboto",
|
|
84
|
+
"backgroundColor": "",
|
|
85
|
+
"opacity": 1,
|
|
86
|
+
"strikethrough": false,
|
|
87
|
+
"underline": false,
|
|
88
|
+
"required": false,
|
|
89
|
+
"readOnly": false
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "spouseSsn",
|
|
93
|
+
"type": "text",
|
|
94
|
+
"content": "Type Something...",
|
|
95
|
+
"position": { "x": 62.49, "y": 262.45 },
|
|
96
|
+
"width": 44.19,
|
|
97
|
+
"height": 4.5,
|
|
98
|
+
"rotate": 0,
|
|
99
|
+
"alignment": "left",
|
|
100
|
+
"verticalAlignment": "top",
|
|
101
|
+
"fontSize": 10,
|
|
102
|
+
"lineHeight": 1,
|
|
103
|
+
"characterSpacing": 0,
|
|
104
|
+
"fontColor": "#000000",
|
|
105
|
+
"fontName": "Roboto",
|
|
106
|
+
"backgroundColor": "",
|
|
107
|
+
"opacity": 1,
|
|
108
|
+
"strikethrough": false,
|
|
109
|
+
"underline": false,
|
|
110
|
+
"required": false,
|
|
111
|
+
"readOnly": false
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "city",
|
|
115
|
+
"type": "text",
|
|
116
|
+
"content": "Type Something...",
|
|
117
|
+
"position": { "x": 18.8, "y": 253.55 },
|
|
118
|
+
"width": 50.54,
|
|
119
|
+
"height": 4.76,
|
|
120
|
+
"rotate": 0,
|
|
121
|
+
"alignment": "left",
|
|
122
|
+
"verticalAlignment": "top",
|
|
123
|
+
"fontSize": 10,
|
|
124
|
+
"lineHeight": 1,
|
|
125
|
+
"characterSpacing": 0,
|
|
126
|
+
"fontColor": "#000000",
|
|
127
|
+
"fontName": "Roboto",
|
|
128
|
+
"backgroundColor": "",
|
|
129
|
+
"opacity": 1,
|
|
130
|
+
"strikethrough": false,
|
|
131
|
+
"underline": false,
|
|
132
|
+
"required": false,
|
|
133
|
+
"readOnly": false
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "zip",
|
|
137
|
+
"type": "text",
|
|
138
|
+
"content": "...",
|
|
139
|
+
"position": { "x": 85.9, "y": 253.54 },
|
|
140
|
+
"width": 19.31,
|
|
141
|
+
"height": 4.23,
|
|
142
|
+
"rotate": 0,
|
|
143
|
+
"alignment": "left",
|
|
144
|
+
"verticalAlignment": "top",
|
|
145
|
+
"fontSize": 10,
|
|
146
|
+
"lineHeight": 1,
|
|
147
|
+
"characterSpacing": 0,
|
|
148
|
+
"fontColor": "#000000",
|
|
149
|
+
"fontName": "Roboto",
|
|
150
|
+
"backgroundColor": "",
|
|
151
|
+
"opacity": 1,
|
|
152
|
+
"strikethrough": false,
|
|
153
|
+
"underline": false,
|
|
154
|
+
"required": false,
|
|
155
|
+
"readOnly": false
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "state_1",
|
|
159
|
+
"type": "text",
|
|
160
|
+
"content": "...",
|
|
161
|
+
"position": { "x": 71.94, "y": 253.89 },
|
|
162
|
+
"width": 4.76,
|
|
163
|
+
"height": 4.23,
|
|
164
|
+
"rotate": 0,
|
|
165
|
+
"alignment": "left",
|
|
166
|
+
"verticalAlignment": "top",
|
|
167
|
+
"fontSize": 10,
|
|
168
|
+
"lineHeight": 1,
|
|
169
|
+
"characterSpacing": 0,
|
|
170
|
+
"fontColor": "#000000",
|
|
171
|
+
"fontName": "Roboto",
|
|
172
|
+
"backgroundColor": "",
|
|
173
|
+
"opacity": 1,
|
|
174
|
+
"strikethrough": false,
|
|
175
|
+
"underline": false,
|
|
176
|
+
"required": false,
|
|
177
|
+
"readOnly": false
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "state_2",
|
|
181
|
+
"type": "text",
|
|
182
|
+
"content": "...",
|
|
183
|
+
"position": { "x": 78.21, "y": 253.78 },
|
|
184
|
+
"width": 5.03,
|
|
185
|
+
"height": 4.23,
|
|
186
|
+
"rotate": 0,
|
|
187
|
+
"alignment": "left",
|
|
188
|
+
"verticalAlignment": "top",
|
|
189
|
+
"fontSize": 10,
|
|
190
|
+
"lineHeight": 1,
|
|
191
|
+
"characterSpacing": 0,
|
|
192
|
+
"fontColor": "#000000",
|
|
193
|
+
"fontName": "Roboto",
|
|
194
|
+
"backgroundColor": "",
|
|
195
|
+
"opacity": 1,
|
|
196
|
+
"strikethrough": false,
|
|
197
|
+
"underline": false,
|
|
198
|
+
"required": false,
|
|
199
|
+
"readOnly": false
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "isOutOfCountry",
|
|
203
|
+
"type": "image",
|
|
204
|
+
"position": { "x": 198.18, "y": 252.96 },
|
|
205
|
+
"width": 5.03,
|
|
206
|
+
"height": 4.76,
|
|
207
|
+
"rotate": 0,
|
|
208
|
+
"opacity": 1,
|
|
209
|
+
"required": false,
|
|
210
|
+
"readOnly": false
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "isForm1040NRFiler",
|
|
214
|
+
"type": "image",
|
|
215
|
+
"position": { "x": 198.19, "y": 261.69 },
|
|
216
|
+
"width": 5.03,
|
|
217
|
+
"height": 4.5,
|
|
218
|
+
"rotate": 0,
|
|
219
|
+
"opacity": 1,
|
|
220
|
+
"required": false,
|
|
221
|
+
"readOnly": false
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"name": "totalPayments",
|
|
225
|
+
"type": "text",
|
|
226
|
+
"content": "Type Something...",
|
|
227
|
+
"position": { "x": 176.12, "y": 232.51 },
|
|
228
|
+
"width": 39.42,
|
|
229
|
+
"height": 3.97,
|
|
230
|
+
"rotate": 0,
|
|
231
|
+
"alignment": "left",
|
|
232
|
+
"verticalAlignment": "top",
|
|
233
|
+
"fontSize": 10,
|
|
234
|
+
"lineHeight": 1,
|
|
235
|
+
"characterSpacing": 0,
|
|
236
|
+
"fontColor": "#000000",
|
|
237
|
+
"fontName": "Roboto",
|
|
238
|
+
"backgroundColor": "",
|
|
239
|
+
"opacity": 1,
|
|
240
|
+
"strikethrough": false,
|
|
241
|
+
"underline": false,
|
|
242
|
+
"required": false,
|
|
243
|
+
"readOnly": false
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"name": "balanceDue",
|
|
247
|
+
"type": "text",
|
|
248
|
+
"content": "Type Something...",
|
|
249
|
+
"position": { "x": 175.03, "y": 241.31 },
|
|
250
|
+
"width": 40.48,
|
|
251
|
+
"height": 4.5,
|
|
252
|
+
"rotate": 0,
|
|
253
|
+
"alignment": "left",
|
|
254
|
+
"verticalAlignment": "top",
|
|
255
|
+
"fontSize": 10,
|
|
256
|
+
"lineHeight": 1,
|
|
257
|
+
"characterSpacing": 0,
|
|
258
|
+
"fontColor": "#000000",
|
|
259
|
+
"fontName": "Roboto",
|
|
260
|
+
"backgroundColor": "",
|
|
261
|
+
"opacity": 1,
|
|
262
|
+
"strikethrough": false,
|
|
263
|
+
"underline": false,
|
|
264
|
+
"required": false,
|
|
265
|
+
"readOnly": false
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "amountPaying",
|
|
269
|
+
"type": "text",
|
|
270
|
+
"content": "Type Something...",
|
|
271
|
+
"position": { "x": 175.67, "y": 246.1 },
|
|
272
|
+
"width": 40.22,
|
|
273
|
+
"height": 3.97,
|
|
274
|
+
"rotate": 0,
|
|
275
|
+
"alignment": "left",
|
|
276
|
+
"verticalAlignment": "top",
|
|
277
|
+
"fontSize": 10,
|
|
278
|
+
"lineHeight": 1,
|
|
279
|
+
"characterSpacing": 0,
|
|
280
|
+
"fontColor": "#000000",
|
|
281
|
+
"fontName": "Roboto",
|
|
282
|
+
"backgroundColor": "",
|
|
283
|
+
"opacity": 1,
|
|
284
|
+
"strikethrough": false,
|
|
285
|
+
"underline": false,
|
|
286
|
+
"required": false,
|
|
287
|
+
"readOnly": false
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"name": "taxYear_start",
|
|
291
|
+
"type": "text",
|
|
292
|
+
"content": "Type...",
|
|
293
|
+
"position": { "x": 104.72, "y": 219.62 },
|
|
294
|
+
"width": 14.29,
|
|
295
|
+
"height": 4.5,
|
|
296
|
+
"rotate": 0,
|
|
297
|
+
"alignment": "left",
|
|
298
|
+
"verticalAlignment": "top",
|
|
299
|
+
"fontSize": 10,
|
|
300
|
+
"lineHeight": 1,
|
|
301
|
+
"characterSpacing": 0,
|
|
302
|
+
"fontColor": "#000000",
|
|
303
|
+
"fontName": "Roboto",
|
|
304
|
+
"backgroundColor": "",
|
|
305
|
+
"opacity": 1,
|
|
306
|
+
"strikethrough": false,
|
|
307
|
+
"underline": false,
|
|
308
|
+
"required": false,
|
|
309
|
+
"readOnly": false
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"name": "year",
|
|
313
|
+
"type": "text",
|
|
314
|
+
"content": "...",
|
|
315
|
+
"position": { "x": 162.72, "y": 220.07 },
|
|
316
|
+
"width": 9.26,
|
|
317
|
+
"height": 3.7,
|
|
318
|
+
"rotate": 0,
|
|
319
|
+
"alignment": "left",
|
|
320
|
+
"verticalAlignment": "top",
|
|
321
|
+
"fontSize": 10,
|
|
322
|
+
"lineHeight": 1,
|
|
323
|
+
"characterSpacing": 0,
|
|
324
|
+
"fontColor": "#000000",
|
|
325
|
+
"fontName": "Roboto",
|
|
326
|
+
"backgroundColor": "",
|
|
327
|
+
"opacity": 1,
|
|
328
|
+
"strikethrough": false,
|
|
329
|
+
"underline": false,
|
|
330
|
+
"required": false,
|
|
331
|
+
"readOnly": false
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"name": "taxYear_end",
|
|
335
|
+
"type": "text",
|
|
336
|
+
"content": "Typ...",
|
|
337
|
+
"position": { "x": 142.32, "y": 219.25 },
|
|
338
|
+
"width": 14.55,
|
|
339
|
+
"height": 5.03,
|
|
340
|
+
"rotate": 0,
|
|
341
|
+
"alignment": "left",
|
|
342
|
+
"verticalAlignment": "top",
|
|
343
|
+
"fontSize": 10,
|
|
344
|
+
"lineHeight": 1,
|
|
345
|
+
"characterSpacing": 0,
|
|
346
|
+
"fontColor": "#000000",
|
|
347
|
+
"fontName": "Roboto",
|
|
348
|
+
"backgroundColor": "",
|
|
349
|
+
"opacity": 1,
|
|
350
|
+
"strikethrough": false,
|
|
351
|
+
"underline": false,
|
|
352
|
+
"required": false,
|
|
353
|
+
"readOnly": false
|
|
354
|
+
}
|
|
355
|
+
],
|
|
356
|
+
[],
|
|
357
|
+
[],
|
|
358
|
+
[]
|
|
359
|
+
]
|
|
Binary file
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare class AddressDto {
|
|
2
|
+
address_line_1: string;
|
|
3
|
+
address_line_2?: string;
|
|
4
|
+
city: string;
|
|
5
|
+
state: string;
|
|
6
|
+
postal_code: string;
|
|
7
|
+
country?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class DesigneeDto {
|
|
10
|
+
name: string;
|
|
11
|
+
address: AddressDto;
|
|
12
|
+
sendCopies?: boolean;
|
|
13
|
+
cafNumber?: string;
|
|
14
|
+
ptin?: string;
|
|
15
|
+
telephoneNumber?: string;
|
|
16
|
+
faxNumber?: string;
|
|
17
|
+
checkIfNew?: string[];
|
|
18
|
+
}
|
|
19
|
+
export declare class TaxInformationDto {
|
|
20
|
+
typeOfTaxInformation: string;
|
|
21
|
+
taxFormNumber: string;
|
|
22
|
+
yearsOrPeriods: string;
|
|
23
|
+
specificTaxMatters?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare class Form8821DataDto {
|
|
26
|
+
taxpayerName?: string;
|
|
27
|
+
taxpayerAddress?: AddressDto;
|
|
28
|
+
taxpayerIdNumber?: string;
|
|
29
|
+
daytimeTelephone?: string;
|
|
30
|
+
planNumber?: string;
|
|
31
|
+
hasAdditionalDesignees?: boolean;
|
|
32
|
+
designees?: DesigneeDto[];
|
|
33
|
+
authorizeIntermediateServiceProvider?: boolean;
|
|
34
|
+
taxInformation?: TaxInformationDto[];
|
|
35
|
+
specificUseNotRecordedOnCAF?: boolean;
|
|
36
|
+
retainPriorAuthorizations?: boolean;
|
|
37
|
+
signature: string;
|
|
38
|
+
signatureDate: string;
|
|
39
|
+
printName: string;
|
|
40
|
+
title?: string;
|
|
41
|
+
}
|