RE: Creating invoices via REST API

I am having trouble with creating invoices via the rest API. In particular how to correctly add a line item. Does anyone have any sample requests for creating an invoice including invoice items?

Amos Rookie Asked on July 28, 2020 in SuiteTalk.
Add Comment
4 Answers

Hi,

It seems that location may be a challenge based on this other recent question:
https://netsuiteprofessionals.com/question/set-item-location-via-rest-api-when-creating-a-new-sales-order/

I’ve just done a quick test with Department and that seems to have the same issue too for some reason!?!
There’s some suggestions on that other ticket as to what you might be able to do to work around this apparent limitation.

That said, I don’t believe that you should have any issues with custom fields based on my testing – just use the field name in the line level object of the JSON.

Thanks,

Chris

Intermediate Answered on July 29, 2020.
Add Comment

Your Answer

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