if you entered summary totals the IRS wants details of each sale. You cannot attach an external document to an e-filed return. If you enter each sale separately, the iRS does not get further documentation unless requested.
for summary totals entries:
If you’re considering using a substitute 1099-B in a foreign language, I recommend consulting with a tax professional or directly contacting the IRS to ensure compliance with their guidelines. They can provide accurate and up-to-date information based on your specific situation
when doing your US return amounts must be translated in US currency
if you e-file the 1099-B substitute would be separately submitted using form 8453. see instructions
https://www.irs.gov/pub/irs-pdf/f8453.pdf
the document from your financial institution is a detail report, not a summary.
The consolidated 1099 from U.S. broker is also a detail report.
TurboTax allows aggregation of sales by Box Category (referred to as "summary").
"uploading documentation of the sales summary is required by IRS. "
THere is considerable confusion on this topic brought about by misleading help text in the TurboTax program.
Without a 1099-B your sales are listed with Box C or F marked on Form 8949
sales details are what is required by the IRS.
If you e-File the Form 8949 showing individual transactions in detail, no mailing is necessary