FINANCIAL_INVOICE_MANAGE FINANCIAL Endpoint
  /rpc/financial/?method=FINANCIAL_INVOICE_MANAGE  
  Add or update an invoice.  
  Object: 5. Click here for more information.  
  Click here to learn about financials locking.  
  PARAMETERS TYPE NOTES
  DataReturn Text A comma delimited list of advanced search fields to be returned after a successful save
  Id Numeric  
  Remove Numeric Pass '1' to remove the item
       
  Area Numeric  
  CheckCredit Text (1) Y / N [default]. If set to Y, the system will look for any Credit Notes that can automatically be applied. If the Invoice has a ContactBusinessSentTo set, it will look for any Credit Notes with a matching id (ignoring the ContactPersonSentTo). Otherwise it will look for a match via ContactPersonSentTo. If there are multiple Credit Notes, the oldest Credit Note will be applied first
  ContactBusinessDeliverTo Numeric  
  ContactPersonDeliverTo Numeric  
  ContactBusinessSentTo Numeric  
  ContactPersonSentTo Numeric  
  DueDate Date If not set, will default based on the contact's payment terms
  DueDateTimeZone Numeric  
  Frequency Numeric 1=Daily,2=Weekly,3=Fortnightly,4=Monthly,5=Quarterly,6=Half Yearly,7=Yearly,8=Every Second Month,9=[Never] [default]
  Notes Text (2000)  
  Object Numeric Click here to see valid values
  ObjectContext Numeric In conjunction with LinkType, links the Invoice to something else in the system.
  Project Numeric Uses Profile Setting 262 to determine the default
  PurchaseOrder Text (20)  
  Reference Text (50) Defaults to INVnnnnnn.  The next value is held the business profile #7. See CORE_PROFILE_MANAGE. You can make invoice references go up by more than one, presumably to make your customers think that you are a bigger company than you are :) via Profile Setting 55
  Sent Text (1) Y / N.  The default is N, but this can be overriden by the Profile Setting 248
  SentDate Date  
  SentDateTimeZone Numeric  
  Status Numeric Create your own via SETUP_FINANCIAL_INVOICE_STATUS_MANAGE
  RETURN  
  id