Hi:
Yes the Record Type Code and Transaction Code are required in the file.
If the bank does not provide that information you have to add a column to the file and add it manually.
My first column is my record type code and typed D for Detail for each line.
Hope this helps.