• Hi,

    Is adding the VAT number to PDF invoices (from WPOvernight) done automatically or do I need to use a snippet?

    I have found this snippet but it’s not working….

    /** * Show the VAT number on the invoice */ add_action( ‘wpo_wcpdf_after_billing_address’, function($template_type, $order){ if( $template_type == ‘invoice’) { if ( $vat_number = $order->get_meta( ‘_billing_eu_vat_number’ ) ){ echo ‘<div>VAT: ‘ . $vat_number . ‘</div>’; } } }, 10, 2 );

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Add VAT Number to PDF Invoices’ is closed to new replies.