so department isn't exposed on the preferred form for the transaction, but is on the standard form (obviously).
I was importing using the standard form, but this wasn't actually changing the department when I went to check the transaction (either by querying the transaction's xml, or switching the transaction to the standard form in the UI).
The fix was to expose (un-hide) the department field on the preferred transaction form, and use that form for importing