Email Automation
Re-check EU VAT numbers on Stripe invoices with VIES and notify finance via Gmail
When something happens in a connected app, it handles email using Gmail, Stripe.
What it does
## Re-check EU VAT numbers before each Stripe invoice Stripe checks a customer's EU VAT number with VIES once, when it is added. Stripe Tax reverse-charges any correctly formatted number, valid or not. A buyer who deregisters keeps getting 0% invoices, and the unpaid VAT becomes yours. ### How it works 1. When Stripe drafts an invoice, the buyer is sorted: a cross-border EU business, a reverse charge that no longer applies, a domestic reverse charge to confirm, or nothing to do. Customers marked exempt are never touched. 2. Cross-border numbers are asked of VIES again, today, and the registered name is compared with the Stripe customer where the member state publishes it. 3. Valid keeps reverse charge. Invalid removes it, or holds the draft under Stripe Tax, where only removing the tax ID stops it. A different company name, a VIES error or a long outage holds the draft so it cannot finalise. 4. The VIES answer is written onto the invoice as proof, and finance gets an email saying what to do. ### Setup 1. Add a Stripe credential and a Gmail credential. 2. Open VAT Rules: your country, your own VAT number and the finance address. A mistyped VAT number makes VIES reject every check, so drafts are held, never cleared. 3. Activate. Stripe finalises a draft about an hour after this runs. ### Good to know Germany does not publish names in VIES. Greek names come back in Greek script. Both are confirmed on the number alone and say so.
The steps
- When A Stripe Invoice Is Drafted
- Handle Each Invoice Once
- VAT Rules
- Read The Buyer
- Which VAT Case Is This?
- Route The Case
- Not A Reverse Charge Sale
- Build The VIES Question
- Ask VIES Today
- Read The VIES Answer
- Did VIES Answer?
- Any Tries Left?
- Hold The Draft While VIES Is Down
- Keep The Case Once Held
22 steps in total.
Similar automations
Security & ComplianceVerify phone numbers by SMS OTP and log verified numbers to Google Sheets16 stepsFinance, Invoices & AccountingUpdate HubSpot and Alert Slack on Paid Stripe Invoices8 stepsFinance, Invoices & AccountingMark HubSpot Deals Paid from Stripe Invoices9 stepsDocuments, PDF & OCRGenerate ZUGFeRD e-invoice PDFs from Stripe payments and email them with SMTP7 steps