diff --git a/resources/views/portal/ninja2020/invoices/show.blade.php b/resources/views/portal/ninja2020/invoices/show.blade.php
index 172520e9e85a..f2a4e99b5a55 100644
--- a/resources/views/portal/ninja2020/invoices/show.blade.php
+++ b/resources/views/portal/ninja2020/invoices/show.blade.php
@@ -4,7 +4,6 @@
@push('head')
@include('portal.ninja2020.components.no-cache')
@@ -47,6 +46,8 @@
diff --git a/routes/api.php b/routes/api.php
index 0b0ffa772b15..2a5a2350f191 100644
--- a/routes/api.php
+++ b/routes/api.php
@@ -164,6 +164,7 @@ Route::group(['middleware' => ['throttle:api', 'api_db', 'token_auth', 'locale']
Route::post('charts/totals_v2', [ChartController::class, 'totalsV2'])->name('chart.totals_v2');
Route::post('charts/chart_summary_v2', [ChartController::class, 'chart_summaryV2'])->name('chart.chart_summary_v2');
+ Route::post('charts/calculated_fields', [ChartController::class, 'calculatedFields'])->name('chart.calculated_fields');
Route::post('claim_license', [LicenseController::class, 'index'])->name('license.index');
diff --git a/tests/Feature/Import/Wave/WaveTest.php b/tests/Feature/Import/Wave/WaveTest.php
index f8f3edf47fc7..3a194dd0b7d8 100644
--- a/tests/Feature/Import/Wave/WaveTest.php
+++ b/tests/Feature/Import/Wave/WaveTest.php
@@ -196,7 +196,7 @@ class WaveTest extends TestCase
'import_type' => 'waveaccounting',
];
- Cache::put($hash.'-expense', base64_encode($csv), 360);
+ Cache::put($hash.'-invoice', base64_encode($csv), 360);
$csv_importer = new Wave($data, $this->company);