Deductions & credits

The foreign taxes on your wages accrue in 2023. it just so happens you pay also them in 2023 

as for the FTC of your investments they accrue in 2023 but are paid in 2024

so I would select accrued.  this would also allow you to take credit for any taxes on your wages for 2023 that are not paid until 2024. A complication is that wages are of the general category whereas investment income is of the passive category. Take too much would likely be required amended returns. Too little amended returns at your discretion. The foreign tax credit is complex. certain credits may be limited to less than what you paid or accrued. 

you'll need to read the 1116 instructions each year 

https://www.irs.gov/pub/irs-pdf/i1116.pdf 

also IRS PUB 514

https://www.irs.gov/pub/irs-pdf/p514.pdf