Skip to content

Add EIN/TIN validation for dividends and contractor payments#1590

Merged
nyomanjyotisa merged 4 commits intomainfrom
Add-TIN-validation-for-dividends-and-contractor-payments
Feb 9, 2026
Merged

Add EIN/TIN validation for dividends and contractor payments#1590
nyomanjyotisa merged 4 commits intomainfrom
Add-TIN-validation-for-dividends-and-contractor-payments

Conversation

@nyomanjyotisa
Copy link
Member

Resolves #1582

Problem

Some companies don't have their EIN/TIN configured in Flexile. When these companies try to issue dividends or make contractor payments, we cannot generate the required tax forms, causing distribution failures.

Solution

Add validation to prevent companies from issuing dividends or contractor payments without a configured EIN/TIN.

After

Invoice

image

Dividend

image

AI disclosure

Claude Sonnet 4.5 for code generations. All code self reviewed.

{company.completedPaymentMethodSetup && company.isTrusted && !company.taxId ? (
<Alert className="mx-4" variant="destructive">
<AlertTriangle className="my-auto max-h-4 max-w-4" />
<AlertTitle>EIN required to initiate payments.</AlertTitle>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Used EIN instead of TIN for consistency, since the Company Details settings use the EIN term

Image

@nyomanjyotisa nyomanjyotisa changed the title Add TIN/EIN validation for dividends and contractor payments Add EIN/TIN validation for dividends and contractor payments Feb 2, 2026
Copy link
Member

@ershad ershad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nyomanjyotisa _a added one comment, lgtm otherwise 👍🏼

<AlertDescription>
You cannot finalize this distribution until your EIN is configured. Please add your EIN in{" "}
<Link href="/settings/administrator/details" className="underline">
Settings → Company details
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just company details should be okay here -

Suggested change
Settings Company details
Company details

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated
image

@neetogit-bot neetogit-bot bot assigned nyomanjyotisa and unassigned nyomanjyotisa and ershad Feb 6, 2026
@nyomanjyotisa nyomanjyotisa merged commit efaebfe into main Feb 9, 2026
3 of 4 checks passed
@nyomanjyotisa nyomanjyotisa deleted the Add-TIN-validation-for-dividends-and-contractor-payments branch February 9, 2026 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add TIN validation for dividends and contractor payments

2 participants