Does someone know the coding needed to have the products item code on the invoice created in Xero?
According to Woocommerce: "Can I map products or product categories to different Xero account codes?"
This is not yet an option in the Xero plugin, however, it is theoretically possible by creating a custom function which hooks into the woocommerce_xero_line_item_account_code filter. Your custom function would need to check the category ID or product ID and return an integer representing the Xero sales account code(must be a Revenue/Sales account type). https://docs.woocommerce.com/document/xero/#section-18
If this is all making sense to you, we need your assistance. Get in touch asap pls.
Using hooks to trigger items in Xero
This should probably be tagged "Available Positions".
We'll need a Mod to do that. That will put it here: Available Positions