public GIBInterface.UBLTR.InvoiceType Manipulated(GIBInterface.UBLTR.InvoiceType invoice) { string xml = invoice.CreateXml(); GIBInterface.UBLTR.InvoiceType r = GIBInterface.UBLTR.InvoiceType.Create(xml); r.AccountingSupplierParty.Party.PartyIdentification[0].ID.Value = Settings["VergiNumarasi"]; return(r); }
public GIBInterface.UBLTR.InvoiceType ManipulatedInvoice(GIBInterface.UBLTR.InvoiceType invoice) { if (Provider is IManipulatedInvoice) { return((Provider as IManipulatedInvoice).Manipulated(invoice)); } else { return(invoice); } }