A bill of lading is a legal document issued by a carrier or its agent that serves as a receipt of goods, as well as a contract of carriage outlining the terms and conditions of the transportation.