Sha256: c60d0940a33cae9f74b8348adfe46857bed3ee9cc7fe83c05be75e7d22f8c284

Contents?: true

Size: 446 Bytes

Versions: 2

Compression:

Stored size: 446 Bytes

Contents

class NubeFact::Invoice < NubeFact::Document
  TIPO_DE_COMPROBANTE = 1

  DEFAULT_DATA = {
                  operacion: 'generar_comprobante',
        tipo_de_comprobante: 1,     
                      serie: 'F',   
          sunat_transaction: 1,
           fecha_de_emision: ->(_i) { Date.today },
          porcentaje_de_igv: 18,
                     moneda: 1,
             tipo_de_cambio: ->(invoice) { invoice.set_tipo_de_cambio } 
  }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nubefact-0.0.10 lib/nube_fact/invoice.rb
nubefact-0.0.9 lib/nube_fact/invoice.rb