Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Create VendorBill with expense line using Rest API
I am trying to create a VendorBill with expense line and getting INVALID_CONTENT error, which is not very helpful to resolve.
Below is the Request JSON body.
{ "customForm": {"id": "220"}, "entity": {"id": "2064"}, "tranId": "GYANREF1234", "subsidiary": {"id": "88"}, "memo": "Vendor Bill created via REST API", "tranDate": "2025-05-13T00:00:00Z", "account": "981", "postingperiod": "75", "dueDate": "2025-05-31T00:00:00Z", "department": {"id": "103"}, "class": {"id": "122"}, "approvalStatus": { "id": "1", "refName": "Pending Approval" }, "custbody_northspyreid": "GTest1", "expense": [ { "account": {"id": "915"}, "department": {"id": "103"}, "class": {"id": "122"}, "cseg_driftwood_proj": {"id": "653"}, "memo": "Line Description Test1", "amount": 3000.55 } ] }
Below is the Response JSON Body:
{ "type": "https://www.rfc-editor.org/rfc/rfc9110.html#section-15.5.1", "title": "Bad Request", "status": 400, "o:errorDetails": [ { "detail": "Invalid content in the request body.", "o:errorCode": "INVALID_CONTENT" } ]}