├── README.md ├── App_CheckCFDI.suo ├── App_CheckCFDI ├── WebService.ico ├── bin │ └── Release │ │ ├── App_CheckCFDI.exe │ │ ├── App_CheckCFDI.pdb │ │ ├── App_CheckCFDI.vshost.exe │ │ ├── App_CheckCFDI.vshost.exe.manifest │ │ ├── app.config │ │ ├── App_CheckCFDI.exe.config │ │ └── App_CheckCFDI.vshost.exe.config ├── obj │ ├── Release │ │ ├── App_CheckCFDI.exe │ │ ├── App_CheckCFDI.pdb │ │ ├── App_CheckCFDI.Main.resources │ │ ├── App_CheckCFDI.Acerca.resources │ │ ├── App_CheckCFDI.frmFAQ.resources │ │ ├── DesignTimeResolveAssemblyReferences.cache │ │ ├── App_CheckCFDI.Properties.Resources.resources │ │ ├── App_CheckCFDI.csproj.GenerateResource.Cache │ │ ├── TempPE │ │ │ ├── Properties.Resources.Designer.cs.dll │ │ │ ├── Service References.CFDIService.Reference.cs.dll │ │ │ └── Service References.ServicioSATCFDI.Reference.cs.dll │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ │ ├── App_CheckCFDI_Win32.csproj.GenerateResource.Cache │ │ ├── App_CheckCFDI_Win32.csprojResolveAssemblyReference.cache │ │ ├── App_CheckCFDI_Win32.csproj.FileListAbsolute.txt │ │ └── App_CheckCFDI.csproj.FileListAbsolute.txt │ └── Debug │ │ ├── App_CheckCFDI.csproj.FileListAbsolute.txt │ │ ├── DesignTimeResolveAssemblyReferences.cache │ │ ├── TempPE │ │ ├── Properties.Resources.Designer.cs.dll │ │ ├── Service References.ConsultaXMLSAT.Reference.cs.dll │ │ └── Service References.ServicioSATCFDI.Reference.cs.dll │ │ └── DesignTimeResolveAssemblyReferencesInput.cache ├── App_CheckCFDI_Win32.csproj.user ├── Properties │ ├── Settings.settings │ ├── Settings.Designer.cs │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ └── Resources.resx ├── Program.cs ├── Service References │ └── ServicioSATCFDI │ │ ├── App_CheckCFDI.ServicioSATCFDI.Acuse.datasource │ │ ├── ConsultaCFDIService.xsd │ │ ├── ConsultaCFDIService2.xsd │ │ ├── configuration.svcinfo │ │ ├── Reference.svcmap │ │ ├── ConsultaCFDIService1.xsd │ │ ├── ConsultaCFDIService.wsdl │ │ └── Reference.cs ├── Acerca.cs ├── app.config ├── cfdiregistrofiscal.xsd ├── Divisas.xsd ├── donat11.xsd ├── frmFAQ.Designer.cs ├── leyendasFisc.xsd ├── pfic.xsd ├── frmFAQ.cs ├── TimbreFiscalDigital.xsd ├── TimbreFiscalDigital.cs ├── implocal.xsd ├── iedu.xsd ├── TuristaPasajeroExtranjero.xsd ├── Acerca.Designer.cs ├── frmFAQ.resx ├── App_CheckCFDI_Win32.csproj ├── ventavehiculos.xsd ├── Acerca.resx ├── ecc.xsd └── spei.xsd ├── App_CheckCFDI_AspNet ├── Global.asax ├── bin │ ├── Ionic.Zip.dll │ ├── App_CheckCFDI_AspNet.dll │ └── App_CheckCFDI_AspNet.pdb ├── obj │ ├── Release │ │ ├── App_CheckCFDI_AspNet.dll │ │ ├── App_CheckCFDI_AspNet.pdb │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ │ ├── App_CheckCFDI_AspNet.csprojResolveAssemblyReference.cache │ │ ├── TempPE │ │ │ └── Service References.ServicioSATCFDI.Reference.cs.dll │ │ └── App_CheckCFDI_AspNet.csproj.FileListAbsolute.txt │ └── Debug │ │ └── DesignTimeResolveAssemblyReferencesInput.cache ├── packages.config ├── Service References │ └── ServicioSATCFDI │ │ ├── ConsultaCFDIService.disco │ │ ├── ConsultaCFDIService2.xsd │ │ ├── App_CheckCFDI_AspNet.ServicioSATCFDI.Acuse.datasource │ │ ├── ConsultaCFDIService1.xsd │ │ ├── configuration.svcinfo │ │ ├── ConsultaCFDIService.xsd │ │ ├── Reference.svcmap │ │ ├── ConsultaCFDIService.wsdl │ │ └── Reference.cs ├── Default.aspx ├── App_CheckCFDI_AspNet.csproj.user ├── Web.Debug.config ├── Global.asax.cs ├── Web.Release.config ├── Properties │ └── AssemblyInfo.cs ├── Web.config ├── Default.aspx.designer.cs ├── TimbreFiscalDigital.xsd ├── TimbreFiscalDigital.cs ├── Styles │ └── Site.css ├── App_CheckCFDI_AspNet.csproj └── Default.aspx.cs ├── packages ├── DotNetZip.1.9.3 │ ├── DotNetZip.1.9.3.nupkg │ └── lib │ │ └── net20 │ │ └── Ionic.Zip.dll └── repositories.config ├── .gitattributes └── App_CheckCFDI.sln /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/README.md -------------------------------------------------------------------------------- /App_CheckCFDI.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI.suo -------------------------------------------------------------------------------- /App_CheckCFDI/WebService.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/WebService.ico -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/Global.asax: -------------------------------------------------------------------------------- 1 | <%@ Application Codebehind="Global.asax.cs" Inherits="App_CheckCFDI_AspNet.Global" Language="C#" %> 2 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/bin/Ionic.Zip.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI_AspNet/bin/Ionic.Zip.dll -------------------------------------------------------------------------------- /App_CheckCFDI/bin/Release/App_CheckCFDI.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/bin/Release/App_CheckCFDI.exe -------------------------------------------------------------------------------- /App_CheckCFDI/bin/Release/App_CheckCFDI.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/bin/Release/App_CheckCFDI.pdb -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Release/App_CheckCFDI.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/obj/Release/App_CheckCFDI.exe -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Release/App_CheckCFDI.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/obj/Release/App_CheckCFDI.pdb -------------------------------------------------------------------------------- /packages/DotNetZip.1.9.3/DotNetZip.1.9.3.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/packages/DotNetZip.1.9.3/DotNetZip.1.9.3.nupkg -------------------------------------------------------------------------------- /App_CheckCFDI/bin/Release/App_CheckCFDI.vshost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/bin/Release/App_CheckCFDI.vshost.exe -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Debug/App_CheckCFDI.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | K:\Dev2014\APP_CheckXML\App_CheckCFDI\App_CheckCFDI\bin\Debug\App_CheckCFDI.exe.config 2 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/bin/App_CheckCFDI_AspNet.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI_AspNet/bin/App_CheckCFDI_AspNet.dll -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/bin/App_CheckCFDI_AspNet.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI_AspNet/bin/App_CheckCFDI_AspNet.pdb -------------------------------------------------------------------------------- /packages/DotNetZip.1.9.3/lib/net20/Ionic.Zip.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/packages/DotNetZip.1.9.3/lib/net20/Ionic.Zip.dll -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Release/App_CheckCFDI.Main.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/obj/Release/App_CheckCFDI.Main.resources -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Release/App_CheckCFDI.Acerca.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/obj/Release/App_CheckCFDI.Acerca.resources -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Release/App_CheckCFDI.frmFAQ.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/obj/Release/App_CheckCFDI.frmFAQ.resources -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/obj/Release/App_CheckCFDI_AspNet.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI_AspNet/obj/Release/App_CheckCFDI_AspNet.dll -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/obj/Release/App_CheckCFDI_AspNet.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI_AspNet/obj/Release/App_CheckCFDI_AspNet.pdb -------------------------------------------------------------------------------- /packages/repositories.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Debug/DesignTimeResolveAssemblyReferences.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/obj/Debug/DesignTimeResolveAssemblyReferences.cache -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Release/DesignTimeResolveAssemblyReferences.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/obj/Release/DesignTimeResolveAssemblyReferences.cache -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Release/App_CheckCFDI.Properties.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/obj/Release/App_CheckCFDI.Properties.Resources.resources -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Release/App_CheckCFDI.csproj.GenerateResource.Cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/obj/Release/App_CheckCFDI.csproj.GenerateResource.Cache -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Release/TempPE/Properties.Resources.Designer.cs.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/obj/Release/TempPE/Properties.Resources.Designer.cs.dll -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Release/App_CheckCFDI_Win32.csproj.GenerateResource.Cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/obj/Release/App_CheckCFDI_Win32.csproj.GenerateResource.Cache -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI_AspNet/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Release/TempPE/Service References.CFDIService.Reference.cs.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/obj/Release/TempPE/Service References.CFDIService.Reference.cs.dll -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI_AspNet/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Debug/TempPE/Service References.ConsultaXMLSAT.Reference.cs.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/obj/Debug/TempPE/Service References.ConsultaXMLSAT.Reference.cs.dll -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Debug/TempPE/Service References.ServicioSATCFDI.Reference.cs.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/obj/Debug/TempPE/Service References.ServicioSATCFDI.Reference.cs.dll -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Release/App_CheckCFDI_Win32.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/obj/Release/App_CheckCFDI_Win32.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Release/TempPE/Service References.ServicioSATCFDI.Reference.cs.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI/obj/Release/TempPE/Service References.ServicioSATCFDI.Reference.cs.dll -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/obj/Release/App_CheckCFDI_AspNet.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI_AspNet/obj/Release/App_CheckCFDI_AspNet.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/obj/Release/TempPE/Service References.ServicioSATCFDI.Reference.cs.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nolascus/App_CheckCFDI/HEAD/App_CheckCFDI_AspNet/obj/Release/TempPE/Service References.ServicioSATCFDI.Reference.cs.dll -------------------------------------------------------------------------------- /App_CheckCFDI/App_CheckCFDI_Win32.csproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ShowAllFiles 5 | 6 | -------------------------------------------------------------------------------- /App_CheckCFDI/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/Service References/ServicioSATCFDI/ConsultaCFDIService.disco: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /App_CheckCFDI/bin/Release/App_CheckCFDI.vshost.exe.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union 11 | 12 | # Standard to msysgit 13 | *.doc diff=astextplain 14 | *.DOC diff=astextplain 15 | *.docx diff=astextplain 16 | *.DOCX diff=astextplain 17 | *.dot diff=astextplain 18 | *.DOT diff=astextplain 19 | *.pdf diff=astextplain 20 | *.PDF diff=astextplain 21 | *.rtf diff=astextplain 22 | *.RTF diff=astextplain 23 | -------------------------------------------------------------------------------- /App_CheckCFDI/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Windows.Forms; 5 | 6 | namespace App_CheckCFDI 7 | { 8 | static class Program 9 | { 10 | /// 11 | /// Punto de entrada principal para la aplicación. 12 | /// 13 | [STAThread] 14 | static void Main() 15 | { 16 | Application.EnableVisualStyles(); 17 | Application.SetCompatibleTextRenderingDefault(false); 18 | Application.Run(new Main()); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/obj/Release/App_CheckCFDI_AspNet.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | K:\Github\App_CheckCFDI\App_CheckCFDI_AspNet\bin\App_CheckCFDI_AspNet.dll 2 | K:\Github\App_CheckCFDI\App_CheckCFDI_AspNet\bin\App_CheckCFDI_AspNet.pdb 3 | K:\Github\App_CheckCFDI\App_CheckCFDI_AspNet\obj\Release\App_CheckCFDI_AspNet.dll 4 | K:\Github\App_CheckCFDI\App_CheckCFDI_AspNet\obj\Release\App_CheckCFDI_AspNet.pdb 5 | K:\Github\App_CheckCFDI\App_CheckCFDI_AspNet\bin\Ionic.Zip.dll 6 | K:\Github\App_CheckCFDI\App_CheckCFDI_AspNet\bin\Ionic.Zip.xml 7 | K:\Github\App_CheckCFDI\App_CheckCFDI_AspNet\obj\Release\App_CheckCFDI_AspNet.csprojResolveAssemblyReference.cache 8 | -------------------------------------------------------------------------------- /App_CheckCFDI/Service References/ServicioSATCFDI/App_CheckCFDI.ServicioSATCFDI.Acuse.datasource: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | App_CheckCFDI.ServicioSATCFDI.Acuse, Service References.ServicioSATCFDI.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /App_CheckCFDI/Service References/ServicioSATCFDI/ConsultaCFDIService.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/Service References/ServicioSATCFDI/ConsultaCFDIService2.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/Service References/ServicioSATCFDI/App_CheckCFDI_AspNet.ServicioSATCFDI.Acuse.datasource: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | App_CheckCFDI_AspNet.ServicioSATCFDI.Acuse, Service References.ServicioSATCFDI.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /App_CheckCFDI/Acerca.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Windows.Forms; 9 | using System.Diagnostics; 10 | 11 | namespace App_CheckCFDI 12 | { 13 | public partial class Acerca : Form 14 | { 15 | public Acerca() 16 | { 17 | InitializeComponent(); 18 | } 19 | 20 | private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) 21 | { 22 | Process.Start(linkLabel1.Text); 23 | } 24 | 25 | private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) 26 | { 27 | Process.Start("mailto:"+linkLabel2.Text); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /App_CheckCFDI/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /App_CheckCFDI/bin/Release/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /App_CheckCFDI/bin/Release/App_CheckCFDI.exe.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/Default.aspx: -------------------------------------------------------------------------------- 1 | <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="App_CheckCFDI_AspNet.Default" %> 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
12 | 13 | Archivo ZIP : 14 | 15 |   17 |
18 | 19 | 20 | 21 | 22 |
23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /App_CheckCFDI/bin/Release/App_CheckCFDI.vshost.exe.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Release/App_CheckCFDI_Win32.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | K:\Github\App_CheckCFDI\App_CheckCFDI\bin\Release\app.config 2 | K:\Github\App_CheckCFDI\App_CheckCFDI\bin\Release\App_CheckCFDI.exe.config 3 | K:\Github\App_CheckCFDI\App_CheckCFDI\bin\Release\App_CheckCFDI.exe 4 | K:\Github\App_CheckCFDI\App_CheckCFDI\bin\Release\App_CheckCFDI.pdb 5 | K:\Github\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.Acerca.resources 6 | K:\Github\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.frmFAQ.resources 7 | K:\Github\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.Main.resources 8 | K:\Github\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.Properties.Resources.resources 9 | K:\Github\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI_Win32.csproj.GenerateResource.Cache 10 | K:\Github\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.exe 11 | K:\Github\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.pdb 12 | -------------------------------------------------------------------------------- /App_CheckCFDI/Service References/ServicioSATCFDI/ConsultaCFDIService2.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/Service References/ServicioSATCFDI/ConsultaCFDIService1.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/App_CheckCFDI_AspNet.csproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | CurrentPage 10 | True 11 | False 12 | False 13 | False 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | False 23 | True 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /App_CheckCFDI/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // Este código fue generado por una herramienta. 4 | // Versión de runtime:4.0.30319.18408 5 | // 6 | // Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si 7 | // se vuelve a generar el código. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace App_CheckCFDI.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /App_CheckCFDI/cfdiregistrofiscal.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Complemento para incluir los datos de identificación de los CFDIs generados en Registro Fiscal. 6 | 7 | 8 | 9 | 10 | Atributo requerido que indica la versión del complemento CFDI Registro Fiscal. 11 | 12 | 13 | 14 | 15 | Atributo requerido para expresar la relación del CFDI con el Registro Fiscal. 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/Web.Debug.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 17 | 18 | 29 | 30 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/Global.asax.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Security; 6 | using System.Web.SessionState; 7 | 8 | namespace App_CheckCFDI_AspNet 9 | { 10 | public class Global : System.Web.HttpApplication 11 | { 12 | 13 | void Application_Start(object sender, EventArgs e) 14 | { 15 | // Código que se ejecuta al iniciarse la aplicación 16 | 17 | } 18 | 19 | void Application_End(object sender, EventArgs e) 20 | { 21 | // Código que se ejecuta cuando se cierra la aplicación 22 | 23 | } 24 | 25 | void Application_Error(object sender, EventArgs e) 26 | { 27 | // Código que se ejecuta al producirse un error no controlado 28 | 29 | } 30 | 31 | void Session_Start(object sender, EventArgs e) 32 | { 33 | // Código que se ejecuta cuando se inicia una nueva sesión 34 | 35 | } 36 | 37 | void Session_End(object sender, EventArgs e) 38 | { 39 | // Código que se ejecuta cuando finaliza una sesión. 40 | // Nota: el evento Session_End se desencadena sólo cuando el modo sessionstate 41 | // se establece como InProc en el archivo Web.config. Si el modo de sesión se establece como StateServer 42 | // o SQLServer, el evento no se genera. 43 | 44 | } 45 | 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/Web.Release.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 17 | 18 | 19 | 30 | 31 | -------------------------------------------------------------------------------- /App_CheckCFDI.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "App_CheckCFDI_Win32", "App_CheckCFDI\App_CheckCFDI_Win32.csproj", "{74D0FE7E-041E-4AC3-825E-DAD5CFC3D3F9}" 5 | EndProject 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "App_CheckCFDI_AspNet", "App_CheckCFDI_AspNet\App_CheckCFDI_AspNet.csproj", "{C545F681-4BD5-4667-8981-155C7514F132}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {74D0FE7E-041E-4AC3-825E-DAD5CFC3D3F9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {74D0FE7E-041E-4AC3-825E-DAD5CFC3D3F9}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {74D0FE7E-041E-4AC3-825E-DAD5CFC3D3F9}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {74D0FE7E-041E-4AC3-825E-DAD5CFC3D3F9}.Release|Any CPU.Build.0 = Release|Any CPU 18 | {C545F681-4BD5-4667-8981-155C7514F132}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 19 | {C545F681-4BD5-4667-8981-155C7514F132}.Debug|Any CPU.Build.0 = Debug|Any CPU 20 | {C545F681-4BD5-4667-8981-155C7514F132}.Release|Any CPU.ActiveCfg = Release|Any CPU 21 | {C545F681-4BD5-4667-8981-155C7514F132}.Release|Any CPU.Build.0 = Release|Any CPU 22 | EndGlobalSection 23 | GlobalSection(SolutionProperties) = preSolution 24 | HideSolutionNode = FALSE 25 | EndGlobalSection 26 | EndGlobal 27 | -------------------------------------------------------------------------------- /App_CheckCFDI/Divisas.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Complemento al Comprobante Fiscal Digital (CFD) y Comprobante Fiscal Digital por Internet (CFDI) para identificar las operaciones de compra y venta de divisas que realizan los centros cambiarios y las casa de cambio; haciendo mención expresa de que los comprobantes se expiden por la “compra”, o bien, por la “venta” de divisas. 6 | 7 | 8 | 9 | 10 | Atributo requerido para expresar la versión del complemento de divisas 11 | 12 | 13 | 14 | 15 | Elemento para definir el tipo de operación realizada. venta o compra de divisas 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // La información general sobre un ensamblado se controla mediante el siguiente 6 | // conjunto de atributos. Cambie estos atributos para modificar la información 7 | // asociada con un ensamblado. 8 | [assembly: AssemblyTitle("App_CheckCFDI_AspNet")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("App_CheckCFDI_AspNet")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2014")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Si establece ComVisible como false, los tipos de este ensamblado no estarán visibles 18 | // para los componentes COM. Si necesita obtener acceso a un tipo de este ensamblado desde 19 | // COM, establezca el atributo ComVisible como true en este tipo. 20 | [assembly: ComVisible(false)] 21 | 22 | // El siguiente GUID sirve como identificador de typelib si este proyecto se expone a COM 23 | [assembly: Guid("67616144-9fb6-403b-8ad6-3f232f480dfc")] 24 | 25 | // La información de versión de un ensamblado consta de los cuatro valores siguientes: 26 | // 27 | // Versión principal 28 | // Versión secundaria 29 | // Número de compilación 30 | // Revisión 31 | // 32 | // Puede especificar todos los valores o usar los valores predeterminados de número de compilación y de revisión 33 | // mediante el carácter '*', como se muestra a continuación: 34 | [assembly: AssemblyVersion("1.0.0.0")] 35 | [assembly: AssemblyFileVersion("1.0.0.0")] 36 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/Web.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /App_CheckCFDI/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // La información general sobre un ensamblado se controla mediante el siguiente 6 | // conjunto de atributos. Cambie estos atributos para modificar la información 7 | // asociada con un ensamblado. 8 | [assembly: AssemblyTitle("AppSedipoXML")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("AppSedipoXML")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2014")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Si establece ComVisible como false, los tipos de este ensamblado no estarán visibles 18 | // para los componentes COM. Si necesita obtener acceso a un tipo de este ensamblado desde 19 | // COM, establezca el atributo ComVisible como true en este tipo. 20 | [assembly: ComVisible(false)] 21 | 22 | // El siguiente GUID sirve como identificador de typelib si este proyecto se expone a COM 23 | [assembly: Guid("c47426fc-babc-4c37-97b5-3b0250e63b39")] 24 | 25 | // La información de versión de un ensamblado consta de los cuatro valores siguientes: 26 | // 27 | // Versión principal 28 | // Versión secundaria 29 | // Número de compilación 30 | // Revisión 31 | // 32 | // Puede especificar todos los valores o establecer como predeterminados los números de compilación y de revisión 33 | // mediante el carácter '*', como se muestra a continuación: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /App_CheckCFDI/Service References/ServicioSATCFDI/configuration.svcinfo: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/Service References/ServicioSATCFDI/configuration.svcinfo: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /App_CheckCFDI/Service References/ServicioSATCFDI/Reference.svcmap: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | false 5 | true 6 | 7 | false 8 | false 9 | false 10 | 11 | 12 | true 13 | Auto 14 | true 15 | true 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /App_CheckCFDI/donat11.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Nodo opcional para incluir la información requerida por el Servicio de Administración Tributaria a las organizaciones civiles o fideicomisos autorizados para recibir donativos, que permite hacer deducibles los Comprobantes Fiscales Digitales (CFD) y Comprobantes Fiscales Digitales a través de Internet (CFDI) a los donantes. 6 | 7 | 8 | 9 | 10 | Atributo requerido para expresar la versión del complemento de donatarias 11 | 12 | 13 | 14 | 15 | Atributo requerido para expresar el número del oficio en que se haya informado a la organización civil o fideicomiso, la procedencia de la autorización para recibir donativos deducibles, o su renovación correspondiente otorgada por el Servicio de Administración Tributaria. 16 | 17 | 18 | 19 | 20 | Atributo requerido para expresar la fecha del oficio en que se haya informado a la organización civil o fideicomiso, la procedencia de la autorización para recibir donativos deducibles, o su renovación correspondiente otorgada por el Servicio de Administración Tributaria. 21 | 22 | 23 | 24 | 25 | Atributo requerido para señalar de manera expresa que el comprobante que se expide se deriva de un donativo. 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/Default.aspx.designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // Este código fue generado por una herramienta. 4 | // 5 | // Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si 6 | // se vuelve a generar el código. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | namespace App_CheckCFDI_AspNet { 11 | 12 | 13 | public partial class Default { 14 | 15 | /// 16 | /// Control form1. 17 | /// 18 | /// 19 | /// Campo generado automáticamente. 20 | /// Para modificarlo, mueva la declaración del campo del archivo del diseñador al archivo de código subyacente. 21 | /// 22 | protected global::System.Web.UI.HtmlControls.HtmlForm form1; 23 | 24 | /// 25 | /// Control XMLZipFile. 26 | /// 27 | /// 28 | /// Campo generado automáticamente. 29 | /// Para modificarlo, mueva la declaración del campo del archivo del diseñador al archivo de código subyacente. 30 | /// 31 | protected global::System.Web.UI.WebControls.FileUpload XMLZipFile; 32 | 33 | /// 34 | /// Control btnProcesar. 35 | /// 36 | /// 37 | /// Campo generado automáticamente. 38 | /// Para modificarlo, mueva la declaración del campo del archivo del diseñador al archivo de código subyacente. 39 | /// 40 | protected global::System.Web.UI.WebControls.Button btnProcesar; 41 | 42 | /// 43 | /// Control GridView1. 44 | /// 45 | /// 46 | /// Campo generado automáticamente. 47 | /// Para modificarlo, mueva la declaración del campo del archivo del diseñador al archivo de código subyacente. 48 | /// 49 | protected global::System.Web.UI.WebControls.GridView GridView1; 50 | 51 | /// 52 | /// Control lblSalida. 53 | /// 54 | /// 55 | /// Campo generado automáticamente. 56 | /// Para modificarlo, mueva la declaración del campo del archivo del diseñador al archivo de código subyacente. 57 | /// 58 | protected global::System.Web.UI.WebControls.Literal lblSalida; 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /App_CheckCFDI/Service References/ServicioSATCFDI/ConsultaCFDIService1.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/Service References/ServicioSATCFDI/ConsultaCFDIService.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/Service References/ServicioSATCFDI/Reference.svcmap: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | false 5 | true 6 | 7 | false 8 | false 9 | false 10 | 11 | 12 | true 13 | Auto 14 | true 15 | true 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /App_CheckCFDI/frmFAQ.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace App_CheckCFDI 2 | { 3 | partial class frmFAQ 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.webBrowser1 = new System.Windows.Forms.WebBrowser(); 32 | this.SuspendLayout(); 33 | // 34 | // webBrowser1 35 | // 36 | this.webBrowser1.AllowNavigation = false; 37 | this.webBrowser1.AllowWebBrowserDrop = false; 38 | this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Fill; 39 | this.webBrowser1.IsWebBrowserContextMenuEnabled = false; 40 | this.webBrowser1.Location = new System.Drawing.Point(0, 0); 41 | this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20); 42 | this.webBrowser1.Name = "webBrowser1"; 43 | this.webBrowser1.Size = new System.Drawing.Size(782, 667); 44 | this.webBrowser1.TabIndex = 0; 45 | this.webBrowser1.WebBrowserShortcutsEnabled = false; 46 | // 47 | // frmFAQ 48 | // 49 | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); 50 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 51 | this.ClientSize = new System.Drawing.Size(782, 667); 52 | this.Controls.Add(this.webBrowser1); 53 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; 54 | this.MaximizeBox = false; 55 | this.MinimizeBox = false; 56 | this.Name = "frmFAQ"; 57 | this.ShowIcon = false; 58 | this.ShowInTaskbar = false; 59 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; 60 | this.Text = "Preguntas Frecuentes"; 61 | this.ResumeLayout(false); 62 | 63 | } 64 | 65 | #endregion 66 | 67 | private System.Windows.Forms.WebBrowser webBrowser1; 68 | 69 | } 70 | } -------------------------------------------------------------------------------- /App_CheckCFDI/leyendasFisc.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Nodo opcional para incluir leyendas previstas en disposiciones fiscales, distintas a las contenidas en el estándar de Comprobante Fiscal Digital (CFD) o Comprobante Fiscal Digital a través de Internet (CFDI). 7 | 8 | 9 | 10 | 11 | 12 | Nodo para expresar la(s) leyenda(s) fiscal(es) que apliquen al comprobante 13 | 14 | 15 | 16 | 17 | Atributo opcional para especificar la Ley, Resolución o Disposición fiscal que regula la leyenda, deberá expresarse en siglas de mayúsculas y sin puntuación (p. ej: ISR) 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | Atributo opcional para especificar el número de Artículo o en su caso Regla que regula la obligación de la leyenda 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | Atributo requerido para especificar la leyenda fiscal 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | Atributo requerido para expresar la versión del complemento de Leyendas Fiscales 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /App_CheckCFDI/pfic.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Este complemento permite incorporar a un Comprobante Fiscal Digital (CFD) o a un Comprobante Fiscal Digital a través de Internet (CFDI) los datos de identificación del vehículo que corresponda a personas físicas integrantes de coordinados, que opten por pagar el impuesto individualmente de conformidad con lo establecido por el artículo 83, séptimo párrafo de la Ley del Impuesto sobre la Renta. 7 | 8 | 9 | 10 | 11 | Atributo requerido con valor prefijado a 1.0 que indica la versión del estándar bajo el que se encuentra expresado el complemento. 12 | 13 | 14 | 15 | 16 | Atributo requerido para precisar Clave vehicular que corresponda a la versión del vehículo enajenado. 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | Atributo requerido para señalar la placa o número de folio del 28 | permiso del vehículo que 29 | corresponda. 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | Atributo opcional para precisar el RFC de la persona física 41 | integrante de coordinados, que opte por pagar el impuesto individualmente. 42 | 43 | 44 | 45 | 46 | 47 | 48 | Tipo definido para expresar claves del Registro Federal de Contribuyentes 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /App_CheckCFDI/frmFAQ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Windows.Forms; 9 | 10 | namespace App_CheckCFDI 11 | { 12 | public partial class frmFAQ : Form 13 | { 14 | string htmlstring = 15 | "

