diff --git a/src/AvaTaxApi.cs b/src/AvaTaxApi.cs index b1953390..3435910a 100644 --- a/src/AvaTaxApi.cs +++ b/src/AvaTaxApi.cs @@ -11145,7 +11145,7 @@ public async Task DownloadBatchAsync(Int32 companyId, Int32 batchId, path.ApplyField("companyId", companyId); path.ApplyField("batchId", batchId); path.ApplyField("id", id); - return await RestCallAsync("GET", path, null).ConfigureAwait(false); + return await RestCallFileAsync("GET", path, null).ConfigureAwait(false); }