Class: VerifactuRails::Libro::Reconciliacion::Divergencia

Inherits:
Struct
  • Object
show all
Defined in:
lib/verifactu_rails/libro/reconciliacion.rb

Overview

Los importes no se comparan: la AEAT los devuelve sin ceros a la derecha ('121' por '121.00'), así que un cotejo textual daría falsos positivos a mansalva. No se pierde nada, porque los importes entran en la huella y la huella sí se compara.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#detalleObject

Returns the value of attribute detalle

Returns:

  • (Object)

    the current value of detalle



41
42
43
# File 'lib/verifactu_rails/libro/reconciliacion.rb', line 41

def detalle
  @detalle
end

#fecha_expedicionObject

Returns the value of attribute fecha_expedicion

Returns:

  • (Object)

    the current value of fecha_expedicion



41
42
43
# File 'lib/verifactu_rails/libro/reconciliacion.rb', line 41

def fecha_expedicion
  @fecha_expedicion
end

#id_emisorObject

Returns the value of attribute id_emisor

Returns:

  • (Object)

    the current value of id_emisor



41
42
43
# File 'lib/verifactu_rails/libro/reconciliacion.rb', line 41

def id_emisor
  @id_emisor
end

#localObject

Returns the value of attribute local

Returns:

  • (Object)

    the current value of local



41
42
43
# File 'lib/verifactu_rails/libro/reconciliacion.rb', line 41

def local
  @local
end

#num_serieObject

Returns the value of attribute num_serie

Returns:

  • (Object)

    the current value of num_serie



41
42
43
# File 'lib/verifactu_rails/libro/reconciliacion.rb', line 41

def num_serie
  @num_serie
end

#remotoObject

Returns the value of attribute remoto

Returns:

  • (Object)

    the current value of remoto



41
42
43
# File 'lib/verifactu_rails/libro/reconciliacion.rb', line 41

def remoto
  @remoto
end

#tipoObject

Returns the value of attribute tipo

Returns:

  • (Object)

    the current value of tipo



41
42
43
# File 'lib/verifactu_rails/libro/reconciliacion.rb', line 41

def tipo
  @tipo
end

Instance Method Details

#to_sObject



43
# File 'lib/verifactu_rails/libro/reconciliacion.rb', line 43

def to_s = "#{num_serie}: #{tipo}#{detalle}"