A business customer's ΑΦΜ checked with VIES and AADE before you invoice (beta)
Before invoicing a business, check its ΑΦΜ: the check digit, VIES and, with your shop's own AADE codes, its name, ΔΟΥ and whether it is active.
- Difficulty
- Beginner
- Time
- about 10 min
Order [order number] asks for an invoice for [company name], ΑΦΜ [ΑΦΜ], ΔΟΥ [ΔΟΥ]. Check the ΑΦΜ: its check digit, VIES, and AADE's register with my shop's own codes. Tell me the verdict, and whether the name, trade name, ΔΟΥ and active status match what the customer gave. Add a private note to the order with the result. Don't contact the customer.
Already connected?
If SAR is already in your AI app, this is enough:
Check ΑΦΜ [ΑΦΜ] with VIES and AADE for order [number] and note the result on the order.
What happens
- The AI app checks the ΑΦΜ in three steps: its check digit; VIES with the EL prefix, which shows whether it is registered for VAT; and, with your own AADE codes, AADE's register: name, trade name, ΔΟΥ, active or not, natural person or company, and main activity. A sole trader's address is kept to its area.
- The verdict is one of: registered, inactive, not registered, not in VIES, check digit failed, or unknown when no register answered, which says nothing either way about the number.
- It reads the order, without personal data, and adds your private note. Private notes are for the shop only and are added at once.
- Each business may use only its own AADE codes, and the check runs at most 30 times an hour.
Approvals involved
Worked out from the tools this recipe uses.
wordpress_gr_afm_checkCheck a Greek ΑΦΜNonewordpress_woo_get_orderGet an orderNonewordpress_woo_add_order_noteAdd an order noteDepends on the change
What you get
You issue the invoice knowing whether the details match AADE's register, or call the customer first. The check helps; you and your accountant confirm what goes on the invoice.
Related recipes
- Greek market · about 15 minInvoice requests whose ΑΦΜ fails the check digitSpot orders where the customer asked for an invoice but typed a ΑΦΜ (Greek tax number) that fails AADE's check digit, before the invoice goes out.
- Greek market · about 10 minA business customer's EU VAT number checked before you sell without VATCheck a business customer's EU VAT number with VIES before an intra-EU sale without VAT, and keep the result as a private note on the order.
- Greek market · about 15 minThe week's invoice orders checked before they go to your accountant (beta)Each week, find the orders that asked for an invoice but lack a valid ΑΦΜ, ΔΟΥ or company name, checked with VIES and AADE, before your accountant sees them.
Try it on your own site
Install the plugin, add SAR to your AI app and paste the prompt. Free to start.