FINANCIAL_AUTO_PAYMENT FINANCIAL Endpoint
  /ondemand/financial/?method=FINANCIAL_AUTO_PAYMENT  
  In order to automatically create a Payment off an Expense:

  • There can be no other payments linked to the expense
  • Must have a bank account set up
  •  
      PARAMETERS TYPE NOTES
      Amount Numeric Amount of the payment. If left blank (or set to 0), defaults to the amount of the expense
      BankAccount Numeric Optional. Defaults to match the Expense, and if not set, then the BankAccount with DefaultPaymentAccount = 'Y'
      Id Numeric  Mandatory. Expense ID
      PaidDate Date Defaults to Today
      RETURN  
      payment ID of created Payment