How to change Sales Type while adding invoice

Discussion in 'Developers Forum' started by neotericuk, Apr 15, 2011.

  1. neotericuk New Member

    Hi,

    While adding invoice i want to add delivery charges for invoice?
    for that i want to change the sales type, so how can i do so?
  2. DuaneJackson Administrator

    Hi,

    Is this via the API?

    You'd just make sure a Sales Type for Delivery is created, then in the Invoice Line object you'd put the Sales Type ID in the "chargetype" property
  3. neotericuk New Member

    Thanks for the reply

    Yes i am using API

    What about the other fields Quantity, Description, Rate, VAT and VAT Amount.
    and Will it work with same invoice class object and comes under same invoice.
  4. knu New Member

  5. neotericuk New Member

    I am using API
    Now i am able to add chargetype and all other fields successfully but How can i select the product from the drop down?
    Or what should i have to pass through the API while adding invoice so that it will automatically select one product when i am checking the details of that product.

Share This Page