diff --git a/src/pages/InvoiceIn/Card/InvoiceInVat.vue b/src/pages/InvoiceIn/Card/InvoiceInVat.vue
index f7ef7d525..b22166dc7 100644
--- a/src/pages/InvoiceIn/Card/InvoiceInVat.vue
+++ b/src/pages/InvoiceIn/Card/InvoiceInVat.vue
@@ -89,6 +89,12 @@ const columns = computed(() => [
field: (row) => row.foreignValue,
align: 'left',
},
+ {
+ name: 'total',
+ label: t('Total'),
+ sortable: true,
+ align: 'left',
+ },
]);
const filter = {
@@ -277,19 +283,22 @@ function autocompleteExpense(evt, row, col) {
{{
getTotal(rows, null, { cb: taxRate, currency: 'default' })
- }}
+ }}
+
+
-
- {{
- getTotal(rows, 'foreignValue', {
- currency: invoiceIn.currency.code,
- })
- }}
-
+ {{
+ getTotal(rows, null, {
+ cb: (row) =>
+ parseFloat(row.taxableBase || 0) +
+ parseFloat(taxRate(row) || 0),
+ currency: 'default',
+ })
+ }}
+