Suites · professional-services
Professional services and time billing
Run a consultancy or agency on its time: record and round time, bill it at rate cards, value unbilled WIP, and report utilisation and realisation.
56 capabilities (28 core, 28 optional) and 12 gaps, in build order. Put each line in the file that calls it, then fune build.
Calculates tax from published rules; it is not tax advice. Have an accountant check how the app uses it before anyone files a return.
TypeScript Python Rust
1. Time recording
Record time and round it to the units clients are billed in.
time.duration core
Parses durations typed as 1h30m, 90m or 01:30 and adds them in whole minutes.
Parse durations written as 1h30m, 90m or 01:30, add them up in whole minutes, and format the total.
from fune.time.duration import duration # time.duration@^1
1.0.0
time.round-to-increment core
Rounds minutes to a billing increment such as 6 or 15, up, down or to nearest.
Round a duration in minutes to a billing increment such as 6 or 15 minutes, up, down or to nearest.
from fune.time.round_to_increment import round_to_increment # time.round-to-increment@^1
1.0.0
time.minutes-between optional
Minutes between a start and end time, across midnight, for timer entries.
Minutes from one local date and time to another, correct across midnight; wall-clock time, no time zones.
from fune.time.minutes_between import minutes_between # time.minutes-between@^1
1.0.0
dates.week-number optional
ISO week of a date, for weekly timesheets.
ISO 8601 week number and week-numbering year of a date: weeks start Monday, week 1 holds the first Thursday.
from fune.dates.week_number import week_number # dates.week-number@^1
1.0.0
timers Running timers, timesheet approval and locking submitted weeks.
2. Billing time
Turn time entries into fees and an invoice.
legal.time-billing core Unreviewed
Fees from time entries rounded to 6-minute (or other) units at each fee earner's hourly rate.
Fees from time entries: each rounded to 6-minute (or other) units and priced at the fee earner's hourly rate.
from fune.legal.time_billing import time_billing # legal.time-billing@^1
1.0.1
finance.invoice.calculate core
Totals the invoice and its VAT by rate.
Calculate a complete invoice: line nets, VAT per line, totals and a VAT summary grouped by rate.
from fune.finance.invoice.calculate import calculate_invoice # finance.invoice.calculate@^1
1.0.1
finance.payment-terms-due-date optional
Due date from the client's payment terms.
Invoice due date from payment terms: net N days, end of month, N days after month end, day N of next month.
from fune.finance.payment_terms_due_date import payment_due_date # finance.payment-terms-due-date@^1
1.0.0
legal.retainer-drawdown optional Unreviewed
Applies money held on account to bills in order, for retainers and prepaid blocks of hours.
Apply money held on account in client account to bills in order: what each bill takes, what stays due, what is left.
from fune.legal.retainer_drawdown import retainer_drawdown # legal.retainer-drawdown@^1
1.0.1
rate-cards Rate cards per client, project and role, and their history: Functional Weave prices an entry at the rate you pass.
3. Work in progress
Know what unbilled time is worth.
professional.wip-valuation core
Values unbilled time at cost or charge-out rates, less a write-down.
Value unbilled time (work in progress) at cost or charge-out rates, less a write-down percentage.
from fune.professional.wip_valuation import wip_valuation # professional.wip-valuation@^1
1.0.0
finance.accruals-prepayments optional
Spreads fixed-fee work across periods by days of service.
Split an invoice across accounting periods by days of service, for accruals, prepayments and deferred income.
from fune.finance.accruals_prepayments import allocate_to_periods # finance.accruals-prepayments@^1
1.0.0
Hold money as currency-tagged integer minor units and do plain arithmetic on it safely.
money.amount core
The Money type ({ minor, currency }) every other money capability takes and returns.
A currency-tagged monetary amount held in integer minor units.
from fune.money.amount import money # money.amount@^1
1.0.2
money.add core
Adds and subtracts amounts, refusing to mix currencies by accident.
Add, subtract and negate monetary amounts, refusing to mix currencies.
from fune.money.add import add_money # money.add@^1
1.0.1
money.sum core
Totals a list of amounts, with an explicit currency for an empty list.
Total a list of monetary amounts, with an explicit currency for the empty case.
from fune.money.sum import sum_money # money.sum@^1
1.0.1
money.compare core
Compares, mins, maxes and clamps amounts of one currency without unwrapping them.
Compare two amounts of one currency, refusing to compare across currencies; min, max and clamp too.
from fune.money.compare import compare_money, min_money, max_money, clamp_money # money.compare@^2
2.0.04 functions
6. Rates and rounding from money-basics
Apply percentages and divide amounts with the rounding stated, never a float.
money.apply-rate core
Applies a basis-point rate (VAT, discount, commission) to an amount with explicit rounding.
Apply a rate expressed in basis points to a monetary amount, with an explicit rounding mode.
from fune.money.apply_rate import apply_rate # money.apply-rate@^1
1.0.1
math.round-div core
Integer division with a named rounding mode, for any money maths the others do not cover.
Integer division with an explicit rounding mode, for money arithmetic that must not drift.
from fune.math.round_div import round_div # math.round-div@^1
1.0.0
math.basis-points optional
Converts "12.5%" to and from basis points exactly, for rates typed in by users.
Convert a rate between percent, basis points and a plain ratio exactly, as decimal text or integer basis points.
from fune.math.basis_points import convert_rate, to_basis_points, from_basis_points # math.basis-points@^2
2.0.03 functions
math.percent-change optional
Percentage change between two figures in basis points, for "up 4.2% on last month".
Percentage change from one value to another, in basis points, with an explicit rounding mode.
from fune.math.percent_change import percent_change # math.percent-change@^1
1.0.0
math.rational optional
Exact fractions for rates that must not drift across many steps.
Exact fraction arithmetic, always reduced, for rates and ratios that must not drift.
from fune.math.rational import calculate_rational, rational, add_rational, subtract_rational, multiply_rational, divide_rational, compare_rational, rational_to_integer # math.rational@^2
2.0.08 functions
math.round-div-big optional
Rounded division on numbers past 2^53, for very large totals.
Divide two integers of any size with an explicit rounding mode, on decimal strings, for exact money sums past 2^53.
from fune.math.round_div_big import round_div_big # math.round-div-big@^1
1.0.0
Divide an amount between people, periods or lines so the parts add back to the whole.
money.allocate core
Splits an amount by ratios (60/40, by quantity) without losing or inventing a penny.
Split an amount across ratios without losing or inventing a single minor unit.
from fune.money.allocate import allocate # money.allocate@^1
1.0.1
money.split-even optional
Splits an amount into n near-equal parts that sum exactly, for instalments or shares.
Split an amount into n near-equal parts that add back up to exactly the whole.
from fune.money.split_even import split_even # money.split-even@^1
1.0.0
8. Display and input from money-basics
Show amounts to people and read what they type.
money.format core
Renders an amount as text with the currency's real number of decimal places.
Render a monetary amount as text, using the currency's real minor-unit precision.
from fune.money.format import format_money # money.format@^1
1.0.0
money.parse optional
Reads "£1,234.50" or "1.234,50 €" typed by a user into minor units, strictly.
Parse "£1,234.50" or "1.234,50 €" into integer minor units, strictly: no guessing, no rounding.
from fune.money.parse import parse_money # money.parse@^1
1.0.0
money.currency-digits optional
How many decimal places each ISO 4217 currency has, for input boxes and validation.
How many decimal places a currency's minor unit has, from the ISO 4217 list.
from fune.money.currency_digits import currency_digits # money.currency-digits@^1
1.0.0
9. Other currencies from money-basics
Convert between currencies at a rate you hold.
money.convert optional
Converts an amount at a supplied exact rate with explicit rounding.
Convert an amount to another currency at a supplied exact rate, with an explicit rounding mode.
from fune.money.convert import convert_money # money.convert@^1
1.0.0
10. Calendar arithmetic from dates-basics
Move and measure ISO dates exactly, with no date library and no clock reads.
dates.add-days core
Shifts a date by whole days, for due dates and windows.
Shift an ISO date by a whole number of days, forwards or backwards, with exact calendar arithmetic.
from fune.dates.add_days import add_days # dates.add-days@^1
1.0.0
dates.add-months core
Adds months clamping to month end, so 31 January plus a month is the end of February.
Add calendar months to an ISO date, clamping to the month end: 31 Jan + 1 month is 28 or 29 Feb.
from fune.dates.add_months import add_months # dates.add-months@^1
1.0.0
dates.days-between core
Signed calendar days between two dates, for ages of invoices and stays.
Calendar days from one ISO date to another, signed: negative when the second date is earlier.
from fune.dates.days_between import days_between # dates.days-between@^1
1.0.0
dates.month-boundaries core
First and last day of a date's month, for monthly periods and statements.
The first day, last day and length of the calendar month containing a date.
from fune.dates.month_boundaries import month_boundaries # dates.month-boundaries@^1
1.0.0
dates.day-of-week core
ISO weekday of a date, for weekend rules and opening hours.
The ISO 8601 day of the week for a date: 1 is Monday through 7 is Sunday.
from fune.dates.day_of_week import day_of_week # dates.day-of-week@^1
1.0.0
dates.is-leap-year optional
Whether a year is a leap year, for 365/366-day calculations.
Whether a year is a Gregorian leap year: every 4th, except centuries, except every 400th.
from fune.dates.is_leap_year import is_leap_year # dates.is-leap-year@^1
1.0.0
dates.overlap optional
Days two date ranges share, for prorating and clash checks.
Days two date ranges have in common, with the end of each range stated as inclusive or exclusive.
from fune.dates.overlap import overlap_days # dates.overlap@^1
1.0.0
dates.age optional
Age in whole years on a date, handling 29 February birthdays.
Age in whole years on a given date, with 29 February birthdays ageing on 1 March in other years.
from fune.dates.age import age # dates.age@^1
1.0.0
11. Periods and reporting dates from dates-basics
Put dates into the periods reports are grouped by.
dates.quarter core
Calendar and fiscal quarter of a date for any year-start month.
Calendar quarter and fiscal quarter of a date, with the fiscal year and quarter date ranges, for any start month.
from fune.dates.quarter import quarter # dates.quarter@^1
1.0.0
dates.day-count-fraction optional
Year fraction by ACT/365F, ACT/360, 30/360 or ACT/ACT, for interest periods.
Year fraction between two dates by ACT/365F, ACT/360, 30/360, 30E/360 or ACT/ACT ISDA, as an exact fraction.
from fune.dates.day_count_fraction import day_count_fraction # dates.day-count-fraction@^1
1.0.0
12. Working days and holidays from dates-basics
Skip weekends and public holidays when counting or adding days.
dates.bank-holidays core
UK bank holidays for a region and year, as gov.uk publishes them.
UK bank and public holidays for a region and year, as published by gov.uk, including one-off holidays.
from fune.dates.bank_holidays import bank_holidays # dates.bank-holidays@^1
1.0.1
dates.add-business-days core
Moves a date by working days, skipping weekends and a holiday list.
Move a date forward or back by working days, skipping weekends and a caller-supplied holiday list.
from fune.dates.add_business_days import add_business_days # dates.add-business-days@^1
1.0.0
dates.business-days-between core
Working days between two dates, for SLAs and notice periods.
Working days between two dates, excluding weekends and a caller-supplied holiday list.
from fune.dates.business_days_between import business_days_between # dates.business-days-between@^1
1.0.0
13. Repeating schedules from dates-basics
Generate the dates of something that repeats.
dates.recurrence optional
The next n dates of a rule: monthly on the 31st, last Friday, every two weeks.
The next n dates of a repeating rule: monthly on a day, last weekday of the month, every k days or weeks, yearly.
from fune.dates.recurrence import recurrence # dates.recurrence@^1
1.0.0
14. Times and durations from dates-basics
Work with times of day, durations and timestamps.
time.iso-to-unix optional
RFC 3339 timestamps to Unix seconds.
An RFC 3339 timestamp with a Z or offset, such as 2026-09-26T13:00:00+01:00, to Unix time in whole seconds.
from fune.time.iso_to_unix import iso_to_unix # time.iso-to-unix@^1
1.0.0
time.unix-to-iso optional
Unix seconds to an ISO 8601 UTC timestamp.
Unix time in seconds to an ISO 8601 UTC timestamp such as 2026-09-26T12:00:00Z, for years 0001 to 9999.
from fune.time.unix_to_iso import unix_to_iso # time.unix-to-iso@^1
1.0.0
time.countdown optional
Seconds left until a moment and a 4:05 style timer text.
Seconds left until a Unix time, whether it has passed, and a timer text like 4:05, for tokens or retry waits.
from fune.time.countdown import countdown # time.countdown@^1
1.0.0
15. VAT from uk-tax
Work out VAT from the dated rates HMRC publishes.
finance.tax.vat-rate core Unreviewed
The VAT rate in force for a jurisdiction, category and date; the others look it up.
Look up the VAT rate in force for a jurisdiction, category and date.
from fune.finance.tax.vat_rate import vat_rate # finance.tax.vat-rate@^1
1.2.2
finance.tax.add-vat core Unreviewed
Net to gross: VAT on a net amount at the rate on the date of supply.
Add VAT to a net amount using the rate in force on the date of supply.
from fune.finance.tax.add_vat import add_vat # finance.tax.add-vat@^1
1.0.1
finance.tax.remove-vat core Unreviewed
Gross to net: the VAT already inside a VAT-inclusive price.
Extract the VAT already included in a gross amount, using the rate in force on the date of supply.
from fune.finance.tax.remove_vat import remove_vat # finance.tax.remove-vat@^1
1.0.2
finance.tax.vat-return optional Unreviewed
The nine-box VAT return totals for a period from categorised sales and purchases.
UK nine-box VAT return totals for a period from categorised sales and purchases (VAT Notice 700/12).
from fune.finance.tax.vat_return import vat_return # finance.tax.vat-return@^1
1.0.1
finance.tax.vat-flat-rate optional Unreviewed
VAT due under the Flat Rate Scheme by business sector, for small businesses on it.
UK VAT Flat Rate Scheme: VAT due on gross turnover at the sector's dated rate, limited cost rate and first-year 1% off.
from fune.finance.tax.vat_flat_rate import flat_rate_vat # finance.tax.vat-flat-rate@^1
1.0.1
16. Tax periods from uk-tax
Put dates into the UK periods tax is worked out over.
dates.uk-tax-year core
Which UK tax year (6 April to 5 April) a date falls in.
The UK personal tax year containing a date: 6 April to 5 April, with HMRC's label.
from fune.dates.uk_tax_year import uk_tax_year # dates.uk-tax-year@^1
1.0.0
17. Tax identifiers from uk-tax
Check the numbers HMRC and Companies House issue before storing them.
validation.uk-vat-number core
Checks a UK VAT registration number's checksum.
Check a UK VAT registration number against HMRC's mod-97 checksum, including the post-2010 9755 variant.
from fune.validation.uk_vat_number import is_uk_vat_number # validation.uk-vat-number@^1
1.0.0
validation.uk-utr optional
Checks a Unique Taxpayer Reference's check digit.
Check an HMRC Unique Taxpayer Reference's modulus 11 check digit, accepting the K and spacing people type.
from fune.validation.uk_utr import validate_uk_utr # validation.uk-utr@^2
2.0.1
validation.uk-company-number optional
Checks and pads a Companies House company number.
Check a Companies House company number's format and prefix (SC, NI, OC, LP...) and zero-pad it to eight characters.
from fune.validation.uk_company_number import validate_uk_company_number # validation.uk-company-number@^2
2.0.1
Gaps What this kind of app usually needs that Functional Weave does not have yet: write these yourself, or use a service.
projects-and-budgets Projects, tasks and budgets (fixed fee or time and materials) and burn against them.fx-rate-source Where exchange rates come from: money.convert takes a rate you supply; fetching and storing daily rates (ECB, a provider's API) is yours.money-storage Storing amounts: the database columns (integer minor units plus a currency code) and their migrations are yours.time-zones Time zones and daylight saving: caps works in ISO dates, UTC and wall-clock times; converting with the IANA tz rules is yours.locale-formatting Showing dates in a user's language and format ("3 octobre 2026"): caps returns ISO dates, not localised text.non-uk-holidays Public holidays outside the UK: dates.bank-holidays is UK only; pass another country's list to the working-day functions yourself.mtd-submission Making Tax Digital: submitting the return to HMRC's VAT API (OAuth, fraud-prevention headers, obligations) is yours; caps gives the nine boxes.corporation-tax Corporation tax and self-assessment income tax computations are not in caps.vat-number-lookup Checking that a VAT number is registered (HMRC's lookup API) is network work; caps checks the checksum only.
Suite
Id professional-services
From Functional Weave
Use it fune suite add professional-services
Capabilities 56 (28 core)
Gaps 12
Unreviewed 7
For time tracking app; timesheet and billing tool; agency management software; consultancy practice management; freelancer time tracker; accountancy practice software
Includes
Ask for it
fune suite professional-services
An AI agent: plan_app or get_suite on the MCP server . JSON: /v1/suites/professional-services .