I suppose we don't encourage Commodore stuff here but at least you are not driving a Hyundai (or ARE you?).
The XE efi throttle body is the one to get - it has the old style Bosch LE Jetronic switch TPS that you need. Although I think SOME XF throttle bodies may have the bosses for the switch fastening screws on them, but I don't know if the old switch will bolt straight on.
It will be best to get an XE item.
Maybe buy a FORD and get rid of that Holden junk.