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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b056d0d3aaf443e6e969baea7afb73b0d90cc7ec99c95a2827f5c9834762f656
4
- data.tar.gz: e9b4d06ba55a6af625df12b5e93f3989b524ac52b206b0585748e732d6bb2ae1
3
+ metadata.gz: a1b534667123cc70f0622248c6c6b2194b4f69c1a27872d26079868be2adcda7
4
+ data.tar.gz: 42b4311c762e9643a897bfad80c975af280ee72fe9d19dd404e520b092bd1672
5
5
  SHA512:
6
- metadata.gz: 9d85382c62b566e459137b8274ebe8886db0c36171ea9c70cc9b5642282bd473cc32a8fb70068a164fc314b22a8e0a55a7c94cd53e4a05b3a9d0822476f1b242
7
- data.tar.gz: 0ad178a5f2de1d64467da08e31aece93f6937c0696a25eaee719c4ee8fd0dbdf13013eb3f80ca5c24e18ca776e326fafbfefcf029306e8aa9f5277922f267fa3
6
+ metadata.gz: 6ff678375a904442611ddca5fae7ef536367c734fb6f413ab8b62b9cb61e3bea047851cad2c84b944dc960ef95ab58169ecb08a35fb546f52e95b383fc3e516e
7
+ data.tar.gz: fad74be66bc3414270e4fba4f8063d39128e26a152eaf5dfed8db3bffdcc5ea123d6788b0e7ba93b7f96d0c8e926f7e4397a4043b267f7009f5a2296f22c25cf
@@ -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
- p json_response.body
738
+ puts json_response.body
737
739
 
738
740
  response = JSON.parse(json_response.body)
739
741
 
data/lib/fdis/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Fdis
2
- VERSION = "0.1.25"
2
+ VERSION = "0.1.26"
3
3
  end
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.25
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-02 00:00:00.000000000 Z
11
+ date: 2022-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler