module Xeroizer module Record class JournalModel < BaseModel set_permissions :read end class Journal < Base set_primary_key :journal_id guid :journal_id date :journal_date, :internal_name => :date string :journal_number datetime_utc :created_date_utc, :api_name => 'CreatedDateUTC' string :reference guid :source_id string :source_type has_many :journal_lines end end end