detalleImpuestosItemFactura.js 305 Bytes
module.exports = function(comprobante) {

  var comprobanteArr = comprobante.split(';');

  return {
    numeroLinea: comprobanteArr[1],
    descripcionImpuesto: comprobanteArr[2],
    procentajeImpuesto: comprobanteArr[3],
    importeBase: comprobanteArr[4],
    importeImpuesto: comprobanteArr[5]
  };
}