In a B2B context, the accounts payable department of the selling business is the entity responsible for ensuring that outstanding invoices are paid on time.