Below are the scenarios when the "18X Credit for foreign resident capital gains withholding amounts" was filled with amounts.

1. Direct input via the Capital Gains tab:

Click "Income" >"Capital Gains" tab.

Scroll down to the lowest part of the section and click "Credit for foreign resident capital gains withholding amounts" if you want to manually add multiple line items with amount.

2. Amount coming from the Trust Section.

Activate "Trust" via Manage section

Via Item 13 ,select "Trust" from the Income tab, "Add Worksheet"

Open the Trust, and scroll through the section Foreign resident capital gains withholding

It will then inject through 18X Credit for foreign resident capital gains withholding amountsfrom "Capital Gain" section.