Module: AvaTax::Client::Compliance
- Defined in:
- lib/avatax/client/compliance.rb
Instance Method Summary collapse
-
#query_juris_names(country, region, options = {}) ⇒ FetchResult
Retrieve all unique jurisnames based on filter.
-
#query_rate_options(country, region, options = {}) ⇒ FetchResult
Retrieve all RateOptions.
-
#query_state_config(options = {}) ⇒ FetchResult
Retrieve StateConfig information.
-
#query_state_reporting_codes(country, region, options = {}) ⇒ FetchResult
Retrieve all State Reporting Codes based on filter.
-
#query_tax_type_mappings(options = {}) ⇒ FetchResult
Retrieve all tax type mappings based on filter.
Instance Method Details
#query_juris_names(country, region, options = {}) ⇒ FetchResult
Retrieve all unique jurisnames based on filter.
Security Policies
- This API depends on the following active services:Returns (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.Firm Managed (for accounts managed by a firm): ARA, ARAManaged. Swagger Name: AvaTaxClient
21 22 |
# File 'lib/avatax/client/compliance.rb', line 21 def query_juris_names(country, region, ={}) path = "/api/v2/compliance/jurisnames/#{country}/#{region}" get(path, , AvaTax::VERSION) end |
#query_rate_options(country, region, options = {}) ⇒ FetchResult
Retrieve all RateOptions.
This API is available by invitation only.
Security Policies
- This API depends on the following active services:Returns (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.Firm Managed (for accounts managed by a firm): ARA, ARAManaged. Swagger Name: AvaTaxClient
42 43 |
# File 'lib/avatax/client/compliance.rb', line 42 def (country, region, ={}) path = "/api/v2/compliance/rateOptions/#{country}/#{region}" get(path, , AvaTax::VERSION) end |
#query_state_config(options = {}) ⇒ FetchResult
Retrieve StateConfig information
This API is available by invitation only.
Security Policies
- This API depends on the following active services:Returns (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.Firm Managed (for accounts managed by a firm): ARA, ARAManaged. Swagger Name: AvaTaxClient
58 59 |
# File 'lib/avatax/client/compliance.rb', line 58 def query_state_config(={}) path = "/api/v2/compliance/stateconfig" get(path, , AvaTax::VERSION) end |
#query_state_reporting_codes(country, region, options = {}) ⇒ FetchResult
Retrieve all State Reporting Codes based on filter.
Security Policies
- This API depends on the following active services:Returns (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.Firm Managed (for accounts managed by a firm): ARA, ARAManaged. Swagger Name: AvaTaxClient
76 77 |
# File 'lib/avatax/client/compliance.rb', line 76 def query_state_reporting_codes(country, region, ={}) path = "/api/v2/compliance/stateReportingCodes/#{country}/#{region}" get(path, , AvaTax::VERSION) end |
#query_tax_type_mappings(options = {}) ⇒ FetchResult
Retrieve all tax type mappings based on filter.
Security Policies
- This API depends on the following active services:Returns (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.Firm Managed (for accounts managed by a firm): ARA, ARAManaged. Swagger Name: AvaTaxClient
90 91 |
# File 'lib/avatax/client/compliance.rb', line 90 def query_tax_type_mappings(={}) path = "/api/v2/compliance/taxtypemappings" get(path, , AvaTax::VERSION) end |