Where is the VAT number stored in the database
The Easy Digital Downloads EU VAT plugin stores the VAT number in a database field called _edd_payment_vat_number
in the wp_postmeta
table.
You can use this when importing or exporting customer orders and VAT numbers.
To fetch the VAT number from the database, you would use:
$vat_number = get_post_meta( $payment->ID, '_edd_payment_vat_number', true );
If searching the knowledge base hasn't answered your question, please contact support.