static void CancelTest() { var cli = new ProFactClient (USERNAME, ProFactClient.URL_TEST); var ret = cli.Cancel ("AAA010101AAA", "B1930368-6194-447D-8F41-95FAF528E72B"); Console.WriteLine ("Cancel: {0}", ret); }
static bool ProFactCancel(FiscalDocument item) { var cli = new ProFactClient (WebConfig.ProFactUser, WebConfig.ProFactUrl); return cli.Cancel (item.Issuer.Id, item.StampId); }