-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
VAT API address #388
Comments
Yes, you must include the isValid in the configuration. Which btw looks good to me. I have been able to reproduce your issue. It happens when the country of business of the organizer and the one of the ticket buyer are the same, and the EU reverse charge mechanism is enabled. This is clearly a bug on our side: since both entities have their business in the same country, alf.io cannot apply the "reverse charge" and doesn't do anything. We'll fix this asap on the "stable" branch and do a patch release. Thanks for pointing it out! |
Ok cool, thx for sharing! ;-) |
… business of the organizer and ticket buyer are the same
… business of the organizer and ticket buyer are the same (cherry picked from commit 9557cce)
Hi @cougil, After your confirmation we'll release the new version (1.13.3) Thanks! |
Hi @cbellone I've checked and it seems that now the VAT mechanism does not fail, so the user can continue asking for their ticket while paying and requesting the invoice. The only problem that I've seen is that what will happen if the lambda does not return proper information. For example, I've tried with an existing company with a confirmed valid VAT number, and the result we received it is not correct, because it is retrieved an empty address (----). Here you can see an screenshot: Of course the invoice created does not include info about the company, so from the legal point of view it is not correct :-/ Do you think it make more sense to have the field of the retrieved information enabled just in case if the user wants to change some data received from the lambda function? Best, |
…e can sometimes return incomplete results - always display VAT Number on Invoice, if present
…e can sometimes return incomplete results - always display VAT Number on Invoice, if present (cherry picked from commit adec050)
@cougil yes, I agree. It doesn't make sense to generate an invoice without a valid billing address. |
@cbellone yep, that's it. |
OK, done. I think we're good to go now. Thanks for your help! |
Hi!
We've having some issues with the validation of the VAT. Basically what it is happening is after setting the EU VAT API Address, the user can check the VAT, but it does not work.
What it is happening is after the user press "Validate the VAT number", the system returns to the same page, the VAT is not validated at all and also the checkbox for the invoice it is not selected.
We've verified that the Serverless Lambda function is working properly (making some raw curls adding the country & VAT number) so we can imagine that it is something that it is not working properly with the setup between alf.io <> VAT API endpoint.
Once we've deployed the function we received a response like the next one, so we suppose that the endpoint of the GET is the URL we have to use in alf.io:
It is correct? What we are doing wrong? Should we include the /isValid or not?
Best,
The text was updated successfully, but these errors were encountered: