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 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
add invoice for partial fulfillment with an item quantity 0 giving error - is bug?
When I initialize an invoice from a partially fulfilled Sales Order, NetSuite returns an invoice with amount 0, costEstimate 0 for the item(s) in the item list that are not yet fulfilled.
When I do an addRequest with the result, I get code USER_ERROR with message: The minimum quantity for this item is 1.
Should I be pruning items with amount 0 out of the itemList before trying to add the invoice, or is the error a bug?
The process works fine if all items in the order are fulfilled. Code that looks for invoice for a sales order, totals to see if amount left to invoice, initialize invlice, and add below:
0