fdis 0.1.25 → 0.1.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fdis/facturacion.rb +4 -2
- data/lib/fdis/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1b534667123cc70f0622248c6c6b2194b4f69c1a27872d26079868be2adcda7
|
4
|
+
data.tar.gz: 42b4311c762e9643a897bfad80c975af280ee72fe9d19dd404e520b092bd1672
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ff678375a904442611ddca5fae7ef536367c734fb6f413ab8b62b9cb61e3bea047851cad2c84b944dc960ef95ab58169ecb08a35fb546f52e95b383fc3e516e
|
7
|
+
data.tar.gz: fad74be66bc3414270e4fba4f8063d39128e26a152eaf5dfed8db3bffdcc5ea123d6788b0e7ba93b7f96d0c8e926f7e4397a4043b267f7009f5a2296f22c25cf
|
data/lib/fdis/facturacion.rb
CHANGED
@@ -504,10 +504,12 @@ module Fdis
|
|
504
504
|
receptor['DomicilioFiscalReceptor'] = params.fetch(:receptor_cp, '47180')
|
505
505
|
if params[:receptor_razon] == 'XAXX010101000'
|
506
506
|
receptor['UsoCFDI'] = 'S01'
|
507
|
+
receptor['RegimenFiscalReceptor'] = '616'
|
507
508
|
else
|
508
509
|
receptor['UsoCFDI'] = params.fetch(:uso_cfdi, 'G03')
|
510
|
+
# receptor['RegimenFiscalReceptor'] = params.fetch(:receptor_regimen, '616')
|
511
|
+
receptor['RegimenFiscalReceptor'] = params[:receptor_regimen]
|
509
512
|
end
|
510
|
-
receptor['RegimenFiscalReceptor'] = params.fetch(:receptor_regimen, '616')
|
511
513
|
|
512
514
|
# retencion_iva = params.fetch(:retencion_iva, 0)
|
513
515
|
|
@@ -733,7 +735,7 @@ module Fdis
|
|
733
735
|
puts "-- Codigo: #{json_response.code} --"
|
734
736
|
puts "-- Mensaje: #{json_response.message} --"
|
735
737
|
puts "-- Body: "
|
736
|
-
|
738
|
+
puts json_response.body
|
737
739
|
|
738
740
|
response = JSON.parse(json_response.body)
|
739
741
|
|
data/lib/fdis/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fdis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Angel Padilla
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|