Sha256: ff7d11874bfa58cc62a78f945c5a178ccd5892988b659a987d590775ff05f96b

Contents?: true

Size: 1.61 KB

Versions: 7

Compression:

Stored size: 1.61 KB

Contents

require "fortnox/api/models/base"

module Fortnox
  module API
    module Entities
      module Account
        class Entity < Fortnox::API::Model::Base

          # Direct URL to the record
          attribute :url, String

          # If the account is actve
          attribute :acitve, Boolean

          # Opening balance of the account
          attribute :balancebroughtforward, Float

          # Closing balance of the account
          attribute :balancecarriedforward, Float

          # Code of the proposed cost center. The code must be of an existing cost center.
          attribute :costcenter, String

          # Cost center settings for the account. Can be ALLOWED MANDATORY or NOTALLOWED
          attribute :costcentersettings, String

          # Account description
          attribute :description, String

          # Account number
          attribute :number, Integer

          # Number of the proposed project. The number must be of an existing project.
          attribute :project, Integer

          # Project settings for the account. Can be ALLOWED MANDATORY or NOTALLOWED
          attribute :projectsettings, String

          # SRU code
          attribute :sru, String

          # Proposed transaction information
          attribute :transactioninformation, String

          # Transaction information settings for the account. Can be ALLOWED MANDATORY or NOTALLOWED
          attribute :transactioninformationsettings, String

          # VAT code
          attribute :vatcode, String

          # Id of the financial year.
          attribute :year, Integer

        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fortnox-api-0.5.2 docs/account.rb
fortnox-api-0.5.1 docs/account.rb
fortnox-api-0.5.0 docs/account.rb
fortnox-api-0.4.0 docs/account.rb
fortnox-api-0.3.0 docs/account.rb
fortnox-api-0.2.0 docs/account.rb
fortnox-api-0.1.0 docs/account.rb