Module: AvaTax::Client::Filings
- Included in:
- AvaTax::Client
- Defined in:
- lib/avatax/client/filings.rb
Instance Method Summary collapse
-
#get_accrual_filings(companyId, filingReturnId) ⇒ FetchResult
Retrieve a filing containing the return and all its accrual returns.
-
#get_filed_returns(companyId, options = {}) ⇒ FetchResult
Retrieve a list of filed returns for the specified company in the year and month of a given filing period.
Instance Method Details
#get_accrual_filings(companyId, filingReturnId) ⇒ FetchResult
Retrieve a filing containing the return and all its accrual returns.
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
16 17 |
# File 'lib/avatax/client/filings.rb', line 16 def get_accrual_filings(companyId, filingReturnId) path = "/api/v2/companies/#{companyId}/filings/accrual/#{filingReturnId}" get(path, {}, "22.3.0") end |
#get_filed_returns(companyId, options = {}) ⇒ FetchResult
Retrieve a list of filed returns for the specified company in the year and month of a given filing period.
Security Policies
- This API requires openId bearer token for authentication
- This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
- This API is available by invitation only.Exempt security roles: ComplianceRootUser, ComplianceAdmin, ComplianceUser, TechnicalSupportAdmin, TechnicalSupportUser, CompanyUser, AccountUser, CompanyAdmin, AccountAdmin.
- 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
38 39 |
# File 'lib/avatax/client/filings.rb', line 38 def get_filed_returns(companyId, ={}) path = "/api/v2/companies/#{companyId}/filings/returns/filed" get(path, , "22.3.0") end |