Commit a1c0bdd94e08055efe447a0fe9a2279bbf9c97cc

Authored by Eric Fernandez
1 parent a7c17c1b8c
Exists in master

iva con precio unitario

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
... ... @@ -15,7 +15,7 @@ module.exports = function(comprobante, afipTablas, entities, item) {
15 15 CAN: item.cantidad, // [money] NOT NULL, CANTIDAD DEL ITEM
16 16 PUN: item.precioUnitario, // [decimal](20, 8) NOT NULL PRECIO UNITARIO DEL PRODUCTO ITEM
17 17 IMI: item.impuestoInterno ? item.impuestoInterno.importeImpuesto : 0, // [money] NOT NULL, IMPORTE IMPUESTOS INTERNOS DEL ITEM
18   - IVA: item.alicuotaIVAAplicable ? ((item.precioUnitario * item.cantidad) * item.alicuotaIVAAplicable) / 100 : 0,
  18 + IVA: item.alicuotaIVAAplicable ? (item.precioUnitario * item.alicuotaIVAAplicable) / 100 : 0,
19 19 PUT: item.precioUnitario, // [money] NOT NULL, IGUAL AL PUN
20 20 LEG: 0, // [int] NOT NULL, FIJO 0
21 21 CMF: 0, // [int] NOT NULL, FIJO 0