Payments are frequently preceded by an invoice or bill, which follows the supply of goods or services, but in some industries (such as travel and hotels) it is not uncommon for pre-payments to be required before the service is performed or provided. In some industries, a deposit may be required before services are performed, which acts as a part pre-payment or as security to the service provider. In some cases, progress payments are made in advance, and in some cases part payments are accepted, which do not extinguish the payer's legal obligations. The acceptance of a payment by the payee extinguishes a debt or other obligation.