Hi All
I'm trying to transform a sales order as per the example in the Oracle documentation.
https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_157901123882.html
{ "externalId": "test-niceo-invoice-postman", "trandate": "2026-07-02", "item": { "items": [ { "item": { "id": "543" }, "amount": 34.00 }, { "item": { "id": "843" }, "amount": 1.63 } ] }}
I've tried increasing and decreasing the values for "line," "orderLine," and "quantity" in various combinations.
But an error always appears.
{ "type": "https://www.rfc-editor.org/rfc/rfc9110.html#section-15.5.1", "title": "Bad Request", "status": 400, "o:errorDetails": [ { "detail": "Error while accessing a resource. Please choose an item to add.", "o:errorPath": "item.items[0]", "o:errorCode": "USER_ERROR" } ]}
If I use a payload without specifying the item lines, then it works... unfortunately, I also need to be able to issue partial invoices... we're talking about service items that don't require the shipping phase (Item Fulfillment).
Help me
Thanks