An invoice is a commercial document that itemizes and records a transaction between a buyer and a seller, indicating the products, quantities, and agreed prices for goods or services rendered. It serves as a legal record of the transaction, allowing both parties to ensure accurate billing and payment.