Sha256: 316fabea1a04e6918b519e145b8144280a83586cddda08ca74d5a709cba000df
Contents?: true
Size: 866 Bytes
Versions: 7
Compression:
Stored size: 866 Bytes
Contents
module Xeroizer module Record class TaxRateModel < BaseModel set_permissions :read # TaxRates can be created using either POST or PUT. # POST will also silently update the tax, which can # be unexpected. PUT is only for create. def create_method :http_put end end class TaxRate < Base set_primary_key :name set_possible_primary_keys :tax_type, :name string :name string :tax_type string :report_tax_type # Read-only except for AU, NZ, and UK versions string :status boolean :can_apply_to_assets boolean :can_apply_to_equity boolean :can_apply_to_expenses boolean :can_apply_to_liabilities boolean :can_apply_to_revenue decimal :display_tax_rate decimal :effective_rate has_many :tax_components end end end
Version data entries
7 entries across 7 versions & 2 rubygems