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.
Uploading Invoice details
Hi Experts
I want upload(add) Invoice detail by using Web service.
but i am not able to add it.
Please can any body suggest to how to do it.
what is the code should i write.
to add the invoice .I try following code it is not working
public void addinv()
{
this.login(true);
RecordRef custenty = new RecordRef();
custenty.internalId = "31203";
Invoice inv = new Invoice();
inv.entity = custenty;
RecordRef item1 = new RecordRef();
item1.internalId = "1539";
InvoiceItemList list = new InvoiceItemList();
// list.item =item1;
// list.item = 1539;
//cust.entityID= " xyx xx" ;
try
{
WriteResponse response = _service.add(inv);
Console.Write("Succes invoice");
}
catch (Exception e)