Filling manual 1099-R

I have a foreign retirement account, and I did a full cash surrender and took full distribution.

How do I report this as a 1099-R , as the company does not issue one?

I know the Gains (after converting to USD).

Is the box 2, taxable account  equals Total contribution(box1)? What will be the distribution code?

I assume the its long term capital gains tax and not ordinary tax based on my tax bracket