@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,41 @@
|
|
|
1
|
+
import { ILIL1040ESBoundData, ILIL1040ESEditableValues } from './ILIL1040ESForm';
|
|
2
|
+
export interface ILIL1040ESSubmitPayload {
|
|
3
|
+
formCode: 'IL1040ES';
|
|
4
|
+
state: 'IL';
|
|
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
|
+
/** Which of the four payments, 1–4. */
|
|
15
|
+
payment: number;
|
|
16
|
+
/** `MM/DD/YYYY`. */
|
|
17
|
+
dueDate: string;
|
|
18
|
+
taxpayer: {
|
|
19
|
+
ssn: string;
|
|
20
|
+
firstName: string;
|
|
21
|
+
middleInitial: string | null;
|
|
22
|
+
lastName: string;
|
|
23
|
+
};
|
|
24
|
+
/** `null` unless it's a joint return. */
|
|
25
|
+
spouse: {
|
|
26
|
+
ssn: string;
|
|
27
|
+
firstName: string;
|
|
28
|
+
middleInitial: string | null;
|
|
29
|
+
} | null;
|
|
30
|
+
address: {
|
|
31
|
+
street: string;
|
|
32
|
+
city: string;
|
|
33
|
+
state: string;
|
|
34
|
+
zipCode: string;
|
|
35
|
+
};
|
|
36
|
+
/** 10 digits, or `null` when not given. */
|
|
37
|
+
phone: string | null;
|
|
38
|
+
/** Whole dollars. */
|
|
39
|
+
amount: number;
|
|
40
|
+
}
|
|
41
|
+
export declare function buildILIL1040ESPayload(data: ILIL1040ESBoundData, values: ILIL1040ESEditableValues): ILIL1040ESSubmitPayload;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const NAME_MAX_LENGTH = 50;
|
|
3
|
+
export declare const ilIL1040ESSchema: z.ZodObject<{
|
|
4
|
+
payerId: z.ZodNullable<z.ZodNumber>;
|
|
5
|
+
payment: z.ZodString;
|
|
6
|
+
ssn: z.ZodString;
|
|
7
|
+
spouseSsn: z.ZodString;
|
|
8
|
+
firstName: z.ZodString;
|
|
9
|
+
middleInitial: z.ZodString;
|
|
10
|
+
spouseFirstName: z.ZodString;
|
|
11
|
+
spouseMiddleInitial: z.ZodString;
|
|
12
|
+
lastName: z.ZodString;
|
|
13
|
+
address: z.ZodString;
|
|
14
|
+
city: z.ZodString;
|
|
15
|
+
state: z.ZodString;
|
|
16
|
+
zipCode: z.ZodString;
|
|
17
|
+
phone: z.ZodString;
|
|
18
|
+
amount: z.ZodString;
|
|
19
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ILIL1120VEditableValues } from './ILIL1120VForm';
|
|
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
|
+
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<ILIL1120VEditableValues>;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
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 ILIL1120VBoundData {
|
|
7
|
+
payerDetailId?: number | null;
|
|
8
|
+
formRecordId?: number | null;
|
|
9
|
+
statePayrollFormId?: number | null;
|
|
10
|
+
}
|
|
11
|
+
export interface ILIL1120VEditableValues {
|
|
12
|
+
/** The chosen Dashboard business entity. `null` until one is chosen. */
|
|
13
|
+
payerId: number | null;
|
|
14
|
+
fein: string;
|
|
15
|
+
name: string;
|
|
16
|
+
address: string;
|
|
17
|
+
city: string;
|
|
18
|
+
state: string;
|
|
19
|
+
/** `12345` or `12345-6789`. */
|
|
20
|
+
zipCode: string;
|
|
21
|
+
/** Pre-filled from the entity, editable. */
|
|
22
|
+
phone: string;
|
|
23
|
+
/** "C/O" — optional, the filer's. */
|
|
24
|
+
careOf: string;
|
|
25
|
+
/** Tax year ending — `'01'`–`'12'`; 12 (December) for a calendar year. */
|
|
26
|
+
yearEndingMonth: string;
|
|
27
|
+
/** Tax year ending — `YYYY`, one of `TAX_YEAR_ENDING_YEARS`. */
|
|
28
|
+
yearEndingYear: string;
|
|
29
|
+
/** Payment amount — whole dollars, digits only. */
|
|
30
|
+
amount: string;
|
|
31
|
+
}
|
|
32
|
+
interface ILIL1120VFormProps {
|
|
33
|
+
data: ILIL1120VBoundData;
|
|
34
|
+
/** Starting entries — anything omitted starts blank. */
|
|
35
|
+
initialValues?: Partial<ILIL1120VEditableValues>;
|
|
36
|
+
/** Fires on every change with the complete set of entries. */
|
|
37
|
+
onValuesChange?: (values: ILIL1120VEditableValues) => void;
|
|
38
|
+
/** Leaves the form. Omit to hide the Back button. */
|
|
39
|
+
onBack?: () => void;
|
|
40
|
+
/** Fires after a successful submit, with the API's response. */
|
|
41
|
+
onSubmitted?: (response: StateFormSubmitResponse) => void;
|
|
42
|
+
/** Estimated/Income Tax forms are view + download-PDF only; see `useStateTaxForm`'s `readOnly` option. */
|
|
43
|
+
readOnly?: boolean;
|
|
44
|
+
}
|
|
45
|
+
export declare function ILIL1120VForm({ data, initialValues, onValuesChange, onBack, onSubmitted, readOnly }: ILIL1120VFormProps): import("react").JSX.Element;
|
|
46
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ILIL1120VBoundData, ILIL1120VEditableValues } from './ILIL1120VForm';
|
|
2
|
+
export interface ILIL1120VSubmitPayload {
|
|
3
|
+
formCode: 'IL1120V';
|
|
4
|
+
state: 'IL';
|
|
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
|
+
/** Month (`MM`) and year (`YYYY`) the tax year ends. */
|
|
15
|
+
taxYearEnding: {
|
|
16
|
+
month: string;
|
|
17
|
+
year: string;
|
|
18
|
+
};
|
|
19
|
+
fein: string;
|
|
20
|
+
name: string;
|
|
21
|
+
careOf: string | null;
|
|
22
|
+
address: {
|
|
23
|
+
street: string;
|
|
24
|
+
city: string;
|
|
25
|
+
state: string;
|
|
26
|
+
zipCode: string;
|
|
27
|
+
};
|
|
28
|
+
/** 10 digits, or `null` when not given. */
|
|
29
|
+
phone: string | null;
|
|
30
|
+
/** Whole dollars. */
|
|
31
|
+
amount: number;
|
|
32
|
+
}
|
|
33
|
+
export declare function buildILIL1120VPayload(data: ILIL1120VBoundData, values: ILIL1120VEditableValues): ILIL1120VSubmitPayload;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const CARE_OF_MAX_LENGTH = 50;
|
|
3
|
+
/** The tax years a 2026 voucher is filled for — the prior year through the next. */
|
|
4
|
+
export declare const TAX_YEAR_ENDING_YEARS: string[];
|
|
5
|
+
export declare const MONTHS: string[];
|
|
6
|
+
export declare const ilIL1120VSchema: z.ZodObject<{
|
|
7
|
+
payerId: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
fein: z.ZodString;
|
|
9
|
+
name: z.ZodString;
|
|
10
|
+
careOf: z.ZodString;
|
|
11
|
+
address: z.ZodString;
|
|
12
|
+
city: z.ZodString;
|
|
13
|
+
state: z.ZodString;
|
|
14
|
+
zipCode: z.ZodString;
|
|
15
|
+
phone: z.ZodString;
|
|
16
|
+
yearEndingMonth: z.ZodString;
|
|
17
|
+
yearEndingYear: z.ZodString;
|
|
18
|
+
amount: z.ZodString;
|
|
19
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EntityDetailsResponse } from '../../../../types/entity';
|
|
2
|
+
export type SCWithholdingVariant = 'WH-1605' | 'WH-1606';
|
|
3
|
+
/** SC Withholding File Number — 9 digits (STATE_PAYMENT_VALIDATION_GUIDE.md). */
|
|
4
|
+
export declare const SC_FILE_NUMBER_PATTERN: RegExp;
|
|
5
|
+
export declare const SC_FILE_NUMBER_LENGTH = 9;
|
|
6
|
+
/** `XX-XXXXXXX` — 9 digits plus the one dash `formatIdNumberInput` inserts for an EIN. */
|
|
7
|
+
export declare const FEIN_MAX_INPUT_LENGTH = 10;
|
|
8
|
+
/** The business block the chosen entity fills — shown, never typed. */
|
|
9
|
+
export interface SCBusinessValues {
|
|
10
|
+
name: string;
|
|
11
|
+
address: string;
|
|
12
|
+
city: string;
|
|
13
|
+
state: string;
|
|
14
|
+
zipCode: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const EMPTY_SC_BUSINESS_VALUES: SCBusinessValues;
|
|
17
|
+
/**
|
|
18
|
+
* The business fields an entity from the Dashboard fills in, plus its FEIN
|
|
19
|
+
* when it's a business (an individual's id number is an SSN, not an FEIN, so
|
|
20
|
+
* that one stays the filer's to type). Not the SC Withholding File Number —
|
|
21
|
+
* the SCDOR issues it and it isn't on the entity.
|
|
22
|
+
*/
|
|
23
|
+
export declare function scBusinessFieldsFromEntity(entity: EntityDetailsResponse): SCBusinessValues & {
|
|
24
|
+
fein?: string;
|
|
25
|
+
};
|
|
26
|
+
/** `"quarterWithheld.1"` -> message, the first issue per field. Amount issues point at `.dollars`, which is dropped. */
|
|
27
|
+
export declare function toFieldErrors(issues: {
|
|
28
|
+
path: PropertyKey[];
|
|
29
|
+
message: string;
|
|
30
|
+
}[]): Record<string, string>;
|
|
31
|
+
export declare function formatDollars(cents: number): string;
|
|
32
|
+
/** `MM/DD/YYYY`. */
|
|
33
|
+
export declare function formatDate(date: Date): string;
|
|
34
|
+
export declare const dollars: (cents: number) => number;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface InputProps {
|
|
3
|
+
value: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
onChange?: (value: string) => void;
|
|
6
|
+
onBlur?: () => void;
|
|
7
|
+
error?: string;
|
|
8
|
+
maxLength?: number;
|
|
9
|
+
inputMode?: 'numeric' | 'text' | 'email' | 'tel';
|
|
10
|
+
}
|
|
11
|
+
export declare function FieldError({ message }: {
|
|
12
|
+
message?: string;
|
|
13
|
+
}): import("react").JSX.Element | null;
|
|
14
|
+
/** `dor.sc.gov │ STATE OF SOUTH CAROLINA … │ WH-1605 (Rev. 8/29/23)`. */
|
|
15
|
+
export declare function FormMasthead({ formNumber, revision, titleLines }: {
|
|
16
|
+
formNumber: string;
|
|
17
|
+
revision: string;
|
|
18
|
+
titleLines: string[];
|
|
19
|
+
}): import("react").JSX.Element;
|
|
20
|
+
/** A typed-in box — live input in edit mode, plain text in preview (or when the value comes from the entity). */
|
|
21
|
+
export declare function TextBox({ ariaLabel, value, placeholder, onChange, onBlur, error, maxLength, inputMode }: InputProps & {
|
|
22
|
+
ariaLabel: string;
|
|
23
|
+
}): import("react").JSX.Element;
|
|
24
|
+
/** Uppercase caption over a `TextBox`. */
|
|
25
|
+
export declare function LabeledBox({ label, className, ...props }: InputProps & {
|
|
26
|
+
label: string;
|
|
27
|
+
className?: string;
|
|
28
|
+
}): import("react").JSX.Element;
|
|
29
|
+
/** A box on the printed return the filer marks with an X. */
|
|
30
|
+
export declare function CheckBox({ checked, onToggle, label, bold, }: {
|
|
31
|
+
checked: boolean;
|
|
32
|
+
/** Omit for preview — the box shows its state but can't be changed. */
|
|
33
|
+
onToggle?: () => void;
|
|
34
|
+
label: ReactNode;
|
|
35
|
+
/** The printed return sets some labels (AMENDED) in bold. */
|
|
36
|
+
bold?: boolean;
|
|
37
|
+
}): import("react").JSX.Element;
|
|
38
|
+
/** One of a set of mutually exclusive boxes (Quarter, Yes / No). */
|
|
39
|
+
export declare function ChoiceBox({ name, checked, onSelect, label, detail, }: {
|
|
40
|
+
name: string;
|
|
41
|
+
checked: boolean;
|
|
42
|
+
onSelect?: () => void;
|
|
43
|
+
label: string;
|
|
44
|
+
detail?: string;
|
|
45
|
+
}): import("react").JSX.Element;
|
|
46
|
+
/** The ruled box a group of lines sits in, with its bold caption — "Quarterly SC Income Tax". */
|
|
47
|
+
export declare function LineSection({ title, children }: {
|
|
48
|
+
title: string;
|
|
49
|
+
children: ReactNode;
|
|
50
|
+
}): import("react").JSX.Element;
|
|
51
|
+
/**
|
|
52
|
+
* `1. Quarterly SC Income Tax withheld from all sources ........ 1. ▶ [ amount ]`
|
|
53
|
+
* — one numbered line. The dot leader, the repeated number and the arrow are
|
|
54
|
+
* the printed form's; on a phone the entry drops below the label.
|
|
55
|
+
*/
|
|
56
|
+
export declare function NumberedLine({ number, label, hint, emphasis, muted, children, }: {
|
|
57
|
+
number: number;
|
|
58
|
+
label: ReactNode;
|
|
59
|
+
hint?: ReactNode;
|
|
60
|
+
/** Bold tag after the leader — `BALANCE DUE`. */
|
|
61
|
+
emphasis?: string;
|
|
62
|
+
/** A line that doesn't apply right now (lines 4–6 on a refund). */
|
|
63
|
+
muted?: boolean;
|
|
64
|
+
children?: ReactNode;
|
|
65
|
+
}): import("react").JSX.Element;
|
|
66
|
+
/** A caption under its entry, as the Sign Here block prints it. */
|
|
67
|
+
export declare function SignatureCell({ caption, children }: {
|
|
68
|
+
caption: string;
|
|
69
|
+
children: ReactNode;
|
|
70
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { SCWithholdingReturnEditableValues } from './SCWithholdingReturnForm';
|
|
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
|
+
taxYear?: string;
|
|
17
|
+
taxPeriod?: string | null;
|
|
18
|
+
stateAccountId?: string | null;
|
|
19
|
+
}
|
|
20
|
+
interface AutoFillAuthorization {
|
|
21
|
+
signerName?: string | null;
|
|
22
|
+
title?: string | null;
|
|
23
|
+
signature?: string | null;
|
|
24
|
+
signatureDate?: string | null;
|
|
25
|
+
}
|
|
26
|
+
export interface AutoFillJson {
|
|
27
|
+
entityId?: number;
|
|
28
|
+
payer?: AutoFillPayer;
|
|
29
|
+
payment?: AutoFillPayment;
|
|
30
|
+
authorization?: AutoFillAuthorization;
|
|
31
|
+
}
|
|
32
|
+
export declare function fieldsFromAutoFillJson(autoFill: AutoFillJson): Partial<SCWithholdingReturnEditableValues>;
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { SCWithholdingVariant } from './SCWithholding.shared';
|
|
2
|
+
import { SCWithholdingReturnEditableValues } from './SCWithholdingReturnForm';
|
|
3
|
+
/** The quarters WH-1605 covers — the 4th is WH-1606's. */
|
|
4
|
+
export declare const WH1605_QUARTERS: readonly [{
|
|
5
|
+
readonly value: "1";
|
|
6
|
+
readonly label: "1st quarter";
|
|
7
|
+
readonly months: "Jan, Feb, Mar";
|
|
8
|
+
}, {
|
|
9
|
+
readonly value: "2";
|
|
10
|
+
readonly label: "2nd quarter";
|
|
11
|
+
readonly months: "Apr, May, Jun";
|
|
12
|
+
}, {
|
|
13
|
+
readonly value: "3";
|
|
14
|
+
readonly label: "3rd quarter";
|
|
15
|
+
readonly months: "Jul, Aug, Sep";
|
|
16
|
+
}];
|
|
17
|
+
/** Line 7's four quarters, first first. The last is line 1's. */
|
|
18
|
+
export declare const RECONCILIATION_QUARTERS: readonly ["Jan - Mar", "Apr - Jun", "Jul - Sep", "Oct - Dec"];
|
|
19
|
+
/** Earliest tax year the return accepts. */
|
|
20
|
+
export declare const MIN_TAX_YEAR = 2000;
|
|
21
|
+
/** The quarter a return covers: 1–3 for WH-1605 (as chosen), always 4 for WH-1606. `null` until chosen. */
|
|
22
|
+
export declare function returnQuarter(variant: SCWithholdingVariant, chosen: string): number | null;
|
|
23
|
+
/**
|
|
24
|
+
* WH-1605 is due the last day of the month after the quarter (April 30,
|
|
25
|
+
* July 31, October 31); WH-1606 on January 31 of the following year.
|
|
26
|
+
*/
|
|
27
|
+
export declare function dueDate(quarter: number, taxYear: number): Date;
|
|
28
|
+
/** First day of the quarter — a return can't be filed for a quarter that hasn't started. */
|
|
29
|
+
export declare function quarterStart(quarter: number, taxYear: number): Date;
|
|
30
|
+
export interface SCWithholdingTotals {
|
|
31
|
+
/** Line 1. */
|
|
32
|
+
withheldCents: number;
|
|
33
|
+
/** Line 2. */
|
|
34
|
+
priorPaymentsCents: number;
|
|
35
|
+
/** Line 3 — 0 unless line 2 is greater than line 1. */
|
|
36
|
+
refundCents: number;
|
|
37
|
+
/** Line 4 — 0 unless line 2 is less than line 1. */
|
|
38
|
+
taxDueCents: number;
|
|
39
|
+
penaltyCents: number;
|
|
40
|
+
interestCents: number;
|
|
41
|
+
/** Line 5 — penalty + interest; 0 on a refund, which skips lines 4–6. */
|
|
42
|
+
penaltyAndInterestCents: number;
|
|
43
|
+
/** Line 6 — line 4 + line 5. */
|
|
44
|
+
balanceDueCents: number;
|
|
45
|
+
}
|
|
46
|
+
export declare function computeSCWithholdingTotals(values: Pick<SCWithholdingReturnEditableValues, 'withheld' | 'priorPayments' | 'penalty' | 'interest'>): SCWithholdingTotals;
|
|
47
|
+
export interface SCReconciliationTotals {
|
|
48
|
+
/** Line 7's four quarters — the last is line 1. */
|
|
49
|
+
quarterCents: number[];
|
|
50
|
+
/** Line 7. */
|
|
51
|
+
quarterTotalCents: number;
|
|
52
|
+
w2Cents: number;
|
|
53
|
+
w2gCents: number;
|
|
54
|
+
form1099Cents: number;
|
|
55
|
+
/** Line 8. */
|
|
56
|
+
statementsTotalCents: number;
|
|
57
|
+
/** Line 7 − line 8 — should be 0. */
|
|
58
|
+
differenceCents: number;
|
|
59
|
+
}
|
|
60
|
+
export declare function computeSCReconciliationTotals(values: Pick<SCWithholdingReturnEditableValues, 'withheld' | 'quarterWithheld' | 'w2Withheld' | 'w2gWithheld' | 'form1099Withheld'>): SCReconciliationTotals;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { StateFormSubmitResponse } from '../../../../api/stateForms';
|
|
2
|
+
import { AmountParts } from '../stateFormKit';
|
|
3
|
+
import { SCBusinessValues } from './SCWithholding.shared';
|
|
4
|
+
/**
|
|
5
|
+
* Ids the backend issues once a return exists, sent back on submit so it
|
|
6
|
+
* updates that record. Absent (`null`) for a new return. Never shown.
|
|
7
|
+
*/
|
|
8
|
+
export interface SCWithholdingReturnBoundData {
|
|
9
|
+
payerDetailId?: number | null;
|
|
10
|
+
formRecordId?: number | null;
|
|
11
|
+
statePayrollFormId?: number | null;
|
|
12
|
+
}
|
|
13
|
+
export type SCPreparerContact = '' | 'yes' | 'no';
|
|
14
|
+
export interface SCWithholdingReturnEditableValues extends SCBusinessValues {
|
|
15
|
+
/** The chosen Dashboard entity — the withholding agent. `null` until one is chosen. */
|
|
16
|
+
payerId: number | null;
|
|
17
|
+
/** SC Withholding File Number — 9 digits. */
|
|
18
|
+
fileNumber: string;
|
|
19
|
+
fein: string;
|
|
20
|
+
/** WH-1605: `'1'`–`'3'`, `''` until chosen. Unused on WH-1606, which is always the 4th quarter. */
|
|
21
|
+
quarter: string;
|
|
22
|
+
taxYear: string;
|
|
23
|
+
isAmended: boolean;
|
|
24
|
+
isAddressChange: boolean;
|
|
25
|
+
isClosingAccount: boolean;
|
|
26
|
+
/** MM/DD/YYYY — only with Close Withholding Account. */
|
|
27
|
+
closingDate: string;
|
|
28
|
+
/** Line 1. */
|
|
29
|
+
withheld: AmountParts;
|
|
30
|
+
/** Line 2. */
|
|
31
|
+
priorPayments: AmountParts;
|
|
32
|
+
/** Line 5, split as the return prints it. */
|
|
33
|
+
penalty: AmountParts;
|
|
34
|
+
interest: AmountParts;
|
|
35
|
+
/** Line 7 — Jan–Mar, Apr–Jun, Jul–Sep. Oct–Dec is line 1. */
|
|
36
|
+
quarterWithheld: AmountParts[];
|
|
37
|
+
/** Line 8, split by statement type. */
|
|
38
|
+
w2Withheld: AmountParts;
|
|
39
|
+
w2gWithheld: AmountParts;
|
|
40
|
+
form1099Withheld: AmountParts;
|
|
41
|
+
/** Line 9. */
|
|
42
|
+
scIncome: AmountParts;
|
|
43
|
+
/** Line 10 — digits only. */
|
|
44
|
+
statementsCount: string;
|
|
45
|
+
/** "I authorize the Director of the SCDOR … to discuss this return … with a preparer." */
|
|
46
|
+
preparerContact: SCPreparerContact;
|
|
47
|
+
preparerName: string;
|
|
48
|
+
preparerPhone: string;
|
|
49
|
+
signature: string;
|
|
50
|
+
signerName: string;
|
|
51
|
+
title: string;
|
|
52
|
+
signatureDate: string;
|
|
53
|
+
email: string;
|
|
54
|
+
phone: string;
|
|
55
|
+
}
|
|
56
|
+
export interface SCWithholdingReturnFormProps {
|
|
57
|
+
data: SCWithholdingReturnBoundData;
|
|
58
|
+
/** Starting entries — anything omitted starts blank. */
|
|
59
|
+
initialValues?: Partial<SCWithholdingReturnEditableValues>;
|
|
60
|
+
/** Fires on every change with the complete set of entries. */
|
|
61
|
+
onValuesChange?: (values: SCWithholdingReturnEditableValues) => void;
|
|
62
|
+
/** Leaves the form. Omit to hide the Back button. */
|
|
63
|
+
onBack?: () => void;
|
|
64
|
+
/** Fires after a successful submit, with the API's response. */
|
|
65
|
+
onSubmitted?: (response: StateFormSubmitResponse) => void;
|
|
66
|
+
}
|
|
67
|
+
export declare function SCWH1605Form(props: SCWithholdingReturnFormProps): import("react").JSX.Element;
|
|
68
|
+
export declare function SCWH1606Form(props: SCWithholdingReturnFormProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { SCWithholdingVariant } from './SCWithholding.shared';
|
|
2
|
+
import { SCWithholdingReturnBoundData, SCWithholdingReturnEditableValues } from './SCWithholdingReturnForm';
|
|
3
|
+
export interface SCWithholdingReturnSubmitPayload {
|
|
4
|
+
formCode: 'WH1605' | 'WH1606';
|
|
5
|
+
state: 'SC';
|
|
6
|
+
/** The chosen Dashboard entity — the withholding agent. */
|
|
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
|
+
taxYear: string;
|
|
15
|
+
/** 1–3 on WH-1605; always 4 on WH-1606. */
|
|
16
|
+
quarter: number;
|
|
17
|
+
/** `MM/DD/YYYY`. */
|
|
18
|
+
dueDate: string;
|
|
19
|
+
/** 9 digits. */
|
|
20
|
+
fileNumber: string;
|
|
21
|
+
/** 9 digits, no dash. */
|
|
22
|
+
fein: string;
|
|
23
|
+
business: {
|
|
24
|
+
name: string;
|
|
25
|
+
address: string;
|
|
26
|
+
city: string;
|
|
27
|
+
state: string;
|
|
28
|
+
zipCode: string;
|
|
29
|
+
};
|
|
30
|
+
flags: {
|
|
31
|
+
isAmended: boolean;
|
|
32
|
+
isAddressChange: boolean;
|
|
33
|
+
isClosingAccount: boolean;
|
|
34
|
+
};
|
|
35
|
+
/** `MM/DD/YYYY` — only when closing the account. */
|
|
36
|
+
closingDate: string | null;
|
|
37
|
+
lines: {
|
|
38
|
+
withheld: number;
|
|
39
|
+
priorPayments: number;
|
|
40
|
+
refund: number;
|
|
41
|
+
taxDue: number;
|
|
42
|
+
penalty: number;
|
|
43
|
+
interest: number;
|
|
44
|
+
penaltyAndInterest: number;
|
|
45
|
+
balanceDue: number;
|
|
46
|
+
};
|
|
47
|
+
/** WH-1606 lines 7–10; `null` on WH-1605. */
|
|
48
|
+
reconciliation: {
|
|
49
|
+
/** Jan–Mar, Apr–Jun, Jul–Sep, Oct–Dec. */
|
|
50
|
+
quarterWithheld: number[];
|
|
51
|
+
quarterTotal: number;
|
|
52
|
+
w2Withheld: number;
|
|
53
|
+
w2gWithheld: number;
|
|
54
|
+
form1099Withheld: number;
|
|
55
|
+
statementsTotal: number;
|
|
56
|
+
scIncome: number;
|
|
57
|
+
statementsCount: number;
|
|
58
|
+
} | null;
|
|
59
|
+
/** `null` when neither Yes nor No is checked. */
|
|
60
|
+
preparerAuthorization: {
|
|
61
|
+
allowed: boolean;
|
|
62
|
+
preparerName: string | null;
|
|
63
|
+
preparerPhone: string | null;
|
|
64
|
+
} | null;
|
|
65
|
+
declaration: {
|
|
66
|
+
signature: string;
|
|
67
|
+
name: string;
|
|
68
|
+
title: string;
|
|
69
|
+
signatureDate: string;
|
|
70
|
+
email: string;
|
|
71
|
+
phone: string;
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
export declare function buildSCWithholdingReturnPayload(variant: SCWithholdingVariant, data: SCWithholdingReturnBoundData, values: SCWithholdingReturnEditableValues): SCWithholdingReturnSubmitPayload;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { SCWithholdingVariant } from './SCWithholding.shared';
|
|
3
|
+
export declare const STATEMENTS_COUNT_MAX_LENGTH = 7;
|
|
4
|
+
export declare const SIGNER_MAX_LENGTH = 60;
|
|
5
|
+
export declare function createSCWithholdingReturnSchema(variant: SCWithholdingVariant): z.ZodObject<{
|
|
6
|
+
payerId: z.ZodNullable<z.ZodNumber>;
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
address: z.ZodString;
|
|
9
|
+
city: z.ZodString;
|
|
10
|
+
state: z.ZodString;
|
|
11
|
+
zipCode: z.ZodString;
|
|
12
|
+
fileNumber: z.ZodString;
|
|
13
|
+
fein: z.ZodString;
|
|
14
|
+
quarter: z.ZodString;
|
|
15
|
+
taxYear: z.ZodString;
|
|
16
|
+
isAmended: z.ZodBoolean;
|
|
17
|
+
isAddressChange: z.ZodBoolean;
|
|
18
|
+
isClosingAccount: z.ZodBoolean;
|
|
19
|
+
closingDate: z.ZodString;
|
|
20
|
+
withheld: z.ZodObject<{
|
|
21
|
+
dollars: z.ZodString;
|
|
22
|
+
cents: z.ZodString;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
priorPayments: z.ZodObject<{
|
|
25
|
+
dollars: z.ZodString;
|
|
26
|
+
cents: z.ZodString;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
penalty: z.ZodObject<{
|
|
29
|
+
dollars: z.ZodString;
|
|
30
|
+
cents: z.ZodString;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
interest: z.ZodObject<{
|
|
33
|
+
dollars: z.ZodString;
|
|
34
|
+
cents: z.ZodString;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
quarterWithheld: z.ZodArray<z.ZodObject<{
|
|
37
|
+
dollars: z.ZodString;
|
|
38
|
+
cents: z.ZodString;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
w2Withheld: z.ZodObject<{
|
|
41
|
+
dollars: z.ZodString;
|
|
42
|
+
cents: z.ZodString;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
w2gWithheld: z.ZodObject<{
|
|
45
|
+
dollars: z.ZodString;
|
|
46
|
+
cents: z.ZodString;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
form1099Withheld: z.ZodObject<{
|
|
49
|
+
dollars: z.ZodString;
|
|
50
|
+
cents: z.ZodString;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
scIncome: z.ZodObject<{
|
|
53
|
+
dollars: z.ZodString;
|
|
54
|
+
cents: z.ZodString;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
statementsCount: z.ZodString;
|
|
57
|
+
preparerContact: z.ZodEnum<{
|
|
58
|
+
"": "";
|
|
59
|
+
yes: "yes";
|
|
60
|
+
no: "no";
|
|
61
|
+
}>;
|
|
62
|
+
preparerName: z.ZodString;
|
|
63
|
+
preparerPhone: z.ZodString;
|
|
64
|
+
signature: z.ZodString;
|
|
65
|
+
signerName: z.ZodString;
|
|
66
|
+
title: z.ZodString;
|
|
67
|
+
signatureDate: z.ZodString;
|
|
68
|
+
email: z.ZodString;
|
|
69
|
+
phone: z.ZodString;
|
|
70
|
+
}, z.core.$strip>;
|