P : ¿Cuánto cuesta el programa?

" + 16 | "

R : Ni un peso. Sin embargo si entras a www.nolascus.com y ahí veras un botón para comprarme un café; (El café regularmente se transforma en lineas código :D ).

" + 17 | "

P: ¿Cuáles son los requerimientos mínimos para ejecutar el programa?

" + 18 | "

R: Microsoft DotNet Framework 4.0, Sistema Operativo : Windows Vista, Windows 7, Windows 8, etc. y desde luego conexión a Internet.

" + 19 | "

P : ¿Cómo se realiza la validación y qué criterios se utilizan?

" + 20 | "

El programa utiliza la documentación proporcionada en el archivo PDF ftp://ftp2.sat.gob.mx/asistencia_servicio_ftp/publicaciones/cfdi/WS_ConsultaCFDI.pdf el cual contiene la información acerca del Web Service para comprobar los CFDI emitidos.

" + 21 | "

P : ¿Cuántos CFDI puedo validar?

" + 22 | "

R : La documentación (WS_ConsultaCFDI.pdf) en la sección 5 Capacidad de Respuesta indica “El servicio de Consulta de CFDI´s tiene la capacidad de atender hasta 2 millones de consultas por hr., debido a que estas consultas acceden las Bases de Datos transaccionales del SAT se solicita  no aumentar la cantidad de consultas por hora para evitar impactos en la respuesta del servicio.”

