# LateMeter > Late-payment interest and the fixed sum on a business's overdue sales invoices in its accounting software: UK statutory interest by the Late Payment of Commercial Debts (Interest) Act 1998 (8% over the Bank of England rate fixed by the half-year, and £40, £70 or £100 per invoice), or the business's own contract rate in the UK, Australia and New Zealand. A person approves every claim; agents read and propose only. Not legal advice. ## The rules (public, no key) - [rules.json](https://latemeter-ledger.tenhatch.com/rules.json): every rule record (id, official link, exact quotes from UK legislation, facts, the day last checked), the Bank Rate changes by date with their source, and the regimes (today: uk-1998). - [rules.html](https://latemeter-ledger.tenhatch.com/rules.html): the same, for people. Rule records: uk-fixed-sum, uk-interest-rate-order, uk-scotland-rate-order, uk-bank-rate, uk-when-interest-runs, uk-commercial-payments-bill (not yet law), au-contract-rate, nz-contract-rate. ## The agent door (one organisation's key) A person makes the key in LateMeter (Settings, Agent door). It is shown once; send it as `Authorization: Bearer lmx_...`. One key reads one organisation. - `POST https://latemeter-ledger.tenhatch.com/api/agent` with JSON `{ "action": "interest", "invoiceNumber": "INV-0042" }` (or `"invoiceId"`): what can be claimed today on that invoice (interest, fixed sum, total, in minor units and as decimals), the rate, the Bank Rate and the day that fixed it, the days counted, the rule records, and the invoice's claims so far; or `why` nothing can be claimed. - `{ "action": "propose", "invoiceNumber": "INV-0042", "note": "why" }`: stores a claim as proposed for a person to approve or waive. Nothing is written to the accounting software and nothing is sent to anyone. - `{ "action": "record", "state": "paid" }` (state optional): the organisation's claims (proposed, claimed, waived, paid, cancelled) with totals. - MCP: `POST https://latemeter-ledger.tenhatch.com/api/mcp` (JSON-RPC 2.0, stateless, the same key): `initialize`, `tools/list`, `tools/call` with the tools `interest`, `propose` and `record`. Answers: 401 without a working key, 402 when the organisation's trial has ended without a plan, 404 for an invoice that is not there, 409 when nothing can be proposed (with the reason). There is no action to approve a claim: only a person can, in LateMeter. ## Limits - UK statutory interest only on invoices in pounds; interest that started before 1 July 2023 is not worked out. - A half-year whose Bank Rate day is after the table's last check is "not confirmed" until the table is checked again. - Simple interest by the day, 365-day year, rounded to the penny once; payments and credits taken off on their dates. - The price is per organisation, in its own currency (£23 a month in the UK, A$44 in Australia, NZ$54 in New Zealand); agent calls are included and not charged separately.