Page 1 of 1
How to create an invoice for the Customer
Posted: Thu Oct 07, 2021 8:21 am
by swadeshihut
Hi Muqeet,
Greetings of the day..!!
I am using simPRO api to generate invoice for customer and I saw some of the api is deprecated for Customer Invoice.
I am following this
https://developer.simprogroup.com/apido ... 21725e0474
I am not seeing customer field in post request to associate the invoice with an customer.
Can you please help me steps to follow up to create an invoice for Customer through api.
I am looking forward to hearing from you soon.
Thanks & Regards,
Gaurav Kumar(Swadeshihut)
Re: How to create an invoice for the Customer
Posted: Thu Oct 07, 2021 11:33 pm
by Muqeet
Hey Gaurav,
In simPRO you can not create an invoice for a customer.
An invoice can be created for a job, which is associated with a customer. When using the following documentation link to create a new invoice, please provide job(s), which will automatically create an invoice for the customer assigned to the job(s).
https://developer.simprogroup.com/apido ... 21725e0474
Re: How to create an invoice for the Customer
Posted: Fri Oct 08, 2021 7:15 am
by swadeshihut
Hey Muqeet,
Thanks for your instruction as I am already following same url and when I post data I am getting error "The job you are trying to invoice has already been invoiced"
Basically My goal to to create invoice in simPRO for different - different amount like $20 and $25 etc so how I can achieve this.
My current implementation or plan is:-
==>First I have to create job
==>Then create the invoice under this job
So Think I am doing wrong anywhere Like How to add amount in Job or Invoice for $20 or $25 etc. What type of job will be suitable for this goal.
Thanks & Regards
Gaurav(Swadeshi)
Re: How to create an invoice for the Customer
Posted: Sun Oct 10, 2021 11:54 pm
by Muqeet
I believe its happening because the job you create does not have any items and therefore total amount is 0. Creating invoice will throw an error when the total amount of the job provided is 0.
- Make sure you create a job with cost center items, have total amount greater than 0.
- Create an invoice like defined in the documentation.