Title: Invoice Hook
Last modified: January 7, 2019

---

# Invoice Hook

 *  Resolved [Jessie](https://wordpress.org/support/users/jcelestial047/)
 * (@jcelestial047)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/invoice-hook/)
 * Is there a hook that will send an invoice to specific variation?
 * Thank you

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/invoice-hook/#post-11063469)
 * Hello Jessie,
    Could you elaborate a bit more on what you mean by ‘send an invoice
   to specific variation’? Our plugin primarily works with the WooCommerce order
   emails and you can attach the invoice to any of them via the plugin settings (
   _WooCommerce > PDF Invoices > Documents > Invoice > “Attach to:”_).
 *  Thread Starter [Jessie](https://wordpress.org/support/users/jcelestial047/)
 * (@jcelestial047)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/invoice-hook/#post-11063708)
 * Hi,
 * For example
 * I have a variation type of PDF, and Hard Copy but I want to send invoice to PDF
   variation.
 * thanks
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/invoice-hook/#post-11063954)
 * I’m afraid I still don’t completely understand… What is this “variation type 
   of PDF” and how did you create it? What is the “Hard Copy”? Are those separate
   templates? I can’t see what your setup looks like and this sounds quite custom
   so I need a lot more information 🙂
 *  Thread Starter [Jessie](https://wordpress.org/support/users/jcelestial047/)
 * (@jcelestial047)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/invoice-hook/#post-11063978)
 * PDF and Hard copy is an option to my product.
 * but I just want to send invoice to PDF option, is it clear?
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/invoice-hook/#post-11064156)
 * I see, you could use the `wpo_wcpdf_custom_attachment_condition` filter. Here’s
   an example: [https://wordpress.org/support/topic/deactivate-invoices-for-a-specific-product/#post-10652434](https://wordpress.org/support/topic/deactivate-invoices-for-a-specific-product/#post-10652434)
 *  Thread Starter [Jessie](https://wordpress.org/support/users/jcelestial047/)
 * (@jcelestial047)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/invoice-hook/#post-11064391)
 * Thank you very much will do.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Invoice Hook’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-pdf-invoices-packing-slips/assets/icon-256x256.
   png?rev=2189942)
 * [PDF Invoices & Packing Slips for WooCommerce](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Jessie](https://wordpress.org/support/users/jcelestial047/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/invoice-hook/#post-11064391)
 * Status: resolved