Woocommerce link with Xero to send a credit note to Xero on product refund

It would be good for Woocommerce to send a credit note to Xero automatically when a product or order is partially or fully refunded in WooCommerce.

Current Status


Last updated: August 15, 2019


Log in to comment on this feature request.

  1. Shashank Kaushal says:

    You can use “woocommerce_order_refunded” action hook to perform the credit note creation operation over xero.

    get the order id and rufund id process the refund amount and create the xml for credit notes.

  2. Mert says:

    This definitely needs to be added as a feature, when I try to filter orders by “refunded” within woocommerce, it only shows me fully refunded orders, doesn’t show partially refunded orders, so it’s a time consuming process to find, open order, create credit note in Xero. If this could be automated, would save time and eliminate human error! Not sure how to achieve @Shashank’s suggestion?

  3. Lara says:

    Hi, if I process a partial refund in a Woo commerce order that is paid, in process and not completed will the refund/credit note get sent through to Xero once order is marked completed or will I have to generate a credit note in Xero manually and @Shashank will that bit of code help this if this is the case.

  4. Anonymous says:

    This should definitely be added. Can’t believe that it is not currently part of this integration. It is a core feature of WooCommerce and should be supported within the Xero extension plugin. At the moment, an accountant must manually raise a credit note – not a good solution considering how easy this would be to automate / implement within this plugin.

  5. Vicki says:

    i am surprised this hasn’t been solved, given that it’s a core function of ecommerce and for any site with reasonable traffic, there will be a signifcant number of refunds. could you please address it? thx

  6. FinanceManu says:

    Credit notes are part of accounting process, same as invoicing so I think it’s a major flaw from WooCommerce not to provide this document. I use other e-commerce platforms and there are no issues with credit notes.

  7. Rico says:

    I just realized this shortcoming on the Xero plugin as well. I am now testing Parex bridge which does support credit notes.

    However, i still wish the most official plug-in/integration would already take care of refunds and credit notes.

    The Woocommerce team should also make it obvious in their documentation.


The most customizable eCommerce platform for building your online business.

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