Wrappers de VirtualXML para Visual Basic 6 VirtualXML
Estos wrappers (definiciones de funciones en una DLL) son necesarios para utilizar VirtualXML en sus programas basados en Visual Basic 6.

Para utilizarlos copie el contenido que se muestra a continuación en su proyecto VB.

Definir un nuevo Wrapper es muy sencillo

Use la instruccion:

    PRIVATE DECLARE

A continuación, dependiendo si la función devuelve o no un valor deberá utilizar los valores

    FUNCTION ó SUB

Inmediatamente despues, debera indicar el nombre de la funcion de VirtualXML que esta definiendo seguido de las sentencias:

    LIB "VirtualXML.DLL" ALIAS

Esto le indica al compilador de Visual Basic que debe buscar la funcion en el archivo DLL indicado y a continuacion de la palabra ALIAS deberá indica el nombre de la función dentro de VirtualXML.DLL, este nombre es el mismo que el de la función que desea definir y se expresa entrecomillado y comenzando con guión bajo ( _ ), el nombre de la función termina con el sufijo "_sc@XXX", donde XXX es el resultado de multiplicar el numero de parametros que recibe la función por 4.

A continuación deberá indicar a lista de parámetros indicando su nombre y su tipo, anteponiendo la palabra reservada:

    ByVal <nombre del parametro> As <tipo del parametro>

