code: def get_invoices(self, **kwargs) -> List[Dict]:
      connection = self.handler.connect()
      invoices = paypalrestsdk.Invoice.all(kwargs, api=connection)
      return [invoice.to_dict() for invoice in invoices["invoices"]]
  
imports: import paypalrestsdk
  import pandas
  from typing import Text, List, Dict
  from mindsdb_sql.parser import ast
  from mindsdb.integrations.libs.api_handler import APITable
  from mindsdb.integrations.handlers.utilities.query_utilities import SELECTQueryParser, SELECTQueryExecutor
label_desc: Use image node_id 3 for calling the InvoicesTable obj's underlying member method code with example usage: obj.get_invoices() and returns: unknown