@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,89 @@
|
|
|
1
|
+
import { StateFormSubmitResponse } from '../../../../api/stateForms';
|
|
2
|
+
import { AmountParts } from '../stateFormKit';
|
|
3
|
+
/** Filled in from the state payment — displayed, never edited here. */
|
|
4
|
+
export interface AZA1QRTBoundData {
|
|
5
|
+
taxYear: string;
|
|
6
|
+
/** `'1'`–`'4'`. */
|
|
7
|
+
quarter: string;
|
|
8
|
+
/** Ids the backend issues once a return exists, sent back on submit so it updates that record. Absent (`null`) for a new return. Never shown. */
|
|
9
|
+
payerDetailId?: number | null;
|
|
10
|
+
formRecordId?: number | null;
|
|
11
|
+
statePayrollFormId?: number | null;
|
|
12
|
+
}
|
|
13
|
+
/** One Part 4 row: that day's withholding liability, and whether it carried a next-banking-day deposit obligation. */
|
|
14
|
+
export interface A1QRTScheduleDay {
|
|
15
|
+
nextBankingDay: boolean;
|
|
16
|
+
amount: AmountParts;
|
|
17
|
+
}
|
|
18
|
+
export type A1QRTDepositSchedule = '' | 'quarterly' | 'monthly';
|
|
19
|
+
export interface AZA1QRTEditableValues {
|
|
20
|
+
businessName: string;
|
|
21
|
+
ein: string;
|
|
22
|
+
address: string;
|
|
23
|
+
city: string;
|
|
24
|
+
state: string;
|
|
25
|
+
zipCode: string;
|
|
26
|
+
businessPhone: string;
|
|
27
|
+
isAmended: boolean;
|
|
28
|
+
isAddressChange: boolean;
|
|
29
|
+
isFinalReturn: boolean;
|
|
30
|
+
/** MM/DD/YYYY — only asked for on a final return. */
|
|
31
|
+
finalWagesDate: string;
|
|
32
|
+
isSurvivingEmployer: boolean;
|
|
33
|
+
predecessorName: string;
|
|
34
|
+
predecessorEin: string;
|
|
35
|
+
totalPayroll: AmountParts;
|
|
36
|
+
/** Digits only. */
|
|
37
|
+
employeeCount: string;
|
|
38
|
+
/** `'quarterly'` = Section A, `'monthly'` = Section B, `''` = unanswered. */
|
|
39
|
+
depositSchedule: A1QRTDepositSchedule;
|
|
40
|
+
isSemiWeekly: boolean;
|
|
41
|
+
a1Liability: AmountParts;
|
|
42
|
+
b1Liability: AmountParts;
|
|
43
|
+
b2Liability: AmountParts;
|
|
44
|
+
b3Liability: AmountParts;
|
|
45
|
+
line2PaymentsMade: AmountParts;
|
|
46
|
+
semiWeeklySchedule: A1QRTScheduleDay[][];
|
|
47
|
+
amendedReason: string;
|
|
48
|
+
/** One of FINAL_REASONS's codes, or '' if unanswered. */
|
|
49
|
+
finalReason: string;
|
|
50
|
+
finalOtherReason: string;
|
|
51
|
+
recordsElsewhere: boolean;
|
|
52
|
+
recordsName: string;
|
|
53
|
+
recordsAddress: string;
|
|
54
|
+
recordsCity: string;
|
|
55
|
+
recordsState: string;
|
|
56
|
+
recordsZipCode: string;
|
|
57
|
+
hasSuccessor: boolean;
|
|
58
|
+
successorName: string;
|
|
59
|
+
successorEin: string;
|
|
60
|
+
successorAddress: string;
|
|
61
|
+
successorCity: string;
|
|
62
|
+
successorState: string;
|
|
63
|
+
successorZipCode: string;
|
|
64
|
+
signature: string;
|
|
65
|
+
signatureDate: string;
|
|
66
|
+
preparerName: string;
|
|
67
|
+
preparerDate: string;
|
|
68
|
+
preparerPtin: string;
|
|
69
|
+
firmName: string;
|
|
70
|
+
firmEin: string;
|
|
71
|
+
firmAddress: string;
|
|
72
|
+
firmCity: string;
|
|
73
|
+
firmState: string;
|
|
74
|
+
firmZipCode: string;
|
|
75
|
+
firmPhone: string;
|
|
76
|
+
}
|
|
77
|
+
interface AZA1QRTFormProps {
|
|
78
|
+
data: AZA1QRTBoundData;
|
|
79
|
+
/** Starting entries — anything omitted starts blank. */
|
|
80
|
+
initialValues?: Partial<AZA1QRTEditableValues>;
|
|
81
|
+
/** Fires on every change with the complete set of entries. */
|
|
82
|
+
onValuesChange?: (values: AZA1QRTEditableValues) => void;
|
|
83
|
+
/** Leaves the form. Omit to hide the Back button. */
|
|
84
|
+
onBack?: () => void;
|
|
85
|
+
/** Fires after a successful submit, with the API's response. */
|
|
86
|
+
onSubmitted?: (response: StateFormSubmitResponse) => void;
|
|
87
|
+
}
|
|
88
|
+
export declare function AZA1QRTForm({ data, initialValues, onValuesChange, onBack, onSubmitted }: AZA1QRTFormProps): import("react").JSX.Element;
|
|
89
|
+
export {};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { AZA1QRTBoundData, AZA1QRTEditableValues } from './AZA1QRTForm';
|
|
2
|
+
interface A1QRTAddressPayload {
|
|
3
|
+
address: string;
|
|
4
|
+
city: string;
|
|
5
|
+
state: string;
|
|
6
|
+
zipCode: string;
|
|
7
|
+
}
|
|
8
|
+
export interface AZA1QRTSubmitPayload {
|
|
9
|
+
formCode: 'A1-QRT';
|
|
10
|
+
state: 'AZ';
|
|
11
|
+
/** Hidden ids the backend issues for an existing record; `null` on a new one. */
|
|
12
|
+
ids: {
|
|
13
|
+
payerDetailId: number | null;
|
|
14
|
+
formRecordId: number | null;
|
|
15
|
+
statePayrollFormId: number | null;
|
|
16
|
+
};
|
|
17
|
+
taxYear: string;
|
|
18
|
+
quarter: number;
|
|
19
|
+
taxpayer: A1QRTAddressPayload & {
|
|
20
|
+
businessName: string;
|
|
21
|
+
/** 9 digits, no dash. */
|
|
22
|
+
ein: string;
|
|
23
|
+
/** 10 digits. */
|
|
24
|
+
phone: string;
|
|
25
|
+
};
|
|
26
|
+
isAmended: boolean;
|
|
27
|
+
isAddressChange: boolean;
|
|
28
|
+
isFinalReturn: boolean;
|
|
29
|
+
isSurvivingEmployer: boolean;
|
|
30
|
+
/** Only when `isSurvivingEmployer`. */
|
|
31
|
+
predecessor: {
|
|
32
|
+
name: string;
|
|
33
|
+
ein: string;
|
|
34
|
+
} | null;
|
|
35
|
+
totalArizonaPayroll: number;
|
|
36
|
+
employeesPaidCount: number;
|
|
37
|
+
liabilitySchedule: {
|
|
38
|
+
depositSchedule: 'quarterly' | 'monthly';
|
|
39
|
+
isSemiWeekly: boolean;
|
|
40
|
+
/** Section A. */
|
|
41
|
+
a1: number | null;
|
|
42
|
+
/** Section B. */
|
|
43
|
+
monthly: {
|
|
44
|
+
b1: number;
|
|
45
|
+
b2: number;
|
|
46
|
+
b3: number;
|
|
47
|
+
b4: number;
|
|
48
|
+
} | null;
|
|
49
|
+
};
|
|
50
|
+
/** Part 4 — only the days with an entry, only for a semi-weekly/next-day depositor. */
|
|
51
|
+
semiWeeklySchedule: {
|
|
52
|
+
month: 1 | 2 | 3;
|
|
53
|
+
day: number;
|
|
54
|
+
amount: number;
|
|
55
|
+
nextBankingDay: boolean;
|
|
56
|
+
}[] | null;
|
|
57
|
+
computation: {
|
|
58
|
+
liability: number;
|
|
59
|
+
paymentsMade: number;
|
|
60
|
+
/** Negative is an overpayment. */
|
|
61
|
+
totalAmountDue: number;
|
|
62
|
+
};
|
|
63
|
+
amendedReason: string | null;
|
|
64
|
+
finalReturn: {
|
|
65
|
+
finalWagesPaidDate: string;
|
|
66
|
+
reason: string;
|
|
67
|
+
otherReason: string | null;
|
|
68
|
+
recordsLocation: (A1QRTAddressPayload & {
|
|
69
|
+
name: string;
|
|
70
|
+
}) | null;
|
|
71
|
+
successor: (A1QRTAddressPayload & {
|
|
72
|
+
name: string;
|
|
73
|
+
ein: string;
|
|
74
|
+
}) | null;
|
|
75
|
+
} | null;
|
|
76
|
+
declaration: {
|
|
77
|
+
signature: string;
|
|
78
|
+
signatureDate: string;
|
|
79
|
+
};
|
|
80
|
+
paidPreparer: {
|
|
81
|
+
signature: string;
|
|
82
|
+
date: string;
|
|
83
|
+
ptin: string;
|
|
84
|
+
firmName: string;
|
|
85
|
+
firmEin: string | null;
|
|
86
|
+
firmAddress: A1QRTAddressPayload;
|
|
87
|
+
firmPhone: string | null;
|
|
88
|
+
} | null;
|
|
89
|
+
}
|
|
90
|
+
export declare function buildAZA1QRTPayload(data: AZA1QRTBoundData, values: AZA1QRTEditableValues): AZA1QRTSubmitPayload;
|
|
91
|
+
export {};
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { A1QRTPeriod } from './AZA1QRTForm.calc';
|
|
3
|
+
export declare const a1qrtBaseSchema: z.ZodObject<{
|
|
4
|
+
businessName: z.ZodString;
|
|
5
|
+
ein: z.ZodString;
|
|
6
|
+
address: z.ZodString;
|
|
7
|
+
city: z.ZodString;
|
|
8
|
+
state: z.ZodString;
|
|
9
|
+
zipCode: z.ZodString;
|
|
10
|
+
businessPhone: z.ZodString;
|
|
11
|
+
isAmended: z.ZodBoolean;
|
|
12
|
+
isAddressChange: z.ZodBoolean;
|
|
13
|
+
isFinalReturn: z.ZodBoolean;
|
|
14
|
+
finalWagesDate: z.ZodString;
|
|
15
|
+
isSurvivingEmployer: z.ZodBoolean;
|
|
16
|
+
predecessorName: z.ZodString;
|
|
17
|
+
predecessorEin: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
18
|
+
totalPayroll: z.ZodObject<{
|
|
19
|
+
dollars: z.ZodString;
|
|
20
|
+
cents: z.ZodString;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
employeeCount: z.ZodString;
|
|
23
|
+
depositSchedule: z.ZodEnum<{
|
|
24
|
+
quarterly: "quarterly";
|
|
25
|
+
monthly: "monthly";
|
|
26
|
+
}>;
|
|
27
|
+
isSemiWeekly: z.ZodBoolean;
|
|
28
|
+
a1Liability: z.ZodObject<{
|
|
29
|
+
dollars: z.ZodString;
|
|
30
|
+
cents: z.ZodString;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
b1Liability: z.ZodObject<{
|
|
33
|
+
dollars: z.ZodString;
|
|
34
|
+
cents: z.ZodString;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
b2Liability: z.ZodObject<{
|
|
37
|
+
dollars: z.ZodString;
|
|
38
|
+
cents: z.ZodString;
|
|
39
|
+
}, z.core.$strip>;
|
|
40
|
+
b3Liability: z.ZodObject<{
|
|
41
|
+
dollars: z.ZodString;
|
|
42
|
+
cents: z.ZodString;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
line2PaymentsMade: z.ZodObject<{
|
|
45
|
+
dollars: z.ZodString;
|
|
46
|
+
cents: z.ZodString;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
semiWeeklySchedule: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
49
|
+
nextBankingDay: z.ZodBoolean;
|
|
50
|
+
amount: z.ZodObject<{
|
|
51
|
+
dollars: z.ZodString;
|
|
52
|
+
cents: z.ZodString;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
}, z.core.$strip>>>;
|
|
55
|
+
amendedReason: z.ZodString;
|
|
56
|
+
finalReason: z.ZodString;
|
|
57
|
+
finalOtherReason: z.ZodString;
|
|
58
|
+
recordsElsewhere: z.ZodBoolean;
|
|
59
|
+
recordsName: z.ZodString;
|
|
60
|
+
recordsAddress: z.ZodString;
|
|
61
|
+
recordsCity: z.ZodString;
|
|
62
|
+
recordsState: z.ZodString;
|
|
63
|
+
recordsZipCode: z.ZodString;
|
|
64
|
+
hasSuccessor: z.ZodBoolean;
|
|
65
|
+
successorName: z.ZodString;
|
|
66
|
+
successorEin: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
67
|
+
successorAddress: z.ZodString;
|
|
68
|
+
successorCity: z.ZodString;
|
|
69
|
+
successorState: z.ZodString;
|
|
70
|
+
successorZipCode: z.ZodString;
|
|
71
|
+
signature: z.ZodString;
|
|
72
|
+
signatureDate: z.ZodString;
|
|
73
|
+
preparerName: z.ZodString;
|
|
74
|
+
preparerDate: z.ZodString;
|
|
75
|
+
preparerPtin: z.ZodString;
|
|
76
|
+
firmName: z.ZodString;
|
|
77
|
+
firmEin: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
78
|
+
firmAddress: z.ZodString;
|
|
79
|
+
firmCity: z.ZodString;
|
|
80
|
+
firmState: z.ZodString;
|
|
81
|
+
firmZipCode: z.ZodString;
|
|
82
|
+
firmPhone: z.ZodString;
|
|
83
|
+
}, z.core.$strip>;
|
|
84
|
+
export type AZA1QRTValidatedValues = z.infer<typeof a1qrtBaseSchema>;
|
|
85
|
+
export declare function createA1QRTSchema(period: A1QRTPeriod): z.ZodObject<{
|
|
86
|
+
businessName: z.ZodString;
|
|
87
|
+
ein: z.ZodString;
|
|
88
|
+
address: z.ZodString;
|
|
89
|
+
city: z.ZodString;
|
|
90
|
+
state: z.ZodString;
|
|
91
|
+
zipCode: z.ZodString;
|
|
92
|
+
businessPhone: z.ZodString;
|
|
93
|
+
isAmended: z.ZodBoolean;
|
|
94
|
+
isAddressChange: z.ZodBoolean;
|
|
95
|
+
isFinalReturn: z.ZodBoolean;
|
|
96
|
+
finalWagesDate: z.ZodString;
|
|
97
|
+
isSurvivingEmployer: z.ZodBoolean;
|
|
98
|
+
predecessorName: z.ZodString;
|
|
99
|
+
predecessorEin: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
100
|
+
totalPayroll: z.ZodObject<{
|
|
101
|
+
dollars: z.ZodString;
|
|
102
|
+
cents: z.ZodString;
|
|
103
|
+
}, z.core.$strip>;
|
|
104
|
+
employeeCount: z.ZodString;
|
|
105
|
+
depositSchedule: z.ZodEnum<{
|
|
106
|
+
quarterly: "quarterly";
|
|
107
|
+
monthly: "monthly";
|
|
108
|
+
}>;
|
|
109
|
+
isSemiWeekly: z.ZodBoolean;
|
|
110
|
+
a1Liability: z.ZodObject<{
|
|
111
|
+
dollars: z.ZodString;
|
|
112
|
+
cents: z.ZodString;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
b1Liability: z.ZodObject<{
|
|
115
|
+
dollars: z.ZodString;
|
|
116
|
+
cents: z.ZodString;
|
|
117
|
+
}, z.core.$strip>;
|
|
118
|
+
b2Liability: z.ZodObject<{
|
|
119
|
+
dollars: z.ZodString;
|
|
120
|
+
cents: z.ZodString;
|
|
121
|
+
}, z.core.$strip>;
|
|
122
|
+
b3Liability: z.ZodObject<{
|
|
123
|
+
dollars: z.ZodString;
|
|
124
|
+
cents: z.ZodString;
|
|
125
|
+
}, z.core.$strip>;
|
|
126
|
+
line2PaymentsMade: z.ZodObject<{
|
|
127
|
+
dollars: z.ZodString;
|
|
128
|
+
cents: z.ZodString;
|
|
129
|
+
}, z.core.$strip>;
|
|
130
|
+
semiWeeklySchedule: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
131
|
+
nextBankingDay: z.ZodBoolean;
|
|
132
|
+
amount: z.ZodObject<{
|
|
133
|
+
dollars: z.ZodString;
|
|
134
|
+
cents: z.ZodString;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
}, z.core.$strip>>>;
|
|
137
|
+
amendedReason: z.ZodString;
|
|
138
|
+
finalReason: z.ZodString;
|
|
139
|
+
finalOtherReason: z.ZodString;
|
|
140
|
+
recordsElsewhere: z.ZodBoolean;
|
|
141
|
+
recordsName: z.ZodString;
|
|
142
|
+
recordsAddress: z.ZodString;
|
|
143
|
+
recordsCity: z.ZodString;
|
|
144
|
+
recordsState: z.ZodString;
|
|
145
|
+
recordsZipCode: z.ZodString;
|
|
146
|
+
hasSuccessor: z.ZodBoolean;
|
|
147
|
+
successorName: z.ZodString;
|
|
148
|
+
successorEin: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
149
|
+
successorAddress: z.ZodString;
|
|
150
|
+
successorCity: z.ZodString;
|
|
151
|
+
successorState: z.ZodString;
|
|
152
|
+
successorZipCode: z.ZodString;
|
|
153
|
+
signature: z.ZodString;
|
|
154
|
+
signatureDate: z.ZodString;
|
|
155
|
+
preparerName: z.ZodString;
|
|
156
|
+
preparerDate: z.ZodString;
|
|
157
|
+
preparerPtin: z.ZodString;
|
|
158
|
+
firmName: z.ZodString;
|
|
159
|
+
firmEin: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
160
|
+
firmAddress: z.ZodString;
|
|
161
|
+
firmCity: z.ZodString;
|
|
162
|
+
firmState: z.ZodString;
|
|
163
|
+
firmZipCode: z.ZodString;
|
|
164
|
+
firmPhone: z.ZodString;
|
|
165
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AZA1RBoundData, AZA1REditableValues } from './AZA1RForm';
|
|
2
|
+
import { AZWithholdingAutoFillJson } from './AZWithholding.shared';
|
|
3
|
+
export interface AutoFillJson extends AZWithholdingAutoFillJson {
|
|
4
|
+
payment?: {
|
|
5
|
+
taxYear?: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function boundDataFromAutoFillJson(autoFill: AutoFillJson, ids: {
|
|
9
|
+
payerDetailId: number | null;
|
|
10
|
+
formRecordId: number | null;
|
|
11
|
+
statePayrollFormId: number | null;
|
|
12
|
+
}): AZA1RBoundData;
|
|
13
|
+
export declare function fieldsFromAutoFillJson(autoFill: AutoFillJson): Partial<AZA1REditableValues>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AZA1REditableValues } from './AZA1RForm';
|
|
2
|
+
export declare const QUARTER_NAMES: string[];
|
|
3
|
+
/** "Form A1-R is due on or before January 31" of the following year. */
|
|
4
|
+
export declare function dueDate(taxYear: string): Date;
|
|
5
|
+
export interface AZA1RTotals {
|
|
6
|
+
/** Line 1. */
|
|
7
|
+
w2WithheldCents: number;
|
|
8
|
+
/** Lines 6–9. */
|
|
9
|
+
quarterCents: number[];
|
|
10
|
+
/** Line 10. */
|
|
11
|
+
totalReportedCents: number;
|
|
12
|
+
/** Line 1 − line 10. */
|
|
13
|
+
differenceCents: number;
|
|
14
|
+
}
|
|
15
|
+
export declare function computeAZA1RTotals(values: Pick<AZA1REditableValues, 'w2Withheld' | 'quarterLiability'>): AZA1RTotals;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { StateFormSubmitResponse } from '../../../../api/stateForms';
|
|
2
|
+
import { AmountParts } from '../stateFormKit';
|
|
3
|
+
import { AZPreparerValues, AZTaxpayerValues } from './AZWithholding.shared';
|
|
4
|
+
/** Filled in from the filing period — displayed, never edited here. */
|
|
5
|
+
export interface AZA1RBoundData {
|
|
6
|
+
taxYear: string;
|
|
7
|
+
/** Ids the backend issues once a return exists, sent back on submit so it updates that record. Absent (`null`) for a new return. Never shown. */
|
|
8
|
+
payerDetailId?: number | null;
|
|
9
|
+
formRecordId?: number | null;
|
|
10
|
+
statePayrollFormId?: number | null;
|
|
11
|
+
}
|
|
12
|
+
export interface AZA1REditableValues extends AZTaxpayerValues, AZPreparerValues {
|
|
13
|
+
isAmended: boolean;
|
|
14
|
+
isAddressChange: boolean;
|
|
15
|
+
/** C — early-filed for next year, due to an account cancellation. */
|
|
16
|
+
isEarlyFiled: boolean;
|
|
17
|
+
/** D — that cancellation was a merger/acquisition; the survivor files the W-2s. */
|
|
18
|
+
isMergerCancellation: boolean;
|
|
19
|
+
/** E — the surviving employer, with line 10 below line 1 because the predecessor remitted the difference. */
|
|
20
|
+
isSurvivingEmployer: boolean;
|
|
21
|
+
predecessorName: string;
|
|
22
|
+
predecessorEin: string;
|
|
23
|
+
/** Line 1. */
|
|
24
|
+
w2Withheld: AmountParts;
|
|
25
|
+
/** Line 2. */
|
|
26
|
+
arizonaWages: AmountParts;
|
|
27
|
+
/** Line 3 — digits only. */
|
|
28
|
+
employeeCount: string;
|
|
29
|
+
/** Line 4 — digits only. */
|
|
30
|
+
formsCount: string;
|
|
31
|
+
/** Line 5 — whole dollars, digits only. */
|
|
32
|
+
penalty: string;
|
|
33
|
+
quarterLiability: AmountParts[];
|
|
34
|
+
amendedReason: string;
|
|
35
|
+
signature: string;
|
|
36
|
+
signatureDate: string;
|
|
37
|
+
}
|
|
38
|
+
interface AZA1RFormProps {
|
|
39
|
+
data: AZA1RBoundData;
|
|
40
|
+
/** Starting entries — anything omitted starts blank. */
|
|
41
|
+
initialValues?: Partial<AZA1REditableValues>;
|
|
42
|
+
/** Fires on every change with the complete set of entries. */
|
|
43
|
+
onValuesChange?: (values: AZA1REditableValues) => void;
|
|
44
|
+
/** Leaves the form. Omit to hide the Back button. */
|
|
45
|
+
onBack?: () => void;
|
|
46
|
+
/** Fires after a successful submit, with the API's response. */
|
|
47
|
+
onSubmitted?: (response: StateFormSubmitResponse) => void;
|
|
48
|
+
}
|
|
49
|
+
export declare function AZA1RForm({ data, initialValues, onValuesChange, onBack, onSubmitted }: AZA1RFormProps): import("react").JSX.Element;
|
|
50
|
+
export {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { AZA1RBoundData, AZA1REditableValues } from './AZA1RForm';
|
|
2
|
+
import { buildAZPreparerPayload, buildAZTaxpayerPayload } from './AZWithholding.shared';
|
|
3
|
+
export interface AZA1RSubmitPayload extends ReturnType<typeof buildAZTaxpayerPayload> {
|
|
4
|
+
formCode: 'A1R';
|
|
5
|
+
state: 'AZ';
|
|
6
|
+
/** Hidden ids the backend issues for an existing record; `null` on a new one. */
|
|
7
|
+
ids: {
|
|
8
|
+
payerDetailId: number | null;
|
|
9
|
+
formRecordId: number | null;
|
|
10
|
+
statePayrollFormId: number | null;
|
|
11
|
+
};
|
|
12
|
+
taxYear: string;
|
|
13
|
+
/** `MM/DD/YYYY` — January 31 of the following year. */
|
|
14
|
+
dueDate: string;
|
|
15
|
+
/** Boxes A–E. */
|
|
16
|
+
flags: {
|
|
17
|
+
isAmended: boolean;
|
|
18
|
+
isAddressChange: boolean;
|
|
19
|
+
isEarlyFiled: boolean;
|
|
20
|
+
isMergerCancellation: boolean;
|
|
21
|
+
isSurvivingEmployer: boolean;
|
|
22
|
+
};
|
|
23
|
+
/** Only with box E. */
|
|
24
|
+
predecessor: {
|
|
25
|
+
name: string;
|
|
26
|
+
ein: string;
|
|
27
|
+
} | null;
|
|
28
|
+
transmittal: {
|
|
29
|
+
w2Withheld: number;
|
|
30
|
+
arizonaWages: number;
|
|
31
|
+
employeeCount: number;
|
|
32
|
+
formsCount: number;
|
|
33
|
+
/** Whole dollars. */
|
|
34
|
+
penalty: number;
|
|
35
|
+
};
|
|
36
|
+
/** Lines 6–9, first quarter first. */
|
|
37
|
+
quarterLiability: number[];
|
|
38
|
+
totalReported: number;
|
|
39
|
+
/** Only on an amended return. */
|
|
40
|
+
amendedReason: string | null;
|
|
41
|
+
declaration: {
|
|
42
|
+
signature: string;
|
|
43
|
+
signatureDate: string;
|
|
44
|
+
};
|
|
45
|
+
preparer: ReturnType<typeof buildAZPreparerPayload>;
|
|
46
|
+
}
|
|
47
|
+
export declare function buildAZA1RPayload(data: AZA1RBoundData, values: AZA1REditableValues): AZA1RSubmitPayload;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const azA1RSchema: z.ZodObject<{
|
|
3
|
+
preparerName: z.ZodString;
|
|
4
|
+
preparerDate: z.ZodString;
|
|
5
|
+
preparerPtin: z.ZodString;
|
|
6
|
+
firmName: z.ZodString;
|
|
7
|
+
firmEin: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8
|
+
firmAddress: z.ZodString;
|
|
9
|
+
firmCity: z.ZodString;
|
|
10
|
+
firmState: z.ZodString;
|
|
11
|
+
firmZipCode: z.ZodString;
|
|
12
|
+
firmPhone: z.ZodString;
|
|
13
|
+
isAmended: z.ZodBoolean;
|
|
14
|
+
isAddressChange: z.ZodBoolean;
|
|
15
|
+
isEarlyFiled: z.ZodBoolean;
|
|
16
|
+
isMergerCancellation: z.ZodBoolean;
|
|
17
|
+
isSurvivingEmployer: z.ZodBoolean;
|
|
18
|
+
predecessorName: z.ZodString;
|
|
19
|
+
predecessorEin: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
20
|
+
w2Withheld: z.ZodObject<{
|
|
21
|
+
dollars: z.ZodString;
|
|
22
|
+
cents: z.ZodString;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
arizonaWages: z.ZodObject<{
|
|
25
|
+
dollars: z.ZodString;
|
|
26
|
+
cents: z.ZodString;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
employeeCount: z.ZodString;
|
|
29
|
+
formsCount: z.ZodString;
|
|
30
|
+
penalty: z.ZodString;
|
|
31
|
+
quarterLiability: z.ZodArray<z.ZodObject<{
|
|
32
|
+
dollars: z.ZodString;
|
|
33
|
+
cents: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>;
|
|
35
|
+
amendedReason: z.ZodString;
|
|
36
|
+
signature: z.ZodString;
|
|
37
|
+
signatureDate: z.ZodString;
|
|
38
|
+
businessName: z.ZodString;
|
|
39
|
+
ein: z.ZodString;
|
|
40
|
+
address: z.ZodString;
|
|
41
|
+
city: z.ZodString;
|
|
42
|
+
state: z.ZodString;
|
|
43
|
+
zipCode: z.ZodString;
|
|
44
|
+
businessPhone: z.ZodString;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
export type AZA1RValidatedValues = z.infer<typeof azA1RSchema>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AZA1WPBoundData } from './AZA1WPForm';
|
|
2
|
+
import { AZTaxpayerValues, AZWithholdingAutoFillJson } from './AZWithholding.shared';
|
|
3
|
+
export interface AutoFillJson extends AZWithholdingAutoFillJson {
|
|
4
|
+
payment?: {
|
|
5
|
+
taxYear?: string;
|
|
6
|
+
taxPeriod?: string | null;
|
|
7
|
+
amount?: number;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare function boundDataFromAutoFillJson(autoFill: AutoFillJson, ids: {
|
|
11
|
+
payerDetailId: number | null;
|
|
12
|
+
formRecordId: number | null;
|
|
13
|
+
statePayrollFormId: number | null;
|
|
14
|
+
}): AZA1WPBoundData;
|
|
15
|
+
export declare function fieldsFromAutoFillJson(autoFill: AutoFillJson): Partial<AZTaxpayerValues>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { StateFormSubmitResponse } from '../../../../api/stateForms';
|
|
2
|
+
import { AmountParts } from '../stateFormKit';
|
|
3
|
+
import { AZTaxpayerValues } from './AZWithholding.shared';
|
|
4
|
+
/** Filled in from the state payment — displayed, never edited here. */
|
|
5
|
+
export interface AZA1WPBoundData {
|
|
6
|
+
taxYear: string;
|
|
7
|
+
/** `'1'`–`'4'`. */
|
|
8
|
+
quarter: string;
|
|
9
|
+
/** The payment this voucher accompanies. */
|
|
10
|
+
paymentAmount: AmountParts;
|
|
11
|
+
/** Ids the backend issues once a return exists, sent back on submit so it updates that record. Absent (`null`) for a new return. Never shown. */
|
|
12
|
+
payerDetailId?: number | null;
|
|
13
|
+
formRecordId?: number | null;
|
|
14
|
+
statePayrollFormId?: number | null;
|
|
15
|
+
}
|
|
16
|
+
export type AZA1WPEditableValues = AZTaxpayerValues;
|
|
17
|
+
interface AZA1WPFormProps {
|
|
18
|
+
data: AZA1WPBoundData;
|
|
19
|
+
/** Starting entries — anything omitted starts blank. */
|
|
20
|
+
initialValues?: Partial<AZA1WPEditableValues>;
|
|
21
|
+
/** Fires on every change with the complete set of entries. */
|
|
22
|
+
onValuesChange?: (values: AZA1WPEditableValues) => void;
|
|
23
|
+
/** Leaves the form. Omit to hide the Back button. */
|
|
24
|
+
onBack?: () => void;
|
|
25
|
+
/** Fires after a successful submit, with the API's response. */
|
|
26
|
+
onSubmitted?: (response: StateFormSubmitResponse) => void;
|
|
27
|
+
}
|
|
28
|
+
export declare function AZA1WPForm({ data, initialValues, onValuesChange, onBack, onSubmitted }: AZA1WPFormProps): import("react").JSX.Element;
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AZA1WPBoundData } from './AZA1WPForm';
|
|
2
|
+
import { buildAZTaxpayerPayload, AZTaxpayerValues } from './AZWithholding.shared';
|
|
3
|
+
export interface AZA1WPSubmitPayload extends ReturnType<typeof buildAZTaxpayerPayload> {
|
|
4
|
+
formCode: 'A1WP';
|
|
5
|
+
state: 'AZ';
|
|
6
|
+
/** Hidden ids the backend issues for an existing record; `null` on a new one. */
|
|
7
|
+
ids: {
|
|
8
|
+
payerDetailId: number | null;
|
|
9
|
+
formRecordId: number | null;
|
|
10
|
+
statePayrollFormId: number | null;
|
|
11
|
+
};
|
|
12
|
+
taxYear: string;
|
|
13
|
+
/** 1–4. */
|
|
14
|
+
quarter: number;
|
|
15
|
+
amountOfPayment: number;
|
|
16
|
+
}
|
|
17
|
+
export declare function buildAZA1WPPayload(data: AZA1WPBoundData, values: AZTaxpayerValues): AZA1WPSubmitPayload;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { AmountParts } from '../../../../lib/fieldRules';
|
|
3
|
+
export declare function createAZA1WPSchema(paymentAmount: AmountParts): z.ZodObject<{
|
|
4
|
+
businessName: z.ZodString;
|
|
5
|
+
ein: z.ZodString;
|
|
6
|
+
address: z.ZodString;
|
|
7
|
+
city: z.ZodString;
|
|
8
|
+
state: z.ZodString;
|
|
9
|
+
zipCode: z.ZodString;
|
|
10
|
+
businessPhone: z.ZodString;
|
|
11
|
+
}, z.core.$strip>;
|