Donde <tipo del parametro puede tener los valores de:

    Long (si el parametro es numerico) ó String (si el parámetro es cadena de caracteres

Si la función devuelve algun valor, entonces el tipo de este de establece al final de la defincion con la expresion_

    As <tipo de valor devuelto>

Donde <tipo de valor devuelto> puede ser:

    Long ó String

Fecha de actualización : 03 de Diciembre de 2021 se añadieron las funciones para CFDI 4.0 y Pagos 2.0, envío de Email y se actualizó Cancelación de CFDI 2022


Wrapper:

PRIVATE DECLARE FUNCTION VirtualXML_New LIB "VirtualXML.DLL" ALIAS "_VirtualXML_New_sc@4" ( ByVal szVersion As String ) As Long
PRIVATE DECLARE FUNCTION VirtualXML_ProcesaDocumento LIB "VirtualXML.DLL" ALIAS "_VirtualXML_ProcesaDocumento_sc@20"( ByVal p As Long, ByVal csd As String, ByVal key As String, ByVal keypwd As String, ByVal outfile As String ) As Long
PRIVATE DECLARE FUNCTION VirtualXML_ProcesaDocumentoSSL LIB "VirtualXML.DLL" ALIAS "_VirtualXML_ProcesaDocumentoSSL_sc@20" ( ByVal p As Long, ByVal csd As String, ByVal key As String, ByVal keypwd As String, ByVal outfile As String ) As Long
PRIVATE DECLARE FUNCTION VirtualXML_GetValue LIB "VirtualXML.DLL" ALIAS "_VirtualXML_GetValue_sc@8" ( ByVal p As Long, ByVal value As Long ) As String
PRIVATE DECLARE SUB VirtualXML_Free LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Free_sc@4" ( ByVal p As Long )
PRIVATE DECLARE SUB VirtualXML_SetVirtualPACInfo LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetVirtualPACInfo_sc@12" ( ByVal p As Long, ByVal szUser As String, ByVal servidor As String )
PRIVATE DECLARE SUB VirtualXML_SetCiberSATInfo LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetCiberSATInfo_sc@12" ( ByVal p As Long, ByVal userCiberPAC As String, ByVal llaveCiberPAC As String )
PRIVATE DECLARE SUB VirtualXML_SetImpuestosLocalesInfo LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetImpuestosLocalesInfo_sc@12" ( ByVal p As Long, ByVal TotaldeTraslados As String, ByVal TotaldeRetenciones As String )
PRIVATE DECLARE SUB VirtualXML_AddImpuestoLocalRetenido LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddImpuestoLocalRetenido_sc@16" ( ByVal p As Long, ByVal ImpLocRetenido As String, ByVal TasadeRetencion As String, ByVal Importe As String )
PRIVATE DECLARE SUB VirtualXML_AddImpuestoLocalTrasladado LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddImpuestoLocalTrasladado_sc@16" ( ByVal p As Long, ByVal ImpLocTrasladado As String, ByVal TasadeTraslado As String , ByVal Importe As String )
PRIVATE DECLARE SUB VirtualXML_AddDonatarias11 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddDonatarias11_sc@16" ( ByVal p As Long, ByVal noAutorizacion As String, ByVal fechaAutorizacion As String, ByVal leyenda As String)
PRIVATE DECLARE SUB VirtualXML_SetDllPath LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetDllPath_sc@8" ( ByVal p As Long, ByVal DllPath As String )
PRIVATE DECLARE SUB VirtualXML_GetValueInFile LIB "VirtualXML.DLL" ALIAS "_VirtualXML_GetValueInFile_sc@12" ( ByVal p As Long, ByVal value As Long, ByVal file As String )
PRIVATE DECLARE SUB VirtualXML_ProcessFile LIB "VirtualXML.DLL" ALIAS "_VirtualXML_ProcessFile_sc@4" ( ByVal szFile As String )
PRIVATE DECLARE FUNCTION VirtualXML_CheckFile LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CheckFile_sc@4" ( ByVal szFile As String ) As Long
PRIVATE DECLARE SUB VirtualXML_SetLogFile LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetLogFile_sc@8" ( ByVal p As Long, ByVal file As String )
PRIVATE DECLARE SUB VirtualXML_ShowValue LIB "VirtualXML.DLL" ALIAS "_VirtualXML_ShowValue_sc@12" ( ByVal p As Long, ByVal lValue As Long, ByVal title As String );
PRIVATE DECLARE FUNCTION VirtualXML_FirmaSellaDocto LIB "VirtualXML.DLL" ALIAS "_VirtualXML_FirmaSellaDocto_sc@20" ( ByVal p As Long, ByVal csd As String, ByVal key As String, ByVal keypwd As String, ByVal outfile As String ) As Long
PRIVATE DECLARE SUB VirtualXML_Save LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Save_sc@8" ( ByVal p As Long, ByVal file As String )
PRIVATE DECLARE FUNCTION VirtualXML_Load LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Load_sc@" ( ByVal file As String ) As Long
PRIVATE DECLARE FUNCTION VirtualXML_GetTimeWithDelay LIB "VirtualXML.DLL" ALIAS "_VirtualXML_GetTimeWithDelay_sc@8" ( ByVal p As Long, ByVal nSegs As Long ) As String
PRIVATE DECLARE SUB VirtualXML_GetValues LIB "VirtualXML.DLL" ALIAS "_VirtualXML_GetValues_sc@12" ( ByVal p As Long, ByVal file As String, ByVal lFormat As Long )
PRIVATE DECLARE FUNCTION VirtualXML_CancelaUUID LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CancelaUUID_sc@28" ( ByVal szUser As String, ByVal szEmisor As String, ByVal szCert As String, ByVal szKey As String, ByVal szPwd As String, ByVal szUuid As String, ByVal szOut As String ) As Long
PRIVATE DECLARE FUNCTION VirtualXML_CancelaCFDI LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CancelaCFDI_sc@40" ( ByVal szUser As String, ByVal szEmisor As String, ByVal szReceptor As String, ByVal szTotal As String, ByVal szUuid As String, ByVal szCert As String, ByVal szKey As String, ByVal szPwd As String, ByVal szResult As String, ByVal szLog As String ) As Long
PRIVATE DECLARE FUNCTION VirtualXML_GetStatusCFDI LIB "VirtualXML.DLL" ALIAS "_VirtualXML_GetStatusCFDI_sc@28" ( ByVal szUser As String, ByVal szEmisor As String, ByVal szReceptor As String, ByVal szTotal As String, ByVal szUuid As String, ByVal szResult As String, ByVal szLog As String ) As Long
PRIVATE DECLARE FUNCTION VirtualXML_RecuperaAcuseCancelacion LIB "VirtualXML.DLL" ALIAS "_VirtualXML_RecuperaAcuseCancelacion_sc@28" ( ByVal sZUser As String, ByVal sZemisor As String, ByVal SzUuid As String, ByVal sZResult As String, ByVal szXMLAcuse As String, ByVal szLog As String, ByVal sZreserved As String ) As Long
PRIVATE DECLARE FUNCTION VirtualXML_CerKeyMatch LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CerKeyMatch_sc@20" ( ByVal p As Long, ByVal szEmisor As String, ByVal szCSD As String, ByVal szKey As String, ByVal szKeyPwd As String ) As Long
PRIVATE DECLARE FUNCTION VirtualXML_CheckLicence LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CheckLicence_sc@12" ( ByVal user As String, ByVal llave As String, ByVal emisor As String ) As Long
PRIVATE DECLARE SUB VirtualXML_SetNomina12 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetNomina12_sc@36" ( ByVal p As Long. ByVal TipoNomina As String, ByVal FechaPago As String, ByVal FechaInicialPago As String, ByVal FechaFinalPago As String, ByVal NumDiasPagados As String, ByVal TotalPercepciones As String, ByVal TotalDeducciones As String, ByVal TotalOtrosPagos As String)
PRIVATE DECLARE SUB VirtualXML_Nomina12SetEmisor LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Nomina12SetEmisor_sc@24" ( ByVal p As Long, ByVal Curp As String, ByVal RegistroPatronal As String, ByVal RfcPatronOrigen As String, ByVal OrigenRecurso As String, ByVal MontoRecursoPropio As String)
PRIVATE DECLARE SUB VirtualXML_Nomina12SetReceptor LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Nomina12SetReceptor_sc@80" ( ByVal p As Long p, ByVal Curp As String, ByVal NumSeguridadSocial As String, ByVal FechaInicioRelLaboral As String, ByVal Antiguedad As String, ByVal TipoContrato As String, ByVal Sindicalizado As String, ByVal TipoJornada As String, ByVal TipoRegimen As String, ByVal NumEmpleado As String, ByVal Departamento As String, ByVal As String Puesto, ByVal As String RiesgoPuesto, ByVal As String PeriodicidadPago, ByVal As String Banco, ByVal As String CuentaBancaria, ByVal As String SalarioBaseCotApor, ByVal As String SalarioDiarioIntegrado, ByVal As String ClaveEntFed);
PRIVATE DECLARE SUB VirtualXML_Nomina12AddSUBContratacion LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Nomina12AddSUBContratacion_sc@12" ( ByVal p As Long, ByVal RfcLabora As String, ByVal PorcentajeTiempo As String)
PRIVATE DECLARE SUB VirtualXML_Nomina12SetPercepciones LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Nomina12SetPercepciones_sc@24" ( ByVal p As Long, ByVal TotalSueldos As String, ByVal TotalSeparacionIndemnizacion As String, ByVal TotalJubilacionPensionRetiro As String, ByVal TotalGravado As String, ByVal TotalExento As String)
PRIVATE DECLARE SUB VirtualXML_Nomina12AddPercepcion LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Nomina12AddPercepcion_sc@44" ( ByVal p As Long, ByVal TipoPercepcion As String, ByVal Clave As String, ByVal Concepto As String, ByVal ImporteGravado As String, ByVal ImporteExento As String, ByVal Dias As String, ByVal TipoHoras As String, ByVal HorasExtra As String, ByVal ImportePagado As String, ByVal ValorMercado As String, ByVal PrecioAlOtorgarse As String)
PRIVATE DECLARE SUB VirtualXML_Nomina12SetJubilacionPensionRetiro LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Nomina12SetJubilacionPensionRetiro_sc@24" ( ByVal p As Long, ByVal TotalUnaExhibicion As String, ByVal TotalParcialidad As String, ByVal MontoDiario As String, ByVal IngresoAcumulable As String, ByVal IngresoNoAcumulable As String)
PRIVATE DECLARE SUB VirtualXML_Nomina12SetSeparacionIndemnizacion LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Nomina12SetSeparacionIndemnizacion_sc@24" ( ByVal p As Long, ByVal TotalPagado As String, ByVal NumAniosServicio As String, ByVal UltimoSueldoMensOrd As String, ByVal IngresoAcumulable As String, ByVal IngresoNoAcumulable As String)
PRIVATE DECLARE SUB VirtualXML_Nomina12SetDeducciones LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Nomina12SetDeducciones_sc@12" ( ByVal p As Long, ByVal TotalOtrasDeducciones As String, ByVal TotalImpuestosRetenidos As String)
PRIVATE DECLARE SUB VirtualXML_Nomina12AddDeduccion LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Nomina12AddDeduccion_sc@20" ( ByVal p As Long, ByVal TipoDeduccion As String, ByVal Clave As String, ByVal Concepto As String, ByVal Importe As String)
PRIVATE DECLARE SUB VirtualXML_Nomina12AddOtroPago LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Nomina12AddOtroPago_sc@36" ( ByVal p As Long, ByVal TipoOtroPago As String, ByVal Clave As String, ByVal Concepto As String, ByVal Importe As String, ByVal SaldoAFavor As String, ByVal Anio As String, ByVal RemanenteSalFav As String, ByVal SUBsidioCausado As String)
PRIVATE DECLARE SUB VirtualXML_Nomina12AddIncapacidad LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Nomina12AddIncapacidad_sc@16" ( ByVal p As Long, ByVal DiasIncapacidad As String, ByVal TipoIncapacidad As String, ByVal ImporteMonetario As String);
PRIVATE DECLARE SUB VirtualXML_SetCompleteXML_cfdi33 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetCompleteXML_cfdi33_sc@8" ( ByVal p As Long, ByVal XMLCompleto As String)
PRIVATE DECLARE SUB VirtualXML_SetComprobanteInfo_cfdi33 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetComprobanteInfo_cfdi33_sc@60" ( ByVal p As Long, ByVal Serie As String, ByVal Folio As String, ByVal Fecha As String, ByVal FormaPago As String, ByVal CondicionesDePago As String, ByVal SUBTotal As String, ByVal Descuento As String, ByVal Moneda As String, ByVal TipoCambio As String, ByVal Total As String, ByVal TipoDeComprobante As String, ByVal MetodoPago As String, ByVal LugarExpedicion As String, ByVal Confirmacion As String)
PRIVATE DECLARE SUB VirtualXML_SetCfdiRelacionados_cfdi33 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetCfdiRelacionados_cfdi33_sc@8" ( ByVal p As Long, ByVal TipoRelacion As String)
PRIVATE DECLARE SUB VirtualXML_AddCfdiRelacionado_cfdi33 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddCfdiRelacionado_cfdi33_sc@8" ( ByVal p As Long, ByVal UUID As String);
PRIVATE DECLARE SUB VirtualXML_SetEmisorInfo_cfdi33 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetEmisorInfo_cfdi33_sc@16" ( ByVal p As Long, ByVal String Rfc As, ByVal Nombre As String, ByVal RegimenFiscal As String)
PRIVATE DECLARE SUB VirtualXML_SetReceptorInfo_cfdi33 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetReceptorInfo_cfdi33_sc@24" ( ByVal p As Long, ByVal Rfc As String, ByVal Nombre As String, ByVal ResidenciaFiscal As String, ByVal NumRegIdTrib As String, ByVal UsoCFDI As String)
PRIVATE DECLARE SUB VirtualXML_AddConcepto_cfdi33 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddConcepto_cfdi33_sc@40" ( ByVal p As Long, ByVal ClaveProdServ As String, ByVal NoIdentificacion As String, ByVal Cantidad As String, ByVal ClaveUnidad As String, ByVal Unidad As String, ByVal Descripcion As String, ByVal ValorUnitario As String, ByVal Importe As String, ByVal Descuento As String)
PRIVATE DECLARE SUB VirtualXML_AddConceptoTraslado_cfdi33 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddConceptoTraslado_cfdi33_sc@24" (ByVal p As Long, ByVal Base As String, ByVal Impuesto As String, ByVal TipoFactor As String, ByVal TasaOCuota As String, ByVal Importe As String )
PRIVATE DECLARE SUB VirtualXML_AddConceptoRetencion_cfdi33 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddConceptoRetencion_cfdi33_sc@24" ( ByVal p As Long, ByVal Base As String, ByVal Impuesto As String, ByVal TipoFactor As String, ByVal TasaOCuota As String, ByVal Importe As String )
PRIVATE DECLARE SUB VirtualXML_SetImpuestosInfo_cfdi33 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetImpuestosInfo_cfdi33_sc@12" ( ByVal p As Long, ByVal TotalImpuestosTrasladados As String, ByVal TotalImpuestosRetenidos As String )
PRIVATE DECLARE SUB VirtualXML_SetServicioParcial10 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetServicioParcial10_sc@44" ( ByVal p As Long, ByVal NumPerLicoAut As String, ByVal Calle As String, ByVal NoExterior As String, ByVal NoInterior As String, ByVal Colonia As String, ByVal Localidad As String, ByVal Referencia As String, ByVal Municipio As String, ByVal Estado As String, ByVal CodigoPostal As String )
PRIVATE DECLARE SUB VirtualXML_AddTraslado_cfdi33 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddTraslado_cfdi33_sc@20" ( ByVal p As Long, ByVal Impuesto As String, ByVal TipoFactor As String, ByVal TasaOCuota As String, ByVal Importe As String )
PRIVATE DECLARE SUB VirtualXML_AddRetencion_cfdi33 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddRetencion_cfdi33_sc@12" ( ByVal p As Long, ByVal Impuesto As String, ByVal Importe As String)
PRIVATE DECLARE SUB VirtualXML_SetPagos10 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetPagos10_sc@4" ( ByVal p As Long )
PRIVATE DECLARE SUB VirtualXML_Pagos10SetPago LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Pagos10SetPago_sc@64" ( ByVal p As Long, ByVal FechaPago As String, ByVal FormaDePago As String, ByVal MonedaP As String, ByVal TipoCambioP As String, ByVal Monto As String, ByVal NumOperacion As String, ByVal RfcEmisorCtaOrd As String, ByVal NomBancoOrdExt As String, ByVal CtaOrdenante As String, ByVal RfcEmisorCtaBen As String, ByVal CtaBeneficiario As String, ByVal TipoCadPago As String, ByVal CertPago As String, ByVal CadPago As String, ByVal SelloPago As String )
PRIVATE DECLARE SUB VirtualXML_Pagos10AddPagoDoctoRelacionado LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Pagos10AddPagoDoctoRelacionado_sc@44" ( ByVal p As Long, ByVal IdDocumento As String, ByVal Serie As String, ByVal Folio As String, ByVal MonedaDR As String, ByVal TipoCambioDR As String, ByVal MetodoDePagoDR As String, ByVal NumParcialidad As String, ByVal ImpSaldoAnt As String, ByVal ImpPagado As String, ByVal ImpSaldoInsoluto As String )
PRIVATE DECLARE SUB VirtualXML_AddConceptoComplementoIedu_cfdi33 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddConceptoComplementoIedu_cfdi33_sc@24" ( ByVal p As Long, ByVal nombreAlumno As String, ByVal CURP As String, ByVal nivelEducativo As String, ByVal autRVOE As String, ByVal rfcPago As String )
PRIVATE DECLARE SUB VirtualXML_AddConceptoInformacionAduanera_cfdi33 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddConceptoInformacionAduanera_cfdi33_sc@8" ( ByVal p As Long, ByVal NumeroPedimento As String)
PRIVATE DECLARE SUB VirtualXML_AddConceptoCuentaPredial_cfdi33 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddConceptoCuentaPredial_cfdi33_sc@8" ( ByVal p As Long, ByVal Numero As String)
PRIVATE DECLARE SUB VirtualXML_AddConceptoParte_cfdi33 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddConceptoParte_cfdi33_sc@" ( ByVal p As Long, ByVal ClaveProdServ As String, ByVal NoIdentificacion As String, ByVal Cantidad As String, ByVal Unidad As String, ByVal Descripcion As String, ByVal ValorUnitario As String, ByVal Importe As String, ByVal NumeroPedimento As String )
PRIVATE DECLARE SUB VirtualXML_SetAddendaText_cfdi33 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetAddendaText_cfdi33_sc@8" ( ByVal p As Long, ByVal text As String)
PRIVATE DECLARE SUB VirtualXML_AddComplemento_cfdi33 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddComplemento_cfdi33_sc@8" ( ByVal p As Long, ByVal complementoXml As String )
PRIVATE DECLARE SUB VirtualXML_SetAddenda_cfdi33 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetAddenda_cfdi33_sc@8" ( ByVal p As Long, ByVal text As String)
PRIVATE DECLARE SUB VirtualXML_SetComercioExterior11 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetComercioExterior11_sc@48" ( ByVal p As Long, ByVal MotivoTraslado As String, ByVal TipoOperacion As String, ByVal ClaveDePedimento As String, ByVal CertificadoOrigen As String, ByVal NumCertificadoOrigen As String, ByVal NumeroExportadorConfiable As String, ByVal Incoterm As String, ByVal SUBdivision As String, ByVal Observaciones As String, ByVal TipoCambioUSD As String, ByVal TotalUSD As String )
PRIVATE DECLARE SUB VirtualXML_CCE11SetEmisor LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CCE11SetEmisor_sc@48" ( ByVal p As Long, ByVal Curp As String, ByVal Calle As String, ByVal NumeroExterior As String, ByVal NumeroInterior As String, ByVal Colonia As String, ByVal Localidad As String, ByVal Referencia As String, ByVal Municipio As String, ByVal Estado As String, ByVal Pais As String, ByVal CodigoPostal As String )
PRIVATE DECLARE SUB VirtualXML_CCE11SetReceptor LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CCE11SetReceptor_sc@48" ( ByVal p As Long, ByVal NumRegIdTrib As String, ByVal Calle As String, ByVal NumeroExterior As String, ByVal NumeroInterior As String, ByVal Colonia As String, ByVal Localidad As String, ByVal Referencia As String, ByVal Municipio As String, ByVal Estado As String, ByVal Pais As String, ByVal CodigoPostal As String )
PRIVATE DECLARE SUB VirtualXML_CCE11AddDestinatario LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CCE11AddDestinatario_sc@52" ( ByVal p As Long, ByVal NumRegIdTrib As String, ByVal Nombre As String, ByVal Calle As String, ByVal NumeroExterior As String, ByVal NumeroInterior As String, ByVal Colonia As String, ByVal Localidad As String, ByVal Referencia As String, ByVal Municipio As String, ByVal Estado As String, ByVal Pais As String, ByVal CodigoPostal As String )
PRIVATE DECLARE SUB VirtualXML_CCE11AddPropietario LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CCE11AddPropietario_sc@12" ( ByVal p As Long, ByVal NumRegIdTrib As String, ByVal ResidenciaFiscal As String);
PRIVATE DECLARE SUB VirtualXML_CCE11AddMercancia LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CCE11AddMercancia_sc@44" ( ByVal p As Long, ByVal NoIdentificacion As String, ByVal FraccionArancelaria As String, ByVal CantidadAduana As String, ByVal UnidadAduana As String, ByVal ValorUnitarioAduana As String, ByVal ValorDolares As String, ByVal Marca As String, ByVal Modelo As String, ByVal SUBModelo As String, ByVal NumeroSerie As String)
PRIVATE DECLARE SUB VirtualXML_CCE11AddMercanciaDescripcionesEspecificas LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CCE11AddMercanciaDescripcionesEspecificas_sc@20" ( ByVal p As Long, ByVal Marca As String, ByVal Modelo As String, ByVal SUBModelo As String, ByVal NumeroSerie As String )
PRIVATE DECLARE FUNCTION VirtualXML_GeneraCBB LIB "VirtualXML.DLL" ALIAS "_VirtualXML_GeneraCBB_sc@28" ( ByVal Datos As String, ByVal Archivo As String, ByVal Dependencias As Long, ByVal RutaLog As String, ByVal AddLog As Long, ByVal Escala As Long, ByVal Margen As Long ) As Long
PRIVATE DECLARE FUNCTION VirtualXML_CerTo64 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CerTo64_sc@4" ( ByVal ArchivoCer As String ) As String
PRIVATE DECLARE FUNCTION VirtualXML_FileTo64 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_FileTo64_sc@4" ( ByVal Archivo As String ) As String
PRIVATE DECLARE SUB VirtualXML_SetINE11 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetINE11_sc@28" ( ByVal p As Long, ByVal TipoProceso As String, ByVal TipoComite As String, ByVal IdContabilidad As String, ByVal ClaveEntidad As String, ByVal Ambito As String, ByVal EntidadContabilidadIdContabilidad As String)
PRIVATE DECLARE SUB VirtualXML_AddEntidad LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddEntidad_sc@16" ( ByVal p As Long, ByVal ClaveEntidad As String, ByVal Ambito As String, ByVal IdContabilidad As String)
PRIVATE DECLARE SUB VirtualXML_AddEntidadContabilidad LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddEntidadContabilidad_sc@8" ( ByVal p As Long, ByVal IdContabilidad As String)
PRIVATE DECLARE FUNCTION VirtualXML_ConsultaSaldos LIB "VirtualXML.DLL" ALIAS "_VirtualXML_ConsultaSaldos_sc@" (ByVal usuario As String, ByVal rfcEmisor As String, ByVal DatoSolicitado As Long, ByVal ArchivoLog As String) As Long
PRIVATE DECLARE SUB VirtualXML_SetLeyendasFiscales10 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetLeyendasFiscales10_sc@16" (ByVal p As Long, ByVal Disposicion As String,ByVal Norma As String, ByVal TextoLeyenda As String)
PRIVATE DECLARE SUB VirtualXML_SetLeyendasFiscales10Full LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetLeyendasFiscales10Full_sc@124" ( ByVal p As Long, ByVal Dis01 As String, ByVal Norma01 As String, ByVal Texto01 As String, ByVal Dis02 As String, ByVal Norma02 As String, ByVal Texto02 As String, ByVal Dis03 As String, ByVal Norma03 As String, ByVal Texto03 As String, ByVal Dis04 As String, ByVal Norma04 As String, ByVal Texto04 As String, ByVal Dis05 As String, ByVal Norma05 As String, ByVal Texto05 As String, ByVal Dis06 As String, ByVal Norma06 As String, ByVal Texto06 As String, ByVal Dis07 As String, ByVal Norma07 As String, ByVal Texto07 As String, ByVal Dis08 As String, ByVal Norma08 As String, ByVal Texto08 As String, ByVal Dis09 As String, ByVal Norma09 As String, ByVal Texto09 As String, ByVal Dis10 As String, ByVal Norma10 As String, ByVal Texto10 As String)
PRIVATE DECLARE FUNCTION VirtualXML_ConsultaEstadoCFDI LIB "VirtualXML.DLL" ALIAS "_VirtualXML_ConsultaEstadoCFDI_sc@20" (ByVal rfcEmisor As String, ByVal rfcReceptor As String, ByVal Total As String, ByVal UUID As String, ByVal OutLog As String) As Long
PRIVATE DECLARE FUNCTION VirtualXML_MasivaDescarga LIB "VirtualXML.DLL" ALIAS "_VirtualXML_MasivaDescarga_sc@32" (ByVal Usuario As String, ByVal ArchivoCerFiel As String, ByVal ArchivoKeyFiel As String, ByVal PwdKey As String, ByVal IdPaquete As String, ByVal ArchivoDescargado As String, ByVal ArchLog As String, ByVal Reservado As String) As Long
PRIVATE DECLARE FUNCTION VirtualXML_MasivaSolicitaEmitidoXML LIB "VirtualXML.DLL" ALIAS "_VirtualXML_MasivaSolicitaEmitidoXML_sc@40" (ByVal Usuario As String, ByVal ArchivoCerFiel As String, ByVal ArchivoKeyFiel As String, ByVal PwdKey As String, ByVal RfcReceptor As String, ByVal FechaDesde As String, ByVal FechaHasta As String, ByVal ArchResultado As String, ByVal ArchLog As String, ByVal Reservado As String) As Long
PRIVATE DECLARE FUNCTION VirtualXML_MasivaSolicitaEmitidoMetadata LIB "VirtualXML.DLL" ALIAS "_VirtualXML_MasivaSolicitaEmitidoMetadata_sc@40" (ByVal Usuario As String, ByVal ArchivoCerFiel As String, ByVal ArchivoKeyFiel As String, ByVal PwdKey As String, ByVal RfcReceptor As String, ByVal FechaDesde As String, ByVal FechaHasta As String, ByVal ArchResultado As String, ByVal ArchLog As String, ByVal Reservado As String) As Long
PRIVATE DECLARE FUNCTION VirtualXML_MasivaSolicitaRecibidoXML LIB "VirtualXML.DLL" ALIAS "_VirtualXML_MasivaSolicitaRecibidoXML_sc@40" (ByVal Usuario As String, ByVal ArchivoCerFiel As String, ByVal ArchivoKeyFiel As String, ByVal PwdKey As String, ByVal RfcEmisor As String, ByVal FechaDesde As String, ByVal FechaHasta As String, ByVal ArchResultado As String, ByVal ArchLog As String, ByVal Reservado As String) As Long
PRIVATE DECLARE FUNCTION VirtualXML_MasivaSolicitaRecibidoMetadata LIB "VirtualXML.DLL" ALIAS "_VirtualXML_MasivaSolicitaRecibidoMetadata_sc@40" (ByVal Usuario As String, ByVal ArchivoCerFiel As String, ByVal ArchivoKeyFiel As String, ByVal PwdKey As String, ByVal RfcEmisor As String, ByVal FechaDesde As String, ByVal FechaHasta As String, ByVal ArchResultado As String, ByVal ArchLog As String, ByVal ReservadoAs String) As Long
PRIVATE DECLARE FUNCTION VirtualXML_MasivaVerifica LIB "VirtualXML.DLL" ALIAS "_VirtualXML_MasivaVerifica_sc@32" (ByVal Usuario As String, ByVal ArchivoCerFiel As String, ByVal ArchivoKeyFiel As String, ByVal PwdKey As String, ByVal IdSolicitud As String, ByVal ArchResultado As String, ByVal ArchLog As String, ByVal Reservado As String) As Long
PRIVATE DECLARE SUB VirtualXML_SetCartaPorte20 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetCartaPorte20_sc@24" (ByVal p As Long, ByVal TranspInternac As String, ByVal EntradaSalidaMerc As String, ByVal PaisOrigenDestino As String, ByVal ViaEntradaSalida As String, ByVal TotalDistRec As String)
PRIVATE DECLARE SUB VirtualXML_CartaPorte20AddUbicacion LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CartaPorte20AddUbicacion_sc@92" (ByVal p As Long, ByVal TipoUbicacion As String, ByVal IDUbicacion As String, ByVal RFCRemitenteDestinatario As String, ByVal NombreRemitenteDestinatario As String, ByVal NumRegIdTrib As String, ByVal ResidenciaFiscal As String, ByVal NumEstacion As String, ByVal NombreEstacion As String, ByVal NavegacionTrafico As String, ByVal FechaHoraSalidaLlegada As String, ByVal TipoEstacion As String, ByVal DistanciaRecorrida As String, ByVal Calle As String, ByVal NumeroExterior As String, ByVal NumeroInterior As String, ByVal Colonia As String, ByVal Localidad As String, ByVal Referencia As String, ByVal Municipio As String, ByVal Estado As String, ByVal Pais As String, ByVal CodigoPostal As String)
PRIVATE DECLARE SUB VirtualXML_CartaPorte20SetMercancias LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CartaPorte20SetMercancias_sc@24" (ByVal p As Long, ByVal PesoBrutoTotal As String, ByVal UnidadPeso As String, ByVal PesoNetoTotal As String, ByVal NumTotalMercancias As String, ByVal CargoPorTasacion As String)
PRIVATE DECLARE SUB VirtualXML_CartaPorte20AddMercancia LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CartaPorte20AddMercancia_sc@88" (ByVal p As Long, ByVal BienesTransp As String, ByVal ClaveSTCC As String, ByVal Descripcion As String, ByVal Cantidad As String, ByVal ClaveUnidad As String, ByVal Unidad As String, ByVal Dimensiones As String, ByVal MaterialPeligroso As String, ByVal CveMaterialPeligroso As String, ByVal Embalaje As String, ByVal DescripEmbalaje As String, ByVal PesoEnKg As String, ByVal ValorMercancia As String, ByVal Moneda As String, ByVal FraccionArancelaria As String, ByVal UUIDComercioExt As String, ByVal UnidadPesoMerc As String, ByVal PesoBruto As String, ByVal PesoNeto As String, ByVal PesoTara As String, ByVal NumPiezas As String)
PRIVATE DECLARE SUB VirtualXML_CartaPorte20AddMercanciaPedimentos LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CartaPorte20AddMercanciaPedimentos_sc@8" (ByVal p As Long, ByVal Pedimento As String)
PRIVATE DECLARE SUB VirtualXML_CartaPorte20AddMercanciaGuiasIdentificacion LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CartaPorte20AddMercanciaGuiasIdentificacion_sc@16" (ByVal p As Long, ByVal NumeroGuiaIdentificacion As String, ByVal DescripGuiaIdentificacion As String, ByVal PesoGuiaIdentificacion As String)
PRIVATE DECLARE SUB VirtualXML_CartaPorte20AddMercanciaCantidadTransporta LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CartaPorte20AddMercanciaCantidadTransporta_sc@20" (ByVal p As Long As String, ByVal Cantidad As String, ByVal IDOrigen As String, ByVal IDDestino As String, ByVal CvesTransporte As String)
PRIVATE DECLARE SUB VirtualXML_CartaPorte20SetMercanciasAutotransporte LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CartaPorte20SetMercanciasAutotransporte_sc@68" (ByVal p As Long, ByVal PermSCT As String, ByVal NumPermisoSCT As String, ByVal ConfigVehicular As String, ByVal PlacaVM As String, ByVal AnioModeloVM As String, ByVal AseguraRespCivil As String, ByVal PolizaRespCivil As String, ByVal AseguraMedAmbiente As String, ByVal PolizaMedAmbiente As String, ByVal AseguraCarga As String, ByVal PolizaCarga As String, ByVal PrimaSeguro As String, ByVal SubTipoRem1 As String, ByVal Placa1 As String, ByVal SubTipoRem2 As String, ByVal Placa2 As String)
PRIVATE DECLARE SUB VirtualXML_CartaPorte20SetMercanciasTransporteMaritimo LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CartaPorte20SetMercanciasTransporteMaritimo_sc@100" (ByVal p As Long, ByVal PermSCT As String, ByVal NumPermisoSCT As String, ByVal NombreAseg As String, ByVal NumPolizaSeguro As String, ByVal TipoEmbarcacion As String, ByVal Matricula As String, ByVal NumeroOMI As String, ByVal AnioEmbarcacion As String, ByVal NombreEmbarc As String, ByVal NacionalidadEmbarc As String, ByVal UnidadesDeArqBruto As String, ByVal TipoCarga As String, ByVal NumCertITC As String, ByVal Eslora As String, ByVal Manga As String, ByVal Calado As String, ByVal LineaNaviera As String, ByVal NombreAgenteNaviero As String, ByVal NumAutorizacionNaviero As String, ByVal NumViaje As String, ByVal NumConocEmbarc As String, ByVal MatriculaContenedor As String, ByVal TipoContenedor As String, ByVal NumPrecinto As String)
PRIVATE DECLARE SUB VirtualXML_CartaPorte20AddMercanciasTransporteMaritimoContenedor LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CartaPorte20AddMercanciasTransporteMaritimoContenedor_sc@16" (ByVal p As Long, ByVal MatriculaContenedor As String, ByVal TipoContenedor As String, ByVal NumPrecinto As String)
PRIVATE DECLARE SUB VirtualXML_CartaPorte20SetMercanciasTransporteAereo LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CartaPorte20SetMercanciasTransporteAereo_sc@52" (ByVal p As Long, ByVal PermSCT As String, ByVal NumPermisoSCT As String, ByVal MatriculaAeronave As String, ByVal NombreAseg As String, ByVal NumPolizaSeguro As String, ByVal NumeroGuia As String, ByVal LugarContrato As String, ByVal CodigoTransportista As String, ByVal RFCEmbarcador As String, ByVal NumRegIdTribEmbarc As String, ByVal ResidenciaFiscalEmbarc As String, ByVal NombreEmbarcador As String)
PRIVATE DECLARE SUB VirtualXML_CartaPorte20SetMercanciasTransporteFerroviario LIB "VirtualXML.DLL" ALIAS "__sc@56" (ByVal p As Long, ByVal TipoDeServicio As String, ByVal TipoDeTrafico As String, ByVal NombreAseg As String, ByVal NumPolizaSeguro As String, ByVal TipoDerechoDePaso As String, ByVal KilometrajePagado As String, ByVal TipoCarro As String, ByVal MatriculaCarro As String, ByVal GuiaCarro As String, ByVal ToneladasNetasCarro As String, ByVal TipoContenedor As String, ByVal PesoContenedorVacio As String, ByVal PesoNetoMercancia As String)
PRIVATE DECLARE SUB VirtualXML_CartaPorte20AddMercanciasTransporteFerroviarioDerechosDePaso LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CartaPorte20AddMercanciasTransporteFerroviarioDerechosDePaso_sc@12" (ByVal p As Long, ByVal TipoDerechoDePaso As String, ByVal KilometrajePagado); As String)
PRIVATE DECLARE SUB VirtualXML_CartaPorte20AddMercanciasTransporteFerroviarioCarro LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CartaPorte20AddMercanciasTransporteFerroviarioCarro_sc@32" (ByVal p As Long, ByVal TipoCarro As String, ByVal MatriculaCarro As String, ByVal GuiaCarro As String, ByVal ToneladasNetasCarro As String, ByVal TipoContenedor As String, ByVal PesoContenedorVacio As String, ByVal PesoNetoMercancia As String)
PRIVATE DECLARE SUB VirtualXML_CartaPorte20AddMercanciasTransporteFerroviarioCarroContenedor LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CartaPorte20AddMercanciasTransporteFerroviarioCarroContenedor_scC@16" (ByVal p As Long, ByVal TipoContenedor As String, ByVal PesoContenedorVacio As String, ByVal PesoNetoMercancia As String)
PRIVATE DECLARE SUB VirtualXML_CartaPorte20AddFiguraTransporteTiposFigura LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CartaPorte20AddFiguraTransporteTiposFigura_sc@72" (ByVal p As Long, ByVal TipoFigura As String, ByVal RFCFigura As String, ByVal NumLicencia As String, ByVal NombreFigura As String, ByVal NumRegIdTribFigura As String, ByVal ResidenciaFiscalFigura As String, ByVal ParteTransporte As String, ByVal Calle As String, ByVal NumeroExterior As String, ByVal NumeroInterior As String, ByVal Colonia As String, ByVal Localidad As String, ByVal Referencia As String, ByVal Municipio As String, ByVal Estado As String, ByVal Pais As String, ByVal CodigoPostal As String)
PRIVATE DECLARE SUB VirtualXML_CartaPorte20AddFiguraTransporteTiposFiguraPartesTransporte LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CartaPorte20AddFiguraTransporteTiposFiguraPartesTransporte_sc@8" (ByVal p As Long, ByVal ParteTransporte As String )
PRIVATE DECLARE FUNCTION VirtualXML_CancelaCFDI2022 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CancelaCFDI2022_sc@44" ( ByVal szUsuario As String, ByVal szRfcEmisor As String, ByVal szMotivo As String, ByVal szUuid As String, ByVal szFolioSust As String, ByVal szCert As String, ByVal szKey As String, ByVal szPwd As String, ByVal szServer As String, ByVal szResult As String, ByVal szLog As String ) As Long
PRIVATE DECLARE FUNCTION VirtualXML_CancelaCFDI2022Ssl LIB "VirtualXML.DLL" ALIAS "_VirtualXML_CancelaCFDI2022Ssl_sc@44" ( ByVal szUsuario As String, ByVal szRfcEmisor As String, ByVal szMotivo As String, ByVal szUuid As String, ByVal szFolioSust As String, ByVal szCert As String, ByVal szKey As String, ByVal szPwd As String, ByVal szServer As String, ByVal szResult As String, ByVal szLog As String ) As Long
PRIVATE DECLARE SUB VirtualXML_Pagos20AddPago LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Pagos20AddPago_sc@64" ( ByVal p As Long, ByVal FechaPago As String, ByVal FormaDePagoP As String, ByVal MonedaP As String, ByVal TipoCambioP As String, ByVal Monto As String, ByVal NumOperacion As String, ByVal RfcEmisorCtaOrd As String, ByVal NomBancoOrdExt As String, ByVal CtaOrdenante As String, ByVal RfcEmisorCtaBen As String, ByVal CtaBeneficiario As String, ByVal TipoCadPago As String, ByVal CertPago As String, ByVal CadPago As String, ByVal SelloPago As String )
PRIVATE DECLARE SUB VirtualXML_Pagos20AddPagoDoctoRelacionado LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Pagos20AddPagoDoctoRelacionado_sc@44" ( ByVal p As Long, ByVal idDocumento As String, ByVal Serie As String, ByVal Folio As String, ByVal MonedadDR As String, ByVal EquivalenciaDR As String, ByVal NumParcialidad As String, ByVal ImpSaldoAnt As String, ByVal ImpPagado As String, ByVal ImpSaldoInsoluto As String, ByVal ObjetoImpDR As String )
PRIVATE DECLARE SUB VirtualXML_Pagos20AddPagoDoctoRelacionadoRetencionDR LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Pagos20AddPagoDoctoRelacionadoRetencionDR_sc@24" ( ByVal p As Long, ByVal BaseDR As String, ByVal ImpuestoDR As String, ByVal TipoFactorDR As String, ByVal TasaOCuotaDR As String, ByVal ImporteDR As String )
PRIVATE DECLARE SUB VirtualXML_Pagos20AddPagoDoctoRelacionadoTrasladoDR LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Pagos20AddPagoDoctoRelacionadoTrasladoDR_sc@24" ( ByVal p As Long, ByVal BaseDR As String, ByVal ImpuestoDR As String, ByVal TipoFactorDR As String, ByVal TasaOCuotaDR As String, ByVal ImporteDR As String )
PRIVATE DECLARE SUB VirtualXML_Pagos20AddPagoImpuestosPRetencionP LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Pagos20AddPagoImpuestosPRetencionP_sc@12" ( ByVal p As Long, ByVal ImpuestoP As String, ByVal ImporteP As String )
PRIVATE DECLARE SUB VirtualXML_Pagos20AddPagoImpuestosPTrasladoP LIB "VirtualXML.DLL" ALIAS "_VirtualXML_Pagos20AddPagoImpuestosPTrasladoP_sc@24" ( ByVal p As Long, ByVal BaseP As String, ByVal ImpuestoP As String, ByVal TipoFactorP As String, ByVal TasaOCuotaP As String, ByVal ImporteP As String )
PRIVATE DECLARE SUB VirtualXML_SetPagos20 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetPagos20_sc@48" ( ByVal p As Long, ByVal TotalRetencionesIVA As String, ByVal TotalRetencionesISR As String, ByVal TotalRetencionesIEPS As String, ByVal TotalTrasladosBaseIVA16 As String, ByVal TotalTrasladosImpuestoIVA16 As String, ByVal TotalTrasladosBaseIVA8 As String, ByVal TotalTrasladosImpuestoIVA8 As String, ByVal TotalTrasladosBaseIVA0 As String, ByVal TotalTrasladosImpuestoIVA0 As String, ByVal TotalTrasladosBaseIVAExento As String, ByVal MontoTotalPagos As String)
PRIVATE DECLARE SUB VirtualXML_AddCfdiRelacionado_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddCfdiRelacionado_cfdi40_sc@8" ( ByVal p As Long, ByVal UUID As String )
PRIVATE DECLARE SUB VirtualXML_AddCfdiRelacionados_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddCfdiRelacionados_cfdi40_sc@48" ( ByVal p As Long, ByVal TipoRelacion As String, ByVal UUID1 As String, ByVal UUID2 As String, ByVal UUID3 As String, ByVal UUID4 As String, ByVal UUID5 As String, ByVal UUID6 As String, ByVal UUID7 As String, ByVal UUID8 As String, ByVal UUID9 As String, ByVal UUID10 As String)
PRIVATE DECLARE SUB VirtualXML_AddComplemento_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddComplemento_cfdi40_sc@8" ( ByVal p As Long, ByVal complementoXml As String )
PRIVATE DECLARE SUB VirtualXML_AddComplementoConcepto_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddComplementoConcepto_cfdi40_sc@16" ( ByVal p As Long, ByVal complementoXml As String )
PRIVATE DECLARE SUB VirtualXML_AddConcepto_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddConcepto_cfdi40_sc@44" ( ByVal p As Long, ByVal ClaveProdServ As String, ByVal NoIdentificacion As String, ByVal Cantidad As String, ByVal ClaveUnidad As String, ByVal Unidad As String, ByVal Descripcion As String, ByVal ValorUnitario As String, ByVal Importe As String, ByVal Descuento As String, ByVal ObjetoImp As String )
PRIVATE DECLARE SUB VirtualXML_AddConceptoCuentaPredial_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddConceptoCuentaPredial_cfdi40_sc@8" ( ByVal p As Long, ByVal Numero As String )
PRIVATE DECLARE SUB VirtualXML_AddConceptoInformacionAduanera_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddConceptoInformacionAduanera_cfdi40_sc@8" ( ByVal p As Long, ByVal NumperoPedimento As String )
PRIVATE DECLARE SUB VirtualXML_AddConceptoParte_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddConceptoParte_cfdi40_sc@52" ( ByVal p As Long, ByVal ClaveProdServ As String, ByVal NoIdentificacion As String, ByVal Cantidad As String, ByVal Unidad As String, ByVal Descripcion As String, ByVal ValorUnitario As String, ByVal Importe As String, ByVal NumperoPedimento1 As String, ByVal NumperoPedimento2 As String, ByVal NumperoPedimento3 As String, ByVal NumperoPedimento4 As String, ByVal NumperoPedimento5 As String )
PRIVATE DECLARE SUB VirtualXML_AddConceptoRetencion_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddConceptoRetencion_cfdi33_sc@24" ( ByVal p As Long, ByVal Base As String, ByVal Impuesto As String, ByVal Tipofactor As String, ByVal TasaOCuota As String, ByVal Importe As String )
PRIVATE DECLARE SUB VirtualXML_AddConceptoTraslado_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddConceptoTraslado_cfdi33_sc@24" ( ByVal p As Long, ByVal Base As String, ByVal Impuesto As String, ByVal Tipofactor As String, ByVal TasaOCuota As String, ByVal Importe As String )
PRIVATE DECLARE SUB VirtualXML_AddRetencion_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddRetencion_cfdi40_sc@12" ( ByVal p As Long, ByVal Impuesto As String, ByVal Importe As String )
PRIVATE DECLARE SUB VirtualXML_AddTraslado_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_AddTraslado_cfdi40_sc@24" ( ByVal p As Long, ByVal Impuesto As String, ByVal TipoFactor As String, ByVal TasaOCuota As String, ByVal Importe As String, ByVal Base As String )
PRIVATE DECLARE SUB VirtualXML_SetAddenda_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetAddenda_cfdi40_sc@8" ( ByVal p As Long, ByVal text As String )
PRIVATE DECLARE SUB VirtualXML_SetAddendaText_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetAddendaText_cfdi40_sc@8" ( ByVal p As Long, ByVal text As String )
PRIVATE DECLARE SUB VirtualXML_SetCompleteXML_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetCompleteXML_cfdi40_sc@8" ( ByVal p As Long, ByVal TextoXMLoArchivoXML As String)
PRIVATE DECLARE SUB VirtualXML_SetComprobanteInfo_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetComprobanteInfo_cfdi40_sc@64" ( ByVal p As Long, ByVal Serie As String, ByVal Folio As String, ByVal Fecha As String, ByVal FormaDePago As String, ByVal CondicionesDePago As String, ByVal SubTotal As String, ByVal Descuento As String, ByVal Moneda As String, ByVal TipoCambio As String, ByVal Total As String, ByVal TipoDeComprobante As String, ByVal MetodoDePago As String, ByVal LugarExpedicion As String, ByVal Confirmacion As String, ByVal Exportacion As String )
PRIVATE DECLARE SUB VirtualXML_SetConceptoACuentaTerceros_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetConceptoACuentaTerceros_cfdi40_sc@20" ( ByVal p As Long, ByVal RfcACuentaTerceros As String, ByVal NombreACuentaTerceros As String, ByVal RegimenFiscalACuentaTerceros As String, ByVal DomicilioFiscalACuentaTerceros As String )
PRIVATE DECLARE SUB VirtualXML_SetEmisorInfo_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetEmisorInfo_cfdi40_sc@20" ( ByVal p As Long, ByVal RFC As String, ByVal Nombre As String, ByVal RegimenFiscal As String, ByVal FacAtrAdquirente As String )
PRIVATE DECLARE SUB VirtualXML_SetInformacionGlobal_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetInformacionGlobal_cfdi40_sc@16" ( ByVal p As Long, ByVal Periodicidad As String, ByVal Meses As String, ByVal Año As String )
PRIVATE DECLARE SUB VirtualXML_SetImpuestosInfo_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetImpuestosInfo_cfdi40_sc@12" ( ByVal p As Long, ByVal totalImpuestosTrasladados As String, ByVal totalImpuestosRetenidos As String )
PRIVATE DECLARE SUB VirtualXML_SetReceptorInfo_cfdi40 LIB "VirtualXML.DLL" ALIAS "_VirtualXML_SetReceptorInfo_cfdi40_sc@32" ( ByVal p As Long, ByVal RFC As String, ByVal Nombre As String, ByVal ResidenciaFiscal As String, ByVal NumRegIdTrib As String, ByVal UsoCFDI As String, ByVal DomicilioFiscalReceptor As String, ByVal RegimenFiscalReceptor As String )
PRIVATE DECLARE FUNCTION Utils_SendEmail LIB "VirtualXML.DLL" ALIAS "_Utils_SendEmail_sc@52" ( ByVal SmtpServer As String, ByVal int:LongInt, ByVal SmtpUserName As String, ByVal SmtpPassword As String, ByVal MessageTo As String, ByVal MessageFrom As String, ByVal MessageSubjet As String, ByVal MessageBody As String, ByVal MessageAttach1 As String, ByVal MessageAttach2 As String, ByVal MessageAttach3 As String, ByVal OutLog As String, ByVal Reserved As String ) As Long