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,

There’s a really handy sample Postman collection here:
https://netsuite.custhelp.com/app/answers/detail/a_id/86958

And based off that, the minimal amount you need for an Invoice will be something like this:

{
  "entity": { "id": 1 },
  "item": {
    "items":[
      {
        "item": { "id": 12 },
        "rate": 10,
        "amount": 10
      }
    ]
  }
}

Thanks,

Chris

Intermediate Answered on July 28, 2020.
Add Comment

Your Answer

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