Product Icon

FreeAgent Sync for WooCommerce

Providing a flexible integration between your FreeAgent account and your WooCommerce stores

Use alternative date

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.

Author

Christopher Peacock

Current Status

In Progress

Last updated: December 3, 2024

1 comment

Log in to comment on this feature request.

  1. Joey says:
    Product Developer December 5, 2024 3:01 pm

    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.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.