If I'm using an offshore broker that doesn't provide a 1099-B, I can supply some of the basic information required but what do I do when it tells me to upload my 1099-B?

I have all of my individual transactions on a broker statement and can calculate some of the basic numbers required. But does this mean I need to generate my own 1099-B from scratch and figure out how to fill in all of the boxes?