Payments are related to specific invoices and customers.
(It answers the questions: Toward which invoice should this payment be applied? Who paid it?)