Class: Xeroizer::Record::Account

Inherits:
Base
  • Object
show all
Defined in:
lib/xeroizer/models/account.rb

Constant Summary collapse

TYPE =
{
  'CURRENT' =>        '',
  'FIXED' =>          '',
  'PREPAYMENT' =>     '',
  'EQUITY' =>         '',
  'DEPRECIATN' =>     '',
  'DIRECTCOSTS' =>    '',
  'EXPENSE' =>        '',
  'OVERHEADS' =>      '',
  'CURRLIAB' =>       '',
  'LIABILITY' =>      '',
  'TERMLIAB' =>       '',
  'OTHERINCOME' =>    '',
  'REVENUE' =>        '',
  'SALES' =>          ''
}
TAX_TYPE =
{
  'NONE' =>             'No GST',
  'EXEMPTINPUT' =>      'VAT on expenses exempt from VAT (UK only)',
  'INPUT' =>            'GST on expenses',
  'SRINPUT' =>          'VAT on expenses',
  'ZERORATEDINPUT' =>   'Expense purchased from overseas (UK only)',
  'RRINPUT' =>          'Reduced rate VAT on expenses (UK Only)', 
  'EXEMPTOUTPUT' =>     'VAT on sales exempt from VAT (UK only)',
  'OUTPUT' =>           'OUTPUT',
  'OUTPUT2' =>          'OUTPUT2',
  'SROUTPUT' =>         'SROUTPUT',
  'ZERORATEDOUTPUT' =>  'Sales made from overseas (UK only)',
  'RROUTPUT' =>         'Reduced rate VAT on sales (UK Only)',
  'ZERORATED' =>        'Zero-rated supplies/sales from overseas (NZ Only)',
  'ECZROUTPUT' =>       'Zero-rated EC Income (UK only)'
}

Instance Attribute Summary

Attributes inherited from Base

#attributes, #complete_record_downloaded, #errors, #model, #parent

Method Summary

Methods inherited from Base

#[], #[]=, #as_json, build, #complete_record_downloaded?, #download_complete_record!, #initialize, #inspect, #new_model_class, #new_record?, #non_calculated_attributes, #save, #saved!, #to_h, #to_json, #update_attributes

Methods included from XmlHelper

included

Methods included from ValidationHelper

included

Methods included from RecordAssociationHelper

included

Methods included from ModelDefinitionHelper

included

Methods included from ClassLevelInheritableAttributes

included

Constructor Details

This class inherits a constructor from Xeroizer::Record::Base