Sha256: 4052e856624c8c88e24177be6aba9b06022fc9b7011fde42c973f7e1d5110062

Contents?: true

Size: 1.16 KB

Versions: 5

Compression:

Stored size: 1.16 KB

Contents

module Billimatic
  module Entities
    class Invoice < Base
      attribute :id, Integer
      attribute :contract_id, Integer
      attribute :issue_date, Date
      attribute :gross_value, Decimal
      attribute :payment_value, Decimal
      attribute :description, String
      attribute :state, String
      attribute :nfe_service, String
      attribute :nfe_verification, String
      attribute :nfe_issue_date, DateTime
      attribute :nfe_body, String
      attribute :nfe_issued, Boolean
      attribute :number, String
      attribute :created_at, DateTime
      attribute :accrual_date, Date
      attribute :comments, String
      attribute :customer_id, Integer
      attribute :customer_type, String
      attribute :emites_service_values_id, Integer
      attribute :emites_service_value_name, String
      attribute :finance_category, String
      attribute :finance_revenue_center, String
      attribute :finance_receive_via, String
      attribute :cobrato_charge_config_id, Integer
      attribute :cobrato_charge_config_name, String
      attribute :receivables, [Receivable]
      attribute :services, [Service]
      attribute :attachments, [Hash]
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
billimatic-client-0.10.0 lib/billimatic/entities/invoice.rb
billimatic-client-0.9.0 lib/billimatic/entities/invoice.rb
billimatic-client-0.8.0 lib/billimatic/entities/invoice.rb
billimatic-client-0.7.0 lib/billimatic/entities/invoice.rb
billimatic-client-0.6.0 lib/billimatic/entities/invoice.rb