A written agreement (also called a written contract) is a document that contains the terms of an agreement between two or more parties.