How to make an index book — meeting the search requirement with a spreadsheet
An index book is a list of your stored invoices, receipts and other electronic transaction data, one row per file. By entering the transaction date, amount and counterparty in Excel or another spreadsheet so that range searches and combined searches work, it meets the search requirement of Japan's Electronic Books Preservation Act.
Updated 2026-10-16. Based on the National Tax Agency's Electronic Books Preservation Act Q&A [Electronic transactions] (July 2026). "Q" numbers below refer to that Q&A. This page explains requirements of Japanese law.
Key points
- An index book is a list with one row for each invoice, receipt or other document you keep as data.
- The National Tax Agency explains that entering the transaction date (or another date), the amount and the counterparty in a spreadsheet such as Excel meets the search requirement, if the spreadsheet can search by range and by a combination of two or more items (Q50).
- Each row must be linked to its data file. In the National Tax Agency example, files are named with serial numbers 1, 2, and so on (Q50).
- Unlike putting the date, amount and counterparty in the file name (file naming rules), file names can be plain serial numbers, so you never have to think up a name. In exchange, you have to fill in the table. If you have many files and often filter by amount or date, an index book suits you better (the two methods are compared in the search requirement explained).
- If you enter values the wrong way, range searches stop working and the requirement is no longer met. Enter dates and amounts in a form your spreadsheet treats as dates and numbers.
- If you have the invoice and receipt PDFs, put them into Dencho Rename: it reads the date, amount and counterparty and makes an index book CSV with the same columns as the template below. Free for up to 5 files at a time.
Templates (Excel and CSV, no sign-up)
Templates with the same columns as the index CSV made by Dencho Rename, with column headings and one example row. The Excel version comes with the heading row frozen and filters already on, and it shows an error if you enter anything other than a date in "Transaction date" or anything other than a number in "Amount (tax incl.)" (to prevent the common mistakes below). It also has a sheet explaining how to use it. The CSV version is UTF-8 with a BOM, so Excel opens it as is.
If you already have the invoice and receipt PDFs, drop them into Dencho Rename. It reads the date, amount and counterparty and writes an index CSV with the same columns as this template. Up to 5 files at a time are free with no sign-up, index CSV included.
The National Tax Agency also publishes a sample index book in Excel format with five columns: serial number, date, amount, counterparty and note (reference materials, in Japanese).
Columns
| Column | What to enter | Example |
|---|---|---|
| No. | A serial number starting from 1. If files are named by serial number, use the same number | 1 |
| Transaction date | The transaction date or another date. Entered as 2024-01-31, Excel treats it as a date and can filter by range |
2024-01-31 |
| Counterparty | The counterparty name, spelled consistently | 株式会社サンプル |
| Amount (tax incl.) | Digits only. No 円 or other characters | 110000 |
| Document type | Invoice, receipt, purchase order, etc. | Invoice |
| Document number | An invoice number or similar. Leave blank if none | INV-0012 |
| Saved file name | The file name of the saved data. This column links the row to the file | 20240131_株式会社サンプル_110000.pdf |
| Original file name | The file name as received. Useful when searching by an email attachment name | invoice_final_v2.pdf |
| Note | Free text |
Only the transaction date, amount and counterparty columns relate to the search requirement. The other columns make documents easier to find later.
Amounts should normally match your bookkeeping method (tax-excluded or tax-included accounting), but the amount written on the document is also acceptable (Q57). If you enter tax-excluded amounts, rename the heading to "Amount (tax excl.)" to avoid confusion.
Steps
- Decide on a folder for electronic transaction data.
- Put the data you receive in that folder and name each file with a serial number (
1.pdf,2.pdf, …) or with the date, counterparty and amount. - Open the template and enter one row per file with the date, counterparty, amount and so on.
- Save it in Excel format (.xlsx). If you keep it as CSV, choose "CSV UTF-8" (other CSV formats may show garbled characters when opened on another computer).
- Take a measure against tampering. An index book is for searching and is not enough on its own. One option is to set internal rules and follow them (Q19, Q30).
Searching in Excel
Select the heading row and turn on Filter on the Data tab. A ▼ appears on each heading; use it to filter.
- Date range: ▼ on Transaction date → Date Filters → Between, then enter the start and end dates.
- Amount range: ▼ on Amount → Number Filters → Between, then enter the lower and upper limits.
- Combining two items: filter by Counterparty, then filter further by Transaction date or Amount. Searching by one item and then narrowing the results by another also meets the requirement (Q49).
In Google Sheets, Data → Create a filter works the same way.
Common mistakes
- Dates are entered as text. Entries such as 2024.1.31 or "Jan 31 invoice" are not treated as dates, so you cannot filter by range. Enter
2024-01-31or2024/1/31. - Amounts contain text. Entries such as 110,000円 or 11万円 are not treated as numbers, so you cannot filter by range. Enter digits only.
- Rows and files get out of sync. Renumbering after sorting, or renaming only the files, makes it impossible to tell which row belongs to which file. Once assigned, do not change serial numbers.
- Date and amount do not match for monthly documents. Either enter each transaction's date and amount, or the issue (or receipt) date and the total amount, and stick to one way (Q55).
- Only the index book is made, with no measure against tampering. That measure is required separately from the search requirement (Q18).
To check whether a cell is formatted as text, look at the number format on the Home tab. A column that was already entered as text can be converted to dates or numbers in bulk with Text to Columns on the Data tab.
Frequently asked questions
Do I have to make an index book?
No. An index book is one way to meet the search requirement. Putting the date, amount and counterparty in each file name in a fixed order also meets it, so either one is enough (Q50). With file names, range and combined searches are replaced by responding to a tax official's request to download the data. With an index book, the spreadsheet does those two searches as well. See the search requirement explained for how to choose.
Do I still need an index book if my sales are 50 million yen or less?
If your sales in the base period (two years before for individuals, two business years before for corporations) are 50 million yen or less and you can respond to a download request, the search requirement does not apply (Q48, Q51). You do not have to make an index book. The same goes when there is no base period, such as the year you start a business and the year after (Q51). You still have to keep the data itself and take a measure against tampering.
What if I do not have Excel?
The National Tax Agency's explanation says "a spreadsheet such as Excel", so it is not limited to Excel (Q50). It is enough if you can filter the dates and amounts you entered by range, and filter by two or more items together. In Google Sheets, choose Data → Create a filter, then click the filter icon on a heading and pick a condition under Filter by condition.
Should I split the index book by year?
Keep the data for one tax period (the calendar year for individuals, the business year for corporations) in one table. As a rule, searches must work across a whole tax period (Q25). If you split the table by month, you cannot filter a range that spans months in one go.
Can the rows be filled in automatically?
Dencho Rename creates the index CSV while it renames your files. You can check and correct the date, counterparty and amount it read in the table before saving. The free plan produces the index CSV for up to 5 files in the table. To put more files into one index without a limit, use the paid plan (480 yen a month or 3,980 yen a year).
Make the index book with Dencho Rename
Dencho Rename creates an index CSV with the same columns as this template while it renames your PDFs (free for up to 5 files in the table; reading photo or scan images such as PNG, JPEG and HEIC is a paid feature). The Saved file name column holds each new name, so you do not have to link rows to files by hand. Files are processed only inside your browser and never uploaded.
Photo or scanned PDFs are read inside your browser on the paid plan and filled into the rows too (handwriting is not supported; values read this way are flagged "check"). Renaming alone is free.
No PDFs at hand? Use "Try with sample PDFs" in the tool to see three fictional invoices and receipts turn into an index CSV.
Sources
- National Tax Agency, Electronic Books Preservation Act Q&A [Electronic transactions] (July 2026, in Japanese)
- National Tax Agency, leaflet "Check how to keep electronic transaction data" (July 2023, in Japanese)
- National Tax Agency, reference materials (sample rules and forms, in Japanese) (sample index book and sample internal rules)