Skip to content

Open-source personal finance manager. Self-hosted, privacy-first.

fix(import): stop guessing on bad CSV amount, rate, fee and date cells (#1219)

Tássio Noronha64a9b2a59a75
diff --git a/backend/app/services/asset_import_service.py b/backend/app/services/asset_import_service.py
index 4f56baab..23b90865 100644
--- a/backend/app/services/asset_import_service.py
+++ b/backend/app/services/asset_import_service.py
@@ -226,15 +226,26 @@ def _parse_date(raw: str, date_format: Optional[str]) -> Optional[date_type]:
raw = raw.strip()
if not raw:
return None
- formats = []
- if date_format and date_format in DATE_FORMAT_MAP:
- formats.append(DATE_FORMAT_MAP[date_format])
- formats.extend(['%Y-%m-%d', '%d/%m/%Y', '%m/%d/%Y', '%d-%m-%Y', '%Y/%m/%d', '%d.%m.%Y'])
- for fmt in formats:
+
+ def parse(fmt: str) -> Optional[date_type]:
+ # Broker exports sometimes append a time to the date, in which case the
+ # first 10 characters are the date itself.
+ value = raw[:10] if len(raw) > 10 and fmt == '%Y-%m-%d' else raw
try:
- return datetime.strptime(raw[:10] if len(raw) > 10 and fmt == '%Y-%m-%d' else raw, fmt).date()
+ return datetime.strptime(value, fmt).date()
except ValueError:
- continue
+ return None
+
+ if date_format and date_format in DATE_FORMAT_MAP:
+ # The user chose a format, so the file is parsed with it strictly,
+ # like parse_csv does: "13/02/2026" must not become February 13
+ # under MM/DD/YYYY.
+ return parse(DATE_FORMAT_MAP[date_format])
+
+ for fmt in ['%Y-%m-%d', '%d/%m/%Y', '%m/%d/%Y', '%d-%m-%Y', '%Y/%m/%d', '%d.%m.%Y']:
+ parsed = parse(fmt)
+ if parsed is not None:
+ return parsed
return None
@@ -320,6 +331,16 @@ def parse_orders_csv(
else:
kind = 'sell' if quantity < 0 else 'buy'
+ # Fees are costs: a negative one would push the cost basis down, and
+ # a malformed fee is reported like the other bad cells instead of
+ # being read as zero.
+ fee_raw = cell(row, 'fee')
+ fee = _parse_decimal(fee_raw)
+ if fee_raw and (fee is None or fee < 0):
+ errors.append(AssetImportRowError(row=index, reason='invalid_fee', ticker=ticker))
+ continue
+ fee = fee or Decimal('0')
+
orders.append(AssetOrderImport(
row=index,
ticker=ticker,
@@ -327,7 +348,7 @@ def parse_orders_csv(
kind=kind,
quantity=abs(quantity),
price=price,
- fee=_parse_decimal(cell(row, 'fee')) or Decimal('0'),
+ fee=fee,
currency=(cell(row, 'currency') or None),
name=(cell(row, 'name') or None),
notes=(cell(row, 'notes') or None),
diff --git a/backend/app/services/import_service.py b/backend/app/services/import_service.py
index 31ec73b8..20cbdb3e 100644
--- a/backend/app/services/import_service.py
+++ b/backend/app/services/import_service.py
@@ -655,26 +655,48 @@ def parse_csv(
# Parse amount
if use_split:
- inflow_str = normalize_amount(row.get(inflow_col, ""), decimal_separator)
- outflow_str = normalize_amount(row.get(outflow_col, ""), decimal_separator)
-
- try:
- inflow = Decimal(inflow_str) if inflow_str else Decimal('0')
- except Exception:
- inflow = Decimal('0')
- try:
- outflow = Decimal(outflow_str) if outflow_str else Decimal('0')
- except Exception:
- outflow = Decimal('0')
-
- if inflow > 0:
+ inflow_raw = (row.get(inflow_col, "") or "").strip()
+ outflow_raw = (row.get(outflow_col, "") or "").strip()
+ inflow_str = normalize_amount(inflow_raw, decimal_separator)
+ outflow_str = normalize_amount(outflow_raw, decimal_separator)
+
+ # A filled cell that survives no normalization is garbage, not
+ # zero: report it like the single-amount path does for
+ # invalid_amount instead of silently importing it as nothing.
+ inflow = outflow = None
+ bad_cell = None
+ if inflow_raw:
+ try:
+ inflow = Decimal(inflow_str) if inflow_str else None
+ except Exception:
+ inflow = None
+ if inflow is None:
+ bad_cell = f"inflow: {inflow_raw}"
+ if bad_cell is None and outflow_raw:
+ try:
+ outflow = Decimal(outflow_str) if outflow_str else None
+ except Exception:
+ outflow = None
+ if outflow is None:
+ bad_cell = f"outflow: {outflow_raw}"
+ if bad_cell is not None:
+ failed_rows.append(FailedRow(line_number=reader.line_num, description=row.get(desc_col, "").strip(), raw_value=bad_cell, error_reason="invalid_amount"))
+ continue # Skip invalid amounts
+ if inflow and inflow > 0 and outflow and outflow > 0:
+ # Both columns positive cannot be read as credit-versus-debit
+ # without guessing; make the user fix the file instead of
+ # importing the wrong direction.
+ raw_val = f"inflow: {inflow_raw}, outflow: {outflow_raw}"
+ failed_rows.append(FailedRow(line_number=reader.line_num, description=row.get(desc_col, "").strip(), raw_value=raw_val, error_reason="ambiguous_amount"))
+ continue
+ if inflow and inflow > 0:
amount = inflow
txn_type = "credit"
- elif outflow > 0:
+ elif outflow and outflow > 0:
amount = outflow
txn_type = "debit"
else:
- raw_val = f"inflow: {row.get(inflow_col, '')}, outflow: {row.get(outflow_col, '')}"
+ raw_val = f"inflow: {inflow_raw}, outflow: {outflow_raw}"
failed_rows.append(FailedRow(line_number=reader.line_num, description=row.get(desc_col, "").strip(), raw_value=raw_val, error_reason="no_amount"))
continue # Skip rows with no amount
else:
@@ -702,13 +724,23 @@ def parse_csv(
txn_fx_rate = None
if currency_col and row.get(currency_col):
txn_currency = row[currency_col].strip().upper() or None
- if fx_rate_col and row.get(fx_rate_col):
- fx_str = normalize_amount(row[fx_rate_col].strip())
- if fx_str:
- try:
- txn_fx_rate = Decimal(fx_str)
- except Exception:
- pass
+ fx_raw = (row.get(fx_rate_col) or "").strip() if fx_rate_col else ""
+ if fx_raw:
+ fx_str = normalize_amount(fx_raw)
+ # A rate the user typed has to be a rate: an unparseable or
+ # negative cell used to be dropped silently, importing the row as
+ # if it were already in the account's currency. A blank cell or a
+ # zero still means "no rate given" (files often fill the column
+ # with 0 on rows in the account's own currency), which is how a
+ # zero rate was already treated at import time.
+ try:
+ rate = Decimal(fx_str) if fx_str else None
+ except Exception:
+ rate = None
+ if rate is None or rate < 0:
+ failed_rows.append(FailedRow(line_number=reader.line_num, description=row.get(desc_col, "").strip(), raw_value=fx_raw, error_reason="invalid_fx_rate"))
+ continue
+ txn_fx_rate = rate or None
txn_payee = row[payee_col].strip() if payee_col and row.get(payee_col) else None
txn_external_id = row[external_id_col].strip() if external_id_col and row.get(external_id_col) else None
diff --git a/backend/tests/test_asset_import_service.py b/backend/tests/test_asset_import_service.py
index 1bcfddb4..b471d50d 100644
--- a/backend/tests/test_asset_import_service.py
+++ b/backend/tests/test_asset_import_service.py
@@ -540,3 +540,63 @@ async def test_a_ticker_neither_call_knows_is_still_refused(
assert [(e.row, e.reason) for e in summary["errors"]] == [(2, "unknown_ticker")]
assert summary["imported"] == 0
+
+
+# ---------------------------------------------------------------------------
+# Fee and explicit date-format validation (issue #850)
+# ---------------------------------------------------------------------------
+
+
+def test_malformed_fee_is_reported():
+ orders, errors, _ = asset_import_service.parse_orders_csv(_csv(
+ "ticker,date,quantity,price,fee",
+ "AAPL,2026-01-15,10,150.00,abc",
+ ))
+ assert orders == []
+ assert [(e.row, e.reason) for e in errors] == [(2, "invalid_fee")]
+
+
+def test_negative_fee_is_reported():
+ """A negative fee would push the cost basis down, so it fails the row."""
+ orders, errors, _ = asset_import_service.parse_orders_csv(_csv(
+ "ticker,date,quantity,price,fee",
+ "AAPL,2026-01-15,10,150.00,-1.50",
+ ))
+ assert orders == []
+ assert [(e.row, e.reason) for e in errors] == [(2, "invalid_fee")]
+
+
+def test_empty_fee_stays_zero():
+ orders, errors, _ = asset_import_service.parse_orders_csv(_csv(
+ "ticker,date,quantity,price,fee",
+ "AAPL,2026-01-15,10,150.00,",
+ ))
+ assert errors == []
+ assert orders[0].fee == Decimal("0")
+
+
+def test_explicit_date_format_is_strict():
+ """A format the user chose is the only format tried: 13/02 is not a
+ valid month/day, so the row fails instead of silently becoming
+ February 13."""
+ orders, errors, _ = asset_import_service.parse_orders_csv(
+ _csv(
+ "ticker,date,quantity,price",
+ "AAPL,13/02/2026,10,150.00",
+ ),
+ date_format="MM/DD/YYYY",
+ )
+ assert orders == []
+ assert [(e.row, e.reason) for e in errors] == [(2, "invalid_date")]
+
+
+def test_explicit_date_format_parses_when_it_fits():
+ orders, errors, _ = asset_import_service.parse_orders_csv(
+ _csv(
+ "ticker,date,quantity,price",
+ "AAPL,13/02/2026,10,150.00",
+ ),
+ date_format="DD/MM/YYYY",
+ )
+ assert errors == []
+ assert orders[0].date == date(2026, 2, 13)
diff --git a/backend/tests/test_import_service.py b/backend/tests/test_import_service.py
index b4801dd4..083647d2 100644
--- a/backend/tests/test_import_service.py
+++ b/backend/tests/test_import_service.py
@@ -3126,3 +3126,80 @@ async def test_import_posted_status_rule_applies_to_matched_recurring_placeholde
assert rows[0].source == "ofx"
assert rows[0].category_id == category.id
assert rows[0].notes == "Rule applied"
+
+
+# ---------------------------------------------------------------------------
+# Split-mode amount and fx_rate validation (issue #850)
+# ---------------------------------------------------------------------------
+
+
+class TestSplitModeValidation:
+ """Split inflow/outflow columns must report bad rows, not import them."""
+
+ CSV = (
+ "date,description,inflow,outflow\n"
+ "2026-01-10,Salary,1000,\n"
+ "2026-01-11,Rent,,800\n"
+ "2026-01-12,Bad inflow,abc,\n"
+ "2026-01-13,Bad outflow,,xyz\n"
+ "2026-01-14,Both filled,5,7\n"
+ "2026-01-15,Neither filled,,\n"
+ )
+
+ def _parse(self):
+ return parse_csv(
+ self.CSV.encode("utf-8"), inflow_column="inflow", outflow_column="outflow"
+ )
+
+ def test_good_rows_still_import(self):
+ transactions, _ = self._parse()
+ assert [(t.description, t.type, t.amount) for t in transactions] == [
+ ("Salary", "credit", Decimal("1000")),
+ ("Rent", "debit", Decimal("800")),
+ ]
+
+ def test_bad_rows_are_reported_row_by_row(self):
+ _, failed = self._parse()
+ assert [(f.description, f.error_reason, f.raw_value) for f in failed] == [
+ ("Bad inflow", "invalid_amount", "inflow: abc"),
+ ("Bad outflow", "invalid_amount", "outflow: xyz"),
+ ("Both filled", "ambiguous_amount", "inflow: 5, outflow: 7"),
+ ("Neither filled", "no_amount", "inflow: , outflow: "),
+ ]
+
+
+class TestCsvFxRateValidation:
+ """A typed fx_rate that is not a rate must fail the row, not vanish."""
+
+ CSV = (
+ "date,description,amount,currency,fx_rate\n"
+ "2026-01-10,USD wire,100,USD,5.4\n"
+ "2026-01-11,Bad rate,100,USD,abc\n"
+ "2026-01-12,Negative rate,100,USD,-1\n"
+ "2026-01-13,Blank rate,100,BRL, \n"
+ "2026-01-14,Zero rate,100,BRL,0\n"
+ "2026-01-15,Empty rate,100,BRL,\n"
+ )
+
+ def _parse(self):
+ return parse_csv(self.CSV.encode("utf-8"))
+
+ def test_valid_rate_kept(self):
+ transactions, _ = self._parse()
+ assert transactions[0].description == "USD wire"
+ assert transactions[0].currency == "USD"
+ assert transactions[0].fx_rate == Decimal("5.4")
+
+ def test_blank_or_zero_rate_means_no_rate(self):
+ # Rows in the account's own currency often leave the column blank,
+ # pad it with spaces, or fill it with 0: none of them is a bad rate.
+ transactions, _ = self._parse()
+ rest = [(t.description, t.fx_rate) for t in transactions[1:]]
+ assert rest == [("Blank rate", None), ("Zero rate", None), ("Empty rate", None)]
+
+ def test_bad_rates_reported(self):
+ _, failed = self._parse()
+ assert [(f.description, f.error_reason) for f in failed] == [
+ ("Bad rate", "invalid_fx_rate"),
+ ("Negative rate", "invalid_fx_rate"),
+ ]
diff --git a/frontend/src/locales/cs.json b/frontend/src/locales/cs.json
index af86b405..32ce5b98 100644
--- a/frontend/src/locales/cs.json
+++ b/frontend/src/locales/cs.json
@@ -1828,7 +1828,9 @@
"errors": {
"invalid_date": "Neplatný formát data",
"no_amount": "Chybí částka příjmu nebo výdaje",
- "invalid_amount": "Neplatný formát částky"
+ "invalid_amount": "Neplatný formát částky",
+ "invalid_fx_rate": "Neplatná měnová sazba",
+ "ambiguous_amount": "Vyplněny příjem i výdaj"
},
"selectAll": "Vybrat vše",
"incomeCount_one": "{{count}} příjem",
@@ -1905,6 +1907,7 @@
"invalid_date": "nečitelné datum",
"invalid_quantity": "nečitelné množství",
"invalid_price": "nečitelná cena",
+ "invalid_fee": "nečitelný poplatek",
"invalid_kind": "nerozpoznaná hodnota nákup/prodej",
"unknown_ticker": "poskytovatel cen ticker nenašel",
"oversell": "prodej většího množství, než pozice obsahuje"
diff --git a/frontend/src/locales/de.json b/frontend/src/locales/de.json
index 54073215..174fc8eb 100644
--- a/frontend/src/locales/de.json
+++ b/frontend/src/locales/de.json
@@ -1721,7 +1721,9 @@
"errors": {
"invalid_date": "Ungültiges Datumsformat",
"no_amount": "Kein Zu- oder Abflussbetrag",
- "invalid_amount": "Ungültiges Betragsformat"
+ "invalid_amount": "Ungültiges Betragsformat",
+ "invalid_fx_rate": "Ungültiger Wechselkurs",
+ "ambiguous_amount": "Zu- und Abflussbetrag ausgefüllt"
},
"selectAll": "Alle auswählen"
},
@@ -1774,6 +1776,7 @@
"invalid_date": "unlesbares Datum",
"invalid_quantity": "unlesbare Stückzahl",
"invalid_price": "unlesbarer Preis",
+ "invalid_fee": "unlesbare Gebühr",
"invalid_kind": "Kauf/Verkauf nicht erkannt",
"unknown_ticker": "Ticker beim Kursanbieter nicht gefunden",
"oversell": "Verkauf größer als die Position"
diff --git a/frontend/src/locales/el.json b/frontend/src/locales/el.json
index f1daf76a..402786c6 100644
--- a/frontend/src/locales/el.json
+++ b/frontend/src/locales/el.json
@@ -1720,7 +1720,9 @@
"errors": {
"invalid_date": "Μη έγκυρη μορφή ημερομηνίας",
"no_amount": "Χωρίς ποσό εισροής ή εκροής",
- "invalid_amount": "Μη έγκυρη μορφή ποσού"
+ "invalid_amount": "Μη έγκυρη μορφή ποσού",
+ "invalid_fx_rate": "Μη έγκυρη ισοτιμία",
+ "ambiguous_amount": "Συμπληρωμένες εισροή και εκροή"
},
"selectAll": "Επιλογή όλων"
},
@@ -1773,6 +1775,7 @@
"invalid_date": "μη αναγνώσιμη ημερομηνία",
"invalid_quantity": "μη αναγνώσιμη ποσότητα",
"invalid_price": "μη αναγνώσιμη τιμή",
+ "invalid_fee": "μη αναγνώσιμη χρέωση",
"invalid_kind": "μη αναγνωρισμένη τιμή αγοράς/πώλησης",
"unknown_ticker": "το σύμβολο δεν βρέθηκε από τον πάροχο τιμών",
"oversell": "πώληση περισσότερων μονάδων από αυτές που περιέχει η θέση"
diff --git a/frontend/src/locales/en.json b/frontend/src/locales/en.json
index d39cd6d9..4f35fb2e 100644
--- a/frontend/src/locales/en.json
+++ b/frontend/src/locales/en.json
@@ -1720,7 +1720,9 @@
"errors": {
"invalid_date": "Invalid Date Format",
"no_amount": "No Inflow or Outflow Amount",
- "invalid_amount": "Invalid Amount Format"
+ "invalid_amount": "Invalid Amount Format",
+ "invalid_fx_rate": "Invalid Exchange Rate",
+ "ambiguous_amount": "Both Inflow and Outflow Filled"
},
"selectAll": "Select all"
},
@@ -1773,6 +1775,7 @@
"invalid_date": "unreadable date",
"invalid_quantity": "unreadable quantity",
"invalid_price": "unreadable price",
+ "invalid_fee": "unreadable fee",
"invalid_kind": "unrecognised buy/sell value",
"unknown_ticker": "ticker not found by the price provider",
"oversell": "selling more units than the position holds"
diff --git a/frontend/src/locales/es.json b/frontend/src/locales/es.json
index 070bba11..3d9f55c1 100644
--- a/frontend/src/locales/es.json
+++ b/frontend/src/locales/es.json
@@ -1724,7 +1724,9 @@
"errors": {
"invalid_date": "Formato de fecha no válido",
"no_amount": "Sin importe de entrada o salida",
- "invalid_amount": "Formato de importe no válido"
+ "invalid_amount": "Formato de importe no válido",
+ "invalid_fx_rate": "Tipo de cambio no válido",
+ "ambiguous_amount": "Entrada y salida con valor"
},
"selectAll": "Seleccionar todo"
},
@@ -1777,6 +1779,7 @@
"invalid_date": "fecha ilegible",
"invalid_quantity": "cantidad ilegible",
"invalid_price": "precio ilegible",
+ "invalid_fee": "comisión ilegible",
"invalid_kind": "compra/venta no reconocida",
"unknown_ticker": "ticker no encontrado por el proveedor de precios",
"oversell": "venta mayor que la posición"
diff --git a/frontend/src/locales/fr.json b/frontend/src/locales/fr.json
index 31964cbd..083d7d81 100644
--- a/frontend/src/locales/fr.json
+++ b/frontend/src/locales/fr.json
@@ -1724,7 +1724,9 @@
"errors": {
"invalid_date": "Format de date invalide",
"no_amount": "Aucun montant d'entrée ou de sortie",
- "invalid_amount": "Format de montant invalide"
+ "invalid_amount": "Format de montant invalide",
+ "invalid_fx_rate": "Taux de change invalide",
+ "ambiguous_amount": "Entrée et sortie renseignées"
},
"selectAll": "Tout sélectionner"
},
@@ -1777,6 +1779,7 @@
"invalid_date": "date illisible",
"invalid_quantity": "quantité illisible",
"invalid_price": "prix illisible",
+ "invalid_fee": "frais illisibles",
"invalid_kind": "achat/vente non reconnu",
"unknown_ticker": "ticker introuvable chez le fournisseur de cours",
"oversell": "vente supérieure à la position"
diff --git a/frontend/src/locales/hi.json b/frontend/src/locales/hi.json
index 277ca485..90be0188 100644
--- a/frontend/src/locales/hi.json
+++ b/frontend/src/locales/hi.json
@@ -1720,7 +1720,9 @@
"errors": {
"invalid_date": "अमान्य तिथि प्रारूप",
"no_amount": "कोई आवक या जावक राशि नहीं",
- "invalid_amount": "अमान्य राशि प्रारूप"
+ "invalid_amount": "अमान्य राशि प्रारूप",
+ "invalid_fx_rate": "अमान्य विनिमय दर",
+ "ambiguous_amount": "आवक और जावक दोनों भरी हैं"
},
"selectAll": "सभी चुनें"
},
@@ -1773,6 +1775,7 @@
"invalid_date": "अपठनीय तिथि",
"invalid_quantity": "अपठनीय मात्रा",
"invalid_price": "अपठनीय मूल्य",
+ "invalid_fee": "अपठनीय शुल्क",
"invalid_kind": "अपरिचित खरीद/बिक्री मान",
"unknown_ticker": "मूल्य प्रदाता को टिकर नहीं मिला",
"oversell": "पोज़िशन में मौजूद इकाइयों से ज़्यादा बेचना"
diff --git a/frontend/src/locales/hu.json b/frontend/src/locales/hu.json
index 4060bd3c..7010f666 100644
--- a/frontend/src/locales/hu.json
+++ b/frontend/src/locales/hu.json
@@ -1720,7 +1720,9 @@
"errors": {
"invalid_date": "Érvénytelen dátumformátum",
"no_amount": "Nincs bejövő vagy kimenő összeg",
- "invalid_amount": "Érvénytelen összegformátum"
+ "invalid_amount": "Érvénytelen összegformátum",
+ "invalid_fx_rate": "Érvénytelen árfolyam",
+ "ambiguous_amount": "Bemenő és kimenő összeg is megvan"
},
"selectAll": "Összes kijelölése"
},
@@ -1773,6 +1775,7 @@
"invalid_date": "olvashatatlan dátum",
"invalid_quantity": "olvashatatlan mennyiség",
"invalid_price": "olvashatatlan ár",
+ "invalid_fee": "olvashatatlan díj",
"invalid_kind": "ismeretlen vétel/eladás érték",
"unknown_ticker": "az árfolyam-szolgáltató nem ismeri a tickert",
"oversell": "több egységet adnál el, mint amennyi a pozícióban van"
diff --git a/frontend/src/locales/it.json b/frontend/src/locales/it.json
index 9fe922ae..8ed43b29 100644
--- a/frontend/src/locales/it.json
+++ b/frontend/src/locales/it.json
@@ -1724,7 +1724,9 @@
"errors": {
"invalid_date": "Formato data non valido",
"no_amount": "Nessun importo in entrata o in uscita",
- "invalid_amount": "Formato importo non valido"
+ "invalid_amount": "Formato importo non valido",
+ "invalid_fx_rate": "Tasso di cambio non valido",
+ "ambiguous_amount": "Entrata e uscita entrambe compilate"
},
"selectAll": "Seleziona tutto"
},
@@ -1777,6 +1779,7 @@
"invalid_date": "data illeggibile",
"invalid_quantity": "quantità illeggibile",
"invalid_price": "prezzo illeggibile",
+ "invalid_fee": "commissione illeggibile",
"invalid_kind": "acquisto/vendita non riconosciuto",
"unknown_ticker": "ticker non trovato dal fornitore di prezzi",
"oversell": "vendita superiore alla posizione"
diff --git a/frontend/src/locales/ja.json b/frontend/src/locales/ja.json
index 3ff6806d..bc178fb3 100644
--- a/frontend/src/locales/ja.json
+++ b/frontend/src/locales/ja.json
@@ -1720,7 +1720,9 @@
"errors": {
"invalid_date": "無効な日付形式",
"no_amount": "入金/出金金額なし",
- "invalid_amount": "無効な金額形式"
+ "invalid_amount": "無効な金額形式",
+ "invalid_fx_rate": "無効な為替レート",
+ "ambiguous_amount": "入金と出金の両方が入力されています"
},
"selectAll": "すべて選択"
},
@@ -1773,6 +1775,7 @@
"invalid_date": "読み取れない日付",
"invalid_quantity": "読み取れない数量",
"invalid_price": "読み取れない価格",
+ "invalid_fee": "読み取れない手数料",
"invalid_kind": "認識できない買付/売却値",
"unknown_ticker": "価格プロバイダーがティッカーを検出できません",
"oversell": "保有数を超える売却"
diff --git a/frontend/src/locales/nl.json b/frontend/src/locales/nl.json
index 35cb38fb..efb0fb0a 100644
--- a/frontend/src/locales/nl.json
+++ b/frontend/src/locales/nl.json
@@ -1722,7 +1722,9 @@
"errors": {
"invalid_date": "Ongeldige datumformaat",
"no_amount": "Geen in- of uitstroombedrag",
- "invalid_amount": "Ongeldig bedragformaat"
+ "invalid_amount": "Ongeldig bedragformaat",
+ "invalid_fx_rate": "Ongeldige wisselkoers",
+ "ambiguous_amount": "In- en uitstroombedrag ingevuld"
},
"selectAll": "Alles selecteren"
},
@@ -1775,6 +1777,7 @@
"invalid_date": "onleesbare datum",
"invalid_quantity": "onleesbare hoeveelheid",
"invalid_price": "onleesbare prijs",
+ "invalid_fee": "onleesbare kosten",
"invalid_kind": "onbekende koop-/verkoopwaarde",
"unknown_ticker": "ticker niet gevonden door de prijsaanbieder",
"oversell": "meer eenheden verkopen dan de positie bevat"
diff --git a/frontend/src/locales/pl.json b/frontend/src/locales/pl.json
index 18c9371d..d74dc194 100644
--- a/frontend/src/locales/pl.json
+++ b/frontend/src/locales/pl.json
@@ -1809,7 +1809,9 @@
"errors": {
"invalid_date": "Nieprawidłowy format daty",
"no_amount": "Brak kwoty wpływu lub wypływu",
- "invalid_amount": "Nieprawidłowy format kwoty"
+ "invalid_amount": "Nieprawidłowy format kwoty",
+ "invalid_fx_rate": "Nieprawidłowy kurs walutowy",
+ "ambiguous_amount": "Wpływ i wypływ uzupełnione"
},
"selectAll": "Zaznacz wszystko"
},
@@ -1862,6 +1864,7 @@
"invalid_date": "nieczytelna data",
"invalid_quantity": "nieczytelna ilość",
"invalid_price": "nieczytelna cena",
+ "invalid_fee": "nieczytelna prowizja",
"invalid_kind": "nierozpoznane kupno/sprzedaż",
"unknown_ticker": "ticker nieznany dostawcy notowań",
"oversell": "sprzedaż większa niż pozycja"
diff --git a/frontend/src/locales/pt-BR.json b/frontend/src/locales/pt-BR.json
index abbc6c89..25bcde27 100644
--- a/frontend/src/locales/pt-BR.json
+++ b/frontend/src/locales/pt-BR.json
@@ -1724,7 +1724,9 @@
"errors": {
"invalid_date": "Formato de data inválido",
"no_amount": "Nenhum valor de entrada ou saída",
- "invalid_amount": "Formato de valor inválido"
+ "invalid_amount": "Formato de valor inválido",
+ "invalid_fx_rate": "Câmbio inválido",
+ "ambiguous_amount": "Entrada e saída preenchidas"
},
"selectAll": "Selecionar todos"
},
@@ -1777,6 +1779,7 @@
"invalid_date": "data ilegível",
"invalid_quantity": "quantidade ilegível",
"invalid_price": "preço ilegível",
+ "invalid_fee": "taxa ilegível",
"invalid_kind": "compra/venda não reconhecida",
"unknown_ticker": "ativo não encontrado no provedor de cotações",
"oversell": "venda maior do que a posição"
diff --git a/frontend/src/locales/pt-PT.json b/frontend/src/locales/pt-PT.json
index ae107761..eb4d893c 100644
--- a/frontend/src/locales/pt-PT.json
+++ b/frontend/src/locales/pt-PT.json
@@ -1724,7 +1724,9 @@
"errors": {
"invalid_date": "Formato de data inválido",
"no_amount": "Nenhum valor de entrada ou saída",
- "invalid_amount": "Formato de valor inválido"
+ "invalid_amount": "Formato de valor inválido",
+ "invalid_fx_rate": "Câmbio inválido",
+ "ambiguous_amount": "Entrada e saída preenchidas"
},
"selectAll": "Selecionar todos"
},
@@ -1777,6 +1779,7 @@
"invalid_date": "data ilegível",
"invalid_quantity": "quantidade ilegível",
"invalid_price": "preço ilegível",
+ "invalid_fee": "comissão ilegível",
"invalid_kind": "compra/venda não reconhecida",
"unknown_ticker": "ativo não encontrado no fornecedor de cotações",
"oversell": "venda maior do que a posição"
diff --git a/frontend/src/locales/ru.json b/frontend/src/locales/ru.json
index bbc559de..8e8c6c2c 100644
--- a/frontend/src/locales/ru.json
+++ b/frontend/src/locales/ru.json
@@ -1737,7 +1737,9 @@
"errors": {
"invalid_date": "Неверный формат даты",
"no_amount": "Нет суммы прихода или расхода",
- "invalid_amount": "Неверный формат суммы"
+ "invalid_amount": "Неверный формат суммы",
+ "invalid_fx_rate": "Неверный курс валюты",
+ "ambiguous_amount": "Заполнены приход и расход"
},
"selectAll": "Выбрать все"
},
@@ -1790,6 +1792,7 @@
"invalid_date": "нечитаемая дата",
"invalid_quantity": "нечитаемое количество",
"invalid_price": "нечитаемая цена",
+ "invalid_fee": "нечитаемая комиссия",
"invalid_kind": "не распознана покупка/продажа",
"unknown_ticker": "тикер не найден у поставщика котировок",
"oversell": "продажа больше позиции"
diff --git a/frontend/src/locales/sk.json b/frontend/src/locales/sk.json
index b0794308..fbf0a290 100644
--- a/frontend/src/locales/sk.json
+++ b/frontend/src/locales/sk.json
@@ -1836,7 +1836,9 @@
"errors": {
"invalid_date": "Neplatný formát dátumu",
"no_amount": "Chýba suma príjmu alebo výdaja",
- "invalid_amount": "Neplatný formát sumy"
+ "invalid_amount": "Neplatný formát sumy",
+ "invalid_fx_rate": "Neplatný kurz",
+ "ambiguous_amount": "Vyplnené príjmy aj výdavky"
},
"selectAll": "Vybrať všetko"
},
@@ -1889,6 +1891,7 @@
"invalid_date": "nečitateľný dátum",
"invalid_quantity": "nečitateľné množstvo",
"invalid_price": "nečitateľná cena",
+ "invalid_fee": "nečitateľný poplatok",
"invalid_kind": "nerozpoznaná hodnota nákup/predaj",
"unknown_ticker": "poskytovateľ cien ticker nenašiel",
"oversell": "predaj väčšieho množstva, než pozícia obsahuje"
diff --git a/frontend/src/locales/uk.json b/frontend/src/locales/uk.json
index 45ab08c6..567f12f5 100644
--- a/frontend/src/locales/uk.json
+++ b/frontend/src/locales/uk.json
@@ -1737,7 +1737,9 @@
"errors": {
"invalid_date": "Недійсний формат дати",
"no_amount": "Немає суми надходження або витрати",
- "invalid_amount": "Недійсний формат суми"
+ "invalid_amount": "Недійсний формат суми",
+ "invalid_fx_rate": "Недійсний курс валют",
+ "ambiguous_amount": "Заповнено надходження і витрати"
},
"selectAll": "Вибрати все"
},
@@ -1790,6 +1792,7 @@
"invalid_date": "нечитабельна дата",
"invalid_quantity": "нечитабельна кількість",
"invalid_price": "нечитабельна ціна",
+ "invalid_fee": "нечитабельна комісія",
"invalid_kind": "не розпізнано купівлю/продаж",
"unknown_ticker": "тикер не знайдено в постачальника котирувань",
"oversell": "продаж більший за позицію"