Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
We’re excited to announce that the 2025 Community Recap is now available! This special recap highlights the amazing contributions and achievements of our members over the year and celebrates the collective success of our community.
Check your personalized recap to see the impact you made in 2025 and how your efforts helped shape our community’s growth and success.
View Your 2025 Community Recap
Thank you to everyone for your passion, collaboration, and support. Here’s to building an even stronger community together in the year ahead!
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" } ]}