FINANCIAL_AUTO_RECEIPT FINANCIAL Endpoint
  /ondemand/financial/?method=FINANCIAL_AUTO_RECEIPT  
  In order to automatically create a Receipt off an Invoice:

  • The Invoice must be marked as Sent='Y'
  • Must have a bank account set up

As long as the Profile Setting 239 is not set to 'N', the receipt's line items will automatically be created. Otherwise, you need to do it manually.

 
  PARAMETERS TYPE NOTES
  Amount Numeric Amount of the receipt. If left blank (or set to 0), defaults to the amount of the invoice
  BankAccount Numeric Optional. Defaults to the BankAccount with DefaultReceiptAccount = 'Y'
  Id Numeric Mandatory. Invoice ID
  PaymentMethod Numeric As per FINANCIAL_RECEIPT_MANAGE
  PaymentReferenceTransactionReference Text (50)  
  ReceiptDate Date Defaults to Today
  RETURN  
  receipt Id of created Receipt