InsertInvoiceLineWithInvoiceNumber -Error

Discussion in 'Developers Forum' started by uk101man, Aug 13, 2011.

  1. uk101man New Member

    Hi,

    Try to use InsertInvoiceLineWithInvoiceNumber but I receive the following message:

    "Object reference not set to an instance of an object."


    I'm calling:

    Code:
    KashFlowAPI.InsertInvoiceLineWithInvoiceNumber("username", "password", invnum, invline, out strStatus, out strStatusDetail);
    Any ideas?

    Thanks
  2. DuaneJackson Administrator

    Are you able to give us the raw XML your code is sending?
  3. uk101man New Member

    Don't worry, I've spotted my mistake.

    Note to self do not code @ weekends ;-)
  4. DuaneJackson Administrator

    Good to hear.

    It'd be good if you could post details here.

    There's nothing more frustrating than googling an error and finding someone who says they've solved it but doesn't say how : )

Share This Page