Invoice Creation using API

Invoice Creation using API

Hi ,

 Iam getting error like this : string(50) "{"code":1002,"message":"Estimate does not exist."}" while creating invoice through API.  How to solve this.

Thanks in advance.