Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
NSC | Resolve Error: INVALID_VALUE Invalid value for the resource or sub-resource field 'expense'
This error is caused by a missing tag within the expense sublist.
Generally, the elements of a JSON file containing sublists should be as follows:
{"sublistId":{"items":[{"fieldId1": "value","fieldId2": 123}]}}
Sublists contain an item tag, that has an array that holds multiple objects. And each object in the item array contains one line. Therefore, it is important to always include the “items” element tag in your payload.
Here is an example of a vendor bill with two expense lines:
{
"entity":315,
"expense":{
"items":[{
"account":31,
"amount":100
},{
"account":42,
"amount":100
}]
}
}
Got any feedback? Let us know in the comments!
Refer a Member to the Community | Earn the Answer Accepter Badge | Vote for the contents you'd like to see
0
