Record actual Stripe payment costs for tegwick membership

Update payment_records to 8.99 EUR gross, 0.44 EUR fees, 8.55 EUR net
payout to binky-hedgehog. Link member tegwick in membership ledger and
add Stripe reference catalog.
This commit is contained in:
2026-06-22 02:36:42 +02:00
parent bb3f152846
commit 7b84d34ea6
9 changed files with 183 additions and 48 deletions

View File

@@ -119,7 +119,7 @@ _Revenue source: {snapshot.revenue_source}_
- Product model (`data/product.json`)
- Budget (`data/budget.json`)
- Expense records (`data/expense_records.json`) — source of truth for costs
- Infrastructure catalog (`data/infrastructure/`) — domain and VPS reference data
- Infrastructure catalog (`data/infrastructure/`) — domain, VPS, and Stripe reference data
- Payment records (`data/payment_records.json`)
- Membership (`data/membership.json`)
- Requirements (`REQUIREMENTS.md`)

View File

@@ -109,6 +109,8 @@ def load_payment_records(data_dir: Path | None = None) -> list[PaymentRecord]:
currency=item["currency"],
source=item["source"],
member_count=item.get("member_count", 0),
member_username=item.get("member_username"),
payout_account=item.get("payout_account"),
)
for item in items
]

View File

@@ -55,6 +55,8 @@ class PaymentRecord:
currency: str
source: str
member_count: int = 0
member_username: str | None = None
payout_account: str | None = None
@dataclass(frozen=True)