Title: Invoice numer
Last modified: August 21, 2016

---

# Invoice numer

 *  Resolved [jfricke](https://wordpress.org/support/users/jfricke/)
 * (@jfricke)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/invoice-numer/)
 * Is it possible to print on the invoice not only the order but also the invoice
   number? The invoice number needs to be sequential as well.
 * Thanks a lot
 * Jacob
 * [https://wordpress.org/plugins/woocommerce-delivery-notes/](https://wordpress.org/plugins/woocommerce-delivery-notes/)

Viewing 1 replies (of 1 total)

 *  [piffpaffpuff](https://wordpress.org/support/users/chabis/)
 * (@chabis)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/invoice-numer/#post-4789918)
 * yes, you can, if you have a plugin installed that generates invoice numbers for
   you. woocommerce and woocommerce delivery notes has no concept of invoice numbering,
   so you need [another plugin](http://docs.woothemes.com/document/woocommerce-print-invoice-packing-list/)
   that can do that (but not this one).
 * otherwise, in the faq you can learn how to add custom fields to the print template:
 * [http://wordpress.org/plugins/woocommerce-delivery-notes/faq/](http://wordpress.org/plugins/woocommerce-delivery-notes/faq/)
 * >  **How can I add some more fields to the order info section?**
   > Use the wcdn_order_info_fields filter hook. It returns all the fields as array.
   > Read the WooCommerce documentation to learn how you get custom checkout and
   > order fields. Tip: To get custom meta field values you will most probably need
   > the get_post_meta( $order->id, ‘your_meta_field_name’, true); function and 
   > of course the your_meta_field_name.
   > An example that adds a ‘VAT’ and ‘Customer Number’ field to the end of the 
   > list. Paste the code in the functions.php file of your theme:
   >     ```
   >     function my_custom_order_fields( $fields, $order ) {
   >         $new_fields = array();
   > 
   >         if( get_post_meta( $order->id, 'your_meta_field_name', true ) ) {
   >             $new_fields['your_meta_field_name'] = array(
   >                 'label' => 'VAT',
   >                 'value' => get_post_meta( $order->id, 'your_meta_field_name', true )
   >             );
   >         }
   > 
   >         if( get_post_meta( $order->id, 'your_meta_field_name', true ) ) {
   >             $new_fields['your_meta_field_name'] = array(
   >                 'label' => 'Customer Number',
   >                 'value' => get_post_meta( $order->id, 'your_meta_field_name', true )
   >             );
   >         }
   > 
   >         return array_merge( $fields, $new_fields );
   >     }
   >     add_filter( 'wcdn_order_info_fields', 'my_custom_order_fields', 10, 2 );
   >     ```
   > 

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/woocommerce-delivery-notes/assets/icon-256x256.jpg?rev=2829362)
 * [Print Invoice & Delivery Notes for WooCommerce](https://wordpress.org/plugins/woocommerce-delivery-notes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-delivery-notes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-delivery-notes/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-delivery-notes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-delivery-notes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-delivery-notes/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [piffpaffpuff](https://wordpress.org/support/users/chabis/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/invoice-numer/#post-4789918)
 * Status: resolved