Add filter to Invoice status

I’ve made a change to the code in classes/class-wc-xr-invoice.php on line 335 that changes the status of a new order from APPROVED to DRAFT. This small change works perfectly with Xero for me. Would it be possible for the developers to add a filter to this line that allows a plugin to override the default order status? Even more useful would be an extra setting in the settings page (but i know that is asking a bit much).

Current Status


Last updated: June 24, 2016


Log in to comment on this feature request.


The most customizable eCommerce platform for building your online business.

  • 30 day money back guarantee
  • Support teams across the world
  • Safe & Secure online payment