fdis 0.1.4 → 0.1.5
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 -1
- data/lib/fdis/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21bc4b020912a2661d008154d964fc7b2d909fff877cdcd8bf9ab69fd8a6ea45
|
4
|
+
data.tar.gz: fbc6eb4c743f0f5db1390d3d45375ee9a5ba12c9d0901e74874742dd68f3a371
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07eed3e12994199cfba922b7c52e75e1ac0a50edbea0bdfe8c847fce4bb8527df3567654b2736ec6849ca306d415410229830deae662b2ec96d74dede2101a50
|
7
|
+
data.tar.gz: ed0b0606f67da6cc96f027f44b4bf07dd9acab401aae35f0437ee09a3e660f77db83c0d75b17e2fb46a8ac8b759193c5b29d436bfbabe388a1e75fdda3c5584b
|
data/lib/fdis/facturacion.rb
CHANGED
@@ -99,7 +99,8 @@ module Fdis
|
|
99
99
|
receptor['Nombre'] = params[:receptor_razon].to_s
|
100
100
|
receptor['Rfc'] = params[:receptor_rfc].to_s
|
101
101
|
receptor['DomicilioFiscalReceptor'] = params[:receptor_cp].to_s
|
102
|
-
receptor['RegimenFiscalReceptor'] = params
|
102
|
+
receptor['RegimenFiscalReceptor'] = params.fetch(:receptor_regimen, 'S01')
|
103
|
+
|
103
104
|
|
104
105
|
# totales
|
105
106
|
total = params[:total].to_f
|
@@ -485,6 +486,7 @@ module Fdis
|
|
485
486
|
# receptor_cp: '47180',
|
486
487
|
# receptor_razon: 'Car zone',
|
487
488
|
# receptor_rfc: '',
|
489
|
+
# receptor_regimen: '',
|
488
490
|
# uso_cfdi: 'G03',
|
489
491
|
# time: "%Y-%m-%dT%H:%M:%S",
|
490
492
|
# line_items: [
|
@@ -556,6 +558,7 @@ module Fdis
|
|
556
558
|
receptor['Nombre'] = params.fetch(:receptor_razon, '')
|
557
559
|
receptor['DomicilioFiscalReceptor'] = params.fetch(:receptor_cp, '47180')
|
558
560
|
receptor['UsoCFDI'] = params.fetch(:uso_cfdi, 'G03')
|
561
|
+
receptor['RegimenFiscalReceptor'] = params.fetch(:receptor_regimen, 'S01')
|
559
562
|
|
560
563
|
# retencion_iva = params.fetch(:retencion_iva, 0)
|
561
564
|
|
data/lib/fdis/version.rb
CHANGED