Replace infrastructure costs with actual domain invoice data

Start ledger January 2025. Record coulomb.social (3.75 EUR/mo) and
coulomb.pro (3.00 EUR/mo) as per-domain expense rows. Remove Bubble and
placeholder overhead. Add infrastructure reference catalogs; virtual server
records pending invoice data.
This commit is contained in:
2026-06-22 02:14:06 +02:00
parent 31db9f8f31
commit 86ce511764
11 changed files with 391 additions and 403 deletions

View File

@@ -68,7 +68,9 @@ def load_pricing_models(data_dir: Path | None = None) -> list[PricingModel]:
def load_fx_rates(data_dir: Path | None = None) -> dict[str, Decimal]:
raw = _read_json((data_dir or default_data_dir()) / "expense_records.json")
return {pair: _money(rate) for pair, rate in raw.get("fx_rates", {}).items()}
return {pair: _money(rate) for pair, rate in raw.get("fx_rates", {}).items()} if raw.get(
"fx_rates"
) else {}
def load_expense_records(data_dir: Path | None = None) -> list[ExpenseRecord]: