RE: 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

accateo Rookie Asked on July 14, 2023 in Other.
Add Comment
2 Answers

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

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.