FINANCIAL_PAYMENT_EXPENSE_SEARCH FINANCIAL Endpoint
  /rpc/financial/?method=FINANCIAL_PAYMENT_EXPENSE_SEARCH  
  The searches the link between Payments and Expenses. For information on how to use Advanced Searches, click here  
  DETAILS    
  Prefix PaymentExpense  
  SUB SEARCHES    
  Expense FINANCIAL_EXPENSE_SEARCH  
  ExpenseLineItem FINANCIAL_LINE_ITEM_SEARCH  
  Payment FINANCIAL_PAYMENT_SEARCH  
  PaymentLineItem FINANCIAL_LINE_ITEM_SEARCH  
  PARAMETERS TYPE NOTES
  Amount Numeric  
  AppliesDate Date  
  Expense Numeric Id of the Expense
  ExpenseText Text (50)  
  ExpenseLineItem Numeric  
  ExpenseLineItemText Text (50)  
  Id Numeric  
  Notes Text (2000)  
  Payment Numeric Id of the Payment
  PaymentText Text (50)  
  PaymentLineItem Numeric  
  PaymentLineItemText Text (50)  
  Tax Numeric  
       
  Standard System Parameters   Click here for more information
  EXAMPLE
  1. Get the Amount, Payment's Reference, and Expense's Reference
  var oAdvancedSearch = new AdvancedSearch();
oAdvancedSearch.endPoint = 'financial';
oAdvancedSearch.method = 'FINANCIAL_RECEIPT_INVOICE_SEARCH';
oAdvancedSearch.addField('paymentexpense.amount,paymentexpense.payment.reference,paymentexpense.expense.reference');