Class: VerifactuRails::Libro::Reconciliacion::Divergencia
- Inherits:
-
Struct
- Object
- Struct
- VerifactuRails::Libro::Reconciliacion::Divergencia
- 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
-
#detalle ⇒ Object
Returns the value of attribute detalle.
-
#fecha_expedicion ⇒ Object
Returns the value of attribute fecha_expedicion.
-
#id_emisor ⇒ Object
Returns the value of attribute id_emisor.
-
#local ⇒ Object
Returns the value of attribute local.
-
#num_serie ⇒ Object
Returns the value of attribute num_serie.
-
#remoto ⇒ Object
Returns the value of attribute remoto.
-
#tipo ⇒ Object
Returns the value of attribute tipo.
Instance Method Summary collapse
Instance Attribute Details
#detalle ⇒ Object
Returns the value of attribute detalle
41 42 43 |
# File 'lib/verifactu_rails/libro/reconciliacion.rb', line 41 def detalle @detalle end |
#fecha_expedicion ⇒ Object
Returns the value of attribute fecha_expedicion
41 42 43 |
# File 'lib/verifactu_rails/libro/reconciliacion.rb', line 41 def fecha_expedicion @fecha_expedicion end |
#id_emisor ⇒ Object
Returns the value of attribute id_emisor
41 42 43 |
# File 'lib/verifactu_rails/libro/reconciliacion.rb', line 41 def id_emisor @id_emisor end |
#local ⇒ Object
Returns the value of attribute local
41 42 43 |
# File 'lib/verifactu_rails/libro/reconciliacion.rb', line 41 def local @local end |
#num_serie ⇒ Object
Returns the value of attribute num_serie
41 42 43 |
# File 'lib/verifactu_rails/libro/reconciliacion.rb', line 41 def num_serie @num_serie end |
#remoto ⇒ Object
Returns the value of attribute remoto
41 42 43 |
# File 'lib/verifactu_rails/libro/reconciliacion.rb', line 41 def remoto @remoto end |
#tipo ⇒ Object
Returns the value of attribute tipo
41 42 43 |
# File 'lib/verifactu_rails/libro/reconciliacion.rb', line 41 def tipo @tipo end |
Instance Method Details
#to_s ⇒ Object
43 |
# File 'lib/verifactu_rails/libro/reconciliacion.rb', line 43 def to_s = "#{num_serie}: #{tipo} — #{detalle}" |