Beispiel #1
0
 public SunatManagerTests()
 {
     _manager = new SunatManager(new SolConfig
     {
         Ruc     = "20600995805",
         Usuario = "MODDATOS",
         Clave   = "moddatos",
         Service = ServiceSunatType.Beta
     });
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="BillManager"/> class.
        /// </summary>
        /// <param name="company">The company.</param>
        public BillManager(Company company)
        {
            _xmlGenerator = new XmlManager(company);
            var config = new SolConfig
            {
                Ruc     = company.Ruc,
                Usuario = company.User,
                Clave   = company.Clave,
                Service = ServiceSunatType.Homologacion
            };

            _wsManager = new SunatManager(config);
        }