Module: AvaTax::Client::FilingCalendars
- Included in:
- AvaTax::Client
- Defined in:
- lib/avatax/client/filingcalendars.rb
Instance Method Summary collapse
-
#cycle_safe_options(companyId, model) ⇒ Object
Add or Edit options.
-
#delete_company_return_settings(companyId, filingCalendarId, companyReturnSettingId) ⇒ CompanyReturnSettingModel[]
Delete a company return setting.
-
#legacy_filing_calendars(companyId, options = {}) ⇒ FetchResult
Retrieve all legacy filing calendars for this company.
Instance Method Details
#cycle_safe_options(companyId, model) ⇒ Object
Add or Edit options
Returns a list of options for adding tax forms for the company and tax form code specified. Returns edit options when modifying a filing calendar. This API is available by invitation only.
Security Policies
- This API requires openId bearer token for authentication
- 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
20 21 |
# File 'lib/avatax/client/filingcalendars.rb', line 20 def (companyId, model) path = "/api/v2/companies/#{companyId}/filingcalendars/edit/cycleSafeOptions" post(path, model, {}, "22.3.0") end |
#delete_company_return_settings(companyId, filingCalendarId, companyReturnSettingId) ⇒ CompanyReturnSettingModel[]
Delete a company return setting
This API is available by invitation only and only available for users with Compliance access
Security Policies
- This API requires openId bearer token for authentication
- This API requires one of the following user roles: AccountAdmin, CompanyAdmin, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. Swagger Name: AvaTaxClient
36 37 |
# File 'lib/avatax/client/filingcalendars.rb', line 36 def delete_company_return_settings(companyId, filingCalendarId, companyReturnSettingId) path = "/api/v2/companies/#{companyId}/filingcalendars/#{filingCalendarId}/setting/#{companyReturnSettingId}" delete(path, {}, "22.3.0") end |
#legacy_filing_calendars(companyId, options = {}) ⇒ FetchResult
Retrieve all legacy filing calendars for this company
This API is available by invitation only.
Security Policies
- This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
- 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
56 57 |
# File 'lib/avatax/client/filingcalendars.rb', line 56 def legacy_filing_calendars(companyId, ={}) path = "/api/v2/companies/#{companyId}/filingcalendars/Legacy" get(path, , "22.3.0") end |