Setting charge type on sales invoice problem

Discussion in 'Developers Forum' started by CAVIAR, Apr 27, 2011.

  1. CAVIAR New Member

    Within Kashflow we have a sales type with code 4002. When we use the API to generate sales invoices in Kashflow from our CRM all the sales end up in account 9998-Other instead. We are setting the 'ChargeType' to 4002 which is, I'm guessing, wrong. How do I determine what key we should be passing in order to return 4002?

    Any help greatly appreciated
  2. DuaneJackson Administrator

    You need to use the ID of the code, not the human-friendly code number.

    Get this from any of the API calls that list codes or from the URL querystring within the App/UI

    Hope that helps.
  3. CAVIAR New Member

    Thank you Duane for your incredibly swift response. Greatly appreciated.

Share This Page