Retrieving invoice using invoice no. looks a bit dodgy

Discussion in 'Developers Forum' started by Peter Bowen, Nov 27, 2008.

  1. Peter Bowen New Member

    Greetings,

    The GetInvoice operation uses InvoiceNumber to identify the invoice in Kashflow. You can change the invoice number in Kashflow as long as you don't use a duplicate number.

    This gives rise to the scenario where we use the API to add the invoice to a customer record (say as a note to a CRM package like SugarCRM) and then the user changes the invoice number in Kashflow. It now looks like it is a different invoice because it has a different number.

    Would it be possible to retrieve invoices by InvoiceDBID which is unique (I think) and unchanging no matter what you do to the invoice number?

    I'd appreciate your thoughts on the matter.

    Cheers

    Pete
  2. DuaneJackson Administrator

    Hi Pete,

    That makes a lot of sense.

    We'll add a new GetInvoiceByID function ASAP.

    Duane
  3. Peter Bowen New Member

    Not to put any pressure on you, but do you have an idea of when ASAP is likely to be - I'd prefer to wait in releasing our debt collecting solution until this is ready but would rather not wait months.

    Cheers

    Pete
  4. Sandy New Member

    Retrieving invoice by id

    Peter

    A new function has been added to the API which will allow you to retreive an invoice using the id rather than using the invoice number.

    Thanks for pointing this out to us and any suggestion are very much appreciated.
  5. Peter Bowen New Member

    That was quick. I couldn't find the documentation in the manual. Can you point out where I can find details of the method.

    Cheers

    Pete
  6. Sandy New Member

    The API manual has now been updated with the new function.

    GetInvoiceByID

Share This Page