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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
How to associate a 'charge' with an 'invoice' as a line item?
Hi,
I seem to be having trouble linking a charge to an invoice either via web services or via suitescript/restlets. Via the UI, you simply create a new invoice and click 'Add Charges To As Of Date' and the line item appears with its internal charge id.
Via code (web services or suitescript), it always requires an item and specific properties of an item to be set. So i've added the required fields and then tried to link the associated charge via 'chargeslist'. So my web service code at the moment looks like the following .... (but this just creates the invoice with the line item details but no charge id linked)
0