| FINANCIAL_AUTO_PAYMENT | FINANCIAL Endpoint | |
| /ondemand/financial/?method=FINANCIAL_AUTO_PAYMENT | ||
| In order to automatically create a Payment off an Expense: |
| 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 |