Add the ability to set the tracking category(s) for invoices sent to Xero.
Xero has the ability to add tracking categories to items, so you can break down income & expenditure by category. For example, like to separate things out by sales channels. So, it would be very useful if invoices coming from WooCommerce were automatically tagged with the right sales channel.
Open
Last updated: January 6, 2020
Log in to comment on this feature request.
The code has been removed from my other comment, so it’s not correct as displayed, sorry guys đ
We had to add Xero tracking category support ourselves. It’s a shame this project isn’t open-source we could submit a PR.
If you want to hard code a tracking category in yourself here’s a quick hack..
includes/class-wc-xr-line-item.php line 595 +
$xml .= ‘My Category NameMy Option Name’;
The default tracking categories set on the Customer level aren’t even populating. They’re literally called “defaults”, and you can’t even get them to DEFAULT populate into the empty tracking category fields from WooCommerce invoices. It really should not be that difficult to allow this. It’s really quite baffling. This has been an issue since 2020…
You can already do this in the Xeroom WooCommerce to Xero plugin.
Please add this feature
Yeah, really need this badly now! Considering moving to Shopify : (
yup, it’s disappointing this is missing. a filter hook similar to this one would be enough: ‘woocommerce_xero_line_item_item_code’
Hi,
is a great feature of xero, we ask you to implement it
We are currently separating sales categories manually, which is time consuming. Having product categories automatically mapped to Xero sales categories would be fantastic.
At present, there doesnât appear to be the automated functionality to add what Xero calls âTracking Categoriesâ to sales invoices pushed through directly from WooCommerce.
This would be a great feature as it would make the plug-in 100% automated
This feature of Xero is being used more and more, so it would be great to automate this coming from Woo. Even if it was just a filter like woocommerce_xero_line_item_account_code.
this would be bloody useful