@npm-zenwork/tax-remittance-ui 0.2.3 → 0.2.4
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/api/remittancePayments.d.ts +1 -1
- package/dist/components/payments/remittancePaymentMappers.d.ts +2 -2
- package/dist/index.cjs +22 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2934 -2888
- package/dist/index.mjs.map +1 -1
- package/dist/types/statePayment.d.ts +15 -5
- package/package.json +1 -1
|
@@ -6,7 +6,8 @@ export interface CreateStatePaymentRequest {
|
|
|
6
6
|
accountId: string;
|
|
7
7
|
letterId?: string | null;
|
|
8
8
|
taxYear: string;
|
|
9
|
-
|
|
9
|
+
/** Optional for bill payment; required for every other payment reason. */
|
|
10
|
+
taxPeriod?: string | null;
|
|
10
11
|
taxAmount: number;
|
|
11
12
|
paymentDate: string;
|
|
12
13
|
bankAccountDetailId: number;
|
|
@@ -18,7 +19,8 @@ export interface UpdateStatePaymentRequest {
|
|
|
18
19
|
accountId: string;
|
|
19
20
|
letterId?: string | null;
|
|
20
21
|
taxYear: string;
|
|
21
|
-
|
|
22
|
+
/** Optional for bill payment; required for every other payment reason. */
|
|
23
|
+
taxPeriod?: string | null;
|
|
22
24
|
taxAmount: number;
|
|
23
25
|
paymentDate: string;
|
|
24
26
|
bankAccountDetailId: number;
|
|
@@ -32,7 +34,7 @@ export interface StatePaymentResponse {
|
|
|
32
34
|
accountId: string | null;
|
|
33
35
|
letterId: string | null;
|
|
34
36
|
taxYear: string;
|
|
35
|
-
taxPeriod: string;
|
|
37
|
+
taxPeriod: string | null;
|
|
36
38
|
taxAmount: number;
|
|
37
39
|
paymentDate: string;
|
|
38
40
|
bankAccountDetailId: number | null;
|
|
@@ -59,17 +61,25 @@ export interface StatePaymentStateIdRule {
|
|
|
59
61
|
example: string | null;
|
|
60
62
|
message: string;
|
|
61
63
|
}
|
|
64
|
+
export interface StatePaymentLetterIdRule {
|
|
65
|
+
required: boolean;
|
|
66
|
+
pattern: string | null;
|
|
67
|
+
example: string | null;
|
|
68
|
+
message: string;
|
|
69
|
+
}
|
|
62
70
|
export interface StatePaymentFormMetadata {
|
|
63
71
|
rulesVersion: string;
|
|
64
72
|
state: string;
|
|
65
73
|
reasonCode: string;
|
|
66
74
|
reasonLabel: string;
|
|
67
|
-
periodMode: 'quarterly' | 'annual' | 'account-assigned';
|
|
75
|
+
periodMode: 'quarterly' | 'annual' | 'account-assigned' | 'notice';
|
|
68
76
|
taxYearOptions: number[];
|
|
69
77
|
taxPeriodOptions: StatePaymentOption[];
|
|
70
78
|
stateId: StatePaymentStateIdRule;
|
|
71
79
|
accountIdRequired: boolean;
|
|
72
80
|
letterIdRequired: boolean;
|
|
81
|
+
taxPeriodRequired: boolean;
|
|
82
|
+
letterId: StatePaymentLetterIdRule;
|
|
73
83
|
notes: string[];
|
|
74
84
|
}
|
|
75
85
|
export interface StatePaymentFormReferenceItem {
|
|
@@ -84,7 +94,7 @@ export interface StatePaymentFormReferences {
|
|
|
84
94
|
stateName: string;
|
|
85
95
|
reasonCode: string;
|
|
86
96
|
reasonLabel: string;
|
|
87
|
-
category: 'estimated_tax' | 'withholding' | 'income_tax';
|
|
97
|
+
category: 'estimated_tax' | 'withholding' | 'income_tax' | 'bill_payment' | 'unknown';
|
|
88
98
|
forms: StatePaymentFormReferenceItem[];
|
|
89
99
|
notes: string[];
|
|
90
100
|
}
|