ship's papers: official papers which a ship is legally required to have; related to ownership, cargo, etc.
legal document: (law) a document that states some contractual relationship or grants some right
beam-ends: (nautical) at the ends of the transverse deck beams of a vessel;  means heeled over on the side so that the deck is almost vertical