" + 23 | "

P : ¿Tengo mis XML guardados en un archivo zip, el programa puede comprobar estos archivos?

" + 24 | "

R : Buena pregunta, lamentablemente, la respuesta es no, en cuanto tenga un tiempo libre tratare de agregar esta funcionalidad.

" + 25 | "

P: ¿Si encuentro un error que hago?

" + 26 | "

R: Puedes reportarlo a albino.nolasco@gmail.com , envíame un pantallazo, y una descripción detallada de lo que ocurrió, para tratar de eliminar dicho error.

" + 27 | "

P: ¿Necesito agregar nuevas funcionalidades al programa?

" + 28 | "

R: Contáctame, mándame un correo electrónico con las nuevas funcionalidades y esperemos que tengamos tiempo. :D

"; 29 | 30 | public frmFAQ() 31 | { 32 | InitializeComponent(); 33 | webBrowser1.DocumentText = htmlstring; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /App_CheckCFDI/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // Este código fue generado por una herramienta. 4 | // Versión de runtime:4.0.30319.18408 5 | // 6 | // Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si 7 | // se vuelve a generar el código. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace App_CheckCFDI.Properties { 12 | using System; 13 | 14 | 15 | /// 16 | /// Clase de recurso fuertemente tipado, para buscar cadenas traducidas, etc. 17 | /// 18 | // StronglyTypedResourceBuilder generó automáticamente esta clase 19 | // a través de una herramienta como ResGen o Visual Studio. 20 | // Para agregar o quitar un miembro, edite el archivo .ResX y, a continuación, vuelva a ejecutar ResGen 21 | // con la opción /str o recompile su proyecto de VS. 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources { 26 | 27 | private static global::System.Resources.ResourceManager resourceMan; 28 | 29 | private static global::System.Globalization.CultureInfo resourceCulture; 30 | 31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 | internal Resources() { 33 | } 34 | 35 | /// 36 | /// Devuelve la instancia de ResourceManager almacenada en caché utilizada por esta clase. 37 | /// 38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 39 | internal static global::System.Resources.ResourceManager ResourceManager { 40 | get { 41 | if (object.ReferenceEquals(resourceMan, null)) { 42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("App_CheckCFDI.Properties.Resources", typeof(Resources).Assembly); 43 | resourceMan = temp; 44 | } 45 | return resourceMan; 46 | } 47 | } 48 | 49 | /// 50 | /// Reemplaza la propiedad CurrentUICulture del subproceso actual para todas las 51 | /// búsquedas de recursos mediante esta clase de recurso fuertemente tipado. 52 | /// 53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 54 | internal static global::System.Globalization.CultureInfo Culture { 55 | get { 56 | return resourceCulture; 57 | } 58 | set { 59 | resourceCulture = value; 60 | } 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /App_CheckCFDI/TimbreFiscalDigital.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Complemento requerido para el Timbrado Fiscal Digital que da valides a un Comprobante Fiscal Digital. 6 | 7 | 8 | 9 | 10 | Atributo requerido para la expresión de la versión del estándar del Timbre Fiscal Digital 11 | 12 | 13 | 14 | 15 | Atributo requerido para expresar los 36 caracteres del UUID de la transacción de timbrado 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | Atributo requerido para expresar la fecha y hora de la generación del timbre 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | Atributo requerido para contener el sello digital del comprobante fiscal, que será timbrado. El sello deberá ser expresado cómo una cadena de texto en formato Base 64. 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | Atributo requerido para expresar el número de serie del certificado del SAT usado para el Timbre 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | Atributo requerido para contener el sello digital del Timbre Fiscal Digital, al que hacen referencia las reglas de resolución miscelánea aplicable. El sello deberá ser expresado cómo una cadena de texto en formato Base 64. 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/TimbreFiscalDigital.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Complemento requerido para el Timbrado Fiscal Digital que da valides a un Comprobante Fiscal Digital. 6 | 7 | 8 | 9 | 10 | Atributo requerido para la expresión de la versión del estándar del Timbre Fiscal Digital 11 | 12 | 13 | 14 | 15 | Atributo requerido para expresar los 36 caracteres del UUID de la transacción de timbrado 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | Atributo requerido para expresar la fecha y hora de la generación del timbre 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | Atributo requerido para contener el sello digital del comprobante fiscal, que será timbrado. El sello deberá ser expresado cómo una cadena de texto en formato Base 64. 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | Atributo requerido para expresar el número de serie del certificado del SAT usado para el Timbre 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | Atributo requerido para contener el sello digital del Timbre Fiscal Digital, al que hacen referencia las reglas de resolución miscelánea aplicable. El sello deberá ser expresado cómo una cadena de texto en formato Base 64. 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /App_CheckCFDI/TimbreFiscalDigital.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // Este código fue generado por una herramienta. 4 | // Versión de runtime:4.0.30319.18408 5 | // 6 | // Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si 7 | // se vuelve a generar el código. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | using System.Xml.Serialization; 12 | 13 | // 14 | // Este código fuente fue generado automáticamente por xsd, Versión=4.0.30319.33440. 15 | // 16 | 17 | 18 | /// 19 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] 20 | [System.SerializableAttribute()] 21 | [System.Diagnostics.DebuggerStepThroughAttribute()] 22 | [System.ComponentModel.DesignerCategoryAttribute("code")] 23 | [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.sat.gob.mx/TimbreFiscalDigital")] 24 | [System.Xml.Serialization.XmlRootAttribute(Namespace="http://www.sat.gob.mx/TimbreFiscalDigital", IsNullable=false)] 25 | public partial class TimbreFiscalDigital { 26 | 27 | private string versionField; 28 | 29 | private string uUIDField; 30 | 31 | private System.DateTime fechaTimbradoField; 32 | 33 | private string selloCFDField; 34 | 35 | private string noCertificadoSATField; 36 | 37 | private string selloSATField; 38 | 39 | public TimbreFiscalDigital() { 40 | this.versionField = "1.0"; 41 | } 42 | 43 | /// 44 | [System.Xml.Serialization.XmlAttributeAttribute()] 45 | public string version { 46 | get { 47 | return this.versionField; 48 | } 49 | set { 50 | this.versionField = value; 51 | } 52 | } 53 | 54 | /// 55 | [System.Xml.Serialization.XmlAttributeAttribute()] 56 | public string UUID { 57 | get { 58 | return this.uUIDField; 59 | } 60 | set { 61 | this.uUIDField = value; 62 | } 63 | } 64 | 65 | /// 66 | [System.Xml.Serialization.XmlAttributeAttribute()] 67 | public System.DateTime FechaTimbrado { 68 | get { 69 | return this.fechaTimbradoField; 70 | } 71 | set { 72 | this.fechaTimbradoField = value; 73 | } 74 | } 75 | 76 | /// 77 | [System.Xml.Serialization.XmlAttributeAttribute()] 78 | public string selloCFD { 79 | get { 80 | return this.selloCFDField; 81 | } 82 | set { 83 | this.selloCFDField = value; 84 | } 85 | } 86 | 87 | /// 88 | [System.Xml.Serialization.XmlAttributeAttribute()] 89 | public string noCertificadoSAT { 90 | get { 91 | return this.noCertificadoSATField; 92 | } 93 | set { 94 | this.noCertificadoSATField = value; 95 | } 96 | } 97 | 98 | /// 99 | [System.Xml.Serialization.XmlAttributeAttribute()] 100 | public string selloSAT { 101 | get { 102 | return this.selloSATField; 103 | } 104 | set { 105 | this.selloSATField = value; 106 | } 107 | } 108 | } 109 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/TimbreFiscalDigital.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // Este código fue generado por una herramienta. 4 | // Versión de runtime:4.0.30319.18408 5 | // 6 | // Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si 7 | // se vuelve a generar el código. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | using System.Xml.Serialization; 12 | 13 | // 14 | // Este código fuente fue generado automáticamente por xsd, Versión=4.0.30319.33440. 15 | // 16 | 17 | 18 | /// 19 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] 20 | [System.SerializableAttribute()] 21 | [System.Diagnostics.DebuggerStepThroughAttribute()] 22 | [System.ComponentModel.DesignerCategoryAttribute("code")] 23 | [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.sat.gob.mx/TimbreFiscalDigital")] 24 | [System.Xml.Serialization.XmlRootAttribute(Namespace="http://www.sat.gob.mx/TimbreFiscalDigital", IsNullable=false)] 25 | public partial class TimbreFiscalDigital { 26 | 27 | private string versionField; 28 | 29 | private string uUIDField; 30 | 31 | private System.DateTime fechaTimbradoField; 32 | 33 | private string selloCFDField; 34 | 35 | private string noCertificadoSATField; 36 | 37 | private string selloSATField; 38 | 39 | public TimbreFiscalDigital() { 40 | this.versionField = "1.0"; 41 | } 42 | 43 | /// 44 | [System.Xml.Serialization.XmlAttributeAttribute()] 45 | public string version { 46 | get { 47 | return this.versionField; 48 | } 49 | set { 50 | this.versionField = value; 51 | } 52 | } 53 | 54 | /// 55 | [System.Xml.Serialization.XmlAttributeAttribute()] 56 | public string UUID { 57 | get { 58 | return this.uUIDField; 59 | } 60 | set { 61 | this.uUIDField = value; 62 | } 63 | } 64 | 65 | /// 66 | [System.Xml.Serialization.XmlAttributeAttribute()] 67 | public System.DateTime FechaTimbrado { 68 | get { 69 | return this.fechaTimbradoField; 70 | } 71 | set { 72 | this.fechaTimbradoField = value; 73 | } 74 | } 75 | 76 | /// 77 | [System.Xml.Serialization.XmlAttributeAttribute()] 78 | public string selloCFD { 79 | get { 80 | return this.selloCFDField; 81 | } 82 | set { 83 | this.selloCFDField = value; 84 | } 85 | } 86 | 87 | /// 88 | [System.Xml.Serialization.XmlAttributeAttribute()] 89 | public string noCertificadoSAT { 90 | get { 91 | return this.noCertificadoSATField; 92 | } 93 | set { 94 | this.noCertificadoSATField = value; 95 | } 96 | } 97 | 98 | /// 99 | [System.Xml.Serialization.XmlAttributeAttribute()] 100 | public string selloSAT { 101 | get { 102 | return this.selloSATField; 103 | } 104 | set { 105 | this.selloSATField = value; 106 | } 107 | } 108 | } 109 | -------------------------------------------------------------------------------- /App_CheckCFDI/obj/Release/App_CheckCFDI.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | D:\SedipoXML\AppSedipoXML\AppSedipoXML\obj\Release\App_CheckCFDI.Properties.Resources.resources 2 | D:\SedipoXML\AppSedipoXML\AppSedipoXML\obj\Release\App_CheckCFDI.csproj.GenerateResource.Cache 3 | D:\SedipoXML\AppSedipoXML\AppSedipoXML\bin\Release\app.config 4 | D:\SedipoXML\AppSedipoXML\AppSedipoXML\bin\Release\A&C060202EG6_A_1721_SDP930813PD1.xml 5 | D:\SedipoXML\AppSedipoXML\AppSedipoXML\bin\Release\Recibos_2_51_FI_2014_7.xml 6 | D:\SedipoXML\AppSedipoXML\AppSedipoXML\bin\Release\App_CheckCFDI.exe.config 7 | D:\SedipoXML\AppSedipoXML\AppSedipoXML\bin\Release\App_CheckCFDI.exe 8 | D:\SedipoXML\AppSedipoXML\AppSedipoXML\bin\Release\App_CheckCFDI.pdb 9 | D:\SedipoXML\AppSedipoXML\AppSedipoXML\obj\Release\App_CheckCFDI.Main.resources 10 | D:\SedipoXML\AppSedipoXML\AppSedipoXML\obj\Release\App_CheckCFDI.exe 11 | D:\SedipoXML\AppSedipoXML\AppSedipoXML\obj\Release\App_CheckCFDI.pdb 12 | D:\SedipoXML\AppSedipoXML\AppSedipoXML\obj\Release\App_CheckCFDI.Acerca.resources 13 | D:\SedipoXML\AppSedipoXML\AppSedipoXML\obj\Release\App_CheckCFDI.frmFAQ.resources 14 | K:\Dev2014\APP_CheckXML\AppSedipoXML\AppSedipoXML\bin\Release\App_CheckCFDI.exe.config 15 | K:\Dev2014\APP_CheckXML\AppSedipoXML\AppSedipoXML\obj\Release\App_CheckCFDI.exe 16 | K:\Dev2014\APP_CheckXML\AppSedipoXML\AppSedipoXML\obj\Release\App_CheckCFDI.pdb 17 | K:\Dev2014\APP_CheckXML\AppSedipoXML\AppSedipoXML\bin\Release\app.config 18 | K:\Dev2014\APP_CheckXML\AppSedipoXML\AppSedipoXML\bin\Release\A&C060202EG6_A_1721_SDP930813PD1.xml 19 | K:\Dev2014\APP_CheckXML\AppSedipoXML\AppSedipoXML\bin\Release\Recibos_2_51_FI_2014_7.xml 20 | K:\Dev2014\APP_CheckXML\AppSedipoXML\AppSedipoXML\bin\Release\App_CheckCFDI.exe 21 | K:\Dev2014\APP_CheckXML\AppSedipoXML\AppSedipoXML\bin\Release\App_CheckCFDI.pdb 22 | K:\Dev2014\APP_CheckXML\AppSedipoXML\AppSedipoXML\obj\Release\App_CheckCFDI.Acerca.resources 23 | K:\Dev2014\APP_CheckXML\AppSedipoXML\AppSedipoXML\obj\Release\App_CheckCFDI.frmFAQ.resources 24 | K:\Dev2014\APP_CheckXML\AppSedipoXML\AppSedipoXML\obj\Release\App_CheckCFDI.Main.resources 25 | K:\Dev2014\APP_CheckXML\AppSedipoXML\AppSedipoXML\obj\Release\App_CheckCFDI.Properties.Resources.resources 26 | K:\Dev2014\APP_CheckXML\AppSedipoXML\AppSedipoXML\obj\Release\App_CheckCFDI.csproj.GenerateResource.Cache 27 | K:\Dev2014\APP_CheckXML\App_CheckCFDI\App_CheckCFDI\bin\Release\App_CheckCFDI.exe.config 28 | K:\Dev2014\APP_CheckXML\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.exe 29 | K:\Dev2014\APP_CheckXML\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.pdb 30 | K:\Dev2014\APP_CheckXML\App_CheckCFDI\App_CheckCFDI\bin\Release\app.config 31 | K:\Dev2014\APP_CheckXML\App_CheckCFDI\App_CheckCFDI\bin\Release\App_CheckCFDI.exe 32 | K:\Dev2014\APP_CheckXML\App_CheckCFDI\App_CheckCFDI\bin\Release\App_CheckCFDI.pdb 33 | K:\Dev2014\APP_CheckXML\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.Acerca.resources 34 | K:\Dev2014\APP_CheckXML\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.frmFAQ.resources 35 | K:\Dev2014\APP_CheckXML\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.Main.resources 36 | K:\Dev2014\APP_CheckXML\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.Properties.Resources.resources 37 | K:\Dev2014\APP_CheckXML\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.csproj.GenerateResource.Cache 38 | K:\Github\App_CheckCFDI\App_CheckCFDI\bin\Release\App_CheckCFDI.exe.config 39 | K:\Github\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.exe 40 | K:\Github\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.pdb 41 | K:\Github\App_CheckCFDI\App_CheckCFDI\bin\Release\app.config 42 | K:\Github\App_CheckCFDI\App_CheckCFDI\bin\Release\App_CheckCFDI.exe 43 | K:\Github\App_CheckCFDI\App_CheckCFDI\bin\Release\App_CheckCFDI.pdb 44 | K:\Github\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.Acerca.resources 45 | K:\Github\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.frmFAQ.resources 46 | K:\Github\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.Main.resources 47 | K:\Github\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.Properties.Resources.resources 48 | K:\Github\App_CheckCFDI\App_CheckCFDI\obj\Release\App_CheckCFDI.csproj.GenerateResource.Cache 49 | -------------------------------------------------------------------------------- /App_CheckCFDI/Service References/ServicioSATCFDI/ConsultaCFDIService.wsdl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/Service References/ServicioSATCFDI/ConsultaCFDIService.wsdl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /App_CheckCFDI/implocal.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Complemento al Comprobante Fiscal Digital para Impuestos Locales 6 | 7 | 8 | 9 | 10 | 11 | Nodo opcional para la expresión de los impuestos locales retenidos 12 | 13 | 14 | 15 | 16 | Nombre del impuesto local retenido 17 | 18 | 19 | 20 | 21 | Porcentaje de retención del impuesto local 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | Monto del impuesto local retenido 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | Nodo opcional para la expresión de los impuestos locales trasladados 45 | 46 | 47 | 48 | 49 | Nombre del impuesto local trasladado 50 | 51 | 52 | 53 | 54 | Porcentaje de traslado del impuesto local 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | Monto del impuesto local trasladado 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | Atributo requerido para expresar la versión del complemento 79 | 80 | 81 | 82 | 83 | Atributo requerido para expresar la suma total de Retenciones aplicables 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | Atributo requerido para expresar la suma total de traslados aplicables 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | -------------------------------------------------------------------------------- /App_CheckCFDI/iedu.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Complemento concepto para la expedición de comprobantes fiscales por parte de Instituciones Educativas Privadas, para los efectos del artículo primero y cuarto del decreto por el que se otorga un estímulo fiscal a las personas físicas en relación con los pagos por servicios educativos 6 | 7 | 8 | 9 | 10 | Atributo requerido con valor prefijado a 1.0 que indica la versión del estándar bajo el que se encuentra expresado el complemento concepto al comprobante. 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | Atributo requerido para indicar el nombre del Alumno 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | Atributo requerido para indicar la CURP del alumno de la institución educativa 29 | 30 | 31 | 32 | 33 | Atributo requerido para indicar el nivel educativo que cursa el alumno 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | Atributo requerido para especificar la autorización o reconocimiento de validez oficial de estudios en los términos de la Ley General de Educación que tenga la institución educativa privada donde se realiza el pago 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | Atributo opcional para indicar el RFC de quien realiza el pago cuando sea diferente a quien recibe el servicio 59 | 60 | 61 | 62 | 63 | 64 | 65 | Tipo definido para la expresión de RFC's de contribuyentes. Cabe hacer la mención que debido a las reglas definidas por el estándar XML en el caso de que un RFC dado incluya un caracter ampersand, dicho caracter deberá ser expresado mediante la secuencia de escape especificado como parte del estándar. En la definición del tipo se expresa una longitud mínima y máxima, sin embargo la longitud puede ser redefinida como una extensión según se determina el uso particular 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | Tipo definido para la expresión de una CURP. 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | -------------------------------------------------------------------------------- /App_CheckCFDI/TuristaPasajeroExtranjero.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Complemento opcional al Comprobante Fiscal Digital (CFD) y Comprobante Fiscal Digital a través de Internet (CFDI) para el manejo de datos de TuristaPasajeroExtranjero. 6 | 7 | 8 | 9 | 10 | 11 | Elemento requerido para expresar la información de la operación realizada 12 | 13 | 14 | 15 | 16 | Atributo requerido para expresar si es vía “Aérea”, “Marítima” o "Terrestre" 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | Atributo requerido para la expresión del número de pasaporte. 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | Atributo requerido para expresar el número de identificación (pasaporte, visa, etc.) 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | Atributo requerido para expresar la nacionalidad del turista. 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | Atributo requerido para señalar la empresa de transporte que lo ingresa a territorio nacional o lo traslada de salida. 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | Atributo opcional para expresar el identificador del medio de transporte usado, ejemplo: número de vuelo. 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | Versión del complemento para TuristaPasajeroExtranjero. 80 | 81 | 82 | 83 | 84 | Atributo requerido para expresar la fecha y hora del Arribo o Salida del medio de transporte utilizado. Se expresa en la forma aaaa-mm-ddThh:mm:ss, de acuerdo con la especificación ISO 8601. 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | Atributo requerido para incorporar la operación realizada: Arribo ó Salida. 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/Styles/Site.css: -------------------------------------------------------------------------------- 1 | /* DEFAULTS 2 | ----------------------------------------------------------*/ 3 | 4 | body 5 | { 6 | background: #b6b7bc; 7 | font-size: .80em; 8 | font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif; 9 | margin: 0px; 10 | padding: 0px; 11 | color: #696969; 12 | } 13 | 14 | a:link, a:visited 15 | { 16 | color: #034af3; 17 | } 18 | 19 | a:hover 20 | { 21 | color: #1d60ff; 22 | text-decoration: none; 23 | } 24 | 25 | a:active 26 | { 27 | color: #034af3; 28 | } 29 | 30 | p 31 | { 32 | margin-bottom: 10px; 33 | line-height: 1.6em; 34 | } 35 | 36 | 37 | /* HEADINGS 38 | ----------------------------------------------------------*/ 39 | 40 | h1, h2, h3, h4, h5, h6 41 | { 42 | font-size: 1.5em; 43 | color: #666666; 44 | font-variant: small-caps; 45 | text-transform: none; 46 | font-weight: 200; 47 | margin-bottom: 0px; 48 | } 49 | 50 | h1 51 | { 52 | font-size: 1.6em; 53 | padding-bottom: 0px; 54 | margin-bottom: 0px; 55 | } 56 | 57 | h2 58 | { 59 | font-size: 1.5em; 60 | font-weight: 600; 61 | } 62 | 63 | h3 64 | { 65 | font-size: 1.2em; 66 | } 67 | 68 | h4 69 | { 70 | font-size: 1.1em; 71 | } 72 | 73 | h5, h6 74 | { 75 | font-size: 1em; 76 | } 77 | 78 | /* this rule styles

and

tags that are the 79 | first child of the left and right table columns */ 80 | .rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2 81 | { 82 | margin-top: 0px; 83 | } 84 | 85 | 86 | /* PRIMARY LAYOUT ELEMENTS 87 | ----------------------------------------------------------*/ 88 | 89 | .page 90 | { 91 | width: 960px; 92 | background-color: #fff; 93 | margin: 20px auto 0px auto; 94 | border: 1px solid #496077; 95 | } 96 | 97 | .header 98 | { 99 | position: relative; 100 | margin: 0px; 101 | padding: 0px; 102 | background: #4b6c9e; 103 | width: 100%; 104 | } 105 | 106 | .header h1 107 | { 108 | font-weight: 700; 109 | margin: 0px; 110 | padding: 0px 0px 0px 20px; 111 | color: #f9f9f9; 112 | border: none; 113 | line-height: 2em; 114 | font-size: 2em; 115 | } 116 | 117 | .main 118 | { 119 | padding: 0px 12px; 120 | margin: 12px 8px 8px 8px; 121 | min-height: 420px; 122 | } 123 | 124 | .leftCol 125 | { 126 | padding: 6px 0px; 127 | margin: 12px 8px 8px 8px; 128 | width: 200px; 129 | min-height: 200px; 130 | } 131 | 132 | .footer 133 | { 134 | color: #4e5766; 135 | padding: 8px 0px 0px 0px; 136 | margin: 0px auto; 137 | text-align: center; 138 | line-height: normal; 139 | } 140 | 141 | 142 | /* TAB MENU 143 | ----------------------------------------------------------*/ 144 | 145 | div.hideSkiplink 146 | { 147 | background-color:#3a4f63; 148 | width:100%; 149 | } 150 | 151 | div.menu 152 | { 153 | padding: 4px 0px 4px 8px; 154 | } 155 | 156 | div.menu ul 157 | { 158 | list-style: none; 159 | margin: 0px; 160 | padding: 0px; 161 | width: auto; 162 | } 163 | 164 | div.menu ul li a, div.menu ul li a:visited 165 | { 166 | background-color: #465c71; 167 | border: 1px #4e667d solid; 168 | color: #dde4ec; 169 | display: block; 170 | line-height: 1.35em; 171 | padding: 4px 20px; 172 | text-decoration: none; 173 | white-space: nowrap; 174 | } 175 | 176 | div.menu ul li a:hover 177 | { 178 | background-color: #bfcbd6; 179 | color: #465c71; 180 | text-decoration: none; 181 | } 182 | 183 | div.menu ul li a:active 184 | { 185 | background-color: #465c71; 186 | color: #cfdbe6; 187 | text-decoration: none; 188 | } 189 | 190 | /* FORM ELEMENTS 191 | ----------------------------------------------------------*/ 192 | 193 | fieldset 194 | { 195 | margin: 1em 0px; 196 | padding: 1em; 197 | border: 1px solid #ccc; 198 | } 199 | 200 | fieldset p 201 | { 202 | margin: 2px 12px 10px 10px; 203 | } 204 | 205 | fieldset.login label, fieldset.register label, fieldset.changePassword label 206 | { 207 | display: block; 208 | } 209 | 210 | fieldset label.inline 211 | { 212 | display: inline; 213 | } 214 | 215 | legend 216 | { 217 | font-size: 1.1em; 218 | font-weight: 600; 219 | padding: 2px 4px 8px 4px; 220 | } 221 | 222 | input.textEntry 223 | { 224 | width: 320px; 225 | border: 1px solid #ccc; 226 | } 227 | 228 | input.passwordEntry 229 | { 230 | width: 320px; 231 | border: 1px solid #ccc; 232 | } 233 | 234 | div.accountInfo 235 | { 236 | width: 42%; 237 | } 238 | 239 | /* MISC 240 | ----------------------------------------------------------*/ 241 | 242 | .clear 243 | { 244 | clear: both; 245 | } 246 | 247 | .title 248 | { 249 | display: block; 250 | float: left; 251 | text-align: left; 252 | width: auto; 253 | } 254 | 255 | .loginDisplay 256 | { 257 | font-size: 1.1em; 258 | display: block; 259 | text-align: right; 260 | padding: 10px; 261 | color: White; 262 | } 263 | 264 | .loginDisplay a:link 265 | { 266 | color: white; 267 | } 268 | 269 | .loginDisplay a:visited 270 | { 271 | color: white; 272 | } 273 | 274 | .loginDisplay a:hover 275 | { 276 | color: white; 277 | } 278 | 279 | .failureNotification 280 | { 281 | font-size: 1.2em; 282 | color: Red; 283 | } 284 | 285 | .bold 286 | { 287 | font-weight: bold; 288 | } 289 | 290 | .submitButton 291 | { 292 | text-align: right; 293 | padding-right: 10px; 294 | } -------------------------------------------------------------------------------- /App_CheckCFDI/Service References/ServicioSATCFDI/Reference.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // Este código fue generado por una herramienta. 4 | // Versión de runtime:4.0.30319.18408 5 | // 6 | // Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si 7 | // se vuelve a generar el código. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace App_CheckCFDI.ServicioSATCFDI { 12 | using System.Runtime.Serialization; 13 | using System; 14 | 15 | 16 | [System.Diagnostics.DebuggerStepThroughAttribute()] 17 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 18 | [System.Runtime.Serialization.DataContractAttribute(Name="Acuse", Namespace="http://schemas.datacontract.org/2004/07/Sat.Cfdi.Negocio.ConsultaCfdi.Servicio")] 19 | [System.SerializableAttribute()] 20 | public partial class Acuse : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 21 | 22 | [System.NonSerializedAttribute()] 23 | private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 24 | 25 | [System.Runtime.Serialization.OptionalFieldAttribute()] 26 | private string CodigoEstatusField; 27 | 28 | [System.Runtime.Serialization.OptionalFieldAttribute()] 29 | private string EstadoField; 30 | 31 | [global::System.ComponentModel.BrowsableAttribute(false)] 32 | public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 33 | get { 34 | return this.extensionDataField; 35 | } 36 | set { 37 | this.extensionDataField = value; 38 | } 39 | } 40 | 41 | [System.Runtime.Serialization.DataMemberAttribute()] 42 | public string CodigoEstatus { 43 | get { 44 | return this.CodigoEstatusField; 45 | } 46 | set { 47 | if ((object.ReferenceEquals(this.CodigoEstatusField, value) != true)) { 48 | this.CodigoEstatusField = value; 49 | this.RaisePropertyChanged("CodigoEstatus"); 50 | } 51 | } 52 | } 53 | 54 | [System.Runtime.Serialization.DataMemberAttribute()] 55 | public string Estado { 56 | get { 57 | return this.EstadoField; 58 | } 59 | set { 60 | if ((object.ReferenceEquals(this.EstadoField, value) != true)) { 61 | this.EstadoField = value; 62 | this.RaisePropertyChanged("Estado"); 63 | } 64 | } 65 | } 66 | 67 | public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 68 | 69 | protected void RaisePropertyChanged(string propertyName) { 70 | System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 71 | if ((propertyChanged != null)) { 72 | propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 73 | } 74 | } 75 | } 76 | 77 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 78 | [System.ServiceModel.ServiceContractAttribute(ConfigurationName="ServicioSATCFDI.IConsultaCFDIService")] 79 | public interface IConsultaCFDIService { 80 | 81 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IConsultaCFDIService/Consulta", ReplyAction="http://tempuri.org/IConsultaCFDIService/ConsultaResponse")] 82 | App_CheckCFDI.ServicioSATCFDI.Acuse Consulta(string expresionImpresa); 83 | } 84 | 85 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 86 | public interface IConsultaCFDIServiceChannel : App_CheckCFDI.ServicioSATCFDI.IConsultaCFDIService, System.ServiceModel.IClientChannel { 87 | } 88 | 89 | [System.Diagnostics.DebuggerStepThroughAttribute()] 90 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 91 | public partial class ConsultaCFDIServiceClient : System.ServiceModel.ClientBase, App_CheckCFDI.ServicioSATCFDI.IConsultaCFDIService { 92 | 93 | public ConsultaCFDIServiceClient() { 94 | } 95 | 96 | public ConsultaCFDIServiceClient(string endpointConfigurationName) : 97 | base(endpointConfigurationName) { 98 | } 99 | 100 | public ConsultaCFDIServiceClient(string endpointConfigurationName, string remoteAddress) : 101 | base(endpointConfigurationName, remoteAddress) { 102 | } 103 | 104 | public ConsultaCFDIServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 105 | base(endpointConfigurationName, remoteAddress) { 106 | } 107 | 108 | public ConsultaCFDIServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 109 | base(binding, remoteAddress) { 110 | } 111 | 112 | public App_CheckCFDI.ServicioSATCFDI.Acuse Consulta(string expresionImpresa) { 113 | return base.Channel.Consulta(expresionImpresa); 114 | } 115 | } 116 | } 117 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/Service References/ServicioSATCFDI/Reference.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // Este código fue generado por una herramienta. 4 | // Versión de runtime:4.0.30319.18408 5 | // 6 | // Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si 7 | // se vuelve a generar el código. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace App_CheckCFDI_AspNet.ServicioSATCFDI { 12 | using System.Runtime.Serialization; 13 | using System; 14 | 15 | 16 | [System.Diagnostics.DebuggerStepThroughAttribute()] 17 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 18 | [System.Runtime.Serialization.DataContractAttribute(Name="Acuse", Namespace="http://schemas.datacontract.org/2004/07/Sat.Cfdi.Negocio.ConsultaCfdi.Servicio")] 19 | [System.SerializableAttribute()] 20 | public partial class Acuse : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 21 | 22 | [System.NonSerializedAttribute()] 23 | private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 24 | 25 | [System.Runtime.Serialization.OptionalFieldAttribute()] 26 | private string CodigoEstatusField; 27 | 28 | [System.Runtime.Serialization.OptionalFieldAttribute()] 29 | private string EstadoField; 30 | 31 | [global::System.ComponentModel.BrowsableAttribute(false)] 32 | public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 33 | get { 34 | return this.extensionDataField; 35 | } 36 | set { 37 | this.extensionDataField = value; 38 | } 39 | } 40 | 41 | [System.Runtime.Serialization.DataMemberAttribute()] 42 | public string CodigoEstatus { 43 | get { 44 | return this.CodigoEstatusField; 45 | } 46 | set { 47 | if ((object.ReferenceEquals(this.CodigoEstatusField, value) != true)) { 48 | this.CodigoEstatusField = value; 49 | this.RaisePropertyChanged("CodigoEstatus"); 50 | } 51 | } 52 | } 53 | 54 | [System.Runtime.Serialization.DataMemberAttribute()] 55 | public string Estado { 56 | get { 57 | return this.EstadoField; 58 | } 59 | set { 60 | if ((object.ReferenceEquals(this.EstadoField, value) != true)) { 61 | this.EstadoField = value; 62 | this.RaisePropertyChanged("Estado"); 63 | } 64 | } 65 | } 66 | 67 | public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 68 | 69 | protected void RaisePropertyChanged(string propertyName) { 70 | System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 71 | if ((propertyChanged != null)) { 72 | propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 73 | } 74 | } 75 | } 76 | 77 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 78 | [System.ServiceModel.ServiceContractAttribute(ConfigurationName="ServicioSATCFDI.IConsultaCFDIService")] 79 | public interface IConsultaCFDIService { 80 | 81 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IConsultaCFDIService/Consulta", ReplyAction="http://tempuri.org/IConsultaCFDIService/ConsultaResponse")] 82 | App_CheckCFDI_AspNet.ServicioSATCFDI.Acuse Consulta(string expresionImpresa); 83 | } 84 | 85 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 86 | public interface IConsultaCFDIServiceChannel : App_CheckCFDI_AspNet.ServicioSATCFDI.IConsultaCFDIService, System.ServiceModel.IClientChannel { 87 | } 88 | 89 | [System.Diagnostics.DebuggerStepThroughAttribute()] 90 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 91 | public partial class ConsultaCFDIServiceClient : System.ServiceModel.ClientBase, App_CheckCFDI_AspNet.ServicioSATCFDI.IConsultaCFDIService { 92 | 93 | public ConsultaCFDIServiceClient() { 94 | } 95 | 96 | public ConsultaCFDIServiceClient(string endpointConfigurationName) : 97 | base(endpointConfigurationName) { 98 | } 99 | 100 | public ConsultaCFDIServiceClient(string endpointConfigurationName, string remoteAddress) : 101 | base(endpointConfigurationName, remoteAddress) { 102 | } 103 | 104 | public ConsultaCFDIServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 105 | base(endpointConfigurationName, remoteAddress) { 106 | } 107 | 108 | public ConsultaCFDIServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 109 | base(binding, remoteAddress) { 110 | } 111 | 112 | public App_CheckCFDI_AspNet.ServicioSATCFDI.Acuse Consulta(string expresionImpresa) { 113 | return base.Channel.Consulta(expresionImpresa); 114 | } 115 | } 116 | } 117 | -------------------------------------------------------------------------------- /App_CheckCFDI/Properties/Resources.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | text/microsoft-resx 107 | 108 | 109 | 2.0 110 | 111 | 112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 113 | 114 | 115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | -------------------------------------------------------------------------------- /App_CheckCFDI/Acerca.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace App_CheckCFDI 2 | { 3 | partial class Acerca 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Acerca)); 32 | this.button1 = new System.Windows.Forms.Button(); 33 | this.label1 = new System.Windows.Forms.Label(); 34 | this.linkLabel1 = new System.Windows.Forms.LinkLabel(); 35 | this.label2 = new System.Windows.Forms.Label(); 36 | this.label3 = new System.Windows.Forms.Label(); 37 | this.linkLabel2 = new System.Windows.Forms.LinkLabel(); 38 | this.SuspendLayout(); 39 | // 40 | // button1 41 | // 42 | this.button1.DialogResult = System.Windows.Forms.DialogResult.OK; 43 | this.button1.Image = ((System.Drawing.Image)(resources.GetObject("button1.Image"))); 44 | this.button1.Location = new System.Drawing.Point(361, 176); 45 | this.button1.Name = "button1"; 46 | this.button1.Size = new System.Drawing.Size(101, 44); 47 | this.button1.TabIndex = 0; 48 | this.button1.Text = "&Cerrar"; 49 | this.button1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; 50 | this.button1.UseVisualStyleBackColor = true; 51 | // 52 | // label1 53 | // 54 | this.label1.AutoSize = true; 55 | this.label1.Location = new System.Drawing.Point(49, 62); 56 | this.label1.Name = "label1"; 57 | this.label1.Size = new System.Drawing.Size(49, 17); 58 | this.label1.TabIndex = 1; 59 | this.label1.Text = "Iconos"; 60 | // 61 | // linkLabel1 62 | // 63 | this.linkLabel1.AutoSize = true; 64 | this.linkLabel1.Location = new System.Drawing.Point(226, 62); 65 | this.linkLabel1.Name = "linkLabel1"; 66 | this.linkLabel1.Size = new System.Drawing.Size(212, 17); 67 | this.linkLabel1.TabIndex = 2; 68 | this.linkLabel1.TabStop = true; 69 | this.linkLabel1.Text = "http://www.fatcow.com/free-icons"; 70 | this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); 71 | // 72 | // label2 73 | // 74 | this.label2.AutoSize = true; 75 | this.label2.Location = new System.Drawing.Point(49, 95); 76 | this.label2.Name = "label2"; 77 | this.label2.Size = new System.Drawing.Size(180, 17); 78 | this.label2.TabIndex = 1; 79 | this.label2.Text = "Comentarios, sugerencias :"; 80 | // 81 | // label3 82 | // 83 | this.label3.AutoSize = true; 84 | this.label3.Location = new System.Drawing.Point(30, 23); 85 | this.label3.Name = "label3"; 86 | this.label3.Size = new System.Drawing.Size(121, 17); 87 | this.label3.TabIndex = 1; 88 | this.label3.Text = "Agradecimientos :"; 89 | // 90 | // linkLabel2 91 | // 92 | this.linkLabel2.AutoSize = true; 93 | this.linkLabel2.Location = new System.Drawing.Point(226, 95); 94 | this.linkLabel2.Name = "linkLabel2"; 95 | this.linkLabel2.Size = new System.Drawing.Size(176, 17); 96 | this.linkLabel2.TabIndex = 3; 97 | this.linkLabel2.TabStop = true; 98 | this.linkLabel2.Text = "albino.nolasco@gmail.com"; 99 | this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked); 100 | // 101 | // Acerca 102 | // 103 | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); 104 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 105 | this.ClientSize = new System.Drawing.Size(474, 232); 106 | this.ControlBox = false; 107 | this.Controls.Add(this.linkLabel2); 108 | this.Controls.Add(this.linkLabel1); 109 | this.Controls.Add(this.label2); 110 | this.Controls.Add(this.label3); 111 | this.Controls.Add(this.label1); 112 | this.Controls.Add(this.button1); 113 | this.Name = "Acerca"; 114 | this.ShowIcon = false; 115 | this.ShowInTaskbar = false; 116 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; 117 | this.Text = "Acerca de App_CheckCFDI.."; 118 | this.ResumeLayout(false); 119 | this.PerformLayout(); 120 | 121 | } 122 | 123 | #endregion 124 | 125 | private System.Windows.Forms.Button button1; 126 | private System.Windows.Forms.Label label1; 127 | private System.Windows.Forms.LinkLabel linkLabel1; 128 | private System.Windows.Forms.Label label2; 129 | private System.Windows.Forms.Label label3; 130 | private System.Windows.Forms.LinkLabel linkLabel2; 131 | } 132 | } -------------------------------------------------------------------------------- /App_CheckCFDI/frmFAQ.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /App_CheckCFDI/App_CheckCFDI_Win32.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {74D0FE7E-041E-4AC3-825E-DAD5CFC3D3F9} 8 | WinExe 9 | Properties 10 | App_CheckCFDI 11 | App_CheckCFDI 12 | v4.0 13 | 512 14 | 15 | 16 | 17 | AnyCPU 18 | true 19 | full 20 | false 21 | bin\Debug\ 22 | DEBUG;TRACE 23 | prompt 24 | 4 25 | 26 | 27 | AnyCPU 28 | pdbonly 29 | true 30 | bin\Release\ 31 | TRACE 32 | prompt 33 | 4 34 | 35 | 36 | WebService.ico 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | Form 54 | 55 | 56 | Acerca.cs 57 | 58 | 59 | cfdv32.xsd 60 | 61 | 62 | Form 63 | 64 | 65 | frmFAQ.cs 66 | 67 | 68 | Form 69 | 70 | 71 | Main.cs 72 | 73 | 74 | 75 | 76 | True 77 | True 78 | Reference.svcmap 79 | 80 | 81 | TimbreFiscalDigital.xsd 82 | 83 | 84 | Acerca.cs 85 | 86 | 87 | frmFAQ.cs 88 | 89 | 90 | Main.cs 91 | 92 | 93 | ResXFileCodeGenerator 94 | Resources.Designer.cs 95 | Designer 96 | 97 | 98 | True 99 | Resources.resx 100 | True 101 | 102 | 103 | Always 104 | 105 | 106 | Designer 107 | 108 | 109 | SettingsSingleFileGenerator 110 | Settings.Designer.cs 111 | 112 | 113 | True 114 | Settings.settings 115 | True 116 | 117 | 118 | Reference.svcmap 119 | 120 | 121 | 122 | Designer 123 | 124 | 125 | Designer 126 | 127 | 128 | Designer 129 | 130 | 131 | Designer 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | WCF Proxy Generator 149 | Reference.cs 150 | 151 | 152 | 153 | 154 | 155 | 156 | 163 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/App_CheckCFDI_AspNet.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Debug 5 | AnyCPU 6 | 7 | 8 | 2.0 9 | {C545F681-4BD5-4667-8981-155C7514F132} 10 | {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} 11 | Library 12 | Properties 13 | App_CheckCFDI_AspNet 14 | App_CheckCFDI_AspNet 15 | v4.0 16 | false 17 | 18 | 19 | true 20 | full 21 | false 22 | bin\ 23 | DEBUG;TRACE 24 | prompt 25 | 4 26 | 27 | 28 | pdbonly 29 | true 30 | bin\ 31 | TRACE 32 | prompt 33 | 4 34 | 35 | 36 | 37 | ..\packages\DotNetZip.1.9.3\lib\net20\Ionic.Zip.dll 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | Reference.svcmap 62 | 63 | 64 | 65 | 66 | 67 | WCF Proxy Generator 68 | Reference.cs 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | Web.config 78 | 79 | 80 | Web.config 81 | 82 | 83 | 84 | Designer 85 | 86 | 87 | Designer 88 | 89 | 90 | Designer 91 | 92 | 93 | 94 | 95 | cfdv32.xsd 96 | 97 | 98 | Default.aspx 99 | ASPXCodeBehind 100 | 101 | 102 | Default.aspx 103 | 104 | 105 | Global.asax 106 | 107 | 108 | 109 | True 110 | True 111 | Reference.svcmap 112 | 113 | 114 | TimbreFiscalDigital.xsd 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | Designer 129 | 130 | 131 | Designer 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | False 144 | True 145 | 53179 146 | / 147 | 148 | 149 | False 150 | False 151 | 152 | 153 | False 154 | 155 | 156 | 157 | 158 | 165 | -------------------------------------------------------------------------------- /App_CheckCFDI/ventavehiculos.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Complemento concepto que permite incorporar a los fabricantes, ensambladores o distribuidores autorizados de automóviles nuevos, así como aquéllos que importen automóviles para permanecer en forma definitiva en la franja fronteriza norte del país y en los Estados de Baja California, Baja California Sur y la región parcial del Estado de Sonora, a un Comprobante Fiscal Digital (CFD) o a un Comprobante Fiscal Digital a través de Internet (CFDI) la clave vehicular que corresponda a la versión enajenada. 7 | 8 | 9 | 10 | 11 | 12 | Nodo opcional para introducir la información aduanera aplicable cuando se trate de ventas de primera mano de mercancías importadas. 13 | 14 | 15 | 16 | 17 | Nodo opcional para expresar las partes o componentes que integran la totalidad del concepto expresado en el CFD o CFDI. 18 | 19 | 20 | 21 | 22 | 23 | Nodo opcional para introducir la información aduanera aplicable cuando se trate de partes o componentes importados vendidos de primera mano. 24 | 25 | 26 | 27 | 28 | 29 | Atributo requerido para precisar la cantidad de bienes o servicios del tipo particular definido por la presente parte. 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | Atributo opcional para precisar la unidad de medida aplicable para la cantidad expresada en la parte. 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | Atributo opcional para expresar el número de serie del bien o identificador del servicio amparado por la presente parte. 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | Atributo requerido para precisar la descripción del bien o servicio cubierto por la presente parte. 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | Atributo opcional para precisar el valor o precio unitario del bien o servicio cubierto por la presente parte. 73 | 74 | 75 | 76 | 77 | Atributo opcional para precisar el importe total de los bienes o servicios de la presente parte. Debe ser equivalente al resultado de multiplicar la cantidad por el valor unitario expresado en la parte. 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | Atributo requerido con valor prefijado a 1.0 que indica la versión del estándar bajo el que se encuentra expresado el comprobante. 86 | 87 | 88 | 89 | 90 | Atributo requerido para precisar Clave vehicular que corresponda a la versión del vehículo enajenado. 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | Tipo definido para expresar información aduanera 104 | 105 | 106 | 107 | Atributo requerido para expresar el número del documento aduanero que ampara la importación del bien. 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | Atributo requerido para expresar la fecha de expedición del documento aduanero que ampara la importación del bien. 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | Atributo opcional para precisar la aduana por la que se efectuó la importación del bien. 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | Tipo definido para expresar importes numéricos con fracción hasta seis decimales 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | -------------------------------------------------------------------------------- /App_CheckCFDI_AspNet/Default.aspx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.UI; 6 | using System.Web.UI.WebControls; 7 | using Ionic.Zip; 8 | using System.IO; 9 | using System.ServiceModel; 10 | using System.Xml.Serialization; 11 | using System.Xml.Linq; 12 | using System.Text; 13 | using App_CheckCFDI_AspNet.ServicioSATCFDI; 14 | 15 | namespace App_CheckCFDI_AspNet 16 | { 17 | public partial class Default : System.Web.UI.Page 18 | { 19 | static List ArchivosXML = new List(); 20 | protected void Page_Load(object sender, EventArgs e) 21 | { 22 | 23 | } 24 | 25 | protected void btnProcesar_Click(object sender, EventArgs e) 26 | { 27 | string path = HttpRuntime.AppDomainAppPath; 28 | if (XMLZipFile.HasFile) 29 | { 30 | try 31 | { 32 | string myFileNameLocal = path + XMLZipFile.FileName; 33 | XMLZipFile.SaveAs(path + XMLZipFile.FileName); 34 | if (File.Exists(myFileNameLocal) && myFileNameLocal.Contains(".zip")) 35 | { 36 | lblSalida.Text = lblSalida.Text + "Procesando Archivo :"+myFileNameLocal+"\n"; 37 | ArchivosXML.Clear(); 38 | using (ZipFile zip = ZipFile.Read(myFileNameLocal)) 39 | { 40 | int cont = 0; 41 | foreach (ZipEntry entrada in zip) 42 | { 43 | XMLRow nuevoElemento = new XMLRow(); 44 | Comprobante comprobante = new Comprobante(); 45 | cont++; 46 | string Xmlstring; 47 | if (entrada.FileName.ToLower().Contains(".xml")) 48 | { 49 | MemoryStream memory = new MemoryStream(); 50 | entrada.Extract(memory); 51 | Xmlstring = Encoding.UTF8.GetString(memory.ToArray()); 52 | // No tengo idea, pero la libreria le agrega un caracter al stream... hay que investigar 53 | Xmlstring = Xmlstring.Substring(1); 54 | nuevoElemento.XML_Nombre_Archivo = Path.GetFileName(entrada.FileName); 55 | var serializer = new XmlSerializer(typeof(Comprobante)); 56 | try 57 | { 58 | using (TextReader lector = new StringReader(Xmlstring)) 59 | { 60 | comprobante = (Comprobante)serializer.Deserialize(lector); 61 | } 62 | nuevoElemento.XML_RFC_Emisor = comprobante.Emisor.rfc; 63 | nuevoElemento.XML_RFC_Receptor = comprobante.Receptor.rfc; 64 | nuevoElemento.XML_Total = comprobante.total; 65 | nuevoElemento.XML_Esquema_CFDI = "Esquema Valido"; 66 | } 67 | catch (Exception ex) 68 | { 69 | nuevoElemento.XML_Esquema_CFDI = "Esquema Invalido"; 70 | nuevoElemento.XML_RFC_Emisor = ""; 71 | nuevoElemento.XML_RFC_Receptor = ""; 72 | nuevoElemento.XML_Status = "INVALIDO!!!"; 73 | nuevoElemento.XML_Total = 0.00m; 74 | nuevoElemento.XML_UUID = ""; 75 | lblSalida.Text = lblSalida.Text + "Error :" + ex.Message; 76 | } 77 | try 78 | { 79 | var xdoc = XDocument.Parse(Xmlstring); 80 | var timbreFiscal = (from item in xdoc.Descendants() 81 | where item.Name.LocalName == "TimbreFiscalDigital" 82 | select item).First(); 83 | TimbreFiscalDigital timbreXMLComplemento = new TimbreFiscalDigital(); 84 | timbreXMLComplemento.FechaTimbrado = Convert.ToDateTime(timbreFiscal.Attribute("FechaTimbrado").Value); 85 | timbreXMLComplemento.UUID = timbreFiscal.Attribute("UUID").Value; 86 | timbreXMLComplemento.noCertificadoSAT = timbreFiscal.Attribute("noCertificadoSAT").Value; 87 | timbreXMLComplemento.selloCFD = timbreFiscal.Attribute("selloCFD").Value; 88 | timbreXMLComplemento.selloSAT = timbreFiscal.Attribute("selloSAT").Value; 89 | timbreXMLComplemento.version = timbreFiscal.Attribute("version").Value; 90 | nuevoElemento.XML_UUID = timbreXMLComplemento.UUID.ToLower(); 91 | nuevoElemento.XML_Complemento_TFD = "Complemento Valido"; 92 | } 93 | catch 94 | { 95 | nuevoElemento.XML_Complemento_TFD = "Complemento Invalido"; 96 | } 97 | memory.Dispose(); 98 | ArchivosXML.Add(nuevoElemento); 99 | } 100 | } 101 | lblSalida.Text = lblSalida.Text + "Numero de XML en archivo ZIP:"+cont+"\n"; 102 | } 103 | } 104 | else 105 | { 106 | lblSalida.Text = lblSalida.Text + "El archivo no existe; o no es un archivo zip"; 107 | } 108 | } 109 | catch (Exception ex) 110 | { 111 | lblSalida.Text = "Error : " + ex.Message; 112 | } 113 | procesar(); 114 | } 115 | } 116 | 117 | private void procesar() 118 | { 119 | int cont = 0; 120 | try 121 | { 122 | ConsultaCFDIServiceClient consultar = new ConsultaCFDIServiceClient(); 123 | consultar.Open(); 124 | foreach (XMLRow row in ArchivosXML) 125 | { 126 | cont++; 127 | if (!(row.XML_Esquema_CFDI == "Esquema Invalido" || row.XML_Complemento_TFD == "Complemento Invalido")) 128 | { 129 | Acuse acuse = new Acuse(); 130 | if (consultar.State == CommunicationState.Opened) 131 | { 132 | acuse = consultar.Consulta("?re=" + row.XML_RFC_Emisor.Replace("&", "&") + "&rr=" + row.XML_RFC_Receptor.Replace("&", "&") + "&tt=" + row.XML_Total + "&id=" + row.XML_UUID); 133 | row.XML_Status = acuse.CodigoEstatus; 134 | } 135 | if (consultar.State == CommunicationState.Closed) 136 | { 137 | row.XML_Status = "Comunicacion cerrada, error"; 138 | } 139 | if (consultar.State == CommunicationState.Faulted) 140 | { 141 | row.XML_Status = "Comunicacion fallida, error. Reintente"; 142 | } 143 | if (consultar.State == CommunicationState.Closed) 144 | { 145 | row.XML_Status = "Comunicacion cerrada, error. Reintente"; 146 | } 147 | } 148 | } 149 | ActualizaGrid(); 150 | 151 | } 152 | catch (Exception ex) 153 | { 154 | 155 | } 156 | 157 | } 158 | 159 | private void ActualizaGrid() 160 | { 161 | 162 | ConsultaCFDIServiceClient consultar = new ConsultaCFDIServiceClient(); 163 | var lstXML = from xml in ArchivosXML 164 | select new 165 | { 166 | xml.XML_Nombre_Archivo, 167 | xml.XML_Esquema_CFDI, 168 | xml.XML_Complemento_TFD, 169 | XML_RFC_Emisor = xml.XML_RFC_Emisor.ToString(), 170 | xml.XML_RFC_Receptor, 171 | xml.XML_UUID, 172 | xml.XML_Status, 173 | xml.XML_Total 174 | }; 175 | 176 | GridView1.DataSource = lstXML.ToList(); 177 | GridView1.DataBind(); 178 | 179 | 180 | //GridView1.Columns["XML_Total"].DefaultCellStyle.Alignment 181 | //dataGridView1.Refresh(); 182 | 183 | } 184 | } 185 | class XMLRow 186 | { 187 | public string XML_Nombre_Archivo { get; set; } 188 | public string XML_Esquema_CFDI { get; set; } 189 | public string XML_Complemento_TFD { get; set; } 190 | public string XML_RFC_Emisor { get; set; } 191 | public string XML_RFC_Receptor { get; set; } 192 | public string XML_UUID { get; set; } 193 | public decimal XML_Total { get; set; } 194 | public string XML_Status { get; set; } 195 | 196 | public XMLRow() 197 | { 198 | } 199 | } 200 | } -------------------------------------------------------------------------------- /App_CheckCFDI/Acerca.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | 121 | 122 | 123 | iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 124 | YQUAAAAJcEhZcwAAEnMAABJzAYwiuQcAAAAWdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjA76PVpAAAL 125 | D0lEQVRYR6WWCVTV1RbGr88sGxxjEBDUzHqapuaMUzhUKmqTae9pmpVlZab5LBEcETVyQlABAZFBwIsg 126 | MlwQRcMpB4YQZEZkEryAIIiA+nv7XKx8q3m9vda3/sP93/N9Z+99vnM0fzWMPnFtb7wyemknh/jU9g4n 127 | aGd/8me0F3RYdZLODsdSje2jl6pvH/zt/45WJkt8e3Z2OJpmtv4oCyOD2JfpTFrDeopYzjW+lusKA9Ju 128 | b8QnfQcLjmixcDyOkUN8gumyA8+oMVqG+vvR2njVEXdzxyi2JXlSyH8o4ztK7u/i2l0XshpXk3bnU6L1 129 | s3DJm4VX4ask1o7ix4aF8psjG88cMAgxWaVzV2O1DPnXo83Tq6PKbLySiLhWTWHzcSrunaS42Ye8Rlfi 130 | SsoILygnKLeEXT/C1mSYFQO2On9cr2nwLzUl8eY7nKtez6g9KRivOVamxmwZ+s+jTedVkSWf6QpIKG9G 131 | f/8kJXcPiwgP0utCiCgAbf59/LOb8MhoZHvqHZwuNrLy7F3eO1rJ0ouT2CUituZr8Cu05lSlEx9EXMJo 132 | VXyJGruF4vejjdGqyLLPYvLRld4npwZSKhsovLubvGZHEZRP2FU4kNeET1Yjbpeb2JQEm5KzcErRMT8e 133 | bEIFYUlszmrD9jwNuwv+QfT1JcyPuIDJ6vg/zERrU7tQr3FeFwgsuE9mzT2SK+9xphxOlMEPN+M4Vp6E 134 | 9mozvjngnnEf51QIKf6Uw/p+hFc+jUv2DN49msqIkBv08YV/HV/GpkzJRq6G0MKtTPCKxtTuiJfiaqH8 135 | JVoZvb+pt7ljLN7ZjZy43iwzv8uZivskCPlpfSrJ9atJaphNVFk8ezNhT2YRm1Nuc6h8NJ5XZ+NXYolf 136 | mYaNmQNZm96XsYdSsY3x4pvkXuyQTEwIDyEwbzum689h9L5zb8XZQt0SbUzswxOXxl/DI6vpAfk9ESIz 137 | rzlKWuPHJN2Zww/1M/m+diZx0mDR1aOIrOrJIb0pG9PXMT8hG5eCznyb1YVhQTDkQBX9A/Q8632LAQFn 138 | WH7JiMBiE+xOuGNsH5uoOFuoJZ6yfsOs64Y4XLMkvZKBM9J8x0ubiZM+iC6GI0VwrCqAU/WvcfzWeHTV 139 | w4mo7EtoZVdCbjzK2jQ7PIo1fHLa1XCdFp3A8JAKBh0oos/+Ep73zWVlanvWXdZw5PpETNZd5Cnrt8we 140 | 0Evtv9pv/3bIZb44V09sURPxJc1EFTULcTPhQh4q0BZVklA/DF3NMCKq+hGq70aw/nEWnzvL18nr8L6u 141 | 4f3v/RmthVEHbzHiYBmDDxTSz/+qZKEE4923+ChxuJTrUd4K1mLyVbC94lYCHjd1CM9YcryEt+NrZOZN 142 | svabCL3aRIg03IGCe/jlQUBhFnF1z3OkurfMvDtB+o54lvTgnThY/IMHe0s1bMvvyPuS4hEH7zAs+Lpk 143 | QAT4FfDcvgIsPMoYG+osJdKw9uxKKUN8huJWAjqZro3G/nwdb8bdJPJaI8H5jfjnNkq3N+GVc4/d0nT7 144 | rkYRU2vBoWoLIe/M/opH8C7X4CNwyrLBo0SWXJGGvXL9/NwChgTpeSnwGn2VAJ88LD0KaLfjJluyNbhm 145 | jhdzOofiVgKMu4iAxWfrRUA1/jkN+GQ24H6lAbcrd9iR0cxmcbtduUeIqG1PcFV79t9obSD2krTvlc53 146 | LeyIu9ReCdiUZcnMo96S/hsMDCjkhf359PLJFQF5dNhZwbILnfEufBSj1eeVAGMlwMRMBHxwspY3dNWs 147 | vVSHW0Y929Juszn1NhtSmrC7AAer+qOtaU1AZSt8b6iZtxIBrfCU1Ctyd5m5W6GGz85+ydCgOhFQSn+p 148 | f2/ffHp659LVPYeOO4t5K/YtPOU74zUXlQCTFgHropkZXyvdW8O84zU4p9SxXoQ4XKzjm/MNLDoNwTc7 149 | EnRTfL5SIwJaPSSglaHzVQ8sufCB1L6JocHlDJL0q/o/vy+PHl45WLhn09k1n+5ekXiJVZuuPfuLAPN1 150 | OiZF3WZZym6mRNaz4GQN35yrYcmZWhZ+X8fcBNic8xEHazSSgYcFtBAr+EpJhsr6HxGsl/oXydq/Kkuw 151 | Jf3dPLMx25MpAjJ5fHsuGucCrGSnfEhArAgoQnevFTOOpmMbWcu/j1WLuVTL9SYz4u5IidI4dEtDYJUS 152 | IKjQsE+gemGfCFmROl0E1AtKpfkKGeMUgNOMLnw70wK7qeYMWOVDJ9d0EZBO6y2X6eEU+7MAY3P78OwB 153 | PmV4Voxh9ZVlvHK4FttoPdNjbvCmTs8bMTW8GVslXW9OsGRBlcFfr2HdlUksu/QpOwpM5NsYWXY3GRhY 154 | zIitMexdaEXMhqFEbRjLnk8Hs3C0OZYOWh7blsaTzhfotiYsW3ErAZ1MPt6+5XnXNOafDmH5j2sYH1bN 155 | qxEVTI4sl5JUMCVKz2sR9Xx0OlBKMcHQCyt/nCN1RmYL04R8zolv6bu/TtKu5wsbE0JW9CHOeSJxW2ey 156 | 5/PxLLLpxdxBRjL7NDptPoXZJ9u3KG4l4PHHLHu/ZOkYj3VoFSO1ejGMcsaFlckGUsbEw9clI9eZGK7n 157 | 5UO3mRWvI6xO6n69LW/HHea7vGd4IzaA+YkrZC94hOVJ1iwa255t86zwWDSMBPdPyIi0x33pa8zt307q 158 | f5luTnE8ZtX7JcWtBCg7tLCwD83r55UuLlaK9cESRmmLGRNaIruaQqmQlzFahI0IuSXliGBN+quGJtRK 159 | Sd47sZbue+9jvgcmR7ny8ZC2VCZtgjI/atN2UHbOieN7P2R+/ydouzEJK7uQS4rzAbchOj41+LWpVtIY 160 | yj4HBxXLUrrG8OAiIRQclLoqyP0w1WRiMv39a/jnvgam63zwFjMaHRotJmQm9qxh6edtqPhhE3XpLhQn 161 | riMr1o4Erw+xnTWKro4neGrolCnC2aGFuiUeFXQ3W+x5uOfWU/SXXWyAdLLqZiXoYah3A8ThXvQr4gXf 162 | Yllm5WIyt2TmO/ESIcqMVp/SkH9+OeUy82zdCpK1i4nymcWTS3WYf+kTLlzdBP9zMlKHg3aCFy3XROh7 163 | 7Uqhj38hfcXJlJcrQ1FQ9wpqfSuHUybzjHeBrPEbfJMyzDD7nVc1bJfzoHPksxQm2HP58Jck+sxlwEoX 164 | LFbH6RXHA65fHddVPdS6HG655vCNnm5J9PKVjeQBkcJzAmUsz4q19vTOMTiclUcuxrtKxQcGGkqxKqQP 165 | HyxYSFrqJUL3LGKb3dv8Z541CfHRzJu/4PaMmbNWPuD6zVBpUQcFa6s1EZXdtySKdebSw1vZaa40Wg7d 166 | 9mZjJc5m6ZEl9pols8/CyC2Pnm5phGiDsJ06janTXyc7t4DhI8cyYvQ4Ro4Zx/kLyUx//U1sp01Hq9UW 167 | e3t79zAw/kb8JGK4+Rd7ItWS6eqSTBfPHMw8sukihAqmu6/IzK/wtFsGHVyu4Osrp1CJceMnMmmyLbNn 168 | zzE8/xSzZ7/H5Cm2jJsw0fDs5+ennPB3Q4lQ5XjxiX5j3+36dUCqlQix2HoWkx3JdHK7Qgfx9XauGTyx 169 | M4O22zOIjo42DGxtPZJXXnmVl1+2ISwsnJraW4arelbvR1qPMnzn4eHxhwJUqDqpZlEdO+gRI4spJvMc 170 | 3a0ctPndN+joIei+8agBPZx06HQ6w8CDBw/BxmYcY8aMxdZ2quGduqpn9V79rsLT0/NPBahQnaqyodas 171 | Mg51nB4usBGMfxiOjo4pAQEBDBgw0JAFBXUfFnboV+8CAwNxcXE5If/7W6EyoqxT+bfaRFSJHsYQgRJm 172 | /eB+0J+gp0aj0fwXwApYUdguX0AAAAAASUVORK5CYII= 173 | 174 | 175 | -------------------------------------------------------------------------------- /App_CheckCFDI/ecc.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Complemento al Comprobante Fiscal Digital (CFD) y Comprobante Fiscal Digital por Internet (CFDI) para integrar la información aplicable al estado de cuenta emitido por un prestador de servicios de monedero electrónico. 6 | 7 | 8 | 9 | 10 | 11 | Nodo requerido para enlistar los conceptos cubiertos por Estado de Cuenta de Combustible. 12 | 13 | 14 | 15 | 16 | 17 | Nodo requerido para la expresión de una transacción a ser reportada en el estado de cuenta del proveedor de monedero electrónico para operaciones de compra de combustibles. 18 | 19 | 20 | 21 | 22 | 23 | Nodo requerido para enlistar los impuestos trasladados aplicables de combustibles. 24 | 25 | 26 | 27 | 28 | 29 | Nodo para la definición de información detallada de un traslado de impuesto específico 30 | 31 | 32 | 33 | 34 | Atributo requerido para definir el tipo de impuesto trasladado 35 | 36 | 37 | 38 | 39 | 40 | 41 | Impuesto al Valor Agregado 42 | 43 | 44 | 45 | 46 | Impuesto especial sobre productos y servicios 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | Atributo requerido para señalar la tasa del impuesto que se traslada por cada concepto amparado en el comprobante 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | Atributo requerido para definir el importe o monto del impuesto trasladado 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | Atributo requerido para la expresión del identificador o número del monedero electrónico 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | Atributo requerido para la expresión de la Fecha y hora de expedición de la operación reportada. Se expresa en la forma aaaa-mm-ddThh:mm:ss, de acuerdo con la especificación ISO 8601. 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | Atributo requerido del RFC del enajenante del combustible 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | Atributo requerido para expresar la clave de cliente de la estación de servicio, a 10 caracteres, cuando sea requerido. 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | Atributo requerido para definir el volumen de combustible adquirido. 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | Atributo requerido para expresar el nombre del combustible adquirido. 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | Atributo requerido para referir el número de folio de cada operación realizada por cada monedero electrónico. 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | Atributo requerido para definir el precio unitario del combustible adquirido. 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | Atributo requerido para definir el monto total de consumo de combustible. Debe ser equivalente al resultado de multiplicar la cantidad por el valor unitario. 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | Atributo requerido para expresar el tipo de operación de acuerdo con el medio de pago. 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | Nodo requerido para expresar el número de cuenta del adquirente del monedero electrónico 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | Atributo opcional para representar la suma de todos los importes tipo ConceptoEstadoDeCuentaCombustible. 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | Atributo requerido para expresar el monto total de consumo de combustible. 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | -------------------------------------------------------------------------------- /App_CheckCFDI/spei.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Complemento para el uso de SPEI Tercero a Tercero 6 | 7 | 8 | 9 | 10 | 11 | Estándar aplicable a operaciones de SPEI a terceros 12 | 13 | 14 | 15 | 16 | 17 | Elemento para describir los datos del ordenante del SPEI 18 | 19 | 20 | 21 | 22 | Atributo requerido para expresar el nombre del Banco o Institución Financiera emisora del SPEI 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | Nombre de la persona física o moral que ordena el envío del pago. 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | Categoría de la Cuenta a la que se efectuará el cargo por la transferencia electrónica de fondos. 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | Cuenta que deberá estar ligada al Tipo de Cuenta del Ordenante, donde serán cargados los fondos. 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | Corresponde al registro federal de contribuyentes o clave única de registro de población del ordenante. Se pondrá ND en caso de no tenerlo disponible 64 | 65 | 66 | 67 | 68 | 69 | 70 | Elemento para describir los datos del beneficiario del SPEI 71 | 72 | 73 | 74 | 75 | Atributo requerido para expresar el nombre del Banco o Institución Financiera Receptora del SPEI 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | Nombre de la persona física o moral receptora del pago. 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | Categoría de la cuenta a la que se efectuará el abono por la transferencia electrónica de fondos. Consultar Catálogo de Tipos de Cuenta. 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | Esta cuenta deberá estar ligada al campo Tipo de Cuenta del Beneficiario, donde son abonados los fondos. 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | Atributo requerido para la expresión del registro federal de contribuyentes del beneficiario. Se pondrá ND en caso de no estar disponible 117 | 118 | 119 | 120 | 121 | Descripción del motivo por el que el ordenante hace el pago al beneficiario. 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | Importes de IVA correspondientes al pago. El monto debe ser mayor a cero y menor o igual a 9,999,999,999,999,999.99 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | Atributo obligatorio para la expresión del monto de la operación. Se trata de un entero positivo 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | Fecha de operación con formato. Debe ser la misma que la fecha de operación del sistema. 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | hora del acreditamiento 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | Clave SPEI del Participante Emisor. 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | Atributo requerido para contener el sello digital del comprobante de pago. El sello deberá ser expresado cómo una cadena de texto en formato Base 64. 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | Atributo requerido para la identificación del certificado de seguridad utilizado para el sello digital. 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | Atributo que contiene la información del CDA fidedigna que la institución ha enviado a Banco de México. 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | Tipo definido para la expresión de RFC's de contribuyentes. Cabe hacer la mención que debido a las reglas definidas por el estándar XML en el caso de que un RFC dado incluya un carácter ampersand, dicho carácter deberá ser expresado mediante la secuencia de escape especificado como parte del estándar. En la definición del tipo se expresa una longitud mínima y máxima, sin embargo la longitud puede ser redefinida como una extensión según se determina el uso particular 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | --------------------------------------------------------------------------------