Estos wrappers (definiciones de funciones en
una DLL) son necesarios para utilizar VirtualXML en sus programas
basados en Microsoft VisualBasic .NET.
VB .NET, al igual que C# y Delphi RadStudio, utilizan las funciones en formato WIDE, por lo que los nombres de las funciones de VirtualXML son distintos, pero simplemente hay que agregar una letra W al final de los nombres de cada función y la funcionalidad y paramétros son los mismos
Copie el contenido mostrado a continuación en su proyecto VB.NET para poder usarlo en su programa.
Definir un nuevo Wrapper es muy sencillo, el wrapper de VB.NET se basa en una estructura con 2 componentes por funcion:
Prototipo:
Definición de la función
A continuación deberemos expresar el nombre con el que deseamos llamar a la función dentro de nuestro programa en <nombre funcion>, que puede ser el mismo que el nombre del EntryPoint o puede ser distinto.
Luego debemos listar los parametros de la función indicando su tipo (IntPtr o String) después de la palabra reservada As.
Finalmente, si la función develve algun valor, deberemos expresar su tipo (IntPtr o String) después de la palabra reservada As, si la función no devuelve ningun valor, no se especifica ningun valor.
Esta estructura deberá repetirse para cada función que se desee utilizar.
Fecha de actualización : 08 de Julio de 2024 se
añadieron las funciones para Carta Porte 3.1
VB .NET, al igual que C# y Delphi RadStudio, utilizan las funciones en formato WIDE, por lo que los nombres de las funciones de VirtualXML son distintos, pero simplemente hay que agregar una letra W al final de los nombres de cada función y la funcionalidad y paramétros son los mismos
Copie el contenido mostrado a continuación en su proyecto VB.NET para poder usarlo en su programa.
Definir un nuevo Wrapper es muy sencillo, el wrapper de VB.NET se basa en una estructura con 2 componentes por funcion:
Prototipo:
<DllImport(<nombre del DLL>, CharSet = CharSet.Unicode, EntryPoint := "<función VirtualXMLW>")>El prototipo de la funcion define la ubicacion de la DLL en <nombre del DLL>, el juego de caracteres que se utilizan, que siempre sera de tipo Unicode y el "EntryPoint" que es el nombre de la función dentro de la DLL, en este caso, por ser funciones tipo WIDE, su nombre termina con una letra W mayúscula <función VirtualXMLW>.
Definición de la función
Public Shared <funcion o subrutina> <nombre funcion> ( <param1> As <tipo>, <param2> As <tipo>,..., <paramN> As <tipo> ) As <valor devuelto>La definción de la funcion comienza con las palabras reservadas Public Shared. seguido por el indicativo Function, si la función devuelve un valor, o Sub si la función no devuelve nada, esto se indica en <funcion o subrutina>, si la función devuelve un valor numérico entonces tendra el valor de IntPtr, si el valor de retorno es una cadena de caracteres tendrá el valor de String, que se indica en <valor devuelto>
A continuación deberemos expresar el nombre con el que deseamos llamar a la función dentro de nuestro programa en <nombre funcion>, que puede ser el mismo que el nombre del EntryPoint o puede ser distinto.
Luego debemos listar los parametros de la función indicando su tipo (IntPtr o String) después de la palabra reservada As.
Finalmente, si la función develve algun valor, deberemos expresar su tipo (IntPtr o String) después de la palabra reservada As, si la función no devuelve ningun valor, no se especifica ningun valor.
Esta estructura deberá repetirse para cada función que se desee utilizar.
Wrapper:
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_NewW")> _
Public Shared Function VirtualXML_New ( szVersion As String )As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_ProcesaDocumentoW")> _
Public Shared Function VirtualXML_ProcesaDocumento ( p As IntPtr, csd As String, key As String, keypwd As String, outfile As String ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_ProcesaDocumentoSSLW")> _
Public Shared Function VirtualXML_ProcesaDocumentoSSL ( p As IntPtr, csd As String, key As String, keypwd As String, outfile As String ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_GetValueW")> _
Public Shared Function VirtualXML_GetValue ( p As IntPtr, value As IntPtr )As String
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_FreeW")> _
Public Shared Sub VirtualXML_Free ( p As IntPtr )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetVirtualPACInfoW")> _
Public Shared Sub VirtualXML_SetVirtualPACInfo ( p As IntPtr, szUser As String, servidor As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetCiberSATInfoW")> _
Public Shared Sub VirtualXML_SetCiberSATInfo ( p As IntPtr, userCiberPAC As String, llaveCiberPAC As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetComprobanteInfoW")> _
Public Shared Sub VirtualXML_SetComprobanteInfo ( p As IntPtr, serie As String, folio As String , fecha As String , tipoDeComprobante As String , formaDePago As String , Subtotal As String, descuento As String, total As String, moneda As String, tipoCambio As String, condicionesDePago As String, metodoDePago As String, motivoDescuento As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetImpuestosLocalesInfoW")> _
Public Shared Sub VirtualXML_SetImpuestosLocalesInfo ( p As IntPtr, TotaldeTraslados As String, TotaldeRetenciones As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_AddImpuestoLocalRetenidoW")> _
Public Shared Sub VirtualXML_AddImpuestoLocalRetenido ( p As IntPtr, ImpLocRetenido As String, TasadeRetencion As String, Importe As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_AddImpuestoLocalTrasladadoW")> _
Public Shared Sub VirtualXML_AddImpuestoLocalTrasladado ( p As IntPtr, ImpLocTrasladado As String, TasadeTraslado As String, Importe As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_AddDonatarias11W")> _
Public Shared Sub VirtualXML_AddDonatarias11 ( p As IntPtr, noAutorizacion As String, fechaAutorizacion As String, leyenda As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetDllPathW")> _
Public Shared Sub VirtualXML_SetDllPath ( p As IntPtr, DllPath As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_GetValueInFileW")> _
Public Shared Sub VirtualXML_GetValueInFile ( p As IntPtr, value As IntPtr, file As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_ProcessFileW")> _
Public Shared Sub VirtualXML_ProcessFile ( szFile As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CheckFileW")> _
Public Shared Function VirtualXML_CheckFile ( szFile As String ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetLogFileW")> _
Public Shared Sub VirtualXML_SetLogFile ( p As IntPtr, file As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_ShowValueW")> _
Public Shared Sub VirtualXML_ShowValue ( p As IntPtr, lValue As IntPtr, title As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_FirmaSellaDoctoW")> _
Public Shared Function VirtualXML_FirmaSellaDocto ( p As IntPtr, csd As String, key As String, keypwd As String, outfile As String ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SaveW")> _
Public Shared Sub VirtualXML_Save ( p As IntPtr, file As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_LoadW")> _
Public Shared Function VirtualXML_Load ( file As String ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_GetTimeWithDelayW")> _
Public Shared Function VirtualXML_GetTimeWithDelay ( p As IntPtr, nSegs As IntPtr ) As String
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_GetValuesW")> _
Public Shared Sub VirtualXML_GetValues ( p As IntPtr, file As String, lFormat As IntPtr )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CancelaUUIDW")> _
Public Shared Function VirtualXML_CancelaUUID ( szUser As String, szEmisor As String, szCert As String, szKey As String, szPwd As String, szUuid As String, szOut As String ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CancelaCFDIW")> _
Public Shared Function VirtualXML_CancelaCFDI ( szUser As String, szEmisor As String, szReceptor As String, szTotal As String, szUuid As String, szCert As String, szKey As String, szPwd As String, As String szResult, As String szLog ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_GetStatusCFDIW")> _
Public Shared Function VirtualXML_GetStatusCFDI ( szUser As String, szEmisor As String, szReceptor As String, szTotal As String, szUuid As String, szResult As String, szLog As String ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_RecuperaAcuseCancelacionW")> _
Public Shared Function VirtualXML_RecuperaAcuseCancelacion ( sZUser As String, sZemisor As String, SzUuid As String, sZResult As String, szXMLAcuse As String, szLog As String, sZreserved As String ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CerKeyMatchW")> _
Public Shared Function VirtualXML_CerKeyMatch ( p As IntPtr, szEmisor As String, szCSD As String, szKey As String, szKeyPwd As String ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CheckLicenceW")> _
Public Shared Function VirtualXML_CheckLicence ( user As String, llave As String, emisor As String ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetNomina12W")> _
Public Shared Sub VirtualXML_SetNomina12 ( p As IntPtr, TipoNomina As String, FechaPago As String, FechaInicialPago As String, FechaFinalPago As String, NumDiasPagados As String, TotalPercepciones As String, TotalDeducciones As String, As String TotalOtrosPagos )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_Nomina12SetEmisorW")> _
Public Shared Sub VirtualXML_Nomina12SetEmisor ( p As IntPtr, Curp As String, RegistroPatronal As String, RfcPatronOrigen As String, OrigenRecurso As String, MontoRecursoPropio As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_Nomina12SetReceptorW")> _
Public Shared Sub VirtualXML_Nomina12SetReceptor ( p As IntPtr, Curp As String, NumSeguridadSocial As String, FechaInicioRelLaboral As String, Antiguedad As String, TipoContrato As String, Sindicalizado As String, TipoJornada As String, As String TipoRegimen, As String NumEmpleado, As String Departamento, As String Puesto, As String RiesgoPuesto, As String PeriodicidadPago, As String Banco, As String CuentaBancaria, As String SalarioBaseCotApor, As String SalarioDiarioIntegrado, As String ClaveEntFed )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_Nomina12AddSubContratacionW")> _
Public Shared Sub VirtualXML_Nomina12AddSubContratacion ( p As IntPtr, RfcLabora As String, PorcentajeTiempo As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_Nomina12SetPercepcionesW")> _
Public Shared Sub VirtualXML_Nomina12SetPercepciones ( p As IntPtr, TotalSueldos As String, TotalSeparacionIndemnizacion As String, TotalJubilacionPensionRetiro As String, TotalGravado As String, TotalExento As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_Nomina12AddPercepcionW")> _
Public Shared Sub VirtualXML_Nomina12AddPercepcion ( p As IntPtr, TipoPercepcion As String, Clave As String, Concepto As String, ImporteGravado As String, ImporteExento As String, DiAs As String, TipoHorAs As String, As String HorasExtra, As String ImportePagado, As String ValorMercado, As String PrecioAlOtorgarse )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_Nomina12SetJubilacionPensionRetiroW")> _
Public Shared Sub VirtualXML_Nomina12SetJubilacionPensionRetiro ( p As IntPtr, TotalUnaExhibicion As String, TotalParcialidad As String, MontoDiario As String, IngresoAcumulable As String, IngresoNoAcumulable As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_Nomina12SetSeparacionIndemnizacionW")> _
Public Shared Sub VirtualXML_Nomina12SetSeparacionIndemnizacion ( p As IntPtr, TotalPagado As String, NumAniosServicio As String, UltimoSueldoMensOrd As String, IngresoAcumulable As String, IngresoNoAcumulable As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_Nomina12SetDeduccionesW")> _
Public Shared Sub VirtualXML_Nomina12SetDeducciones ( p As IntPtr, TotalOtrasDeducciones As String, TotalImpuestosRetenidos As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_Nomina12AddDeduccionW")> _
Public Shared Sub VirtualXML_Nomina12AddDeduccion ( p As IntPtr, TipoDeduccion As String, Clave As String, Concepto As String, Importe As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_Nomina12AddOtroPagoW")> _
Public Shared Sub VirtualXML_Nomina12AddOtroPago ( p As IntPtr, TipoOtroPago As String, Clave As String, Concepto As String, Importe As String, SaldoAFavor As String, Anio As String, RemanenteSalFav As String, As String SubsidioCausado )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_Nomina12AddIncapacidadW")> _
Public Shared Sub VirtualXML_Nomina12AddIncapacidad ( p As IntPtr, DiasIncapacidad As String, TipoIncapacidad As String, ImporteMonetario As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetCompleteXML_cfdi33W")> _
Public Shared Sub VirtualXML_SetCompleteXML_cfdi33 ( p As IntPtr, XMLCompleto As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetComprobanteInfo_cfdi33W")> _
Public Shared Sub VirtualXML_SetComprobanteInfo_cfdi33 ( p As IntPtr, Serie As String, Folio As String, Fecha As String, FormaPago As String, CondicionesDePago As String, SubTotal As String, Descuento As String, As String Moneda, As String TipoCambio, As String Total, As String TipoDeComprobante, As String MetodoPago, As String LugarExpedicion, As String Confirmacion )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetCfdiRelacionados_cfdi33W")> _
Public Shared Sub VirtualXML_SetCfdiRelacionados_cfdi33 ( p As IntPtr, TipoRelacion As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_AddCfdiRelacionado_cfdi33W")> _
Public Shared Sub VirtualXML_AddCfdiRelacionado_cfdi33 ( p As IntPtr, UUID As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetEmisorInfo_cfdi33W")> _
Public Shared Sub VirtualXML_SetEmisorInfo_cfdi33 ( p As IntPtr, Rfc As String, Nombre As String, RegimenFiscal As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetReceptorInfo_cfdi33W")> _
Public Shared Sub VirtualXML_SetReceptorInfo_cfdi33 ( p As IntPtr, Rfc As String, Nombre As String, ResidenciaFiscal As String, NumRegIdTrib As String, UsoCFDI As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_AddConcepto_cfdi33W")> _
Public Shared Sub VirtualXML_AddConcepto_cfdi33 ( p As IntPtr, ClaveProdServ As String, NoIdentificacion As String, Cantidad As String, ClaveUnidad As String, Unidad As String, Descripcion As String, ValorUnitario As String, As String Importe, As String Descuento )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_AddConceptoTraslado_cfdi33W")> _
Public Shared Sub VirtualXML_AddConceptoTraslado_cfdi33 ( p As IntPtr, Base As String, Impuesto As String, TipoFactor As String, TasaOCuota As String, Importe As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_AddConceptoRetencion_cfdi33W")> _
Public Shared Sub VirtualXML_AddConceptoRetencion_cfdi33 ( p As IntPtr, Base As String, Impuesto As String, TipoFactor As String, TasaOCuota As String, Importe As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetImpuestosInfo_cfdi33W")> _
Public Shared Sub VirtualXML_SetImpuestosInfo_cfdi33 ( p As IntPtr, TotalImpuestosTrasladados As String, TotalImpuestosRetenidos As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetServicioParcial10W")> _
Public Shared Sub VirtualXML_SetServicioParcial10 ( p As IntPtr, NumPerLicoAut As String, Calle As String, NoExterior As String, NoInterior As String, Colonia As String, Localidad As String, Referencia As String, As String Municipio, As String Estado, As String CodigoPostal )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_AddTraslado_cfdi33W")> _
Public Shared Sub VirtualXML_AddTraslado_cfdi33 ( p As IntPtr, Impuesto As String, TipoFactor As String, TasaOCuota As String, Importe As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_AddRetencion_cfdi33W")> _
Public Shared Sub VirtualXML_AddRetencion_cfdi33 ( p As IntPtr, Impuesto As String, Importe As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetPagos10W")> _
Public Shared Sub VirtualXML_SetPagos10 ( p As IntPtr )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_Pagos10SetPagoW")> _
Public Shared Sub VirtualXML_Pagos10SetPago ( p As IntPtr, FechaPago As String, FormaDePago As String, MonedaP As String, TipoCambioP As String, Monto As String, NumOperacion As String, RfcEmisorCtaOrd As String, As String NomBancoOrdExt, As String CtaOrdenante, As String RfcEmisorCtaBen, As String CtaBeneficiario, As String TipoCadPago, As String CertPago, As String CadPago, As String SelloPago )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_Pagos10AddPagoDoctoRelacionadoW")> _
Public Shared Sub VirtualXML_Pagos10AddPagoDoctoRelacionado ( p As IntPtr, IdDocumento As String, Serie As String, Folio As String, MonedaDR As String, TipoCambioDR As String, MetodoDePagoDR As String, NumParcialidad As String, As String ImpSaldoAnt, As String ImpPagado, As String ImpSaldoInsoluto )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_AddConceptoComplementoIedu_cfdi33W")> _
Public Shared Sub VirtualXML_AddConceptoComplementoIedu_cfdi33 ( pAs IntPtr , nombreAlumno As String, CURP As String, nivelEducativo As String, autRVOE As String, rfcPago As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_AddConceptoInformacionAduanera_cfdi33W")> _
Public Shared Sub VirtualXML_AddConceptoInformacionAduanera_cfdi33 ( p As IntPtr, NumeroPedimento As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_AddConceptoCuentaPredial_cfdi33W")> _
Public Shared Sub VirtualXML_AddConceptoCuentaPredial_cfdi33 ( p As IntPtr, Numero As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_AddConceptoParte_cfdi33W")> _
Public Shared Sub VirtualXML_AddConceptoParte_cfdi33 ( p As IntPtr, ClaveProdServ As String, NoIdentificacion As String, Cantidad As String, Unidad As String, Descripcion As String, ValorUnitario As String, Importe As String, As String NumeroPedimento )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetAddendaText_cfdi33W")> _
Public Shared Sub VirtualXML_SetAddendaText_cfdi33 ( p As IntPtr, text As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_AddComplemento_cfdi33W")> _
Public Shared Sub VirtualXML_AddComplemento_cfdi33 ( p As IntPtr, complementoXml As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetAddenda_cfdi33W")> _
Public Shared Sub VirtualXML_SetAddenda_cfdi33 ( p As IntPtr, text As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetComercioExterior11W")> _
Public Shared Sub VirtualXML_SetComercioExterior11 ( p As IntPtr, MotivoTraslado As String, TipoOperacion As String, ClaveDePedimento As String, CertificadoOrigen As String, NumCertificadoOrigen As String, NumeroExportadorConfiable As String, Incoterm As String, As String Subdivision, As String Observaciones, As String TipoCambioUSD, As String TotalUSD )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CCE11SetEmisorW")> _
Public Shared Sub VirtualXML_CCE11SetEmisor ( p As IntPtr, Curp As String, Calle As String, NumeroExterior As String, NumeroInterior As String, Colonia As String, Localidad As String, Referencia As String, As String Municipio, As String Estado, As String Pais, As String CodigoPostal )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CCE11SetReceptorW")> _
Public Shared Sub VirtualXML_CCE11SetReceptor ( p As IntPtr, NumRegIdTrib As String, Calle As String, NumeroExterior As String, NumeroInterior As String, Colonia As String, Localidad As String, Referencia As String, As String Municipio, As String Estado, As String Pais, As String CodigoPostal )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CCE11AddDestinatarioW")> _
Public Shared Sub VirtualXML_CCE11AddDestinatario ( p As IntPtr, NumRegIdTrib As String, Nombre As String, Calle As String, NumeroExterior As String, NumeroInterior As String, Colonia As String, Localidad As String, As String Referencia, As String Municipio, As String Estado, As String Pais, As String CodigoPostal )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CCE11AddPropietarioW")> _
Public Shared Sub VirtualXML_CCE11AddPropietario ( p As IntPtr, NumRegIdTrib As String, ResidenciaFiscal As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CCE11AddMercanciaW")> _
Public Shared Sub VirtualXML_CCE11AddMercancia ( p As IntPtr, NoIdentificacion As String, FraccionArancelaria As String, CantidadAduana As String, UnidadAduana As String, ValorUnitarioAduana As String, ValorDolares As String, Marca As String, As String Modelo, As String SubModelo, As String NumeroSerie )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CCE11AddMercanciaDescripcionesEspecificasW")> _
Public Shared Sub VirtualXML_CCE11AddMercanciaDescripcionesEspecificAs ( p As IntPtr, Marca As String, Modelo As String, SubModelo As String, NumeroSerie As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetComercioExterior20W")> _
Public Shared Sub VirtualXML_SetComercioExterior20 ( p As IntPtr, MotivoTraslado As String, ClaveDePedimento As String, CertificadoOrigen As String, NumCertificadoOrigen As String, NumeroExportadorConfiable As String, Incoterm As String, As String Observaciones, As String TipoCambioUSD, As String TotalUSD )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CCE20SetEmisorW")> _
Public Shared Sub VirtualXML_CCE20SetEmisor ( p As IntPtr, Curp As String, Calle As String, NumeroExterior As String, NumeroInterior As String, Colonia As String, Localidad As String, Referencia As String, As String Municipio, As String Estado, As String Pais, As String CodigoPostal )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CCE20SetReceptorW")> _
Public Shared Sub VirtualXML_CCE20SetReceptor ( p As IntPtr, NumRegIdTrib As String, Calle As String, NumeroExterior As String, NumeroInterior As String, Colonia As String, Localidad As String, Referencia As String, As String Municipio, As String Estado, As String Pais, As String CodigoPostal )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CCE20AddDestinatarioW")> _
Public Shared Sub VirtualXML_CCE20AddDestinatario ( p As IntPtr, NumRegIdTrib As String, Nombre As String, Calle As String, NumeroExterior As String, NumeroInterior As String, Colonia As String, Localidad As String, As String Referencia, As String Municipio, As String Estado, As String Pais, As String CodigoPostal )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CCE20AddDestinatarioDomicilioW")> _
Public Shared Sub VirtualXML_CCE20AddDestinatarioDomicilio ( p As IntPtr, Calle As String, NumeroExterior As String, NumeroInterior As String, Colonia As String, Localidad As String, As String Referencia, As String Municipio, As String Estado, As String Pais, As String CodigoPostal )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CCE20AddPropietarioW")> _
Public Shared Sub VirtualXML_CCE20AddPropietario ( p As IntPtr, NumRegIdTrib As String, ResidenciaFiscal As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_GeneraCBBW")> _
Public Shared Function VirtualXML_GeneraCBB ( Datos As String, Archivo As String, DependenciAs As IntPtr, RutaLog As String, AddLog As IntPtr, Escala As IntPtr, Margen As IntPtr ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CerTo64W")> _
Public Shared Function VirtualXML_CerTo64 ( ArchivoCer As String ) As String
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_FileTo64W")> _
Public Shared Function VirtualXML_FileTo64 ( Archivo As String ) As String
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetINE11W")> _
Public Shared Sub VirtualXML_SetINE11 ( p As IntPtr, TipoProceso As String, TipoComite As String, IdContabilidad As String, ClaveEntidad As String, Ambito As String, EntidadContabilidadIdContabilidad As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_AddEntidadW")> _
Public Shared Sub VirtualXML_AddEntidad ( p As IntPtr, ClaveEntidad As String, Ambito As String, IdContabilidad As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_AddEntidadContabilidadW")> _
Public Shared Sub VirtualXML_AddEntidadContabilidad ( p As IntPtr, IdContabilidad As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_ConsultaSaldosW")> _
Public Shared Function VirtualXML_ConsultaSaldos ( usuario As String, rfcEmisor As String, DatoSolicitado As IntPtr, ArchivoLog As String ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetLeyendasFiscales10W")> _
Public Shared Sub VirtualXML_SetLeyendasFiscales10 ( p As IntPtr, Disposicion As String, Norma As String, TextoLeyenda As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetLeyendasFiscales10FullW")> _
Public Shared Sub VirtualXML_SetLeyendasFiscales10Full ( p As IntPtr, Dis01 As String, Norma01 As String, Texto01 As String, Dis02 As String, Norma02 As String, Texto02 As String, Dis03 As String, Norma03 As String, Texto03 As String, As String Dis04, As String Norma04, As String Texto04, As String Dis05, As String Norma05, As String Texto05, As String Dis06, As String Norma06, As String Texto06, As String Dis07, As String Norma07, As String Texto07, As String Dis08, As String Norma08, As String Texto08, As String Dis09, As String Norma09, As String Texto09, As String Dis10, As String Norma10, As String Texto10)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_ConsultaEstadoCFDIW")> _
Public Shared Function VirtualXML_ConsultaEstadoCFDI ( rfcEmisor As String, rfcReceptor As String, Total As String, UUID As String, OutLog As String ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_MasivaDescargaW")> _
Public Shared Function VirtualXML_MasivaDescarga ( Usuario As String, ArchivoCerFiel As String, ArchivoKeyFiel As String, PwdKey As String, IdPaquete As String, ArchivoDescargado As String, ArchLog As String, Reservado As String ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_MasivaSolicitaEmitidoXMLW")> _
Public Shared Function VirtualXML_MasivaSolicitaEmitidoXML ( Usuario As String, ArchivoCerFiel As String, ArchivoKeyFiel As String, PwdKey As String, RfcReceptor As String, FechaDesde As String, FechaHasta As String, ArchResultado As String, ArchLog As String, Reservado As String )As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="Retenciones_NewWithLogW")>_
Public Shared Function Retenciones_NewWithLog(szVersion As String, logfile As String) as IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetVirtualPACInfoW")>_
Public Shared Sub Retenciones_SetVirtualPACInfo(p As IntPtr, szUser As String, servidor As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_ProcesaDocumentoW")>_
Public Shared Function Retenciones_ProcesaDocumento(p As IntPtr, As String csd, As String key, As String keypwd, As String outfile) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_FreeW")>_
Public Shared Sub Retenciones_Free(p As IntPtr)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetAddendaTextW")>_
Public Shared Sub Retenciones_SetAddendaText(p As IntPtr, text As String )
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetAddendaXMLW")>_
Public Shared Sub Retenciones_SetAddendaXML(p As IntPtr, xmlAddenda As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetRetenciones10EmisorW")>_
Public Shared Sub Retenciones_SetRetenciones10Emisor(p As IntPtr, RFCEmisor As String, NomDenRazSocE As String, CURPE As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetRetenciones10InfoW")>_
Public Shared Sub Retenciones_SetRetenciones10Info(p As IntPtr, FolioInt As String, FechaExp As String, CveRetenc As String, DescRetenc As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetRetenciones10PeriodoW")>_
Public Shared Sub Retenciones_SetRetenciones10Periodo(p As IntPtr, MesIni As String, MesFin As String, Ejerc As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetRetenciones10ReceptorW")>_
Public Shared Sub Retenciones_SetRetenciones10Receptor(p As IntPtr, Nacionalidad As String, RFCRecep As String, NomDenRazSocRNacional As String, CURPR As String, NumRegIdTrib As String, NomDenRazSocRExtranjero As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetRetenciones10TotalesW")>_
Public Shared Sub Retenciones_SetRetenciones10Totales(p As IntPtr, montoTotOperacion As String, montoTotGrav As String, montoTotExent As String, montoTotRet As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_AddRetenciones10TotalesImpRetenidosW")>_
Public Shared Sub Retenciones_AddRetenciones10TotalesImpRetenidos(p As IntPtr, BaseRet As String, Impuesto As String, montoRet As String, TipoPagoRet As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetRetencionesCfdiRetenRelacionadosW")>_
Public Shared Sub Retenciones_SetRetencionesCfdiRetenRelacionados(p As IntPtr, TipoRelacion As String, UUID As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetRetencionesEmisorW")>_
Retenciones_SetRetencionesEmisor(p As IntPtr, RfcE As String, NomDenRazSocE As String, RegimenFiscalE As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetRetencionesInfoW")>
Public Shared Sub Retenciones_SetRetencionesInfo(p As IntPtr, FolioInt As String, FechaExp As String, LugarExpRetenc As String, CveRetenc As String, DescRetenc As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetRetencionesPeriodoW")>_
Public Shared Sub Retenciones_SetRetencionesPeriodo(p As IntPtr, MesIni As String, MesFin As String, Ejercicio As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetRetencionesReceptorW")>_
Public Shared Sub Retenciones_SetRetencionesReceptor(p As IntPtr, NacionalidadR As String, RfcR As String, NomDenRazSocRNacional As String, CurpR As String, DomicilioFiscalR As String, NumRegIdTribR As String, NomDenRazSocRExtranjero As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetRetencionesTotalesW")>_
Public Shared Sub Retenciones_SetRetencionesTotales(p As IntPtr, MontoTotOperacion As String, MontoTotGrav As String, MontoTotExent As String, MontoTotRet As String, UtilidadBimestral As String, ISRCorrespondiente As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_AddRetencionesTotalesImpRetenidosW")>_
Public Shared Sub Retenciones_AddRetencionesTotalesImpRetenidos(p As IntPtr, BaseRet As String, ImpuestoRet As String, MontoRet As String, TipoPagoRet As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetComplementoArrendamientoenfideicomiso10W")>_
Public Shared Sub Retenciones_SetComplementoArrendamientoenfideicomiso10(p As IntPtr, PagProvEfecPorFiduc As String, RendimFideicom As String, DeduccCorresp As String, MontTotRet As String, MontResFiscDistFibras As String, MontOtrosConceptDistr As String, DescrMontOtrosConceptDistr As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetComplementoDividendos10W")>_
Public Shared Sub Retenciones_SetComplementoDividendos10(p As IntPtr, CveTipDivOUtil As String, MontISRAcredRetMexico As String, MontISRAcredRetExtranjero As String, MontRetExtDivExt As String, TipoSocDistrDiv As String, MontISRAcredNal As String, MontDivAcumNal As String, MontDivAcumExt As String, ProporcionRem As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetComplementoEnajenaciondeAcciones10W")>_
Public Shared Sub Retenciones_SetComplementoEnajenaciondeAcciones10(p As IntPtr, ContratoIntermediacion As String, Ganancia As String, Perdida As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetComplementoFideicomisonoempresarial10W")>_
Public Shared Sub Retenciones_SetComplementoFideicomisonoempresarial10(p As IntPtr, MontTotEntradasPeriodo As String, PartPropAcumDelFideicom As String, PropDelMontTotEntradas As String, Concepto As String, MontTotEgresPeriodo As String, PartPropDelFideicom As String, PropDelMontTotSalidas As String, ConceptoS As String, MontRetRelPagFideic As String, DescRetRelPagFideic As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetComplementoIntereses10W")>_
Public Shared Sub Retenciones_SetComplementoIntereses10(p As IntPtr, SistFinanciero As String, RetiroAORESRetInt As String, OperFinancDerivad As String, MontIntNominal As String, MontIntReal As String, Perdida As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetComplementoIntereseshipotecarios10W")>_
Public Shared Sub Retenciones_SetComplementoIntereseshipotecarios10(p As IntPtr, CreditoDeInstFinanc As String, SaldoInsoluto As String, PropDeducDelCredit As String, MontTotIntNominalesDev As String, MontTotIntNominalesDevYPag As String, MontTotIntRealPagDeduc As String, NumContrato As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetComplementoOperacionesconderivados10W")>_
Public Shared Sub Retenciones_SetComplementoOperacionesconderivados10(p As IntPtr, MontGanAcum As String, MontPerdDed As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetComplementoPagosaextranjeros10W")>_
Public Shared Sub Retenciones_SetComplementoPagosaextranjeros10(p As IntPtr, EsBenefEfectDelCobro As String, PaisDeResidParaEfecFisc As String, ConceptoPagoNoBeneficiario As String, DescripcionConceptoNoBeneficiario, As String, RFC As String, CURP As String, NomDenRazSocB As String, ConceptoPagoBeneficiario As String, DescripcionConceptoBeneficiario As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetComplementoPlanesderetiro11W")>_
Public Shared Sub Retenciones_SetComplementoPlanesderetiro11(p As IntPtr, SistemaFinanc As String, MontTotAportAnioInmAnterior As String, MontIntRealesDevengAniooInmAnt As String, HuboRetirosAnioInmAntPer As String, MontTotRetiradoAnioInmAntPer As String, MontTotExentRetiradoAnioInmAnt As String, MontTotExedenteAnioInmAnt As String, HuboRetirosAnioInmAnt As String, MontTotRetiradoAnioInmAnt As String, NumReferencia As String, TipoAportacionODeposito1 As String, MontAportODep1 As String, RFCFiduciaria1 As String, TipoAportacionODeposito2 As String, MontAportODep2 As String, RFCFiduciaria2 As String, TipoAportacionODeposito3 As String, MontAportODep3 As String, RFCFiduciaria3 As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetComplementoPlataformasTecnologicas10W")>_
Public Shared Sub Retenciones_SetComplementoPlataformasTecnologicas10(p As IntPtr, Periodicidad As String, NumServ As String, MonTotServSIVA As String, TotalIVATrasladado As String, TotalIVARetenido As String, TotalISRRetenido As String, DifIVAEntregadoPrestServ As String, MonTotalporUsoPlataforma As String, MonTotalContribucionGuber As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_AddComplementoPlataformasTecnologicas10DetallesDelServicioW")>_
Public Shared Sub Retenciones_AddComplementoPlataformasTecnologicas10DetallesDelServicio(p As IntPtr, FormaPagoServ As String, TipoDeServ As String, SubTipServ As String, RFCTerceroAutorizado As String, FechaServ As String, PrecioServSinIVA As String, BaseTrasladados As String, ImpuestoTrasladados As String, TipoFactorTrasladados As String, TasaCuotaTrasladados As String, ImporteTrasladados As String, ImpContrib As String, EntidadDondePagaLaContribucion As String, BaseComision As String, PorcentajeComision As String, ImporteComision As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetComplementoPremios10W")>_
Public Shared Sub Retenciones_SetComplementoPremios10(p As IntPtr, EntidadFederativa As String, MontTotPago As String, MontTotPagoGrav As String, MontTotPagoExent As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, Entrypoint:="Retenciones_SetComplementoSectorFinanciero10W")>_
Public Shared Sub Retenciones_SetComplementoSectorFinanciero10(p As IntPtr, IdFideicom As String, NomFideicom As String, DescripFideicom As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_MasivaSolicitaEmitidoMetadataW")> _
Public Shared Function VirtualXML_MasivaSolicitaEmitidoMetadata ( Usuario As String, ArchivoCerFiel As String, ArchivoKeyFiel As String, PwdKey As String, RfcReceptor As String, FechaDesde As String, FechaHasta As String, ArchResultado As String, ArchLog As String, Reservado As String ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_MasivaSolicitaRecibidoXMLW")> _
Public Shared Function VirtualXML_MasivaSolicitaRecibidoXML ( Usuario As String, ArchivoCerFiel As String, ArchivoKeyFiel As String, PwdKey As String, RfcEmisor As String, FechaDesde As String, FechaHasta As String, ArchResultado As String, ArchLog As String, Reservado As String )As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_MasivaSolicitaRecibidoMetadataW")> _
Public Shared Function VirtualXML_MasivaSolicitaRecibidoMetadata ( Usuario As String, ArchivoCerFiel As String, ArchivoKeyFiel As String, PwdKey As String, RfcEmisor As String, FechaDesde As String, FechaHasta As String, ArchResultado As String, ArchLog As String, Reservado As String ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_MasivaVerificaW")> _
Public Shared Function VirtualXML_MasivaVerifica ( Usuario As String, ArchivoCerFiel As String, ArchivoKeyFiel As String, PwdKey As String, IdSolicitud As String, ArchResultado As String, ArchLog As String, Reservado As String ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntyPoint:="VirtualXML_SetCartaPorte20W")> _
Public Shared Sub VirtualXML_SetCartaPorte20(p As IntPtr, TranspInternac As String, EntradaSalidaMerc As String, PaisOrigenDestino As String, ViaEntradaSalida As String, TotalDistRec As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntyPoint:="VirtualXML_CartaPorte20AddUbicacionW")> _
Public Shared Sub VirtualXML_CartaPorte20AddUbicacion(p As IntPtr, TipoUbicacion As String, IDUbicacion As String, RFCRemitenteDestinatario As String, NombreRemitenteDestinatario As String, NumRegIdTrib As String, ResidenciaFiscal As String, NumEstacion As String, NombreEstacion As String, NavegacionTrafico As String, FechaHoraSalidaLlegada As String, TipoEstacion As String, DistanciaRecorrida As String, Calle As String, NumeroExterior As String, NumeroInterior As String, Colonia As String, Localidad As String, Referencia As String, Municipio As String, Estado As String, Pais As String, CodigoPostal As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntyPoint:="VirtualXML_CartaPorte20SetMercanciasW")> _
Public Shared Sub VirtualXML_CartaPorte20SetMercancias(p As IntPtr, PesoBrutoTotal As String, UnidadPeso As String, PesoNetoTotal As String, NumTotalMercancias As String, CargoPorTasacion As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntyPoint:="VirtualXML_CartaPorte20AddMercanciaW")> _
Public Shared Sub VirtualXML_CartaPorte20AddMercancia(p As IntPtr, BienesTransp As String, ClaveSTCC As String, Descripcion As String, Cantidad As String, ClaveUnidad As String, Unidad As String, Dimensiones As String, MaterialPeligroso As String, CveMaterialPeligroso As String, Embalaje As String, DescripEmbalaje As String, PesoEnKg As String, ValorMercancia As String, Moneda As String, FraccionArancelaria As String, UUIDComercioExt As String, UnidadPesoMerc As String, PesoBruto As String, PesoNeto As String, PesoTara As String, NumPiezas As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntyPoint:="VirtualXML_CartaPorte20AddMercanciaPedimentosW")> _
Public Shared Sub VirtualXML_CartaPorte20AddMercanciaPedimentos(p As IntPtr, Pedimento As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntyPoint:="VirtualXML_CartaPorte20AddMercanciaGuiasIdentificacionW")> _
Public Shared Sub VirtualXML_CartaPorte20AddMercanciaGuiasIdentificacion(p As IntPtr, NumeroGuiaIdentificacion As String, DescripGuiaIdentificacion As String, PesoGuiaIdentificacion As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntyPoint:="VirtualXML_CartaPorte20AddMercanciaCantidadTransportaW")> _
Public Shared Sub VirtualXML_CartaPorte20AddMercanciaCantidadTransporta(p As IntPtr, Cantidad As String, IDOrigen As String, IDDestino As String, CvesTransporte As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntyPoint:="VirtualXML_CartaPorte20SetMercanciasAutotransporteW")> _
Public Shared Sub VirtualXML_CartaPorte20SetMercanciasAutotransporte(p As IntPtr, PermSCT As String, NumPermisoSCT As String, ConfigVehicular As String, PlacaVM As String, AnioModeloVM As String, AseguraRespCivil As String, PolizaRespCivil As String, AseguraMedAmbiente As String, PolizaMedAmbiente As String, AseguraCarga As String, PolizaCarga As String, PrimaSeguro As String, SubTipoRem1 As String, Placa1 As String, SubTipoRem2 As String, Placa2 As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntyPoint:="VirtualXML_CartaPorte20SetMercanciasTransporteMaritimoW")> _
Public Shared Sub VirtualXML_CartaPorte20SetMercanciasTransporteMaritimo(p As IntPtr, PermSCT As String, NumPermisoSCT As String, NombreAseg As String, NumPolizaSeguro As String, TipoEmbarcacion As String, Matricula As String, NumeroOMI As String, AnioEmbarcacion As String, NombreEmbarc As String, NacionalidadEmbarc As String, UnidadesDeArqBruto As String, TipoCarga As String, NumCertITC As String, Eslora As String, Manga As String, Calado As String, LineaNaviera As String, NombreAgenteNaviero As String, NumAutorizacionNaviero As String, NumViaje As String, NumConocEmbarc As String, MatriculaContenedor As String, TipoContenedor As String, NumPrecinto As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntyPoint:="VirtualXML_CartaPorte20AddMercanciasTransporteMaritimoContenedorW")> _
Public Shared Sub VirtualXML_CartaPorte20AddMercanciasTransporteMaritimoContenedor(p As IntPtr, MatriculaContenedor As String, TipoContenedor As String, NumPrecinto As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntyPoint:="VirtualXML_CartaPorte20SetMercanciasTransporteAereoW")> _
Public Shared Sub VirtualXML_CartaPorte20SetMercanciasTransporteAereo(p As IntPtr, PermSCT As String, NumPermisoSCT As String, MatriculaAeronave As String, NombreAseg As String, NumPolizaSeguro As String, NumeroGuia As String, LugarContrato As String, CodigoTransportista As String, RFCEmbarcador As String, NumRegIdTribEmbarc As String, ResidenciaFiscalEmbarc As String, NombreEmbarcador As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntyPoint:="VirtualXML_CartaPorte20SetMercanciasTransporteFerroviarioW")> _
Public Shared Sub VirtualXML_CartaPorte20SetMercanciasTransporteFerroviario(p As IntPtr, TipoDeServicio As String, TipoDeTrafico As String, NombreAseg As String, NumPolizaSeguro As String, TipoDerechoDePaso As String, KilometrajePagado As String, TipoCarro As String, MatriculaCarro As String, GuiaCarro As String, ToneladasNetasCarro As String, TipoContenedor As String, PesoContenedorVacio As String, PesoNetoMercancia As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntyPoint:="VirtualXML_CartaPorte20AddMercanciasTransporteFerroviarioDerechosDePasoW")> _
Public Shared Sub VirtualXML_CartaPorte20AddMercanciasTransporteFerroviarioDerechosDePaso(p As IntPtr, TipoDerechoDePaso As String, KilometrajePagado As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntyPoint:="VirtualXML_CartaPorte20AddMercanciasTransporteFerroviarioCarroW")> _
Public Shared Sub VirtualXML_CartaPorte20AddMercanciasTransporteFerroviarioCarro(p As IntPtr, TipoCarro As String, MatriculaCarro As String, GuiaCarro As String, ToneladasNetasCarro As String, TipoContenedor As String, PesoContenedorVacio As String, PesoNetoMercancia)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntyPoint:="VirtualXML_CartaPorte20AddMercanciasTransporteFerroviarioCarroContenedorW")> _
Public Shared Sub VirtualXML_CartaPorte20AddMercanciasTransporteFerroviarioCarroContenedor(p As IntPtr, TipoContenedor As String, PesoContenedorVacio As String, PesoNetoMercancia As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntyPoint:="VirtualXML_CartaPorte20AddFiguraTransporteTiposFiguraW")> _
Public Shared Sub VirtualXML_CartaPorte20AddFiguraTransporteTiposFigura(p As IntPtr, TipoFigura As String, RFCFigura As String, NumLicencia As String, NombreFigura As String, NumRegIdTribFigura As String, ResidenciaFiscalFigura As String, ParteTransporte As String, Calle As String, NumeroExterior As String, NumeroInterior As String, Colonia As String, Localidad As String, Referencia As String, Municipio As String, Estado As String, Pais As String, CodigoPostal As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntyPoint:="VirtualXML_CartaPorte20AddFiguraTransporteTiposFiguraPartesTransporteW")> _
Public Shared Sub VirtualXML_CartaPorte20AddFiguraTransporteTiposFiguraPartesTransporte(p As IntPtr, ParteTransporte As String)
End Sub
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntyPoint:="VirtualXML_CancelaCFDI2022SslW")> _
Public Shared Function VirtualXML_CancelaCFDI2022SslW(szUsuario As String, szRfcEmisor As String, szMotivo As String, szUuid As String, szFolioSust As String, szCert As String, szKey As String, szPwd As String, szServer As String, szResult As String, szLog As String ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet:=CharSet.Unicode, EntyPoint:="VirtualXML_CancelaCFDI2022W")> _
Public Shared Function VirtualXML_CancelaCFDI2022W(szUsuario As String, szRfcEmisor As String, szMotivo As String, szUuid As String, szFolioSust As String, szCert As String, szKey As String, szPwd As String, szServer As String, szResult As String, szLog As String ) As IntPtr
End Function
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_Pagos20AddPagoW")> _
Public Shared Sub VirtualXML_Pagos20AddPagoW ( p As IntPtr, FechaPago As String, FormaDePagoP As String, MonedaP As String, TipoCambioP As String, Monto As String, NumOperacion As String, RfcEmisorCtaOrd As String, NomBancoOrdExt As String, CtaOrdenante As String, RfcEmisorCtaBen As String, CtaBeneficiario As String, TipoCadPago As String, CertPago As String, CadPago As String, SelloPago As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_Pagos20AddPagoDoctoRelacionadoW")> _
Public Shared Sub VirtualXML_Pagos20AddPagoDoctoRelacionadoW ( p As IntPtr, idDocumento As String, Serie As String, Folio As String, MonedadDR As String, EquivalenciaDR As String, NumParcialidad As String, ImpSaldoAnt As String, ImpPagado As String, ImpSaldoInsoluto As String, ObjetoImpDR As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_Pagos20AddPagoDoctoRelacionadoRetencionDRW")> _
Public Shared Sub VirtualXML_Pagos20AddPagoDoctoRelacionadoRetencionDRW ( p As IntPtr, BaseDR As String, ImpuestoDR As String, TipoFactorDR As String, TasaOCuotaDR As String, ImporteDR As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_Pagos20AddPagoDoctoRelacionadoTrasladoDRW")> _
Public Shared Sub VirtualXML_Pagos20AddPagoDoctoRelacionadoTrasladoDRW ( p As IntPtr, BaseDR As String, ImpuestoDR As String, TipoFactorDR As String, TasaOCuotaDR As String, ImporteDR As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_Pagos20AddPagoImpuestosPRetencionPW")> _
Public Shared Sub VirtualXML_Pagos20AddPagoImpuestosPRetencionPW ( p As IntPtr, ImpuestoP As String, ImporteP As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_Pagos20AddPagoImpuestosPTrasladoPW")> _
Public Shared Sub VirtualXML_Pagos20AddPagoImpuestosPTrasladoPW ( p As IntPtr, BaseP As String, ImpuestoP As String, TipoFactorP As String, TasaOCuotaP As String, ImporteP As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_SetPagos20W")> _
Public Shared Sub VirtualXML_SetPagos20W ( p As IntPtr, TotalRetencionesIVA As String, TotalRetencionesISR As String, TotalRetencionesIEPS As String, TotalTrasladosBaseIVA16 As String, TotalTrasladosImpuestoIVA16 As String, TotalTrasladosBaseIVA8 As String, TotalTrasladosImpuestoIVA8 As String, TotalTrasladosBaseIVA0 As String, TotalTrasladosImpuestoIVA0 As String, TotalTrasladosBaseIVAExento As String, MontoTotalPagosAs String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_AddCfdiRelacionado_cfdi40W")> _
Public Shared Sub VirtualXML_AddCfdiRelacionado_cfdi40W ( p As IntPtr, UUID As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_AddCfdiRelacionados_cfdi40W")> _
Public Shared Sub VirtualXML_AddCfdiRelacionados_cfdi40W ( p As IntPtr, TipoRelacion As String, UUID1 As String, UUID2 As String, UUID3 As String, UUID4 As String, UUID5 As String, UUID6 As String, UUID7 As String, UUID8 As String, UUID9 As String, UUID10As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_AddComplemento_cfdi40W")> _
Public Shared Sub VirtualXML_AddComplemento_cfdi40W ( p As IntPtr, complementoXml As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_AddComplementoConcepto_cfdi40W")> _
Public Shared Sub VirtualXML_AddComplementoConcepto_cfdi40W ( p As IntPtr, complementoXml As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_AddConcepto_cfdi40W")> _
Public Shared Sub VirtualXML_AddConcepto_cfdi40W ( p As IntPtr, ClaveProdServ As String, NoIdentificacion As String, Cantidad As String, ClaveUnidad As String, Unidad As String, Descripcion As String, ValorUnitario As String, Importe As String, Descuento As String, ObjetoImp As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_AddConceptoCuentaPredial_cfdi40W")> _
Public Shared Sub VirtualXML_AddConceptoCuentaPredial_cfdi40W ( p As IntPtr, Numero As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_AddConceptoInformacionAduanera_cfdi40W")> _
Public Shared Sub VirtualXML_AddConceptoInformacionAduanera_cfdi40W ( p As IntPtr, NumperoPedimento As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_AddConceptoParte_cfdi40W")> _
Public Shared Sub VirtualXML_AddConceptoParte_cfdi40W ( p As IntPtr, ClaveProdServ As String, NoIdentificacion As String, Cantidad As String, Unidad As String, Descripcion As String, ValorUnitario As String, Importe As String, NumperoPedimento1 As String, NumperoPedimento2 As String, NumperoPedimento3 As String, NumperoPedimento4 As String, NumperoPedimento5 As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_AddConceptoRetencion_cfdi40W")> _
Public Shared Sub VirtualXML_AddConceptoRetencion_cfdi40W ( p As IntPtr, Base As String, Impuesto As String, Tipofactor As String, TasaOCuota As String, Importe As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_AddConceptoTraslado_cfdi4033W")> _
Public Shared Sub VirtualXML_AddConceptoTraslado_cfdi40W ( p As IntPtr, Base As String, Impuesto As String, Tipofactor As String, TasaOCuota As String, Importe As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_AddRetencion_cfdi40W")> _
Public Shared Sub VirtualXML_AddRetencion_cfdi40W ( p As IntPtr, Impuesto As String, Importe As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_AddTraslado_cfdi40W")> _
Public Shared Sub VirtualXML_AddTraslado_cfdi40W ( p As IntPtr, Impuesto As String, TipoFactor As String, TasaOCuota As String, Importe As String, Base As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_SetAddenda_cfdi40W")> _
Public Shared Sub VirtualXML_SetAddenda_cfdi40W ( p As IntPtr, text As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_SetAddendaText_cfdi40W")> _
Public Shared Sub VirtualXML_SetAddendaText_cfdi40W ( p As IntPtr, text As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_SetCompleteXML_cfdi40W")> _
Public Shared Sub VirtualXML_SetCompleteXML_cfdi40W ( p As IntPtr, TextoXMLoArchivoXMLAs String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_SetComprobanteInfo_cfdi40W")> _
Public Shared Sub VirtualXML_SetComprobanteInfo_cfdi40W ( p As IntPtr, Serie As String, Folio As String, Fecha As String, FormaDePago As String, CondicionesDePago As String, SubTotal As String, Descuento As String, Moneda As String, TipoCambio As String, Total As String, TipoDeComprobante As String, MetodoDePago As String, LugarExpedicion As String, Confirmacion As String, Exportacion As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_SetConceptoACuentaTerceros_cfdi40W")> _
Public Shared Sub VirtualXML_SetConceptoACuentaTerceros_cfdi40W ( p As IntPtr, RfcACuentaTerceros As String, NombreACuentaTerceros As String, RegimenFiscalACuentaTerceros As String, DomicilioFiscalACuentaTerceros As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_SetEmisorInfo_cfdi40W")> _
Public Shared Sub VirtualXML_SetEmisorInfo_cfdi40W ( p As IntPtr, RFC As String, Nombre As String, RegimenFiscal As String, FacAtrAdquirente As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_SetInformacionGlobal_cfdi40W")> _
Public Shared Sub VirtualXML_SetInformacionGlobal_cfdi40W ( p As IntPtr, Periodicidad As String, Meses As String, Año As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_SetImpuestosInfo_cfdi40W")> _
Public Shared Sub VirtualXML_SetImpuestosInfo_cfdi40W ( p As IntPtr, totalImpuestosTrasladados As String, totalImpuestosRetenidos As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="VirtualXML_SetReceptorInfo_cfdi40W")> _
Public Shared Sub VirtualXML_SetReceptorInfo_cfdi40W ( p As IntPtr, RFC As String, Nombre As String, ResidenciaFiscal As String, NumRegIdTrib As String, UsoCFDI As String, DomicilioFiscalReceptor As String, RegimenFiscalReceptor As String )
End Sub
<DllImport("VirtualXML.dll", CharSet := CharSet.Unicode, EntryPoint :="Utils_SendEmailW")> _
Public Shared Function Utils_SendEmailW ( SmtpServer As String, SmtpPuerto As IntPtr, SmtpUserName As String, SmtpPassword As String, MessageTo As String, MessageFrom As String, MessageSubjet As String, MessageBody As String, MessageAttach1 As String, MessageAttach2 As String, MessageAttach3 As String, OutLog As String, Reserved As String ) As IntPtr
End Function
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetCartaPorte30W")>
Public Shared Sub VirtualXML_SetCartaPorte30W(p As IntPtr, IdCCP As String, TranspInternac As String, RegimenAduanero As String, EntradaSalidaMerc As String, PaisOrigenDestino As String, ViaEntradaSalida As String, TotalDistRec As String, RegistroISTMO As String, UbicacionPoloOrigen As String, UbicacionPoloDestino As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte30AddUbicacionW")>
Public Shared Sub VirtualXML_CartaPorte30AddUbicacionW(p As IntPtr, TipoUbicacion As String, IDUbicacion As String, RFCRemitenteDestinatario As String, NombreRemitenteDestinatario As String, NumRegIdTrib As String, ResidenciaFiscal As String, NumEstacion As String, NombreEstacion As String, NavegacionTrafico As String, FechaHoraSalidaLlegada As String, TipoEstacion As String, DistanciaRecorrida As String, Calle As String, NumeroExterior As String, NumeroInterior As String, Colonia As String, Localidad As String, Referencia As String, Municipio As String, Estado As String, Pais As String, CodigoPostal As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte30SetMercanciasW")>
Public Shared Sub VirtualXML_CartaPorte30SetMercanciasW(p As IntPtr, PesoBrutoTotal As String, UnidadPeso As String, PesoNetoTotal As String, NumTotalMercancias As String, CargoPorTasacion As String, LogisticaInversaRecoleccionDevolucion As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte30AddMercanciaW")>
Public Shared Sub VirtualXML_CartaPorte30AddMercanciaW(p As IntPtr, BienesTransp As String, ClaveSTCC As String, Descripcion As String, Cantidad As String, ClaveUnidad As String, Unidad As String, Dimensiones As String, MaterialPeligroso As String, CveMaterialPeligroso As String, Embalaje As String, DescripEmbalaje As String, SectorCOFEPRIS As String, NombreIngredienteActivo As String, NomQuimico As String, DenominacionGenericaProd As String, DenominacionDistintivaProd As String, Fabricante As String, FechaCaducidad As String, LoteMedicamento As String, FormaFarmaceutica As String, CondicionesEspTransp As String, RegistroSanitarioFolioAutorizacion As String, PermisoImportacion As String, FolioImpoVUCEM As String, NumCAS As String, RazonSocialEmpImp As String, NumRegSanPlagCOFEPRIS As String, DatosFabricante As String, DatosFormulador As String, DatosMaquilador As String, UsoAutorizado As String, PesoEnKg As String, ValorMercancia As String, Moneda As String, FraccionArancelaria As String, UUIDComercioExt As String, TipoMateria As String, DescripcionMateria As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte30SetDetalleMercanciaW")>
Public Shared Sub VirtualXML_CartaPorte30SetDetalleMercanciaW(p As IntPtr, UnidadPesoMerc As String, PesoBruto As String, PesoNeto As String, PesoTara As String, NumPiezas As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte30AddMercanciaDocumentacionAduaneraW")>
Public Shared Sub VirtualXML_CartaPorte30AddMercanciaDocumentacionAduaneraW(p As IntPtr, TipoDocumento As String, NumPedimento As String, IdentDocAduanero As String, RFCImpo As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte30AddMercanciaGuiasIdentificacionW")>
Public Shared Sub VirtualXML_CartaPorte30AddMercanciaGuiasIdentificacionW(p As IntPtr, NumeroGuiaIdentificacion As String, DescripGuiaIdentificacion As String, PesoGuiaIdentificacion As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte30AddMercanciaCantidadTransportaW")>
Public Shared Sub VirtualXML_CartaPorte30AddMercanciaCantidadTransportaW(p As IntPtr, Cantidad As String, IDOrigen As String, IDDestino As String, CvesTransporte As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte30SetMercanciasAutotransporteW")>
Public Shared Sub VirtualXML_CartaPorte30SetMercanciasAutotransporteW(p As IntPtr, PermSCT As String, NumPermisoSCT As String, ConfigVehicular As String, PesoBrutoVehicular As String, PlacaVM As String, AnioModeloVM As String, AseguraRespCivil As String, PolizaRespCivil As String, AseguraMedAmbiente As String, PolizaMedAmbiente As String, AseguraCarga As String, PolizaCarga As String, PrimaSeguro As String, SubTipoRem1 As String, Placa1 As String, SubTipoRem2 As String, Placa2 As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte30SetMercanciasTransporteMaritimoW")>
Public Shared Sub VirtualXML_CartaPorte30SetMercanciasTransporteMaritimoW(p As IntPtr, PermSCT As String, NumPermisoSCT As String, NombreAseg As String, NumPolizaSeguro As String, TipoEmbarcacion As String, Matricula As String, NumeroOMI As String, AnioEmbarcacion As String, NombreEmbarc As String, NacionalidadEmbarc As String, UnidadesDeArqBruto As String, TipoCarga As String, Eslora As String, Manga As String, Calado As String, Puntal As String, LineaNaviera As String, NombreAgenteNaviero As String, NumAutorizacionNaviero As String, NumViaje As String, NumConocEmbarc As String, PermisoTempNavegacion As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte30SetMercanciasTransporteMaritimoRemolquesCCPW")>
Public Shared Sub VirtualXML_CartaPorte30SetMercanciasTransporteMaritimoRemolquesCCPW(p As IntPtr, SubTipoRemCCP1 As String, PlacaCCP1 As String, SubTipoRemCCP2 As String, PlacaCCP2 As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte30AddMercanciasTransporteMaritimoContenedorW")>
Public Shared Sub VirtualXML_CartaPorte30AddMercanciasTransporteMaritimoContenedorWW(p As IntPtr, TipoContenedor As String, MatriculaContenedor As String, NumPrecinto As String, IdCCPRelacionado As String, PlacaVMCCP As String, FechaCertificacionCCP As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte30SetMercanciasTransporteAereoW")>
Public Shared Sub VirtualXML_CartaPorte30SetMercanciasTransporteAereoW(p As IntPtr, PermSCT As String, NumPermisoSCT As String, MatriculaAeronave As String, NombreAseg As String, NumPolizaSeguro As String, NumeroGuia As String, LugarContrato As String, CodigoTransportista As String, RFCEmbarcador As String, NumRegIdTribEmbarc As String, ResidenciaFiscalEmbarc As String, NombreEmbarcador As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte30SetMercanciasTransporteFerroviarioW")>
Public Shared Sub VirtualXML_CartaPorte30SetMercanciasTransporteFerroviario(p As IntPtr, TipoDeServicio As String, TipoDeTrafico As String, NombreAseg As String, NumPolizaSeguro As String, TipoDerechoDePaso As String, KilometrajePagado As String, TipoCarro As String, MatriculaCarro As String, GuiaCarro As String, ToneladasNetasCarro As String, TipoContenedor As String, PesoContenedorVacio As String, PesoNetoMercancia As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte30AddMercanciasTransporteFerroviarioDerechosDePasoW")>
Public Shared Sub VirtualXML_CartaPorte30AddMercanciasTransporteFerroviarioDerechosDePasoW(p As IntPtr, TipoDerechoDePaso As String, KilometrajePagado As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte30AddMercanciasTransporteFerroviarioCarroW")>
Public Shared Sub VirtualXML_CartaPorte30AddMercanciasTransporteFerroviarioCarroW(p As IntPtr, TipoCarro As String, MatriculaCarro As String, GuiaCarro As String, ToneladasNetasCarro As String, TipoContenedor As String, PesoContenedorVacio As String, PesoNetoMercancia As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte30AddMercanciasTransporteFerroviarioCarroContenedorW")>
Public Shared Sub VirtualXML_CartaPorte30AddMercanciasTransporteFerroviarioCarroContenedorW(p As IntPtr, TipoContenedor As String, PesoContenedorVacio As String, PesoNetoMercancia As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte30AddFiguraTransporteTiposFiguraW")>
Public Shared Sub VirtualXML_CartaPorte30AddFiguraTransporteTiposFiguraW(p As IntPtr, TipoFigura As String, RFCFigura As String, NumLicencia As String, NombreFigura As String, NumRegIdTribFigura As String, ResidenciaFiscalFigura As String, ParteTransporte As String, Calle As String, NumeroExterior As String, NumeroInterior As String, Colonia As String, Localidad As String, Referencia As String, Municipio As String, Estado As String, Pais As String, CodigoPostal As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte30AddFiguraTransporteTiposFiguraPartesTransporteW")>
Public Shared Sub VirtualXML_CartaPorte30AddFiguraTransporteTiposFiguraPartesTransporteW(p As IntPtr, ParteTransporte As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_SetCartaPorte31W")>
Public Shared Sub VirtualXML_SetCartaPorte31W(p As IntPtr, IdCCP As String, TranspInternac As String, EntradaSalidaMerc As String, PaisOrigenDestino As String, ViaEntradaSalida As String, TotalDistRec As String, RegistroISTMO As String, UbicacionPoloOrigen As String, UbicacionPoloDestino As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte31AddRegimenAduaneroW")>
Public Shared Sub VirtualXML_CartaPorte31AddRegimenAduaneroW(p As IntPtr, RegimenAduanero01 As String, RegimenAduanero02 As String, RegimenAduanero03 As String, RegimenAduanero04 As String, RegimenAduanero05 As String, RegimenAduanero06 As String, RegimenAduanero07 As String, RegimenAduanero08 As String, RegimenAduanero09 As String, RegimenAduanero10 As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte31AddUbicacionW")>
Public Shared Sub VirtualXML_CartaPorte31AddUbicacionW(p As IntPtr, TipoUbicacion As String, IDUbicacion As String, RFCRemitenteDestinatario As String, NombreRemitenteDestinatario As String, NumRegIdTrib As String, ResidenciaFiscal As String, NumEstacion As String, NombreEstacion As String, NavegacionTrafico As String, FechaHoraSalidaLlegada As String, TipoEstacion As String, DistanciaRecorrida As String, Calle As String, NumeroExterior As String, NumeroInterior As String, Colonia As String, Localidad As String, Referencia As String, Municipio As String, Estado As String, Pais As String, CodigoPostal As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte31SetMercanciasW")>
Public Shared Sub VirtualXML_CartaPorte31SetMercanciasW(p As IntPtr, PesoBrutoTotal As String, UnidadPeso As String, PesoNetoTotal As String, NumTotalMercancias As String, CargoPorTasacion As String, LogisticaInversaRecoleccionDevolucion As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte31AddMercanciaW")>
Public Shared Sub VirtualXML_CartaPorte31AddMercanciaW(p As IntPtr, BienesTransp As String, ClaveSTCC As String, Descripcion As String, Cantidad As String, ClaveUnidad As String, Unidad As String, Dimensiones As String, MaterialPeligroso As String, CveMaterialPeligroso As String, Embalaje As String, DescripEmbalaje As String, SectorCOFEPRIS As String, NombreIngredienteActivo As String, NomQuimico As String, DenominacionGenericaProd As String, DenominacionDistintivaProd As String, Fabricante As String, FechaCaducidad As String, LoteMedicamento As String, FormaFarmaceutica As String, CondicionesEspTransp As String, RegistroSanitarioFolioAutorizacion As String, PermisoImportacion As String, FolioImpoVUCEM As String, NumCAS As String, RazonSocialEmpImp As String, NumRegSanPlagCOFEPRIS As String, DatosFabricante As String, DatosFormulador As String, DatosMaquilador As String, UsoAutorizado As String, PesoEnKg As String, ValorMercancia As String, Moneda As String, FraccionArancelaria As String, UUIDComercioExt As String, TipoMateria As String, DescripcionMateria As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte31SetDetalleMercanciaW")>
Public Shared Sub VirtualXML_CartaPorte31SetDetalleMercanciaW(p As IntPtr, UnidadPesoMerc As String, PesoBruto As String, PesoNeto As String, PesoTara As String, NumPiezas As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte31AddMercanciaDocumentacionAduaneraW")>
Public Shared Sub VirtualXML_CartaPorte31AddMercanciaDocumentacionAduaneraW(p As IntPtr, TipoDocumento As String, NumPedimento As String, IdentDocAduanero As String, RFCImpo As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte31AddMercanciaGuiasIdentificacionW")>
Public Shared Sub VirtualXML_CartaPorte31AddMercanciaGuiasIdentificacionW(p As IntPtr, NumeroGuiaIdentificacion As String, DescripGuiaIdentificacion As String, PesoGuiaIdentificacion As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte31AddMercanciaCantidadTransportaW")>
Public Shared Sub VirtualXML_CartaPorte31AddMercanciaCantidadTransportaW(p As IntPtr, Cantidad As String, IDOrigen As String, IDDestino As String, CvesTransporte As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte31SetMercanciasAutotransporteW")>
Public Shared Sub VirtualXML_CartaPorte31SetMercanciasAutotransporteW(p As IntPtr, PermSCT As String, NumPermisoSCT As String, ConfigVehicular As String, PesoBrutoVehicular As String, PlacaVM As String, AnioModeloVM As String, AseguraRespCivil As String, PolizaRespCivil As String, AseguraMedAmbiente As String, PolizaMedAmbiente As String, AseguraCarga As String, PolizaCarga As String, PrimaSeguro As String, SubTipoRem1 As String, Placa1 As String, SubTipoRem2 As String, Placa2 As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte31SetMercanciasTransporteMaritimoW")>
Public Shared Sub VirtualXML_CartaPorte31SetMercanciasTransporteMaritimoW(p As IntPtr, PermSCT As String, NumPermisoSCT As String, NombreAseg As String, NumPolizaSeguro As String, TipoEmbarcacion As String, Matricula As String, NumeroOMI As String, AnioEmbarcacion As String, NombreEmbarc As String, NacionalidadEmbarc As String, UnidadesDeArqBruto As String, TipoCarga As String, Eslora As String, Manga As String, Calado As String, Puntal As String, LineaNaviera As String, NombreAgenteNaviero As String, NumAutorizacionNaviero As String, NumViaje As String, NumConocEmbarc As String, PermisoTempNavegacion As String, SubTipoRemCCP1 As String, PlacaCCP1 As String, SubTipoRemCCP2 As String, PlacaCCP2 As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte31AddMercanciasTransporteMaritimoContenedorW")>
Public Shared Sub VirtualXML_CartaPorte31AddMercanciasTransporteMaritimoContenedorW(p As IntPtr, TipoContenedor As String, MatriculaContenedor As String, NumPrecinto As String, IdCCPRelacionado As String, PlacaVMCCP As String, FechaCertificacionCCP As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte31SetMercanciasTransporteAereoW")>
Public Shared Sub VirtualXML_CartaPorte31SetMercanciasTransporteAereoW(p As IntPtr, PermSCT As String, NumPermisoSCT As String, MatriculaAeronave As String, NombreAseg As String, NumPolizaSeguro As String, NumeroGuia As String, LugarContrato As String, CodigoTransportista As String, RFCEmbarcador As String, NumRegIdTribEmbarc As String, ResidenciaFiscalEmbarc As String, NombreEmbarcador As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte31SetMercanciasTransporteFerroviarioW")>
Public Shared Sub VirtualXML_CartaPorte31SetMercanciasTransporteFerroviarioW(p As IntPtr, TipoDeServicio As String, TipoDeTrafico As String, NombreAseg As String, NumPolizaSeguro As String, TipoDerechoDePaso As String, KilometrajePagado As String, TipoCarro As String, MatriculaCarro As String, GuiaCarro As String, ToneladasNetasCarro As String, TipoContenedor As String, PesoContenedorVacio As String, PesoNetoMercancia As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte31AddMercanciasTransporteFerroviarioDerechosDePasoW")>
Public Shared Sub VirtualXML_CartaPorte31AddMercanciasTransporteFerroviarioDerechosDePasoW(p As IntPtr, TipoDerechoDePaso As String, KilometrajePagado As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte31AddMercanciasTransporteFerroviarioCarroW")>
Public Shared Sub VirtualXML_CartaPorte31AddMercanciasTransporteFerroviarioCarroW(p As IntPtr, TipoCarro As String, MatriculaCarro As String, GuiaCarro As String, ToneladasNetasCarro As String, TipoContenedor As String, PesoContenedorVacio As String, PesoNetoMercancia As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte31AddMercanciasTransporteFerroviarioCarroContenedorW")>
Public Shared Sub VirtualXML_CartaPorte31AddMercanciasTransporteFerroviarioCarroContenedorW(p As IntPtr, TipoContenedor As String, PesoContenedorVacio As String, PesoNetoMercancia As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte31AddFiguraTransporteTiposFiguraW")>
Public Shared Sub VirtualXML_CartaPorte31AddFiguraTransporteTiposFiguraW(p As IntPtr, TipoFigura As String, RFCFigura As String, NumLicencia As String, NombreFigura As String, NumRegIdTribFigura As String, ResidenciaFiscalFigura As String, ParteTransporte As String, Calle As String, NumeroExterior As String, NumeroInterior As String, Colonia As String, Localidad As String, Referencia As String, Municipio As String, Estado As String, Pais As String, CodigoPostal As String)
End Sub
<DllImport(dllPath, CharSet:=CharSet.Unicode, EntryPoint:="VirtualXML_CartaPorte31AddFiguraTransporteTiposFiguraPartesTransporteW")>
Public Shared Sub VirtualXML_CartaPorte31AddFiguraTransporteTiposFiguraPartesTransporteW(p As IntPtr, ParteTransporte As String)
End Sub