Fix in tax exento
This commit is contained in:
parent
d8a0bfe8c7
commit
e7e9c3f8c0
|
@ -667,9 +667,11 @@ class DataToDict():
|
||||||
'Base': data[i + 1],
|
'Base': data[i + 1],
|
||||||
'Impuesto': data[i + 2],
|
'Impuesto': data[i + 2],
|
||||||
'TipoFactor': data[i + 3],
|
'TipoFactor': data[i + 3],
|
||||||
'TasaOCuota': data[i + 4],
|
|
||||||
'Importe': data[i + 5],
|
|
||||||
}
|
}
|
||||||
|
if data[i + 4]:
|
||||||
|
tax['TasaOCuota'] = data[i + 4]
|
||||||
|
if data[i + 5]:
|
||||||
|
tax['Importe'] = data[i + 5]
|
||||||
traslados.append(tax)
|
traslados.append(tax)
|
||||||
elif type_tax == self.RETENCION:
|
elif type_tax == self.RETENCION:
|
||||||
tax = {
|
tax = {
|
||||||
|
|
Loading…
Reference in New Issue