CustomerInvoices API call depreciated

Posts about the simPRO API. Help/support/how-to etc.
Forum rules
  • Check the documentation first. Before posting questions, please check the documentation to ensure it doesn't already cover what you need.
  • No spam. All automated messages, advertisements, and links to competitor websites will be deleted immediately.
  • Post in relevant sub-forums only. Messages posted in the wrong topic area will be removed and placed in the correct sub-forum by moderators.
  • Respect other users. No flaming or abusing fellow forum members. Users who continue to post inflammatory, abusive comments will be deleted from the forum after two warnings are issued by moderators.
  • Harassment. No threats or harassment of other users will be tolerated. Any instance of threatening or harassing behavior is grounds for deletion from the forums.
  • Adult content. No profanity or pornography is allowed. Posts containing adult material will be deleted.
  • Bandwidth. All images and signatures must be 500 x 500 pixels or smaller. Posts containing over-sized images and signatures will be removed.
  • Illegal content. No re-posting of copyrighted materials or other illegal content is allowed. Any posts containing illegal content or copyrighted materials will be deleted.
Post Reply
sathish
Posts: 34
Joined: Wed Apr 17, 2019 7:24 am

CustomerInvoices API call depreciated

Post by sathish » Mon Apr 22, 2024 6:59 am

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
AidenTew
Posts: 25
Joined: Fri Mar 01, 2024 4:15 am

Re: CustomerInvoices API call depreciated

Post by AidenTew » Tue Apr 23, 2024 5:13 am

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
Aiden
API Developer | Simpro Software Group
Post Reply