Rename invoices and receipts for Japan’s Electronic Books Preservation Act
Since January 2024, invoices, receipts, quotations, delivery notes and purchase orders that a business in Japan sends or receives electronically must be kept as data, as a rule searchable by transaction date, amount and counterparty (some businesses are exempt from the search requirement: see the questions below). Without special software, the National Tax Agency accepts an index ledger (索引簿) in a spreadsheet, or consistent file names that carry those three values, provided you are also ready to hand the data over when a tax officer asks to download it. This page prepares both from the documents themselves, on your own device.
- Runs entirely in your browser
- Works offline
- No upload
- No sign-up
- No watermark
Loading the tool…
How it works
- Drop the PDFs and images. PDFs that contain text are read directly; scans and photos are read by OCR, whose engine (58 MB) is downloaded once, the first time it is needed.
- Check each document against its preview. Date, total, counterparty, kind and registration number are all editable, and the ones the tool is unsure about are marked. Change the file name pattern if the default does not suit you.
- Confirm that you have checked them and download the ZIP: the files renamed, byte for byte the same as the originals, plus the index ledger as an Excel file (and as CSV if you want).
Why nothing is uploaded
Every operation on this page is done by code running inside your browser tab, using the same engine that renders web pages. The file is read from disk into your tab’s memory, transformed there, and written back out as a download. It is never sent anywhere — not to us, not to a third party.
Verify it yourself
- Open your browser’s developer tools (F12) and select the Network tab.
- Load your file and run the tool.
- The only requests you will see fetch the tool’s own code — and, for a few heavy tools, their open-source engine (also from this site) or an AI model from Hugging Face — plus one small page-view ping to loreatec.jp (page address and title, nothing more). None of them carry your file.
Frequently asked questions
Are my invoices uploaded anywhere?
No. The files are opened, read and packed into the ZIP inside this browser tab. The only download is the OCR engine, from this site, the first time a scan or a photo needs it; after that it is kept in your browser and the page works offline. Nothing is sent to the National Tax Agency or anyone else either: the registration number is checked by arithmetic, not by a lookup.
Does this make my records comply with the Electronic Books Preservation Act?
It covers one requirement: being able to search the saved data by transaction date, amount and counterparty. The National Tax Agency’s Q&A describes two ways to meet it without dedicated software, and this tool produces both: an index ledger in a spreadsheet, or file names that carry those three values in a consistent order, the latter on condition that you are ready to hand the data over when a tax officer asks to download it. The rest stays with you: taking one of the measures against alteration and deletion (the one that needs no special system is a set of written internal rules, for which the Agency publishes samples), keeping the data for the legal retention period, being able to display and print it, and handing it over when a tax audit asks for it. The search function itself is not required if your sales in the base period (normally two years earlier) were 50 million yen or less, or if you can present printouts of the data arranged by transaction date and counterparty, in both cases as long as you can hand the data over when a tax officer asks to download it. This applies to transactions from 1 January 2024; for transactions up to 31 December 2023, the only exemption was sales of 10 million yen or less. This page is not tax or legal advice; ask your tax accountant or the tax office about your own case.
How reliable is the reading?
A PDF made by accounting or invoicing software carries its text inside, and the tool reads that text as it is, which is not always what the page shows: the text of a PDF can include text that is not visible on the page (white or hidden text, for instance), and a value can come from a page other than the first. Text placed outside the page is ignored; a value found on another page is marked with its page number, and when the document holds different dates, totals or issuer names, the field is marked and the other values are offered. Scans and photos go through OCR, which misreads characters now and then: an 8 for a 3, a missing digit, a wrong name. Which amount is the total, which date is the transaction date and which company is the issuer are worked out from the labels on the page, and an unusual layout can mislead that. This is why every document is shown with its preview, the doubtful fields are marked, and the download stays locked until you confirm that you have compared them. A field without a mark can still be wrong: compare every value with the document.
What is in the index ledger?
One row per document: running number, date, amount, counterparty, kind of document, file name, remarks and registration number. The National Tax Agency’s sample ledger has five columns (running number, date, amount, counterparty, remarks), with the date written as a number such as 20261031. This ledger keeps those five in the same form and adds the kind of document, the file name and the registration number. Date and amount are stored as numbers and the header row has filters, so you can search by range in Excel. The headings can be in Japanese or English.
How is the invoice registration number checked?
The format is checked: T followed by 13 digits. For a corporation those 13 digits are its corporate number, whose first digit is a check digit, so the tool recalculates it and tells you whether it matches. A sole proprietor’s number is not a corporate number and cannot be checked this way, so a mismatch means either a sole proprietor or a misread digit. What is not checked: whether the number is really registered, or was on the date of the invoice. That needs the Agency’s public register, and this page sends nothing out.
Can I use it for photos of paper receipts?
You can name and index them, but the law treats them differently. The obligation to keep the data applies to documents exchanged electronically: a PDF by e-mail, a download from a website and so on. A receipt handed to you on paper is a paper document. Keeping a photo instead of the paper is a separate scheme, scanner preservation (スキャナ保存), with its own rules on resolution, timing and more, which this tool does not take care of. Unless you follow those rules, keep the paper.
Which date and which amount should I enter?
The National Tax Agency’s Q&A says the amount should follow your bookkeeping (tax-inclusive or tax-exclusive), and that using the amount written on the document is also acceptable. The tool proposes the total it finds on the document, usually the tax-inclusive one. For a document that states no amount, the Agency accepts a blank or 0. Whatever rule you choose for dates and amounts, apply the same one to every document.