Page 1 of 1

CustomerInvoices API call depreciated

Posted: Mon Apr 22, 2024 6:59 am
by sathish
Hi Team,

We're using customerInvoices API call for one of the simpro client to retrieve invoices. Currently it says the API is depreciated, can you please let me know what is the alternate API call for retrieving invoices.

https://XXXX/api/v1.0/companies/X/custo ... edit=false

Regards,
Sathish Kumar.R

Re: CustomerInvoices API call depreciated

Posted: Tue Apr 23, 2024 5:13 am
by AidenTew
Hi Sathish,

you can use https://developer.simprogroup.com/apido ... g/Invoices

with your example:

/api/v1.0/companies/{companyID}/invoices/?columns=ID,Customer,RecurringInvoice,Status,Stage,IsPaid,Jobs,Total,DateIssued,DateModified

You would not need to include isCredit=false anymore.

to get Credit Notes you can use a separate endpoint here https://developer.simprogroup.com/apido ... edit-Notes