יומן שינויים
כל הגרסאות, מהחדשה לישנה. הגרסה הנוכחית היא 1.8.1.
יומן השינויים נכתב באנגלית.
Unreleased
Recurring
- Edit a recurring schedule in place: template, name, frequency, next run, end date, payment terms, service period, mode and email. Changes apply to the next copies.
- Service period: each copy can end every line with the previous, same or next month, for example "Retainer for November 2026" / "עבור נובמבר 2026" on a copy dated 1 December 2026.
- The client page has a Recurring tab with the client's schedules.
- Migration
4700_recurring_service_period.sql.
Dashboard
- Recurring documents waiting for approval now show on the Dashboard too, with a Review link, the same line as on Quick.
Sending
- The link to a document's client copy, in email and WhatsApp, now lasts a year instead of 30 days. Links already sent keep their old end date.
Wise Business
- Settings > Expenses > Wise connection: paste a Wise Business API token and the Ledger reads the business profile's balances and statements, read only. The token is stored encrypted and never shown again. A personal profile is never read.
- Each Wise balance shows as an account in Expenses > Bank activity and the bank dashboard tab. The tab and Bank activity open with Wise alone, without Financy.
- A webhook at
/v1/hooks/wise/<id>hears about money in. Each call is checked against Wise's RSA signature. The Ledger creates the webhook in Wise when the token allows it, and shows the address to add by hand when it does not. Money in pulls the last week at once. A daily sync covers the rest. - A deposit that arrived net of a bank fee matches a payment request for the amount the payer sent. A conversion between two of the business's own balances is not counted as income or an expense.
- Migration
4600_wise_connection.sql.
1.8.1 (2026-11-12)
Accounting firms
- The firm edition,
LEDGER_EDITION=firm: many client businesses in one Ledger, any business type for any client. A tax id is unique across the businesses of one Ledger in both editions. - Ledger admins guard the Ledger-wide settings in the firm edition. Settings > Firm team gives firm staff one grant for every client. The single edition behaves as before.
- MCP tokens can belong to one business. Signed download links name their business. Cron jobs go on past a failing business. Every email carries Reply-To with the business's own email.
- A signing key per business, made in the browser or uploaded. The single edition still signs with the Ledger's key for a business with no key of its own.
- Export one business file by file, with a manifest of SHA-256 hashes. Move a client to its own Ledger: continue the numbers from the manifest, import data.json, and mark the firm's copy as moved out and read-only.
- Expense categories per business, and the Clients page for the firm team.
- Fix: the unified-file import's duplicate check is per business, so one file imports into a second business.
1.8.0 (2026-11-01, updated 2026-11-04)
MCP
GET /mcpandDELETE /mcpanswer 405 withAllow: POST. Before, they reached the web app and answered 200 with the page, so an MCP client that opens a GET event stream reconnected in a loop, thousands of requests an hour, and used up the free plan's 100,000 daily Worker requests.
Tax Authority
- Unified file: Send to the Tax Authority uploads the INI and BKMVDATA files through the Tax Authority's upload API (GetUrlsForUploadingFiles, then a resumable upload of each file). Check status asks for each file's status: Uploaded, Approved or Rejected. Every send is listed on the Unified file page. The Tax Authority requires this API from 1.1.2027.
- Sending has its own Tax Authority sign-in. The unified file services take a token from a separate provider (dailytoken) with their own scopes, UniStructFileUploadLinks_scope and FilesStatus_scope, as the developer portal lists them. The card shows whether you are signed in for sending and until when (the later of the access and renewal token), with a Sign in to send button. The invoice sign-in is untouched. The login broker passes
provider=dailytokenon to the right addresses. - Production: the sign-in token comes from ita-api, and the upload links from openapi, the only address that serves them in production. The status check uses ita-api.
- When the Tax Authority has not asked the business for the file, its answer ("There is no requirement for a uniform structure file for this case number") shows in green as Not requested, not as an error.
- Sandbox: the Tax Authority's test environment accepts only a small PDF, so the Ledger uploads a one-page test PDF in place of each file and marks the row as a test.
- A send without that sign-in stops before it records anything. A sign-in that did not finish says so on the card. The card's own errors show in the screen's language.
Screens
- The Unified file page has three steps: 1. Period, 2. Create the files on your computer, 3. Send to the Tax Authority. Steps 2 and 3 show the period they use.
- Dates on screen read day/month/year (04/11/2026), and times use a 24-hour clock in Israel time, in both interface languages.
- The top bar stays in view when you scroll on a desktop, as it already did on phones.
PDFs
- A document's client and filed PDFs are made right after it is issued, in the background. The first send attaches that original (מקור) at once, with no wait for the browser. Later sends make a new copy (העתק), as before.
- When no PDF is stored, Send makes it then. If that fails, the screen says the PDF could not be created and nothing was sent.
- The PDF is made when the page has loaded and its fonts are ready, not after network silence, which timed out on Cloudflare's browser.
Demo
- The demo gate emails a 6-digit code, and the demo opens when the visitor types it in. Fake emails no longer get in, and a lead reaches the CRM only after its first entry. A code works for 10 minutes and 5 tries, and one address gets at most 5 codes an hour. This browser's live session still opens straight away. Needs
MAIL_API_KEYon the demo Worker. Without it the demo opens at once, as before. - The sample set uses its fixed exchange rate for payments too, so building it never waits on the Bank of Israel.
- Database: migration 4402 adds the code's answers to
demo_codes, andemail_verified_atandentered_attodemo_leads.
Expenses
- Drive import: a sheet row that matches an expense still waiting for review (for example a receipt forwarded to the inbox) fills it with the sheet's values and files it, instead of skipping it as a duplicate. A match that is filed but has empty fields gets only those fields. A filed expense with full data, and one marked duplicate, not an expense or returned, is still skipped untouched. The result line counts these as filled in from the sheet and links each one.
- The Tax Authority sign-in buttons show a spinner while the Tax Authority's page loads, and a second click does nothing.
- Phones: a two-finger pinch zooms the content from 100% to 180%. Text wraps to the screen, so nothing scrolls sideways. The top bar and the bottom menu keep their size, the browser's own page zoom is off, and each phone remembers its level.
- The button you press shows a spinner and a soft pulse while its action runs, for example Send or Approve and send. The other buttons stay greyed out as before.
- Document page on a phone: the step number sits in the card title, the cards use the full width, and each document line is one compact row, so the Send step is closer to the top.
- Quick (the phone home page) shows the Dashboard's Overdue and open card too, between Issue a document and Recent activity. It folds, shows how many items are open, and remembers whether it was folded.
Clients
- A client can have a group, a label for sorting the client list. The Clients page filters by group (all, no group, each group with its count) next to Show inactive, and shows the group as a badge. Groups change nothing on documents. MCP
list_clientsfilters by group and returns it. - The sidebar's client list has a Group dropdown too. It filters both Active and Not active, and the sidebar and the Clients page remember the last group (and Show inactive) per browser.
Database
- Migration 4300:
clients.group. - Migration 4400:
unified_file_transmissions. - Migration 4401:
ita_file_tokens, andita_oauth_states.purpose.
1.7.1 (2026-10-21)
Tax Authority connection
- The token call asks for
invoices_scope, as SHAAM requires from 01.11.2026 (notice of 21.10.2026). Until 31.10.2026 a refresh the ITA refuses with the new scope is tried once more with the oldscope, for a login made under it. From 01.11.2026 only the new scope is sent. - A refresh that needed the old scope writes
ita.legacy_scopeto the audit log, so the install connects to ITA again before 01.11.2026. - Login broker: asks for
invoices_scope, passes an install's scope only while the ITA takes it, so an install that has not updated keeps working through the broker. The log shows the scope.
Demo mode
- The sample company has invented bank and card data, so visitors see Dashboard > Financy Dashboard and Expenses > Bank activity with every status. The buttons show, read-only, and a note says the data is invented. Nothing calls Financy, and the daily sync skips the demo. Sample set version 2.
- A new visit opens on the sample company. The read-only note is shorter and in the visitor's language. The reset Worker's cron builds the sample set, never a visitor's request.
1.7.0 (2026-10-20)
API
- A public REST API at
/v1for Financy, Make, Zapier, n8n and an accountant's software. Each call carries an API key and the Business ID. Read keys read the business, clients, documents with lines and payments, the client copy PDF, payments, expenses and suppliers. Write keys can also create clients and draft documents. Nothing finalizes, sends, credits or deletes. - Cursor paging,
updatedSince, 120 requests a minute per key,Idempotency-Keyon writes, and/v1/openapi.json. Migration4100_api_keys.sql. - Settings > MCP is now "MCP and API": the MCP section as before, then the API address, the Business ID and the keys. A key shows once.
- A Ledger set up by hand adds a Bypass Access application for the path
v1, seedocs/cloudflare-access.md.
Bank and card data (Financy)
- Settings > Expenses > Financy connection: paste the Client ID, Client Secret and User ID from Financy > Settings > API. The Ledger tests them and saves them with the secret encrypted. Then tick the business accounts. Only those are pulled, 90 days at first. Migrations
4000_financy.sqland4001_financy_accounts.sql. - Sync now, Choose accounts, Replace details, Disconnect and Delete bank data. Unticking an account deletes its stored transactions after a confirm.
- The daily cron pulls the last 35 days. Money out is matched to expenses by amount and date, deposits get a suggested payment request, and transfers between own accounts are set aside.
- Expenses > Bank activity: Add as expense, Not a business expense, and Record payment on the suggested document, filled in for the person to confirm.
- The dashboard shows a Bank card, one line per currency. New report Bank vs books. MCP tools
bank_activityandbank_balances. - Savings, loans and securities are never read. No owner name, national id or full account number is stored.
- Dashboard > Financy Dashboard, a tab built like Financy's own dashboard: liquidity, income, expenses and net against last month, cash flow, categories, the accounts, recent transactions with their status and actions, and what waits to be matched. The Bank card leaves the main Dashboard.
- Money is not counted twice: a card bill paid from checking and a transfer between your own accounts stay out of income, expenses, matching and Bank vs books. "Count this" puts a wrong mark back. Migration
4200_bank_flags.sql. - Match a bank row to an expense or a document by hand, and Unmatch. MCP
bank_summary, andbank_activityreturns each row's flow.
Expenses
- An expense the reader could not read shows "Not read automatically" with the reason and a Read again button, and a Not read badge in the list. Fields already typed stay. The daily cron reads such expenses again, up to 10 a business, 4 reads in all, for 30 days, and stops when the AI provider is busy. Migration
3900_expense_read.sql. - A busy AI provider (429, 5xx) gets a pause of 3 seconds, or its Retry-After up to 8, before the one retry. The note then names the provider, for example "Gemini is busy right now (HTTP 503)."
- MCP
list_expensesreturnsreadStatus.
People
- A business always keeps one active owner. The only owner has no Remove button and a locked role. The server answers 409
last_owner. Errors show in the row, and the table stays.
Documents
- A shekel document prints one total column. It printed "סה"כ לתשלום (₪)" twice. The shekel column and the two-column totals now show only on a USD, EUR or GBP document.
Tax Authority connection
- An install that signs in through a login broker now sends every Tax Authority call through that broker too: invoice approvals, details and decisions. The broker checks the install on each call, so pausing an install there stops it within minutes.
- With a broker set, the install ignores its own relay settings. It needs no relay token.
- Installs with their own ITA API app, with or without their own relay, work as before.
Login broker (tools/ita-auth)
- New
/ita/*route forwards an install's Tax Authority calls with the relay's path and header rules, through the relay when one is set. It never logs bodies or tokens. - Optional licence keys: with
LICENCE_URLandLICENCE_SECRETset, an install registers with a licence key, and each call checks the licence, cached for 10 minutes. Each check reports the install name and its call count since the last check. - Migration
0002_licences.sqladds the licence columns. Installs with no licence keep working. - The admin page shows each install's licence last 4, or "no licence".
MCP
- Settings > MCP shows the MCP address, makes a new token and shows it once, and turns MCP off. A token made there replaces the Worker secret
MCP_TOKEN. Owner only.
Expenses
- Forward receipts by email. Each PDF or image attachment becomes an expense waiting for review. Only senders on the list count. Settings > Expenses > Email inbox shows the address, the senders, the Gmail confirmation code and the setup steps. A Ledger on its own domain takes email through Email Routing with no gateway. The gateway is
tools/ledger-inbox.
Database
- Migration 3500:
inbox_signaturesandinbox_events, for the email inbox. - Migration 3400:
mcp_tokens, the token made in Settings > MCP, stored as its SHA-256 only.
1.6.0 (2026-10-13)
Demo mode
- Visitors enter at once. Every visitor reads the same sample businesses, and nothing is copied on entry.
- The sample data is read-only for visitors. The server refuses every change to it, and the app says "Read-only in the demo" next to the buttons it hides.
- Visitors keep private drafts: documents, clients, contracts and expense uploads. Nobody else sees them. They are deleted 30 minutes after the visitor leaves, and every night.
- Issue, Send, Record payment and Sign show previews. A preview PDF carries the number 0000 and a watermark. Nothing is numbered, sent or stored as signed.
- The reset Worker runs every 15 minutes. It sweeps ended visits, and at 03:00 Israel time it rebuilds the sample set if it changed. One build runs at a time.
- The demo shows its own product name in the sidebar and in the browser tab.
- The demo opens light and in Hebrew. The start page remembers the language picked there.
- The start page now shows on every path, deep links included.
/adminruns on the Worker.keep_varssits at the top level ofwrangler.toml, so variables set in the dashboard survive a deploy.- Demo visitors see a working Tax Authority connection on the fake.
Dashboard
- The Tax Authority card reads the real connection state, in English and Hebrew.
Database
- Migration 2900: demo session tags on the demo tables, the build lock and the sweep log.
1.5.0 (2026-10-13)
Contracts and work orders
- Contracts and work orders with Fill & Sign: versioned templates in English and Hebrew, fields filled from the client and the business, a signing link with an email code, and a signed PDF with an evidence page and a certifying signature.
- Two neutral starter templates: a Service Agreement with standing terms for the whole relationship, and a Work Order for each project. Have a lawyer review them before use.
- A first engagement sends the Service Agreement and the Work Order as one PDF, signed once. The work order's terms date fills with the signing date.
- Fields can number themselves from a starting value like
WO-{YYYY}-{NNN}. - File a contract signed on paper or elsewhere, with its PDF. It is stored write-once.
- Automatic signing reminders from the 07:00 run, set in Settings > Email > Reminders.
- The new contract screen starts on the Work Order, marks missing fields in red and shows the error next to Send. Remind asks how to send. The contract page opens with an overview.
- A pro forma made from a work order names its number in the notes.
Signing
- The signing page shows the contract as a web page with a Sign button, light, and full width on a computer. The PDF has a Sign button in each client signature box until it is signed.
- Signing codes last 15 minutes, a new code waits a minute, earlier codes keep working, and five wrong tries lock them.
- Signing dates use the date in Israel.
- Adobe Reader shows the certification as valid and the document as not modified.
Clients and reminders
- A switch per client for automatic reminders, and a Reminders list on the client page.
- Payment reminders respect the switch and are logged.
- Reminders due on WhatsApp show on the dashboard.
- Default payment methods per client, used first on a new document.
- A Back link on every page below another. The contract Record card folds.
Demo mode
DEMO_MODE=1turns a Ledger into a public demo: a gate, a private sandbox per visitor, a watermark on every PDF, a fake Tax Authority, email previews, daily caps, an admin page and a nightly reset Worker. The same rules and locks as a real Ledger. See docs/demo-mode.md.- Lead capture is optional and posts to a webhook you choose. The consent text is a setting.
1.4.0 (2026-10-13)
Business type
- עוסק פטור, עוסק מורשה or חברה בע"מ, chosen on the first-run setup screen. Settings > Tax shows the type, and a פטור business switches to מורשה from there, with the word מורשה typed to confirm.
- The switch is one way. Database triggers refuse any change back to פטור.
- The dashboard follows the type: the ceiling card for פטור, the VAT due card with its period and report date for מורשה and companies.
Several businesses in one Ledger
- One עוסק and any number of companies. Add a business from the top-bar switcher or Settings > Businesses. Each business has its own numbering, hash chain, Tax Authority login and exports.
- Brands: the name, tagline and contacts a document prints, per business.
- Roles per business: owner, assistant, accountant.
Business documents
- Settings > Business documents: upload certificates, read the name and number from them, view, download, and share with a link that expires and can be revoked. Reminders before a certificate ends.
Other
- Expense and invoice reading works with an Anthropic key or a Gemini key (AI_PROVIDER).
- Settings > Updates checks for a new release, and a monthly check posts to Slack (UPDATE_REPO).
- The business form accepts an empty email, and a refused save names the field.
- Every file is written once, so the 7-year bucket lock never blocks the Ledger.
- The ita-auth broker keeps its clients in D1, registers new installs by itself, and has an admin page.
1.3.0 (2026-10-08)
Tax Authority (allocation numbers)
- Login broker. tools/ita-auth is a Worker that keeps one ITA API app's client secret for several installs. An install with ITA_BROKER_URL, ITA_BROKER_CLIENT and ITA_BROKER_KEY signs in and renews through it, with no client id or secret of its own. Invoice calls still go straight to the ITA. Check route probes the broker too. docs/deploy.md, Option 4.
- The production token call goes to ita-api.taxes.gov.il.
- A "?" on Check route and Test renewal explains each one.
Layout
- One page scroll instead of a scroll box inside the page. A footer on every screen.
1.2.0 (2026-10-08)
Tax Authority (allocation numbers)
- Manual mode. With no ITA API app set up, the Ledger never calls the Tax Authority. An invoice that needs an allocation number waits on the ITA screen. Copy details puts the invoice details on the clipboard for the ITA web app, and the number is typed back in. A number still missing after 24 hours raises one Slack alert. docs/deploy.md, Option 3.
- Queue rows carry the client's VAT number and the total with VAT.
1.1.0 (2026-10-07)
Tax Authority (allocation numbers)
- Sandbox token and API calls moved to
ita-api.taxes.gov.il, per the SHAAM address notice. - The login lasts 90 days. No nightly renewal: Slack reminders on days 75, 85 and 89, a banner from day 80, and a reconnect on day 90. The access token renews when a call needs it.
- Check route tests the path to the Tax Authority without a login. Test renewal renews on demand. Both say which data center the call left from.
- Refused logins and renewals record the Tax Authority's reason and the data center.
- Optional relay with a fixed Israeli address, in
tools/ita-relay, for when Cloudflare serves you from outside Israel. docs/deploy.md, "Reaching the Tax Authority", starts with the Cloudflare-only route.
Documents and money
- A credit invoice's line carries the amount before VAT, so its lines add up to its subtotal. The refund keeps the full amount.
- Unified file (מבנה אחיד) passes the Tax Authority checker's structure and totals checks. A demo file with the two printouts for software registration:
npm run demo:unified-file. - A receipt takes the exchange rate of the document it pays. Imported documents keep the rate printed on them. A receipt rate typed by hand overrides both.
- Recurring documents wait on an approvals page, with a Slack notice and payment terms.
- CC and BCC on document emails, a short WhatsApp link with a preview, sortable document tables.
- Create a receipt from the dashboard's Overdue and open card.
- An owner switch turns document issuing off, for anyone who keeps issuing in their current system.
Interface
- A collapsible Income section in the sidebar that remembers its state. Quick is "פעולות מהירות" in Hebrew.
- A phone Quick page with receipt capture, issue buttons and recent activity.
1.0.0 (2026-09-29)
The first public release of MTN - Open Ledger IL: invoicing, expenses and books for an Israeli business, on your own Cloudflare account.
Documents
- Quotes, payment requests, pro formas (חשבון עסקה), receipts and credit receipts as עוסק פטור.
- Tax invoices, invoice/receipts and credit invoices as עוסק מורשה, with ITA allocation numbers (Israel Invoices API v2, sandbox and production, retry queue).
- Legal numbering: one series per type, no gaps, no reuse, final documents never change. A hash chain and database triggers enforce both.
- Signed PDFs (PAdES) with your logo and signature, English or bilingual.
- Duplicate any document. Recurring documents, weekly to yearly, held for approval or issued and emailed automatically.
- Email and WhatsApp sending with recorded digital-document consent, and payment reminders.
Money
- Bank of Israel rates, cached daily. A rate carried from a payment request to its receipt.
- Client ledgers where a demand is closed by the receipt that pays it, open items and aging.
- The פטור ceiling meter with alerts and a guided switch to עוסק מורשה.
Expenses, reports and access
- Expenses by upload or a monthly Google Drive import, read by Claude, reviewed and filed.
- Income, expenses, profit and loss, services, per-client ledgers and a monthly accountant pack.
- An accountant role with per-feature switches, an end date and an access log.
- The unified file (מבנה אחיד), PCN874 (allocation-number column), quarterly backups.
- Import of customers (CSV) and past documents (PDF), with a document type and a service each.
Running it
- One Cloudflare Worker with D1 and R2, signed in through Cloudflare Access.
- Five cron triggers, within the Workers Free plan limit.
- A phone layout: bigger text and buttons, a bottom tab bar, tables shown as cards.
- A product page in English and Hebrew, published from
/docswith GitHub Pages.