Get your taxes done using TurboTax

According to the instructions:

 

Include state, local, and foreign income taxes you paid for the tax year that are attributable to net investment income......You can determine the portion of your state, local, and foreign income taxes allocable to net investment income using any reasonable method. 

 

See https://www.irs.gov/instructions/i8960#idm139952759584096