I would actually suggest you to contact your receiving bank to provide official format description - sometimes it is called Message Implementation Guide.
of course, it could be a good idea to re-use some pre-delivered templates, like suggested above.
Kind regards,
Renatas