How to automatically verify a VIES VAT number at PrestaShop checkout
One call, one valid-or-invalid answer: in production you must handle three states, not two. Number formats per country, latency that varies with the member state queried, behaviour when the service is down and keeping the proof.