REST API about invoices

Hi,

is it possibile, with REST API (https://system.netsuite.com/help/helpcenter/en_US/APIs/REST_API_Browser/record/v1/2023.1/index.html#/definitions/invoice) to get the invoices (using GET /invoices) by customer id?

If yes, is there a way to download the pdf of a specific invoice or to get the link of it?

 

Thanks

Rookie Asked on July 14, 2023 in Other.
Add Comment
2 Answer(s)

Hi,

This will give you a list of all invoice for a given customer:

/services/rest/record/v1/invoice?q=entity ANY_OF [<CUSTOMER_ID>]

Unfortunately, I don’t believe there is any way to download a PDF via the REST API. You would need a custom RESTlet.

Thanks,

Chris

Intermediate Answered on July 17, 2023.
Add Comment

hello i’m working with netsuite restapi, i need add item to netsuite. do you know anything about it?

 

Rookie Answered on August 18, 2023.

I see you have asked a separate question and will respond there:https://netsuiteprofessionals.com/blog/question/how-add-item-to-netsuite

on August 19, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Become a Sponsor   Become a Sponsor