Title: Adding VAT for export
Last modified: January 22, 2019

---

# Adding VAT for export

 *  ResolvedPlugin Author [Odido](https://wordpress.org/support/users/odido/)
 * (@odido)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/adding-vat-for-export/)
 * Nevermind, I was able to add it. Thanks again for making the plugin super simple
   to read. I’m not a programmer, but managed to do it 🙂
 * using this reference,
    [https://wordpress.org/support/topic/add-vat-number-to-invoice/](https://wordpress.org/support/topic/add-vat-number-to-invoice/)
 * \`
    add_filter( ‘wf_pklist_modify_order_date’, ‘wf_add_vat_number_in_invoice’,
   10,3 ); function wf_add_vat_number_in_invoice($order_date, $order, $action) {
   $vatnumber=’VAT Number:’ . get_post_meta((WC()->version < ‘2.7.0’) ? $order->
   id : $order->get_id(),’_vat_number’,true); return $order_date.'<br/>’.$vatnumber;}`
 * For VAT I’m using the plugin [https://woocommerce.com/products/eu-vat-number/](https://woocommerce.com/products/eu-vat-number/)
 * I added the following to your code:
 * case “_vat_number”:
    $adlib_bestelldaten[‘rechnung_vat’]=ersetzeSonderzeichen(
   $wertPost->meta_value); break; and
 * fwrite($datei,”\t\t\t\t\t\t\t\t<VAT>”.$adlib_bestelldaten[‘rechnung_vat’].”</
   VAT>\n”);
 * Thx for your contribution Sagar
    Oliver

The topic ‘Adding VAT for export’ is closed to new replies.

 * ![](https://ps.w.org/adlib-woo2lex-manuell/assets/icon-256x256.png?rev=1111815)
 * [Manueller Datenexport von WooCommerce nach Lexware](https://wordpress.org/plugins/adlib-woo2lex-manuell/)
 * [Support Threads](https://wordpress.org/support/plugin/adlib-woo2lex-manuell/)
 * [Active Topics](https://wordpress.org/support/plugin/adlib-woo2lex-manuell/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/adlib-woo2lex-manuell/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/adlib-woo2lex-manuell/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Odido](https://wordpress.org/support/users/odido/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/adding-vat-for-export/)
 * Status: resolved