Commit 43535c9d7434bbf43899eee7249507290136b035

Authored by Eric Fernandez
1 parent f9bfaadbc2
Exists in master

parse planex

Showing 2 changed files with 14 additions and 3 deletions   Show diff stats
planex/identificaxMensaje.js
1 1 module.exports = function(comprobante) {
2 2  
3   - return '';
4   -
  3 + var comprobanteArr = comprobante.split(';');
  4 +
  5 + return {
  6 + idMensaje: comprobanteArr[1]
  7 + };
5 8 }
... ... @@ -8,5 +8,13 @@ module.exports = function(comprobante) {
8 8 informaxRepresentanteEmisor: require('./informaxRepresentanteEmisor')(comprobante), // 035
9 9 identificaxReceptorFactura: require('./identificaxReceptorFactura')(comprobante), // 040
10 10 identificaxSucursalReceptorFactura: require('./identificaxSucursalReceptorFactura')(comprobante), // 045
11   - }
  11 + importesTotales: require('./importesTotales')(comprobante), // 050
  12 + detallesImportesIVA: require('./detallesImportesIVA')(comprobante), // 060
  13 + detallePercepcionesIIBB: require('./detallePercepcionesIIBB')(comprobante), // 070
  14 + descuentosGlobalesFactura: require('./descuentosGlobalesFactura')(comprobante), // 080
  15 + detalleOtrosImpuestosComprobante: require('./detalleOtrosImpuestosComprobante')(comprobante), // 090
  16 + itemsFactura: require('./itemsFactura')(comprobante), // 100
  17 + detalleDescuentosItemFactura: require('./detalleDescuentosItemFactura')(comprobante), // 110
  18 + detalleImpuestosItemFactura: require('./detalleImpuestosItemFactura')(comprobante), // 120
  19 + };
12 20 }