feat(finance): add settlement currency and cycle fx rates

This commit is contained in:
2026-03-10 16:46:59 +04:00
parent 4c0508f618
commit fb85219409
38 changed files with 3546 additions and 114 deletions

View File

@@ -51,6 +51,7 @@ export interface HouseholdMemberRecord {
export interface HouseholdBillingSettingsRecord {
householdId: string
settlementCurrency: CurrencyCode
rentAmountMinor: bigint | null
rentCurrency: CurrencyCode
rentDueDay: number
@@ -140,6 +141,7 @@ export interface HouseholdConfigurationRepository {
getHouseholdBillingSettings(householdId: string): Promise<HouseholdBillingSettingsRecord>
updateHouseholdBillingSettings(input: {
householdId: string
settlementCurrency?: CurrencyCode
rentAmountMinor?: bigint | null
rentCurrency?: CurrencyCode
rentDueDay?: number