Invoice requests whose ΑΦΜ fails the check digit
Spot 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.
- Difficulty
- Beginner
- Time
- about 15 min
List the orders of the last [7] days where the customer asked for an invoice and the ΑΦΜ fails AADE's check digit. For each one, give me the order number, date, total and status, so I can find it in wp-admin. Add a private note to each of those orders saying [ΑΦΜ fails the check digit: call the customer before the invoice is issued]. Don't email the customers.
Already connected?
If SAR is already in your AI app, this is enough:
Find this week's invoice requests with a ΑΦΜ that fails the check digit and add a private note to each.
What happens
- The AI app reads how the last days' orders are moving and picks out invoice requests whose ΑΦΜ fails AADE's check digit. It gets order numbers and counts only, never the tax numbers or who the customers are.
- It reads each flagged order: items, totals, payment method and status, without personal data.
- It adds your private note to each order. Private notes are for the shop only and are added at once; a note to the customer would be emailed, so it would wait for your approval.
- You open the orders in wp-admin and check the ΑΦΜ with the customer before the invoice is issued.
Approvals involved
Worked out from the tools this recipe uses.
wordpress_greek_operationsHow orders are movingNonewordpress_woo_get_orderGet an orderNonewordpress_woo_add_order_noteAdd an order noteDepends on the change
What you get
A short list of invoice requests to check with the customer before invoicing. Only the check digit is tested: a ΑΦΜ that passes it can still be mistyped or belong to someone else.
Related recipes
- 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 10 minA 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.
- 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.