/// <summary>
        /// Uses SovosId; Commits a pending tax request for audit.
        /// </summary>
        public async Task <TaxCommitResponse> CommitPendingTaxCalculationUsingSovosId(TaxCommitRequestWithTaxSystemId commitRequest)
        {
            var sovosCommitRequest = PendingTaxRelayMapper.CreateCommitRequestWithSovosId(commitRequest, _sovosSettings);

            try
            {
                var sovosCommitResponse =
                    await _client.CommitWithResponsePendingGTDAuditTransactionAsync(sovosCommitRequest);

                var commitResponse = PendingTaxRelayMapper.CreateCommitResponse(sovosCommitResponse);
                return(commitResponse);
            }
            catch (Refit.ApiException ex)
            {
                var commitResponse = new TaxCommitResponse();
                return((TaxCommitResponse)commitResponse.CreateErrorResponse(ex.Content));
            }
        }
        /// <summary>
        /// Aborts a pending tax request, purging it.
        /// </summary>
        public async Task <TaxAbortResponse> AbortPendingTaxCalculation(TaxAbortRequest abortRequest)
        {
            var sovosAbortRequest = PendingTaxRelayMapper.CreateAbortRequest(abortRequest, _sovosSettings);

            try
            {
                var sovosAbortResponse =
                    await _client.AbortWithResponsePendingGTDAuditTransactionAsync(sovosAbortRequest);

                var abortResponse = PendingTaxRelayMapper.CreateAbortResponse(sovosAbortResponse);
                return(abortResponse);
            }
            catch (Refit.ApiException ex)
            {
                var abortResponse = new TaxAbortResponse();
                return((TaxAbortResponse)abortResponse.CreateErrorResponse(ex.Content));
            }
        }