Hi Sofia,
Account determination settings are done at COA level, but if you want FI posting for certain company codes to post to separate GLs, one possible option would be to create Account Assignment Reference (AAR) based on company codes. You can then use this AAR as a differentiating factor in account determination to post to separate GLs for the same update type and posting spec.
Regards
Amit