-
Notifications
You must be signed in to change notification settings - Fork 381
Add EIN/TIN validation for dividends and contractor payments #1590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add EIN/TIN validation for dividends and contractor payments #1590
Conversation
| {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> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ershad
left a comment
There was a problem hiding this 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 |
There was a problem hiding this comment.
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 -
| Settings → Company details | |
| Company details |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.


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
Dividend
AI disclosure
Claude Sonnet 4.5 for code generations. All code self reviewed.