I have created an Invoice with "Series" = "X" and then save as xml. Is there a way to ReadXML and change series to manual and set document Number?
mainInvoice.SaveXML("c:\\Invoice.xml");
remoteInvoice.Browser.ReadXml("c:\\Invoice.xml", 0);
remoteInvoice.Series = -1;
remoteInvoice.DocNum = mainInvoice.DocNum;
if (remoteInvoice.Add() != 0)
{
var err = remoteDiCompany.GetLastErrorDescription();
}