Skip to content
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

Fix Greece VAT number online check #64

Merged

Conversation

intarsz
Copy link
Contributor

@intarsz intarsz commented Feb 12, 2024

Greece uses 'EL', not 'GR' for VAT numbers. 'EL' must be passed to validate-vat for VAT number online check.

validate-vat supported countries list: https://github.com/viruschidai/validate-vat/blob/master/src/index.coffee#L24 and related commit: viruschidai/validate-vat@b07a1b9

@valeriansaliou
Copy link
Owner

Thank you, nice catch! Processing now.

@valeriansaliou valeriansaliou merged commit d27b1d9 into valeriansaliou:master Feb 12, 2024
@valeriansaliou
Copy link
Owner

Could you please provide me w/ a valid / real company's Greek VAT number? I cannot seem to find one online. I'd like to update the unit tests to handle this specific case.

@intarsz
Copy link
Contributor Author

intarsz commented Feb 12, 2024

Could you please provide me w/ a valid / real company's Greek VAT number? I cannot seem to find one online. I'd like to update the unit tests to handle this specific case.

HELLENIC TELECOMMUNICATIONS ORGANIZATION SA - EL094019245

@valeriansaliou
Copy link
Owner

Added in 16bc6ad thanks!

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.

2 participants