When attempting to add a custom line item to a linked account, the account dropdown likely will not show the linked account.
If you want to add a custom line item to a linked account then you must select that linked account's payer account in the first dropdown. From there, a second dropdown will appear where you can select the desired linked accounts: