Class: GOBL::Tax::Regime
- Extended by:
- GOBLExtensions::Tax::RegimeHelper::ClassMethods
- Defined in:
- lib/gobl/tax/regime.rb
Overview
Regime defines the holding structure for the definitions of taxes inside a country or territory.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL Regime structure
'https://gobl.org/draft-0/tax/regime'
Constants included from Hashme
Instance Attribute Summary collapse
-
#categories ⇒ Array<Category>
readonly
List of tax categories.
-
#country ⇒ GOBL::L10n::CountryCode
readonly
Country code for the region.
-
#currency ⇒ GOBL::Currency::Code
readonly
Currency used by the country.
-
#name ⇒ GOBL::I18n::String
readonly
Name of the country.
-
#schemes ⇒ Schemes
readonly
Set of specific scheme definitions inside the region.
-
#zone ⇒ GOBL::L10n::Code
readonly
Specific Locality, region, city, province, county, or similar code inside the country, if needed.
-
#zones ⇒ Array<Zone>
readonly
List of sub-zones inside a country.
Method Summary
Methods included from GOBLExtensions::Tax::RegimeHelper::ClassMethods
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#categories ⇒ Array<Category> (readonly)
List of tax categories.
52 |
# File 'lib/gobl/tax/regime.rb', line 52 property :categories, [Category] |
#country ⇒ GOBL::L10n::CountryCode (readonly)
Country code for the region
25 |
# File 'lib/gobl/tax/regime.rb', line 25 property :country, GOBL::L10n::CountryCode |
#currency ⇒ GOBL::Currency::Code (readonly)
Currency used by the country.
41 |
# File 'lib/gobl/tax/regime.rb', line 41 property :currency, GOBL::Currency::Code |
#name ⇒ GOBL::I18n::String (readonly)
Name of the country
19 |
# File 'lib/gobl/tax/regime.rb', line 19 property :name, GOBL::I18n::String |
#schemes ⇒ Schemes (readonly)
Set of specific scheme definitions inside the region.
47 |
# File 'lib/gobl/tax/regime.rb', line 47 property :schemes, Schemes |
#zone ⇒ GOBL::L10n::Code (readonly)
Specific Locality, region, city, province, county, or similar code inside the country, if needed.
31 |
# File 'lib/gobl/tax/regime.rb', line 31 property :zone, GOBL::L10n::Code |