All files / src/features/usage-charges rows.ts

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14              10x            
// The form 7H row each usage charge kind fills in the year summary (openspec:
// usage-charges, "Usage charge rows on form 7H"). Water goes with the
// maintenance charges (2.2), named in the row; the rest are other costs (2.5),
// which the Tax Administration doesn't name (CONCEPT.md ยง4.5, #16).
import type { SummaryRow } from '#/features/transactions/categories'
import type { ChargeKind } from '#/server/db/schema'
 
export const USAGE_CHARGE_ROWS: Record<ChargeKind, SummaryRow> = {
  water: 'maintenance_and_water',
  parking: 'other_costs',
  sauna: 'other_costs',
  other: 'other_costs',
}