Custody transfer refers to the process of transferring ownership and accountability of a commodity, typically in the oil and gas industry, from one party to another. This process involves precise measurement and documentation to ensure accurate accounting and compliance with legal and contractual obligations.