Sha256: abbc876a44b007922e5b479e29a15c36da7a71dce81b6fec82e5ea9b64378601

Contents?: true

Size: 456 Bytes

Versions: 4

Compression:

Stored size: 456 Bytes

Contents

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

  DEFAULT_DATA = {
                  operacion: 'generar_comprobante',
        tipo_de_comprobante: TIPO_DE_COMPROBANTE,
                      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

4 entries across 4 versions & 1 rubygems

Version Path
nubefact-0.0.14 lib/nube_fact/invoice.rb
nubefact-0.0.13 lib/nube_fact/invoice.rb
nubefact-0.0.12 lib/nube_fact/invoice.rb
nubefact-0.0.11 lib/nube_fact/invoice.rb