Afip 0.8.8 → 0.8.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/Afip/bill.rb +3 -2
- data/lib/Afip/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: 924310054fc7b497880c08391153b5b83cffc9aba510da8c8852f5615f680541
|
4
|
+
data.tar.gz: 23e61dabcb664858d18438ac01460e1260160f5c05b76be7f89c1f66c21dbc37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e72ef39e18c35c36b27b10153cb4919813ff5f162315cbdd2140a2be4a320b09c4d9103c8a76f74dbe69592c1b4d1d109df5252e2da92b2a6f5d3957f777ae5e
|
7
|
+
data.tar.gz: 7f2901b324aa74876ff47399d60109f7e74189e630cec2aadd8b07628b9fe1e1e08aff8d478e6b4c91c627717b53bf11fc30c6784830756b69289bf5664d9557
|
data/Gemfile.lock
CHANGED
data/lib/Afip/bill.rb
CHANGED
@@ -26,6 +26,7 @@ module Afip
|
|
26
26
|
@exento = attrs[:exento] || 0.0
|
27
27
|
@otros_imp = attrs[:otros_imp] || 0.0
|
28
28
|
@total = net.zero? ? 0 : net + iva_sum
|
29
|
+
@tributos = attrs[:tributos] || []
|
29
30
|
end
|
30
31
|
|
31
32
|
def self.get_ptos_vta
|
@@ -128,11 +129,11 @@ module Afip
|
|
128
129
|
|
129
130
|
if (Afip.own_iva_cond == :responsable_inscripto)
|
130
131
|
detail["ImpIVA"] = iva_sum
|
131
|
-
detail["Iva"] =
|
132
|
+
detail["Iva"] = array_ivas
|
132
133
|
end
|
133
134
|
|
134
135
|
if !tributos.empty?
|
135
|
-
detail["Tributos"] =
|
136
|
+
detail["Tributos"] = array_tributos
|
136
137
|
end
|
137
138
|
|
138
139
|
unless concepto == "Productos" # En "Productos" ("01"), si se mandan estos parámetros la afip rechaza.
|
data/lib/Afip/version.rb
CHANGED