When a WooCommerce order is created the date of that order is what is used as the Invoice Date in FreeAgent.
In some instances, such as reservation/booking websites, the invoice date is only when the booking has started. For instance, if someone is using a hair dresser booking website, the customer will make a reservation via Woo. When they actually have their appointment, that is the date the invoice should be dated.
We would like to have the ability to take a date from the Woo order, maybe contained in the product details or custom field, and have the choice to select where that date is picked from, and then that is set as the invoice date.
A quick test using $invoice_details[‘dated_on’] from the woocommerce-freeagent-order.php file, when we add a manual date as a string, e.g. $invoice_details[‘dated_on’] = ‘2024-12-10’; the invoice is created in FreeAgent with that date, so the feature request would take a custom setting from this variable and pass in the value to create the correct invoice date.
In Progress
Last updated: December 3, 2024
Log in to comment on this feature request.
Thanks for the request, we will be adding in a filter on the date applied to an invoice to allow further customisation of this if the order date is not applicable.