Sha256: 3c9f5ccbbd981930009e1b534c0928c7a7885c8d93c7bd4ab7da58d3672423bf

Contents?: true

Size: 565 Bytes

Versions: 2

Compression:

Stored size: 565 Bytes

Contents

module BrInvoicesPdf
  module Cfe
    module Parser
      module_function

      # atributos
      # company_name -> emit,xNome
      # trading_name -> emit,xFant
      # company_address -> emit,enderEmit
      # city -> emit,enderEmit
      # company_state -> ?
      # company_zipcode -> emit,enderEmit,CEP
      # cnpj -> ide,Cnpj
      # IE (numero do estado) -> emit,IE
      # cfe_number -> ide,NFCE
      # cpf -> ide,NFCE

      def parse(_xml)
        # Retornar uma hash com todos os atributos necessarios
        {

        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
br_invoices_pdf-0.1.5.alpha.11 lib/br_invoices_pdf/cfe/parser.rb
br_invoices_pdf-0.1.5.alpha.10 lib/br_invoices_pdf/cfe/parser.rb