At present, it seems to only be possible to post journals to Xero through the connected service link using accounting codes set at the pay code or department level. It would be useful for this to also work with Analysis Categories.
An example of this would be where there are separate codes for Gross Wages, Employer NICs and Employer Pension for 2+ departments.