Title: Invoice date = order date
Last modified: January 26, 2021

---

# Invoice date = order date

 *  Resolved [tomas0606](https://wordpress.org/support/users/tomas0606/)
 * (@tomas0606)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/invoice-date-order-date/)
 * Hi,
 * Is it possible to add a code snippet that will make invoice_date to be the same
   as order_date without changing all historical invoices? I want to apply it only
   for orders from 2021 and later (date >= 1/1/2021).
 * Best regards,
 * Tom

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

 *  Plugin Contributor [Darren Peyou](https://wordpress.org/support/users/dpeyou/)
 * (@dpeyou)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/invoice-date-order-date/#post-13973323)
 * Hey [@tomas0606](https://wordpress.org/support/users/tomas0606/),
 * On the “Documents” tab of the plugin there is a setting called “Display Invoice
   Date”. This option has a drop-down with 3 values: “No”, “Invoice Date” & “Order
   Date”. The PDF documents are immutable so as long as you do not reload them with
   the latest settings, you will be good to go. For the January orders of 2021, 
   you will have to manually regenerate them. The link below will give you some 
   more helpful info regarding the regeneration of invoices.:
 * [https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/show-pdf-documents-with-the-latest-settings/](https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/show-pdf-documents-with-the-latest-settings/)
 * I hope this helps!
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/invoice-date-order-date/#post-13975535)
 * Small additional note to the above: regenerating the document will refresh those
   settings, but will not change the invoice date or invoice number. You can edit
   the invoice date in the “PDF Document Data” panel on the order details page for
   each invoice individually.
 *  Thread Starter [tomas0606](https://wordpress.org/support/users/tomas0606/)
 * (@tomas0606)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/invoice-date-order-date/#post-13984913)
 * Hi [@dpeyou](https://wordpress.org/support/users/dpeyou/), thanks for the answer.
   I’m afraid I wasn’t clear – I’m not looking for a change in the display matter,
   but in the info – I want that every invoice_date will be equal to its related
   order_date. means that if an order submitted on 3/3/2021 the invoice date will
   be 3/3/2021. Currently, I have invoices that hold a date that is later than its
   related order_date (cause of differences in the order statuses time).
    Does your
   solution solve it?
 * Thanks

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

The topic ‘Invoice date = order date’ 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/)

## Tags

 * [Invoice Date](https://wordpress.org/support/topic-tag/invoice-date/)
 * [order date](https://wordpress.org/support/topic-tag/order-date/)

 * 3 replies
 * 3 participants
 * Last reply from: [tomas0606](https://wordpress.org/support/users/tomas0606/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/invoice-date-order-date/#post-13984913)
 * Status: resolved