Add EIN/TIN validation for dividends and contractor payments#1590
Merged
nyomanjyotisa merged 4 commits intomainfrom Feb 9, 2026
Merged
Conversation
nyomanjyotisa
commented
Feb 2, 2026
| {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> |
Member
Author
ershad
approved these changes
Feb 6, 2026
Member
ershad
left a comment
There was a problem hiding this comment.
@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 |
Member
There was a problem hiding this comment.
Just company details should be okay here -
Suggested change
| Settings → Company details | |
| Company details |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


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.