@npm-zenwork/tax-remittance-ui 0.7.0 → 0.9.0
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/stateForms.d.ts +20 -0
- package/dist/api/taxForms.d.ts +46 -0
- package/dist/components/tax-forms/TaxFormDetailPanel.d.ts +6 -0
- package/dist/components/tax-forms/TaxFormRecordView.d.ts +4 -0
- package/dist/components/tax-forms/TaxFormStatusBadge.d.ts +8 -0
- package/dist/components/tax-forms/TaxFormsWorklist.d.ts +8 -0
- package/dist/components/tax-forms/states/TaxFormEntitySelect.d.ts +13 -0
- package/dist/components/tax-forms/states/alabama/AL40ESForm.autofill.d.ts +26 -0
- package/dist/components/tax-forms/states/alabama/AL40ESForm.d.ts +50 -0
- package/dist/components/tax-forms/states/alabama/AL40ESForm.payload.d.ts +44 -0
- package/dist/components/tax-forms/states/alabama/AL40ESForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/alabama/AL40ESForm.schema.d.ts +43 -0
- package/dist/components/tax-forms/states/alabama/ALA3Form.autofill.d.ts +14 -0
- package/dist/components/tax-forms/states/alabama/ALA3Form.calc.d.ts +25 -0
- package/dist/components/tax-forms/states/alabama/ALA3Form.d.ts +39 -0
- package/dist/components/tax-forms/states/alabama/ALA3Form.payload.d.ts +32 -0
- package/dist/components/tax-forms/states/alabama/ALA3Form.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/alabama/ALA3Form.schema.d.ts +32 -0
- package/dist/components/tax-forms/states/alabama/ALEmployerReturnForm.autofill.d.ts +8 -0
- package/dist/components/tax-forms/states/alabama/ALEmployerReturnForm.calc.d.ts +33 -0
- package/dist/components/tax-forms/states/alabama/ALEmployerReturnForm.d.ts +47 -0
- package/dist/components/tax-forms/states/alabama/ALEmployerReturnForm.payload.d.ts +37 -0
- package/dist/components/tax-forms/states/alabama/ALEmployerReturnForm.preview.d.ts +3 -0
- package/dist/components/tax-forms/states/alabama/ALEmployerReturnForm.schema.d.ts +45 -0
- package/dist/components/tax-forms/states/alabama/ALWithholding.shared.d.ts +97 -0
- package/dist/components/tax-forms/states/alabama/ALWithholdingParts.d.ts +92 -0
- package/dist/components/tax-forms/states/arizona/AZ120ESForm.autofill.d.ts +25 -0
- package/dist/components/tax-forms/states/arizona/AZ120ESForm.d.ts +57 -0
- package/dist/components/tax-forms/states/arizona/AZ120ESForm.payload.d.ts +44 -0
- package/dist/components/tax-forms/states/arizona/AZ120ESForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/arizona/AZ120ESForm.schema.d.ts +42 -0
- package/dist/components/tax-forms/states/arizona/AZ140ESForm.autofill.d.ts +26 -0
- package/dist/components/tax-forms/states/arizona/AZ140ESForm.d.ts +54 -0
- package/dist/components/tax-forms/states/arizona/AZ140ESForm.payload.d.ts +46 -0
- package/dist/components/tax-forms/states/arizona/AZ140ESForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/arizona/AZ140ESForm.schema.d.ts +81 -0
- package/dist/components/tax-forms/states/arizona/AZA1QRTForm.autofill.d.ts +14 -0
- package/dist/components/tax-forms/states/arizona/AZA1QRTForm.calc.d.ts +26 -0
- package/dist/components/tax-forms/states/arizona/AZA1QRTForm.d.ts +89 -0
- package/dist/components/tax-forms/states/arizona/AZA1QRTForm.payload.d.ts +91 -0
- package/dist/components/tax-forms/states/arizona/AZA1QRTForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/arizona/AZA1QRTForm.schema.d.ts +165 -0
- package/dist/components/tax-forms/states/arizona/AZA1RForm.autofill.d.ts +13 -0
- package/dist/components/tax-forms/states/arizona/AZA1RForm.calc.d.ts +15 -0
- package/dist/components/tax-forms/states/arizona/AZA1RForm.d.ts +50 -0
- package/dist/components/tax-forms/states/arizona/AZA1RForm.payload.d.ts +47 -0
- package/dist/components/tax-forms/states/arizona/AZA1RForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/arizona/AZA1RForm.schema.d.ts +46 -0
- package/dist/components/tax-forms/states/arizona/AZA1WPForm.autofill.d.ts +15 -0
- package/dist/components/tax-forms/states/arizona/AZA1WPForm.d.ts +29 -0
- package/dist/components/tax-forms/states/arizona/AZA1WPForm.payload.d.ts +17 -0
- package/dist/components/tax-forms/states/arizona/AZA1WPForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/arizona/AZA1WPForm.schema.d.ts +11 -0
- package/dist/components/tax-forms/states/arizona/AZWithholding.shared.d.ts +114 -0
- package/dist/components/tax-forms/states/arizona/AZWithholdingParts.d.ts +63 -0
- package/dist/components/tax-forms/states/arkansas/AR1000ESForm.autofill.d.ts +26 -0
- package/dist/components/tax-forms/states/arkansas/AR1000ESForm.d.ts +48 -0
- package/dist/components/tax-forms/states/arkansas/AR1000ESForm.payload.d.ts +39 -0
- package/dist/components/tax-forms/states/arkansas/AR1000ESForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/arkansas/AR1000ESForm.schema.d.ts +28 -0
- package/dist/components/tax-forms/states/arkansas/AR1100ESCTForm.autofill.d.ts +25 -0
- package/dist/components/tax-forms/states/arkansas/AR1100ESCTForm.d.ts +46 -0
- package/dist/components/tax-forms/states/arkansas/AR1100ESCTForm.payload.d.ts +34 -0
- package/dist/components/tax-forms/states/arkansas/AR1100ESCTForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/arkansas/AR1100ESCTForm.schema.d.ts +29 -0
- package/dist/components/tax-forms/states/arkansas/AR941MForm.autofill.d.ts +29 -0
- package/dist/components/tax-forms/states/arkansas/AR941MForm.calc.d.ts +24 -0
- package/dist/components/tax-forms/states/arkansas/AR941MForm.d.ts +52 -0
- package/dist/components/tax-forms/states/arkansas/AR941MForm.payload.d.ts +49 -0
- package/dist/components/tax-forms/states/arkansas/AR941MForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/arkansas/AR941MForm.schema.d.ts +69 -0
- package/dist/components/tax-forms/states/california/CA100ESForm.autofill.d.ts +25 -0
- package/dist/components/tax-forms/states/california/CA100ESForm.d.ts +58 -0
- package/dist/components/tax-forms/states/california/CA100ESForm.payload.d.ts +43 -0
- package/dist/components/tax-forms/states/california/CA100ESForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/california/CA100ESForm.schema.d.ts +53 -0
- package/dist/components/tax-forms/states/california/CA540ESForm.autofill.d.ts +25 -0
- package/dist/components/tax-forms/states/california/CA540ESForm.d.ts +50 -0
- package/dist/components/tax-forms/states/california/CA540ESForm.payload.d.ts +42 -0
- package/dist/components/tax-forms/states/california/CA540ESForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/california/CA540ESForm.schema.d.ts +48 -0
- package/dist/components/tax-forms/states/colorado/COAnnualTransmittalForm.autofill.d.ts +36 -0
- package/dist/components/tax-forms/states/colorado/COAnnualTransmittalForm.calc.d.ts +37 -0
- package/dist/components/tax-forms/states/colorado/COAnnualTransmittalForm.d.ts +63 -0
- package/dist/components/tax-forms/states/colorado/COAnnualTransmittalForm.payload.d.ts +66 -0
- package/dist/components/tax-forms/states/colorado/COAnnualTransmittalForm.preview.d.ts +3 -0
- package/dist/components/tax-forms/states/colorado/COAnnualTransmittalForm.schema.d.ts +41 -0
- package/dist/components/tax-forms/states/colorado/COWithholding.shared.d.ts +14 -0
- package/dist/components/tax-forms/states/colorado/COWithholdingParts.d.ts +36 -0
- package/dist/components/tax-forms/states/colorado/DR0104EPForm.autofill.d.ts +24 -0
- package/dist/components/tax-forms/states/colorado/DR0104EPForm.d.ts +44 -0
- package/dist/components/tax-forms/states/colorado/DR0104EPForm.payload.d.ts +35 -0
- package/dist/components/tax-forms/states/colorado/DR0104EPForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/colorado/DR0104EPForm.schema.d.ts +21 -0
- package/dist/components/tax-forms/states/colorado/DR0112EPForm.autofill.d.ts +24 -0
- package/dist/components/tax-forms/states/colorado/DR0112EPForm.d.ts +51 -0
- package/dist/components/tax-forms/states/colorado/DR0112EPForm.payload.d.ts +37 -0
- package/dist/components/tax-forms/states/colorado/DR0112EPForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/colorado/DR0112EPForm.schema.d.ts +40 -0
- package/dist/components/tax-forms/states/colorado/DR1094Form.autofill.d.ts +36 -0
- package/dist/components/tax-forms/states/colorado/DR1094Form.calc.d.ts +20 -0
- package/dist/components/tax-forms/states/colorado/DR1094Form.d.ts +82 -0
- package/dist/components/tax-forms/states/colorado/DR1094Form.payload.d.ts +55 -0
- package/dist/components/tax-forms/states/colorado/DR1094Form.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/colorado/DR1094Form.schema.d.ts +37 -0
- package/dist/components/tax-forms/states/connecticut/CT1040ESForm.autofill.d.ts +25 -0
- package/dist/components/tax-forms/states/connecticut/CT1040ESForm.d.ts +47 -0
- package/dist/components/tax-forms/states/connecticut/CT1040ESForm.payload.d.ts +39 -0
- package/dist/components/tax-forms/states/connecticut/CT1040ESForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/connecticut/CT1040ESForm.schema.d.ts +21 -0
- package/dist/components/tax-forms/states/connecticut/CT1040ESForm.shared.d.ts +35 -0
- package/dist/components/tax-forms/states/connecticut/CT1120ESForm.autofill.d.ts +24 -0
- package/dist/components/tax-forms/states/connecticut/CT1120ESForm.d.ts +48 -0
- package/dist/components/tax-forms/states/connecticut/CT1120ESForm.payload.d.ts +35 -0
- package/dist/components/tax-forms/states/connecticut/CT1120ESForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/connecticut/CT1120ESForm.schema.d.ts +21 -0
- package/dist/components/tax-forms/states/connecticut/CT1120ESForm.shared.d.ts +54 -0
- package/dist/components/tax-forms/states/delaware/DECMPESTForm.autofill.d.ts +32 -0
- package/dist/components/tax-forms/states/delaware/DECMPESTForm.d.ts +48 -0
- package/dist/components/tax-forms/states/delaware/DECMPESTForm.payload.d.ts +38 -0
- package/dist/components/tax-forms/states/delaware/DECMPESTForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/delaware/DECMPESTForm.schema.d.ts +20 -0
- package/dist/components/tax-forms/states/delaware/DEEstimated.shared.d.ts +31 -0
- package/dist/components/tax-forms/states/delaware/DEPITESTForm.autofill.d.ts +25 -0
- package/dist/components/tax-forms/states/delaware/DEPITESTForm.d.ts +43 -0
- package/dist/components/tax-forms/states/delaware/DEPITESTForm.payload.d.ts +37 -0
- package/dist/components/tax-forms/states/delaware/DEPITESTForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/delaware/DEPITESTForm.schema.d.ts +17 -0
- package/dist/components/tax-forms/states/district-of-columbia/DCBusinessEstimatedForm.autofill.d.ts +24 -0
- package/dist/components/tax-forms/states/district-of-columbia/DCBusinessEstimatedForm.d.ts +49 -0
- package/dist/components/tax-forms/states/district-of-columbia/DCBusinessEstimatedForm.payload.d.ts +35 -0
- package/dist/components/tax-forms/states/district-of-columbia/DCBusinessEstimatedForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/district-of-columbia/DCBusinessEstimatedForm.schema.d.ts +18 -0
- package/dist/components/tax-forms/states/district-of-columbia/DCD40ESForm.autofill.d.ts +25 -0
- package/dist/components/tax-forms/states/district-of-columbia/DCD40ESForm.d.ts +47 -0
- package/dist/components/tax-forms/states/district-of-columbia/DCD40ESForm.payload.d.ts +39 -0
- package/dist/components/tax-forms/states/district-of-columbia/DCD40ESForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/district-of-columbia/DCD40ESForm.schema.d.ts +21 -0
- package/dist/components/tax-forms/states/district-of-columbia/DCEstimated.shared.d.ts +21 -0
- package/dist/components/tax-forms/states/district-of-columbia/DCEstimatedParts.d.ts +5 -0
- package/dist/components/tax-forms/states/estimatedFormParts.d.ts +125 -0
- package/dist/components/tax-forms/states/georgia/GA500ESForm.autofill.d.ts +25 -0
- package/dist/components/tax-forms/states/georgia/GA500ESForm.d.ts +49 -0
- package/dist/components/tax-forms/states/georgia/GA500ESForm.payload.d.ts +37 -0
- package/dist/components/tax-forms/states/georgia/GA500ESForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/georgia/GA500ESForm.schema.d.ts +26 -0
- package/dist/components/tax-forms/states/georgia/GA602ESForm.autofill.d.ts +33 -0
- package/dist/components/tax-forms/states/georgia/GA602ESForm.d.ts +54 -0
- package/dist/components/tax-forms/states/georgia/GA602ESForm.payload.d.ts +44 -0
- package/dist/components/tax-forms/states/georgia/GA602ESForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/georgia/GA602ESForm.schema.d.ts +32 -0
- package/dist/components/tax-forms/states/georgia/GAEstimated.shared.d.ts +14 -0
- package/dist/components/tax-forms/states/hawaii/HIN200VForm.autofill.d.ts +19 -0
- package/dist/components/tax-forms/states/hawaii/HIN200VForm.d.ts +43 -0
- package/dist/components/tax-forms/states/hawaii/HIN200VForm.payload.d.ts +30 -0
- package/dist/components/tax-forms/states/hawaii/HIN200VForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/hawaii/HIN200VForm.schema.d.ts +18 -0
- package/dist/components/tax-forms/states/hawaii/HIN201VForm.autofill.d.ts +20 -0
- package/dist/components/tax-forms/states/hawaii/HIN201VForm.d.ts +39 -0
- package/dist/components/tax-forms/states/hawaii/HIN201VForm.payload.d.ts +25 -0
- package/dist/components/tax-forms/states/hawaii/HIN201VForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/hawaii/HIN201VForm.schema.d.ts +31 -0
- package/dist/components/tax-forms/states/hawaii/HIPaymentVoucher.shared.d.ts +13 -0
- package/dist/components/tax-forms/states/hawaii/HIPaymentVoucherParts.d.ts +23 -0
- package/dist/components/tax-forms/states/idaho/IDEstimated.shared.d.ts +9 -0
- package/dist/components/tax-forms/states/idaho/IDForm51.autofill.d.ts +25 -0
- package/dist/components/tax-forms/states/idaho/IDForm51.d.ts +46 -0
- package/dist/components/tax-forms/states/idaho/IDForm51.payload.d.ts +40 -0
- package/dist/components/tax-forms/states/idaho/IDForm51.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/idaho/IDForm51.schema.d.ts +20 -0
- package/dist/components/tax-forms/states/illinois/ILEstimated.shared.d.ts +24 -0
- package/dist/components/tax-forms/states/illinois/ILIL1040ESForm.autofill.d.ts +25 -0
- package/dist/components/tax-forms/states/illinois/ILIL1040ESForm.d.ts +46 -0
- package/dist/components/tax-forms/states/illinois/ILIL1040ESForm.payload.d.ts +41 -0
- package/dist/components/tax-forms/states/illinois/ILIL1040ESForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/illinois/ILIL1040ESForm.schema.d.ts +19 -0
- package/dist/components/tax-forms/states/illinois/ILIL1120VForm.autofill.d.ts +24 -0
- package/dist/components/tax-forms/states/illinois/ILIL1120VForm.d.ts +46 -0
- package/dist/components/tax-forms/states/illinois/ILIL1120VForm.payload.d.ts +33 -0
- package/dist/components/tax-forms/states/illinois/ILIL1120VForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/illinois/ILIL1120VForm.schema.d.ts +19 -0
- package/dist/components/tax-forms/states/south-carolina/SCWithholding.shared.d.ts +34 -0
- package/dist/components/tax-forms/states/south-carolina/SCWithholdingParts.d.ts +70 -0
- package/dist/components/tax-forms/states/south-carolina/SCWithholdingReturnForm.autofill.d.ts +33 -0
- package/dist/components/tax-forms/states/south-carolina/SCWithholdingReturnForm.calc.d.ts +60 -0
- package/dist/components/tax-forms/states/south-carolina/SCWithholdingReturnForm.d.ts +68 -0
- package/dist/components/tax-forms/states/south-carolina/SCWithholdingReturnForm.payload.d.ts +74 -0
- package/dist/components/tax-forms/states/south-carolina/SCWithholdingReturnForm.preview.d.ts +3 -0
- package/dist/components/tax-forms/states/south-carolina/SCWithholdingReturnForm.schema.d.ts +70 -0
- package/dist/components/tax-forms/states/stateFormKit.d.ts +88 -9
- package/dist/components/tax-forms/states/useStateTaxForm.d.ts +65 -0
- package/dist/components/tax-forms/states/virginia/VA15Form.autofill.d.ts +31 -0
- package/dist/components/tax-forms/states/virginia/VA16Form.autofill.d.ts +33 -0
- package/dist/components/tax-forms/states/virginia/VA500ESForm.autofill.d.ts +27 -0
- package/dist/components/tax-forms/states/virginia/VA500ESForm.d.ts +52 -0
- package/dist/components/tax-forms/states/virginia/VA500ESForm.payload.d.ts +43 -0
- package/dist/components/tax-forms/states/virginia/VA500ESForm.preview.d.ts +2 -0
- package/dist/components/tax-forms/states/virginia/VA500ESForm.schema.d.ts +24 -0
- package/dist/components/tax-forms/states/virginia/VA5Form.autofill.d.ts +34 -0
- package/dist/components/tax-forms/states/virginia/VA6Form.autofill.d.ts +32 -0
- package/dist/components/tax-forms/states/virginia/VA760ESForm.autofill.d.ts +26 -0
- package/dist/components/tax-forms/states/virginia/VA760ESForm.d.ts +43 -43
- package/dist/components/tax-forms/states/virginia/VA760ESForm.payload.d.ts +45 -0
- package/dist/components/tax-forms/states/virginia/VA760ESForm.schema.d.ts +26 -0
- package/dist/components/tax-forms/states/virginia/VAEstimated.shared.d.ts +26 -0
- package/dist/components/tax-forms/states/virginia/VAWithholdingBoundForms.d.ts +39 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT101AForm.autofill.d.ts +4 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT101AForm.calc.d.ts +14 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT101AForm.d.ts +19 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT101AForm.payload.d.ts +26 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT101AForm.schema.d.ts +38 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT101QForm.autofill.d.ts +4 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT101QForm.calc.d.ts +41 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT101QForm.d.ts +23 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT101QForm.payload.d.ts +30 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT101QForm.schema.d.ts +43 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT101VForm.autofill.d.ts +4 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT101VForm.calc.d.ts +3 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT101VForm.d.ts +12 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT101VForm.payload.d.ts +15 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT101VForm.schema.d.ts +16 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT103Form.autofill.d.ts +4 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT103Form.calc.d.ts +13 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT103Form.d.ts +22 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT103Form.payload.d.ts +29 -0
- package/dist/components/tax-forms/states/west-virginia/WVIT103Form.schema.d.ts +36 -0
- package/dist/components/tax-forms/states/west-virginia/WVWithholding.preview.d.ts +5 -0
- package/dist/components/tax-forms/states/west-virginia/WVWithholding.shared.d.ts +170 -0
- package/dist/components/tax-forms/states/west-virginia/WVWithholdingParts.d.ts +129 -0
- package/dist/components/tax-forms/states/west-virginia/useWVWithholdingForm.d.ts +62 -0
- package/dist/components/tax-forms/taxFormReason.d.ts +9 -0
- package/dist/components/tax-forms/taxFormRegistry.d.ts +45 -0
- package/dist/components/ui/CalendarPicker.d.ts +17 -0
- package/dist/index.cjs +33 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +26095 -9745
- package/dist/index.mjs.map +1 -1
- package/dist/lib/fieldRules.d.ts +42 -0
- package/dist/lib/fieldSchemas.d.ts +39 -0
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { CT1040ESBoundData, CT1040ESEditableValues } from './CT1040ESForm';
|
|
2
|
+
export interface CT1040ESSubmitPayload {
|
|
3
|
+
formCode: '1040ES';
|
|
4
|
+
state: 'CT';
|
|
5
|
+
/** The chosen Dashboard entity — an individual. */
|
|
6
|
+
payerId: number;
|
|
7
|
+
/** Hidden ids the backend issues for an existing record; `null` on a new one. */
|
|
8
|
+
ids: {
|
|
9
|
+
payerDetailId: number | null;
|
|
10
|
+
formRecordId: number | null;
|
|
11
|
+
statePayrollFormId: number | null;
|
|
12
|
+
};
|
|
13
|
+
taxYear: number;
|
|
14
|
+
installment: number;
|
|
15
|
+
/** `MM-DD-YYYY`, as the coupon prints it. */
|
|
16
|
+
dueDate: string;
|
|
17
|
+
taxpayer: {
|
|
18
|
+
firstName: string;
|
|
19
|
+
middleInitial: string | null;
|
|
20
|
+
lastName: string;
|
|
21
|
+
ssn: string;
|
|
22
|
+
};
|
|
23
|
+
/** `null` when filing without a spouse. */
|
|
24
|
+
spouse: {
|
|
25
|
+
firstName: string;
|
|
26
|
+
middleInitial: string | null;
|
|
27
|
+
lastName: string;
|
|
28
|
+
ssn: string;
|
|
29
|
+
} | null;
|
|
30
|
+
address: {
|
|
31
|
+
street: string;
|
|
32
|
+
city: string;
|
|
33
|
+
state: string;
|
|
34
|
+
zipCode: string;
|
|
35
|
+
};
|
|
36
|
+
/** Whole dollars. */
|
|
37
|
+
payment: number;
|
|
38
|
+
}
|
|
39
|
+
export declare function buildCT1040ESPayload(data: CT1040ESBoundData, values: CT1040ESEditableValues): CT1040ESSubmitPayload;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const AMOUNT_MAX_DIGITS = 10;
|
|
3
|
+
export declare const MIDDLE_INITIAL_MAX_LENGTH = 1;
|
|
4
|
+
export declare const ct1040ESSchema: z.ZodObject<{
|
|
5
|
+
payerId: z.ZodNullable<z.ZodNumber>;
|
|
6
|
+
firstName: z.ZodString;
|
|
7
|
+
middleInitial: z.ZodString;
|
|
8
|
+
lastName: z.ZodString;
|
|
9
|
+
ssn: z.ZodString;
|
|
10
|
+
spouseFirstName: z.ZodString;
|
|
11
|
+
spouseMiddleInitial: z.ZodString;
|
|
12
|
+
spouseLastName: z.ZodString;
|
|
13
|
+
spouseSsn: z.ZodString;
|
|
14
|
+
address: z.ZodString;
|
|
15
|
+
city: z.ZodString;
|
|
16
|
+
state: z.ZodString;
|
|
17
|
+
zipCode: z.ZodString;
|
|
18
|
+
installment: z.ZodString;
|
|
19
|
+
dueDate: z.ZodString;
|
|
20
|
+
payment: z.ZodString;
|
|
21
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CT-1040ES's installments and due dates — shared by the coupon, its schema
|
|
3
|
+
* and its payload. No tax is calculated here: the payment is the filer's.
|
|
4
|
+
*
|
|
5
|
+
* "Estimated payments for the 2026 taxable year are due on or before April
|
|
6
|
+
* 15, June 15, September 15, 2026, and January 15, 2027"; a date on a
|
|
7
|
+
* weekend moves to the next business day.
|
|
8
|
+
*/
|
|
9
|
+
/** The taxable year this edition of the coupon is printed for. */
|
|
10
|
+
export declare const FORM_TAX_YEAR = 2026;
|
|
11
|
+
export declare const INSTALLMENTS: readonly [{
|
|
12
|
+
readonly value: "1";
|
|
13
|
+
readonly label: "Installment 1";
|
|
14
|
+
readonly month: 4;
|
|
15
|
+
readonly yearOffset: 0;
|
|
16
|
+
}, {
|
|
17
|
+
readonly value: "2";
|
|
18
|
+
readonly label: "Installment 2";
|
|
19
|
+
readonly month: 6;
|
|
20
|
+
readonly yearOffset: 0;
|
|
21
|
+
}, {
|
|
22
|
+
readonly value: "3";
|
|
23
|
+
readonly label: "Installment 3";
|
|
24
|
+
readonly month: 9;
|
|
25
|
+
readonly yearOffset: 0;
|
|
26
|
+
}, {
|
|
27
|
+
readonly value: "4";
|
|
28
|
+
readonly label: "Installment 4";
|
|
29
|
+
readonly month: 1;
|
|
30
|
+
readonly yearOffset: 1;
|
|
31
|
+
}];
|
|
32
|
+
/** The four calendar-year due dates, first first. */
|
|
33
|
+
export declare const installmentDueDates: () => Date[];
|
|
34
|
+
/** `MM-DD-YYYY`, as the coupon prints its due date. */
|
|
35
|
+
export declare const formatCouponDate: (date: Date) => string;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { CT1120ESEditableValues } from './CT1120ESForm';
|
|
2
|
+
interface AutoFillPayer {
|
|
3
|
+
firstName?: string;
|
|
4
|
+
lastName?: string;
|
|
5
|
+
tradeName?: string | null;
|
|
6
|
+
accountType?: string;
|
|
7
|
+
ssn?: string;
|
|
8
|
+
address1?: string;
|
|
9
|
+
address2?: string | null;
|
|
10
|
+
city?: string;
|
|
11
|
+
state?: string;
|
|
12
|
+
zipCode?: string;
|
|
13
|
+
}
|
|
14
|
+
interface AutoFillPayment {
|
|
15
|
+
taxPeriod?: string | null;
|
|
16
|
+
amount?: number;
|
|
17
|
+
}
|
|
18
|
+
export interface AutoFillJson {
|
|
19
|
+
entityId?: number;
|
|
20
|
+
payer?: AutoFillPayer;
|
|
21
|
+
payment?: AutoFillPayment;
|
|
22
|
+
}
|
|
23
|
+
export declare function fieldsFromAutoFillJson(autoFill: AutoFillJson): Partial<CT1120ESEditableValues>;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { StateFormSubmitResponse } from '../../../../api/stateForms';
|
|
2
|
+
import { CT1120ESInstallment, CT1120ESReturnType } from './CT1120ESForm.shared';
|
|
3
|
+
/**
|
|
4
|
+
* Ids the backend issues once a record exists, sent back on submit so it
|
|
5
|
+
* updates that record. Absent (`null`) for a new coupon. Never shown.
|
|
6
|
+
*/
|
|
7
|
+
export interface CT1120ESBoundData {
|
|
8
|
+
payerDetailId?: number | null;
|
|
9
|
+
formRecordId?: number | null;
|
|
10
|
+
statePayrollFormId?: number | null;
|
|
11
|
+
}
|
|
12
|
+
export interface CT1120ESEditableValues {
|
|
13
|
+
/** The chosen Dashboard business entity. `null` until one is chosen. */
|
|
14
|
+
payerId: number | null;
|
|
15
|
+
name: string;
|
|
16
|
+
address: string;
|
|
17
|
+
city: string;
|
|
18
|
+
state: string;
|
|
19
|
+
zipCode: string;
|
|
20
|
+
fein: string;
|
|
21
|
+
/** Optional. */
|
|
22
|
+
poBox: string;
|
|
23
|
+
/** `1234567-000`. */
|
|
24
|
+
registrationNumber: string;
|
|
25
|
+
/** MM/DD/YYYY — "For income year ending". */
|
|
26
|
+
incomeYearEnding: string;
|
|
27
|
+
/** `'A'`–`'D'`, `''` until chosen. */
|
|
28
|
+
installment: CT1120ESInstallment | '';
|
|
29
|
+
returnType: CT1120ESReturnType | '';
|
|
30
|
+
closingMonthChanged: boolean;
|
|
31
|
+
/** Payment amount due — whole dollars, digits only, typed by the filer. */
|
|
32
|
+
payment: string;
|
|
33
|
+
}
|
|
34
|
+
interface CT1120ESFormProps {
|
|
35
|
+
data: CT1120ESBoundData;
|
|
36
|
+
/** Starting entries — anything omitted starts blank. */
|
|
37
|
+
initialValues?: Partial<CT1120ESEditableValues>;
|
|
38
|
+
/** Fires on every change with the complete set of entries. */
|
|
39
|
+
onValuesChange?: (values: CT1120ESEditableValues) => void;
|
|
40
|
+
/** Leaves the form. Omit to hide the Back button. */
|
|
41
|
+
onBack?: () => void;
|
|
42
|
+
/** Fires after a successful submit, with the API's response. */
|
|
43
|
+
onSubmitted?: (response: StateFormSubmitResponse) => void;
|
|
44
|
+
/** Estimated/Income Tax forms are view + download-PDF only; see `useStateTaxForm`'s `readOnly` option. */
|
|
45
|
+
readOnly?: boolean;
|
|
46
|
+
}
|
|
47
|
+
export declare function CT1120ESForm({ data, initialValues, onValuesChange, onBack, onSubmitted, readOnly }: CT1120ESFormProps): import("react").JSX.Element;
|
|
48
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { CT1120ESBoundData, CT1120ESEditableValues } from './CT1120ESForm';
|
|
2
|
+
import { CT1120ESInstallment, CT1120ESReturnType } from './CT1120ESForm.shared';
|
|
3
|
+
export interface CT1120ESSubmitPayload {
|
|
4
|
+
formCode: '1120ES';
|
|
5
|
+
state: 'CT';
|
|
6
|
+
/** The chosen Dashboard entity — a corporation (or designated taxable member). */
|
|
7
|
+
payerId: number;
|
|
8
|
+
/** Hidden ids the backend issues for an existing record; `null` on a new one. */
|
|
9
|
+
ids: {
|
|
10
|
+
payerDetailId: number | null;
|
|
11
|
+
formRecordId: number | null;
|
|
12
|
+
statePayrollFormId: number | null;
|
|
13
|
+
};
|
|
14
|
+
/** `A`–`D` — CT-1120 ESA to ESD. */
|
|
15
|
+
installment: CT1120ESInstallment;
|
|
16
|
+
/** `MM/DD/YYYY`. */
|
|
17
|
+
incomeYearEnding: string;
|
|
18
|
+
dueDate: string;
|
|
19
|
+
registrationNumber: string;
|
|
20
|
+
/** 9 digits, no dash. */
|
|
21
|
+
fein: string;
|
|
22
|
+
returnType: CT1120ESReturnType;
|
|
23
|
+
closingMonthChanged: boolean;
|
|
24
|
+
corporation: {
|
|
25
|
+
name: string;
|
|
26
|
+
address: string;
|
|
27
|
+
poBox: string | null;
|
|
28
|
+
city: string;
|
|
29
|
+
state: string;
|
|
30
|
+
zipCode: string;
|
|
31
|
+
};
|
|
32
|
+
/** Whole dollars. */
|
|
33
|
+
payment: number;
|
|
34
|
+
}
|
|
35
|
+
export declare function buildCT1120ESPayload(data: CT1120ESBoundData, values: CT1120ESEditableValues): CT1120ESSubmitPayload;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const AMOUNT_MAX_DIGITS = 10;
|
|
3
|
+
export declare const PO_BOX_MAX_LENGTH = 20;
|
|
4
|
+
/** Connecticut Tax Registration Number: 7–10 digits, hyphen, 3 digits. */
|
|
5
|
+
export declare const REGISTRATION_NUMBER_PATTERN: RegExp;
|
|
6
|
+
export declare const ct1120ESSchema: z.ZodObject<{
|
|
7
|
+
payerId: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
name: z.ZodString;
|
|
9
|
+
address: z.ZodString;
|
|
10
|
+
city: z.ZodString;
|
|
11
|
+
state: z.ZodString;
|
|
12
|
+
zipCode: z.ZodString;
|
|
13
|
+
fein: z.ZodString;
|
|
14
|
+
poBox: z.ZodString;
|
|
15
|
+
registrationNumber: z.ZodString;
|
|
16
|
+
incomeYearEnding: z.ZodString;
|
|
17
|
+
installment: z.ZodString;
|
|
18
|
+
returnType: z.ZodString;
|
|
19
|
+
closingMonthChanged: z.ZodBoolean;
|
|
20
|
+
payment: z.ZodString;
|
|
21
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/** The income year this edition of the coupons is printed for. */
|
|
2
|
+
export declare const FORM_TAX_YEAR = 2026;
|
|
3
|
+
export declare const INSTALLMENTS: readonly [{
|
|
4
|
+
readonly value: "A";
|
|
5
|
+
readonly coupon: "CT-1120 ESA";
|
|
6
|
+
readonly label: "First Installment";
|
|
7
|
+
readonly month: 3;
|
|
8
|
+
}, {
|
|
9
|
+
readonly value: "B";
|
|
10
|
+
readonly coupon: "CT-1120 ESB";
|
|
11
|
+
readonly label: "Second Installment";
|
|
12
|
+
readonly month: 6;
|
|
13
|
+
}, {
|
|
14
|
+
readonly value: "C";
|
|
15
|
+
readonly coupon: "CT-1120 ESC";
|
|
16
|
+
readonly label: "Third Installment";
|
|
17
|
+
readonly month: 9;
|
|
18
|
+
}, {
|
|
19
|
+
readonly value: "D";
|
|
20
|
+
readonly coupon: "CT-1120 ESD";
|
|
21
|
+
readonly label: "Fourth Installment";
|
|
22
|
+
readonly month: 12;
|
|
23
|
+
}];
|
|
24
|
+
export type CT1120ESInstallment = (typeof INSTALLMENTS)[number]['value'];
|
|
25
|
+
export type CT1120ESReturnType = 'separate' | 'combinedUnitary';
|
|
26
|
+
export declare const findInstallment: (value: string) => {
|
|
27
|
+
readonly value: "A";
|
|
28
|
+
readonly coupon: "CT-1120 ESA";
|
|
29
|
+
readonly label: "First Installment";
|
|
30
|
+
readonly month: 3;
|
|
31
|
+
} | {
|
|
32
|
+
readonly value: "B";
|
|
33
|
+
readonly coupon: "CT-1120 ESB";
|
|
34
|
+
readonly label: "Second Installment";
|
|
35
|
+
readonly month: 6;
|
|
36
|
+
} | {
|
|
37
|
+
readonly value: "C";
|
|
38
|
+
readonly coupon: "CT-1120 ESC";
|
|
39
|
+
readonly label: "Third Installment";
|
|
40
|
+
readonly month: 9;
|
|
41
|
+
} | {
|
|
42
|
+
readonly value: "D";
|
|
43
|
+
readonly coupon: "CT-1120 ESD";
|
|
44
|
+
readonly label: "Fourth Installment";
|
|
45
|
+
readonly month: 12;
|
|
46
|
+
} | null;
|
|
47
|
+
/** The typed income-year ending as a date — `null` unless it's a real date on the last day of a month. */
|
|
48
|
+
export declare function incomeYearEnd(value: string): Date | null;
|
|
49
|
+
/** The first day of the income year ending `end`. */
|
|
50
|
+
export declare const incomeYearStart: (end: Date) => Date;
|
|
51
|
+
/** The installment's due date — the 15th day of its month of the income year. */
|
|
52
|
+
export declare function installmentDueDate(installment: CT1120ESInstallment, end: Date): Date;
|
|
53
|
+
/** `MM/DD/YYYY`. */
|
|
54
|
+
export declare const formatDate: (date: Date) => string;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { DECMPESTEditableValues } from './DECMPESTForm';
|
|
2
|
+
interface AutoFillPayer {
|
|
3
|
+
firstName?: string;
|
|
4
|
+
lastName?: string;
|
|
5
|
+
tradeName?: string | null;
|
|
6
|
+
accountType?: string;
|
|
7
|
+
ssn?: string;
|
|
8
|
+
address1?: string;
|
|
9
|
+
address2?: string | null;
|
|
10
|
+
city?: string;
|
|
11
|
+
state?: string;
|
|
12
|
+
zipCode?: string;
|
|
13
|
+
phone?: string;
|
|
14
|
+
}
|
|
15
|
+
interface AutoFillPayment {
|
|
16
|
+
taxPeriod?: string | null;
|
|
17
|
+
amount?: number;
|
|
18
|
+
}
|
|
19
|
+
interface AutoFillAuthorization {
|
|
20
|
+
signerName?: string | null;
|
|
21
|
+
title?: string | null;
|
|
22
|
+
signature?: string | null;
|
|
23
|
+
signatureDate?: string | null;
|
|
24
|
+
}
|
|
25
|
+
export interface AutoFillJson {
|
|
26
|
+
entityId?: number;
|
|
27
|
+
payer?: AutoFillPayer;
|
|
28
|
+
payment?: AutoFillPayment;
|
|
29
|
+
authorization?: AutoFillAuthorization;
|
|
30
|
+
}
|
|
31
|
+
export declare function fieldsFromAutoFillJson(autoFill: AutoFillJson): Partial<DECMPESTEditableValues>;
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { StateFormSubmitResponse } from '../../../../api/stateForms';
|
|
2
|
+
/**
|
|
3
|
+
* Ids the backend issues once a record exists, sent back on submit so it
|
|
4
|
+
* updates that record. Absent (`null`) for a new voucher. Never shown.
|
|
5
|
+
*/
|
|
6
|
+
export interface DECMPESTBoundData {
|
|
7
|
+
payerDetailId?: number | null;
|
|
8
|
+
formRecordId?: number | null;
|
|
9
|
+
statePayrollFormId?: number | null;
|
|
10
|
+
}
|
|
11
|
+
export interface DECMPESTEditableValues {
|
|
12
|
+
/** The chosen Dashboard business entity. `null` until one is chosen. */
|
|
13
|
+
payerId: number | null;
|
|
14
|
+
name: string;
|
|
15
|
+
ein: string;
|
|
16
|
+
address: string;
|
|
17
|
+
city: string;
|
|
18
|
+
state: string;
|
|
19
|
+
zipCode: string;
|
|
20
|
+
/** `'1'`–`'4'`, `''` until chosen. */
|
|
21
|
+
quarter: string;
|
|
22
|
+
/** Line 1 — amount of this installment; whole dollars, digits only. */
|
|
23
|
+
installment: string;
|
|
24
|
+
/** Line 2 — amount of this installment payment; whole dollars, digits only. */
|
|
25
|
+
payment: string;
|
|
26
|
+
signature: string;
|
|
27
|
+
/** MM/DD/YYYY. */
|
|
28
|
+
signatureDate: string;
|
|
29
|
+
title: string;
|
|
30
|
+
/** Pre-filled from the entity, editable. */
|
|
31
|
+
phone: string;
|
|
32
|
+
email: string;
|
|
33
|
+
}
|
|
34
|
+
interface DECMPESTFormProps {
|
|
35
|
+
data: DECMPESTBoundData;
|
|
36
|
+
/** Starting entries — anything omitted starts blank. */
|
|
37
|
+
initialValues?: Partial<DECMPESTEditableValues>;
|
|
38
|
+
/** Fires on every change with the complete set of entries. */
|
|
39
|
+
onValuesChange?: (values: DECMPESTEditableValues) => void;
|
|
40
|
+
/** Leaves the form. Omit to hide the Back button. */
|
|
41
|
+
onBack?: () => void;
|
|
42
|
+
/** Fires after a successful submit, with the API's response. */
|
|
43
|
+
onSubmitted?: (response: StateFormSubmitResponse) => void;
|
|
44
|
+
/** Estimated/Income Tax forms are view + download-PDF only; see `useStateTaxForm`'s `readOnly` option. */
|
|
45
|
+
readOnly?: boolean;
|
|
46
|
+
}
|
|
47
|
+
export declare function DECMPESTForm({ data, initialValues, onValuesChange, onBack, onSubmitted, readOnly }: DECMPESTFormProps): import("react").JSX.Element;
|
|
48
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { DECMPESTBoundData, DECMPESTEditableValues } from './DECMPESTForm';
|
|
2
|
+
export interface DECMPESTSubmitPayload {
|
|
3
|
+
formCode: 'CMPEST';
|
|
4
|
+
state: 'DE';
|
|
5
|
+
/** The chosen Dashboard entity — a business. */
|
|
6
|
+
payerId: number;
|
|
7
|
+
/** Hidden ids the backend issues for an existing record; `null` on a new one. */
|
|
8
|
+
ids: {
|
|
9
|
+
payerDetailId: number | null;
|
|
10
|
+
formRecordId: number | null;
|
|
11
|
+
statePayrollFormId: number | null;
|
|
12
|
+
};
|
|
13
|
+
taxYear: number;
|
|
14
|
+
quarter: number;
|
|
15
|
+
/** `MM/DD/YYYY`. */
|
|
16
|
+
dueDate: string;
|
|
17
|
+
business: {
|
|
18
|
+
name: string;
|
|
19
|
+
ein: string;
|
|
20
|
+
address: string;
|
|
21
|
+
city: string;
|
|
22
|
+
state: string;
|
|
23
|
+
zipCode: string;
|
|
24
|
+
};
|
|
25
|
+
/** Whole dollars — lines 1 and 2. */
|
|
26
|
+
lines: {
|
|
27
|
+
installment: number;
|
|
28
|
+
payment: number;
|
|
29
|
+
};
|
|
30
|
+
declaration: {
|
|
31
|
+
signature: string;
|
|
32
|
+
date: string;
|
|
33
|
+
title: string;
|
|
34
|
+
phone: string;
|
|
35
|
+
email: string;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export declare function buildDECMPESTPayload(data: DECMPESTBoundData, values: DECMPESTEditableValues): DECMPESTSubmitPayload;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const AMOUNT_MAX_DIGITS = 10;
|
|
3
|
+
export declare const SIGNER_MAX_LENGTH = 60;
|
|
4
|
+
export declare const deCMPESTSchema: z.ZodObject<{
|
|
5
|
+
payerId: z.ZodNullable<z.ZodNumber>;
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
ein: z.ZodString;
|
|
8
|
+
address: z.ZodString;
|
|
9
|
+
city: z.ZodString;
|
|
10
|
+
state: z.ZodString;
|
|
11
|
+
zipCode: z.ZodString;
|
|
12
|
+
quarter: z.ZodString;
|
|
13
|
+
installment: z.ZodString;
|
|
14
|
+
payment: z.ZodString;
|
|
15
|
+
signature: z.ZodString;
|
|
16
|
+
signatureDate: z.ZodString;
|
|
17
|
+
title: z.ZodString;
|
|
18
|
+
phone: z.ZodString;
|
|
19
|
+
email: z.ZodString;
|
|
20
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/** The tax year this edition of the voucher is printed for. */
|
|
2
|
+
export declare const FORM_TAX_YEAR = 2026;
|
|
3
|
+
export declare const QUARTERS: readonly [{
|
|
4
|
+
readonly value: "1";
|
|
5
|
+
readonly label: "Quarter 1";
|
|
6
|
+
readonly month: 4;
|
|
7
|
+
readonly day: 30;
|
|
8
|
+
readonly yearOffset: 0;
|
|
9
|
+
}, {
|
|
10
|
+
readonly value: "2";
|
|
11
|
+
readonly label: "Quarter 2";
|
|
12
|
+
readonly month: 6;
|
|
13
|
+
readonly day: 15;
|
|
14
|
+
readonly yearOffset: 0;
|
|
15
|
+
}, {
|
|
16
|
+
readonly value: "3";
|
|
17
|
+
readonly label: "Quarter 3";
|
|
18
|
+
readonly month: 9;
|
|
19
|
+
readonly day: 15;
|
|
20
|
+
readonly yearOffset: 0;
|
|
21
|
+
}, {
|
|
22
|
+
readonly value: "4";
|
|
23
|
+
readonly label: "Quarter 4";
|
|
24
|
+
readonly month: 1;
|
|
25
|
+
readonly day: 15;
|
|
26
|
+
readonly yearOffset: 1;
|
|
27
|
+
}];
|
|
28
|
+
/** Whole dollars as a number — blank counts as 0. */
|
|
29
|
+
export declare const dollarsOf: (value: string) => number;
|
|
30
|
+
/** The four quarter due dates, first first. */
|
|
31
|
+
export declare const quarterDueDates: () => Date[];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DEPITESTEditableValues } from './DEPITESTForm';
|
|
2
|
+
interface AutoFillPayer {
|
|
3
|
+
firstName?: string;
|
|
4
|
+
lastName?: string;
|
|
5
|
+
ssn?: string;
|
|
6
|
+
address1?: string;
|
|
7
|
+
address2?: string | null;
|
|
8
|
+
city?: string;
|
|
9
|
+
state?: string;
|
|
10
|
+
zipCode?: string;
|
|
11
|
+
spouseFirstName?: string | null;
|
|
12
|
+
spouseLastName?: string | null;
|
|
13
|
+
spouseSsn?: string | null;
|
|
14
|
+
}
|
|
15
|
+
interface AutoFillPayment {
|
|
16
|
+
taxPeriod?: string | null;
|
|
17
|
+
amount?: number;
|
|
18
|
+
}
|
|
19
|
+
export interface AutoFillJson {
|
|
20
|
+
entityId?: number;
|
|
21
|
+
payer?: AutoFillPayer;
|
|
22
|
+
payment?: AutoFillPayment;
|
|
23
|
+
}
|
|
24
|
+
export declare function fieldsFromAutoFillJson(autoFill: AutoFillJson): Partial<DEPITESTEditableValues>;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { StateFormSubmitResponse } from '../../../../api/stateForms';
|
|
2
|
+
/**
|
|
3
|
+
* Ids the backend issues once a record exists, sent back on submit so it
|
|
4
|
+
* updates that record. Absent (`null`) for a new voucher. Never shown.
|
|
5
|
+
*/
|
|
6
|
+
export interface DEPITESTBoundData {
|
|
7
|
+
payerDetailId?: number | null;
|
|
8
|
+
formRecordId?: number | null;
|
|
9
|
+
statePayrollFormId?: number | null;
|
|
10
|
+
}
|
|
11
|
+
export interface DEPITESTEditableValues {
|
|
12
|
+
/** The chosen Dashboard individual entity. `null` until one is chosen. */
|
|
13
|
+
payerId: number | null;
|
|
14
|
+
firstName: string;
|
|
15
|
+
lastName: string;
|
|
16
|
+
taxpayerId: string;
|
|
17
|
+
spouseFirstName: string;
|
|
18
|
+
spouseLastName: string;
|
|
19
|
+
spouseTaxpayerId: string;
|
|
20
|
+
address: string;
|
|
21
|
+
city: string;
|
|
22
|
+
state: string;
|
|
23
|
+
zipCode: string;
|
|
24
|
+
/** `'1'`–`'4'`, `''` until chosen. */
|
|
25
|
+
quarter: string;
|
|
26
|
+
/** Amount of this installment payment — whole dollars, digits only. */
|
|
27
|
+
payment: string;
|
|
28
|
+
}
|
|
29
|
+
interface DEPITESTFormProps {
|
|
30
|
+
data: DEPITESTBoundData;
|
|
31
|
+
/** Starting entries — anything omitted starts blank. */
|
|
32
|
+
initialValues?: Partial<DEPITESTEditableValues>;
|
|
33
|
+
/** Fires on every change with the complete set of entries. */
|
|
34
|
+
onValuesChange?: (values: DEPITESTEditableValues) => void;
|
|
35
|
+
/** Leaves the form. Omit to hide the Back button. */
|
|
36
|
+
onBack?: () => void;
|
|
37
|
+
/** Fires after a successful submit, with the API's response. */
|
|
38
|
+
onSubmitted?: (response: StateFormSubmitResponse) => void;
|
|
39
|
+
/** Estimated/Income Tax forms are view + download-PDF only; see `useStateTaxForm`'s `readOnly` option. */
|
|
40
|
+
readOnly?: boolean;
|
|
41
|
+
}
|
|
42
|
+
export declare function DEPITESTForm({ data, initialValues, onValuesChange, onBack, onSubmitted, readOnly }: DEPITESTFormProps): import("react").JSX.Element;
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { DEPITESTBoundData, DEPITESTEditableValues } from './DEPITESTForm';
|
|
2
|
+
export interface DEPITESTSubmitPayload {
|
|
3
|
+
formCode: 'PITEST';
|
|
4
|
+
state: 'DE';
|
|
5
|
+
/** The chosen Dashboard entity — an individual. */
|
|
6
|
+
payerId: number;
|
|
7
|
+
/** Hidden ids the backend issues for an existing record; `null` on a new one. */
|
|
8
|
+
ids: {
|
|
9
|
+
payerDetailId: number | null;
|
|
10
|
+
formRecordId: number | null;
|
|
11
|
+
statePayrollFormId: number | null;
|
|
12
|
+
};
|
|
13
|
+
taxYear: number;
|
|
14
|
+
quarter: number;
|
|
15
|
+
/** `MM/DD/YYYY`. */
|
|
16
|
+
dueDate: string;
|
|
17
|
+
taxpayer: {
|
|
18
|
+
firstName: string;
|
|
19
|
+
lastName: string;
|
|
20
|
+
taxpayerId: string;
|
|
21
|
+
};
|
|
22
|
+
/** `null` for a declaration without a spouse. */
|
|
23
|
+
spouse: {
|
|
24
|
+
firstName: string;
|
|
25
|
+
lastName: string;
|
|
26
|
+
taxpayerId: string;
|
|
27
|
+
} | null;
|
|
28
|
+
address: {
|
|
29
|
+
street: string;
|
|
30
|
+
city: string;
|
|
31
|
+
state: string;
|
|
32
|
+
zipCode: string;
|
|
33
|
+
};
|
|
34
|
+
/** Whole dollars. */
|
|
35
|
+
payment: number;
|
|
36
|
+
}
|
|
37
|
+
export declare function buildDEPITESTPayload(data: DEPITESTBoundData, values: DEPITESTEditableValues): DEPITESTSubmitPayload;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const AMOUNT_MAX_DIGITS = 10;
|
|
3
|
+
export declare const dePITESTSchema: z.ZodObject<{
|
|
4
|
+
payerId: z.ZodNullable<z.ZodNumber>;
|
|
5
|
+
firstName: z.ZodString;
|
|
6
|
+
lastName: z.ZodString;
|
|
7
|
+
taxpayerId: z.ZodString;
|
|
8
|
+
spouseFirstName: z.ZodString;
|
|
9
|
+
spouseLastName: z.ZodString;
|
|
10
|
+
spouseTaxpayerId: z.ZodString;
|
|
11
|
+
address: z.ZodString;
|
|
12
|
+
city: z.ZodString;
|
|
13
|
+
state: z.ZodString;
|
|
14
|
+
zipCode: z.ZodString;
|
|
15
|
+
quarter: z.ZodString;
|
|
16
|
+
payment: z.ZodString;
|
|
17
|
+
}, z.core.$strip>;
|
package/dist/components/tax-forms/states/district-of-columbia/DCBusinessEstimatedForm.autofill.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { DCBusinessEstimatedEditableValues } from './DCBusinessEstimatedForm';
|
|
2
|
+
interface AutoFillPayer {
|
|
3
|
+
firstName?: string;
|
|
4
|
+
lastName?: string;
|
|
5
|
+
tradeName?: string | null;
|
|
6
|
+
accountType?: string;
|
|
7
|
+
ssn?: string;
|
|
8
|
+
address1?: string;
|
|
9
|
+
address2?: string | null;
|
|
10
|
+
city?: string;
|
|
11
|
+
state?: string;
|
|
12
|
+
zipCode?: string;
|
|
13
|
+
}
|
|
14
|
+
interface AutoFillPayment {
|
|
15
|
+
taxPeriod?: string | null;
|
|
16
|
+
amount?: number;
|
|
17
|
+
}
|
|
18
|
+
export interface AutoFillJson {
|
|
19
|
+
entityId?: number;
|
|
20
|
+
payer?: AutoFillPayer;
|
|
21
|
+
payment?: AutoFillPayment;
|
|
22
|
+
}
|
|
23
|
+
export declare function fieldsFromAutoFillJson(autoFill: AutoFillJson): Partial<DCBusinessEstimatedEditableValues>;
|
|
24
|
+
export {};
|