1. Help
  2. Orders

Greek invoice fields: VAT number, tax office, activity

How the service knows an order wants an invoice, and where it reads the details from.

WooCommerce has no fields of its own for the Greek VAT number (ΑΦΜ) and tax office (ΔΟΥ). The plugin or theme you use at checkout adds them and stores them as order fields. In Order settings, tab “Invoices and customers”, you tell the service what those fields are called in your shop.

The fields

Document type field

The order field that says whether the customer asked for an invoice or a receipt. If you leave it empty, the order counts as an invoice whenever a VAT number is present.

Values that mean invoice

The values of the field above that mean “invoice”, separated by commas. Upper and lower case are the same.

VAT number field

The order field with the VAT number.

Tax office field

The order field with the tax office.

Business activity field

The field with the profession or activity.

Company name field

If you leave it empty, the order’s billing company is used.

How do I find the field names

Ask whoever set up the shop’s checkout, or look at the documentation of the invoice plugin you use. The names are technical, for example _billing_vat.

What happens to an invoice order

  1. The VAT number is checked. If it is not valid, the order is not sent: invalid_vat_number.
  2. The customer is looked up in the ERP by VAT number.
  3. If there is none, one is created from the order’s details and the customer creation settings.
  4. If more than one is found, the order stops: customer_ambiguous.