Sha256: 74828178b155e65143dac3139e5da65e2351fcfaa0b2fae5d70a97b5a8702bc2

Contents?: true

Size: 1.8 KB

Versions: 8

Compression:

Stored size: 1.8 KB

Contents

module Billimatic
  module Entities
    class Invoice < Base
      attribute :id, Integer
      attribute :contract_id, Integer
      attribute :issue_date, Date
      attribute :estimated_issue_date, Date
      attribute :gross_value, Decimal
      attribute :payment_value, Decimal
      attribute :description, String
      attribute :state, String
      attribute :cancelled_automatically, Boolean
      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 :myfinance_sale_account_id, Integer
      attribute :myfinance_sale_account_name, String
      attribute :cobrato_charge_config_id, Integer
      attribute :cobrato_charge_config_name, String
      attribute :cobrato_charge_template_id, Integer
      attribute :cobrato_charge_template_name, String
      attribute :management_type, String
      attribute :days_until_automatic_nfe_emission, Integer
      attribute :automatic_nfe_issue_date, Date
      attribute :automatic_email_template_id, Integer
      attribute :notification_ruler_id, Integer
      attribute :receivables, [Receivable]
      attribute :services, [Service]
      attribute :payment_information, PaymentInformation
      attribute :attachments, [Hash]
      attribute :approval_status, String
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
billimatic-client-1.0.1 lib/billimatic/entities/invoice.rb
billimatic-client-1.0.0 lib/billimatic/entities/invoice.rb
billimatic-client-0.22.1 lib/billimatic/entities/invoice.rb
billimatic-client-0.22.0 lib/billimatic/entities/invoice.rb
billimatic-client-0.21.0 lib/billimatic/entities/invoice.rb
billimatic-client-0.20.0 lib/billimatic/entities/invoice.rb
billimatic-client-0.19.1 lib/billimatic/entities/invoice.rb
billimatic-client-0.19.0 lib/billimatic/entities/invoice.rb