fdis 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +51 -0
  3. data/lib/cadena/ComercioExterior11.xslt +181 -0
  4. data/lib/cadena/Pagos10.xslt +165 -0
  5. data/lib/cadena/Pagos20.xsd +532 -0
  6. data/lib/cadena/Pagos20.xslt +233 -0
  7. data/lib/cadena/TuristaPasajeroExtranjero.xslt +40 -0
  8. data/lib/cadena/aerolineas.xslt +50 -0
  9. data/lib/cadena/cadena33.xslt +349 -0
  10. data/lib/cadena/cadenaoriginal_4_0.xslt +405 -0
  11. data/lib/cadena/catCFDI.xsd +162331 -0
  12. data/lib/cadena/certificadodedestruccion.xslt +60 -0
  13. data/lib/cadena/cfdiregistrofiscal.xslt +19 -0
  14. data/lib/cadena/cfdv33.xsd +737 -0
  15. data/lib/cadena/cfdv40.xsd +850 -0
  16. data/lib/cadena/consumodecombustibles.xslt +108 -0
  17. data/lib/cadena/detallista.xslt +42 -0
  18. data/lib/cadena/divisas.xslt +13 -0
  19. data/lib/cadena/donat11.xslt +13 -0
  20. data/lib/cadena/ecc11.xslt +102 -0
  21. data/lib/cadena/iedu.xslt +26 -0
  22. data/lib/cadena/implocal.xslt +39 -0
  23. data/lib/cadena/ine11.xslt +51 -0
  24. data/lib/cadena/leyendasFisc.xslt +28 -0
  25. data/lib/cadena/nomina12.xslt +412 -0
  26. data/lib/cadena/notariospublicos.xslt +301 -0
  27. data/lib/cadena/obrasarteantiguedades.xslt +33 -0
  28. data/lib/cadena/pagoenespecie.xslt +39 -0
  29. data/lib/cadena/pfic.xslt +13 -0
  30. data/lib/cadena/renovacionysustitucionvehiculos.xslt +152 -0
  31. data/lib/cadena/servicioparcialconstruccion.xslt +44 -0
  32. data/lib/cadena/terceros11.xslt +108 -0
  33. data/lib/cadena/utilerias.xslt +22 -0
  34. data/lib/cadena/valesdedespensa.xslt +70 -0
  35. data/lib/cadena/vehiculousado.xslt +63 -0
  36. data/lib/cadena/ventavehiculos11.xslt +53 -0
  37. data/lib/fdis/config.rb +94 -0
  38. data/lib/fdis/facturacion.rb +1028 -0
  39. data/lib/fdis/version.rb +3 -0
  40. data/lib/fdis.rb +17 -0
  41. metadata +139 -0
@@ -0,0 +1,3 @@
1
+ module Fdis
2
+ VERSION = "0.1.0"
3
+ end
data/lib/fdis.rb ADDED
@@ -0,0 +1,17 @@
1
+ require "fdis/version"
2
+ require "fdis/config"
3
+ require "fdis/facturacion"
4
+
5
+ require 'openssl'
6
+ require 'net/http'
7
+ require 'base64'
8
+ require 'json'
9
+ require 'securerandom'
10
+ require 'fileutils'
11
+
12
+ # External gems
13
+ require 'nokogiri'
14
+
15
+ module Fdis
16
+
17
+ end
metadata ADDED
@@ -0,0 +1,139 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fdis
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Angel Padilla
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2022-10-31 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 2.3.24
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 2.3.24
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 13.0.6
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 13.0.6
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 5.16.3
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 5.16.3
55
+ - !ruby/object:Gem::Dependency
56
+ name: nokogiri
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 1.13.9
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '='
67
+ - !ruby/object:Gem::Version
68
+ version: 1.13.9
69
+ description: Gem used to fetch the CFDIS API for the mexican billing system (SAT).
70
+ email:
71
+ - angelpadillam@gmail.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - README.md
77
+ - lib/cadena/ComercioExterior11.xslt
78
+ - lib/cadena/Pagos10.xslt
79
+ - lib/cadena/Pagos20.xsd
80
+ - lib/cadena/Pagos20.xslt
81
+ - lib/cadena/TuristaPasajeroExtranjero.xslt
82
+ - lib/cadena/aerolineas.xslt
83
+ - lib/cadena/cadena33.xslt
84
+ - lib/cadena/cadenaoriginal_4_0.xslt
85
+ - lib/cadena/catCFDI.xsd
86
+ - lib/cadena/certificadodedestruccion.xslt
87
+ - lib/cadena/cfdiregistrofiscal.xslt
88
+ - lib/cadena/cfdv33.xsd
89
+ - lib/cadena/cfdv40.xsd
90
+ - lib/cadena/consumodecombustibles.xslt
91
+ - lib/cadena/detallista.xslt
92
+ - lib/cadena/divisas.xslt
93
+ - lib/cadena/donat11.xslt
94
+ - lib/cadena/ecc11.xslt
95
+ - lib/cadena/iedu.xslt
96
+ - lib/cadena/implocal.xslt
97
+ - lib/cadena/ine11.xslt
98
+ - lib/cadena/leyendasFisc.xslt
99
+ - lib/cadena/nomina12.xslt
100
+ - lib/cadena/notariospublicos.xslt
101
+ - lib/cadena/obrasarteantiguedades.xslt
102
+ - lib/cadena/pagoenespecie.xslt
103
+ - lib/cadena/pfic.xslt
104
+ - lib/cadena/renovacionysustitucionvehiculos.xslt
105
+ - lib/cadena/servicioparcialconstruccion.xslt
106
+ - lib/cadena/terceros11.xslt
107
+ - lib/cadena/utilerias.xslt
108
+ - lib/cadena/valesdedespensa.xslt
109
+ - lib/cadena/vehiculousado.xslt
110
+ - lib/cadena/ventavehiculos11.xslt
111
+ - lib/fdis.rb
112
+ - lib/fdis/config.rb
113
+ - lib/fdis/facturacion.rb
114
+ - lib/fdis/version.rb
115
+ homepage: https://github.com/angelpadilla/fdis
116
+ licenses:
117
+ - MIT
118
+ metadata:
119
+ allowed_push_host: https://rubygems.org
120
+ post_install_message:
121
+ rdoc_options: []
122
+ require_paths:
123
+ - lib
124
+ required_ruby_version: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ version: '0'
129
+ required_rubygems_version: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ requirements: []
135
+ rubygems_version: 3.3.7
136
+ signing_key:
137
+ specification_version: 4
138
+ summary: Gem used to fetch the CFDIS Web API
139
+ test_files: []