Referencia

admincfdi

Admin CFDI

pyutil

values

class admincfdi.values.Global
CADENA = '||{version}|{UUID}|{FechaTimbrado}|{selloCFD}|{noCertificadoSAT}||'
CELL_TYPE = 'ScCellObj'
CLEAN = '\\{(\\w.+)\\}'
COLORS = {'DEFAULT': '#d9d9d9', 'FOCUS_IN': '#ffffca', 'FOCUS_OUT': '#ffffff'}
CONF_LOG = {'loggers': {'AdminCFDI_screen': {'level': 'DEBUG', 'propagate': True, 'handlers': ['to_screen']}, 'AdminCFDI': {'level': 'ERROR', 'handlers': ['to_file']}}, 'version': 1, 'formatters': {'myFormat': {'datefmt': '%d-%b-%Y %H:%M:%S', 'format': '%(asctime)s - %(levelname)s - %(lineno)s - %(message)s'}}, 'disable_existing_loggers': False, 'handlers': {'to_file': {'formatter': 'myFormat', 'class': 'logging.FileHandler', 'filename': '/home/docs/admincfdi.log'}, 'to_screen': {'formatter': 'myFormat', 'class': 'logging.StreamHandler'}}}
CONTROLS = {'button_save_xml_user': {'width': 100}, 'button_delete_report_user': {'width': 100}, 'button_delete_mail_server': {'width': 100}, 'button_save_report_user': {'width': 100}, 'button_save_emisor': {'width': 100}, 'button_save_pdf_user': {'width': 100}, 'button_delete_report_title': {'width': 100}, 'button_delete_pdf_user': {'width': 100}, 'button_exit': {'width': 100}, 'button_delete_xml_user': {'width': 100}, 'button_generate_pdf': {'width': 100}, 'button_download_mail': {'width': 100}, 'button_organizate_xml': {'width': 100}, 'button_delete_emisor': {'width': 100}, 'button_generate_report': {'width': 120}, 'button_save_report_title': {'width': 100}, 'button_save_mail_server': {'width': 100}, 'button_download_sat': {'width': 100}}
CWD = '/home/docs/checkouts/readthedocs.org/user_builds/admin-cfdi/checkouts/master/admincfdi'
DEBUG = False
DOLAR = ('d\xc3\xb3lar', 'd\xc3\xb3lares', 'dolar', 'dolares', 'usd')
EXT_CER = '.cer'
EXT_CSV = '.csv'
EXT_EXE = '.exe'
EXT_JSON = '.json'
EXT_ODS = '.ods'
EXT_PDF = '.pdf'
EXT_XML = '.xml'
FIELDS_CURRENCY = ('TipoCambio', 'subTotal', 'totalImpuestosTrasladados', 'totalImpuestosRetenidos', 'total', 'descuento')
FIELDS_REPORT = '{UUID}|{serie}|{folio}|{emisor_rfc}|{emisor_nombre}|{receptor_rfc}|{receptor_nombre}|{fecha}|{FechaTimbrado}|{tipoDeComprobante}|{Moneda}|{TipoCambio}|{subTotal}|{totalImpuestosTrasladados}|{total}'
FILES = {'main': '/home/docs/checkouts/readthedocs.org/user_builds/admin-cfdi/checkouts/master/admincfdi/ui/mainwindow.ui', 'config': '/home/docs/checkouts/readthedocs.org/user_builds/admin-cfdi/checkouts/master/admincfdi/ui/config.ini', 'log': '/home/docs/admincfdi.log'}
FILE_NAME = '{serie}{folio:06d}_{fecha}_{receptor_rfc}'
ICON = '/home/docs/checkouts/readthedocs.org/user_builds/admin-cfdi/checkouts/master/admincfdi/img/favicon.png'
LIMIT_MARGIN = 23000
LOG = <logging.Logger object>
MAIN = 'mainwindow'
OS = 'linux2'
PATHS = {'XSLTPROC': 'xsltproc', 'XSLT_CER': '/home/docs/checkouts/readthedocs.org/user_builds/admin-cfdi/checkouts/master/admincfdi/bin/get_certificado.xslt', 'OPENSSL': 'openssl', 'XSLT_TIMBRE': '/home/docs/checkouts/readthedocs.org/user_builds/admin-cfdi/checkouts/master/admincfdi/bin/timbre_1.0.xslt', 'USER': '/home/docs', 'XSLT_SELLO': '/home/docs/checkouts/readthedocs.org/user_builds/admin-cfdi/checkouts/master/admincfdi/bin/get_sello.xslt', 'XSLT_CADENA': '/home/docs/checkouts/readthedocs.org/user_builds/admin-cfdi/checkouts/master/admincfdi/bin/cfdi_{}.xslt', 'BIN': '/home/docs/checkouts/readthedocs.org/user_builds/admin-cfdi/checkouts/master/admincfdi/bin', 'img': '/home/docs/checkouts/readthedocs.org/user_builds/admin-cfdi/checkouts/master/admincfdi/img', 'current': '/home/docs/checkouts/readthedocs.org/user_builds/admin-cfdi/checkouts/master/admincfdi', 'ui': '/home/docs/checkouts/readthedocs.org/user_builds/admin-cfdi/checkouts/master/admincfdi/ui', 'CER': '/home/docs/checkouts/readthedocs.org/user_builds/admin-cfdi/checkouts/master/admincfdi/cer_pac', 'TEMPLATE': '/home/docs/checkouts/readthedocs.org/user_builds/admin-cfdi/checkouts/master/admincfdi/template', 'XSLT_SELLO_SAT': '/home/docs/checkouts/readthedocs.org/user_builds/admin-cfdi/checkouts/master/admincfdi/bin/get_sello_sat.xslt'}
PESO = ('mxn', 'mxp', 'm.n.', 'p', 'mn', 'pmx', 'mex')
PREFIX = {'IMP_LOCAL': '{http://www.sat.gob.mx/implocal}', 'IEDU': '{http://www.sat.gob.mx/iedu}', '3.2': '{http://www.sat.gob.mx/cfd/3}', 'DONATARIA': '{http://www.sat.gob.mx/donat}', '3.0': '{http://www.sat.gob.mx/cfd/3}', 'TIMBRE': '{http://www.sat.gob.mx/TimbreFiscalDigital}', '2.2': '{http://www.sat.gob.mx/cfd/2}', '2.0': '{http://www.sat.gob.mx/cfd/2}', 'NOMINA': '{http://www.sat.gob.mx/nomina}', 'LEYENDAS': '{http://www.sat.gob.mx/leyendasFiscales}'}
SAT = {'page_emisor': 'https://portalcfdi.facturaelectronica.sat.gob.mx/ConsultaEmisor.aspx', 'emisor': 'ctl00_MainContent_TxtRfcReceptor', 'subtitle': 'subtitle', 'year': 'DdlAnio', 'date_from_name': 'ctl00$MainContent$CldFechaInicial2$Calendario_text', 'month': 'ctl00_MainContent_CldFecha_DdlMes', 'noresultados': 'ctl00_MainContent_PnlNoResultados', 'download': 'BtnDescarga', 'form_login': 'IDPLogin', 'page_init': 'https://cfdiau.sat.gob.mx/nidp/app/login?id=SATUPCFDiCon&sid=0&option=credential&sid=0', 'receptor': 'ctl00_MainContent_TxtRfcReceptor', 'user': 'Ecom_User_ID', 'date_to': 'ctl00_MainContent_CldFechaFinal2_Calendario_text', 'date': 'ctl00_MainContent_RdoFechas', 'end_minute': 'ctl00_MainContent_CldFecha_DdlMinutoFin', 'password': 'Ecom_Password', 'start_second': 'ctl00_MainContent_CldFecha_DdlSegundo', 'day': 'ctl00_MainContent_CldFecha_DdlDia', 'minute': 'ctl00_MainContent_CldFechaFinal2_DdlMinuto', 'ftp': 'ftp2.sat.gob.mx', 'combos': 'sbToggle_{}', 'end_second': 'ctl00_MainContent_CldFecha_DdlSegundoFin', 'uuid': 'ctl00_MainContent_TxtUUID', 'hour': 'ctl00_MainContent_CldFechaFinal2_DdlHora', 'page_receptor': 'https://portalcfdi.facturaelectronica.sat.gob.mx/ConsultaReceptor.aspx', 'date_from': 'ctl00_MainContent_CldFechaInicial2_Calendario_text', 'end_hour': 'ctl00_MainContent_CldFecha_DdlHoraFin', 'second': 'ctl00_MainContent_CldFechaFinal2_DdlSegundo', 'submit': 'ctl00_MainContent_BtnBusqueda', 'start_hour': 'ctl00_MainContent_CldFecha_DdlHora', 'date_to_name': 'ctl00$MainContent$CldFechaFinal2$Calendario_text', 'resultados': 'ctl00_MainContent_PnlResultados', 'found': 'No existen registros que cumplan con los criterios de', 'folder': '/Certificados/FEA', 'start_minute': 'ctl00_MainContent_CldFecha_DdlMinuto', 'page_cfdi': 'https://portalcfdi.facturaelectronica.sat.gob.mx/{}'}
SCRIPTS = {'CFDI2PDF': '/home/docs/checkouts/readthedocs.org/user_builds/admin-cfdi/checkouts/master/cfdi2pdf'}
TITLE = 'Admin CFDI - Factura Libre'
WIN = 'win32'
YEAR_INIT = 2011
frm_1 = '%(asctime)s - %(levelname)s - %(lineno)s - %(message)s'
page_cfdi = 'https://portalcfdi.facturaelectronica.sat.gob.mx/{}'
page_init = 'https://cfdiau.sat.gob.mx/nidp/app/login?id=SATUPCFDiCon&sid=0&option=credential&sid=0'