Docs menuexpand_more
travel_exploreTry in the API Viewer

Guides

Reference

Other pages

Endpoints

search
appsAll APIs
functionHow metrics are calculated

Cookbook · Applied · In-depth 5

Compare audit fees of Japanese companies: audit, non-audit and network fees from the annual report via API

Pull the audit fee tables of Japanese annual reports by API and line up audit, non-audit and network fees for five auto parts makers in JavaScript. Covers the non-audit ratio, the difference between empty cells and 0, year-on-year changes, and extracting the audit firm name and audit tenure from the audit section text.
For investorsFor companies12 min read
open_in_newIllustrated series on Qiita (Japanese)The same topic is also published as an illustrated series on Qiita.

Endpoints used

In the previous part of this deep-dive series, we lined up major customers of competing companies and their share of revenue. This time we look at what companies pay their auditors. The audit section of the Japanese annual securities report (yuho) has a table of fees paid to the audit firm and a separate table of fees paid to firms in the same network (overseas member firms and so on), for the current and prior year. ZENITH Code returns both tables from /stable/audit-fees, one call per company, and the text with the audit firm's name and so on from /stable/text-blocks.

This guide builds five things in Node.js:

  • A table of audit-service fees paid to the audit firm (reporting company, consolidated subsidiaries and total)
  • Non-audit fees and the non-audit ratio (your own calculation and the API's value)
  • A table of fees paid to the same network
  • A table of changes from the prior year (no change is computed for empty cells)
  • The audit firm name, audit tenure and network name extracted from the audit section text

The examples are the same five auto parts makers as in part 4: Denso (6902), Aisin (7259), Toyota Boshoku (3116), Musashi Seimitsu Industry (7220) and F.C.C. (7296), using annual reports for the fiscal year ended March 2026. Every figure is from API responses retrieved at 14:48 Japan time on November 10, 2026.

The audit section text comes back in Japanese, as filed. The guide adds English glosses where it helps.

What the audit fee disclosure contains

The corporate governance part of the annual report has an "audit" section (監査の状況), and its "details of audit fees" (監査報酬の内容等) has two fee tables. One is fees paid to the audit firm itself; the other is fees paid to organizations in the same network as the audit firm. Both are split into audit-service and non-audit-service fees, with rows for the reporting company, consolidated subsidiaries and the total.

Where in the response Contents
fiscalPeriod, docId Fiscal period and the document ID of the annual report read
fees[].period current or prior
fees[].audit Audit-service fees paid to the audit firm
fees[].nonAudit Non-audit fees paid to the audit firm
fees[].networkAudit Audit-service fees paid to the same network
fees[].networkNonAudit Non-audit fees paid to the same network
Inside the four above reportingCompany, consolidatedSubsidiaries, other and total
fees[].nonAuditRatio Non-audit ÷ (audit + non-audit), a 0–1 decimal

Amounts are in yen. Filings in thousand yen and in million yen are both converted to yen. A dash or "not applicable" (該当事項はありません) in the original is null; a "0" in the original is 0. audit-fees costs 1 token per call and text-blocks 10 tokens per call, and both are available on the Free plan (as of November 10, 2026). Five companies take 10 calls and 55 tokens.

Step 1: fetch the API, one company at a time

Create an API key after signing up and put it in the ZENITH_API_KEY environment variable so it never sits in your code. Node.js 18 and later ship fetch, so no packages are needed. Save the file as audit-fees.mjs.

// audit-fees.mjs — line up audit fees and the audit section of competing companies (Node.js 18+)
const BASE_URL = "https://api.zenithcode.net/stable";
const API_KEY = process.env.ZENITH_API_KEY;
if (!API_KEY) throw new Error("Set your API key in the ZENITH_API_KEY environment variable");
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));

async function get(path, params) {
  const url = `${BASE_URL}${path}?${new URLSearchParams(params)}`;
  const res = await fetch(url, { headers: { "x-api-key": API_KEY, Accept: "application/json" } });
  if (res.status === 404) return { notFound: await res.json().catch(() => ({})) }; // nothing to show; the body may carry a reason
  if (!res.ok) throw new Error(`${path} ${res.status}`);
  return res.json();
}

// One company. Fetch the fee tables and the plain text of the audit section of the same annual report
async function fetchCompany(symbol) {
  const af = await get("/audit-fees", { symbol }); // an array with one annual report
  if (af.notFound) return { symbol, report: null, notFound: af.notFound, text: null };
  const report = af[0];
  await sleep(1000);
  const tb = await get("/text-blocks", { symbol, tag: "audits", fiscalPeriod: report.fiscalPeriod }); // an array with one section
  return { symbol, report, notFound: null, text: tb.notFound ? null : tb[0]?.content ?? null };
}

Treat a 404 not as an error but as "the fee tables could not be read". Without fiscalPeriod, audit-fees returns the latest annual report. Pass the same fiscal period to text-blocks so the text comes from the same report as the tables. tag: "audits" is the audit section.

Step 2: line up audit-service fees

Settle on one amount for each kind of fee. Use the total if there is one, otherwise add up the parts. If every cell is empty, keep null instead of turning it into 0.

// The amount for one kind of fee (audit and so on): the total if given, else the sum of the parts. null if all are empty (never 0)
function feeAmount(part) {
  if (!part) return null;
  if (Number.isFinite(part.total)) return part.total;
  const known = [part.reportingCompany, part.consolidatedSubsidiaries, part.other].filter(Number.isFinite);
  return known.length ? known.reduce((s, v) => s + v, 0) : null;
}

Audit-service fees paid to the audit firm by the five companies (million yen, prior → current):

Company Reporting company Consolidated subsidiaries Total
Denso 186 → 182 163 → 155 349 → 337
Aisin 161 → 173 181 → 166 343 → 340
Toyota Boshoku 125 → 150 22 → 26 147 → 177
Musashi Seimitsu 95 → 97 — 95 → 97
F.C.C. 55 → 58 — 55 → 58

For Musashi Seimitsu and F.C.C., the consolidated subsidiaries row in the original is a dash. The audit firm's table gives no audit-service fee for subsidiaries. For Musashi Seimitsu, as Step 4 shows, the subsidiaries' audit-service fees appear in the network table.

For Aisin's current year, reporting company plus subsidiaries is 339 million yen while the total is 340 million yen. Toyota Boshoku's current year is likewise 176 and 177 million yen. In both cases the "total" row of the original table shows that figure, and the API returns it as filed.

Step 3: non-audit fees and their ratio

Next come fees for work other than the audit, paid to the same audit firm. Put one year in one row and compute the non-audit ratio yourself too.

// One year, split into the auditor and its network
function feeRow(fee) {
  const audit = feeAmount(fee.audit);
  const nonAudit = feeAmount(fee.nonAudit);
  return {
    period: fee.period,
    auditReporting: fee.audit?.reportingCompany ?? null,
    auditSubsidiaries: fee.audit?.consolidatedSubsidiaries ?? null,
    audit, nonAudit,
    // non-audit ÷ (audit + non-audit). When the non-audit cell is empty, keep null rather than assuming 0
    myRatio: audit !== null && nonAudit !== null && audit + nonAudit > 0 ? nonAudit / (audit + nonAudit) : null,
    apiRatio: fee.nonAuditRatio ?? null,
    networkAudit: feeAmount(fee.networkAudit),
    networkNonAudit: feeAmount(fee.networkNonAudit),
  };
}
Company Non-audit (million yen, prior → current) Non-audit ratio (prior → current) API nonAuditRatio (prior → current)
Denso 59 → 31 14.5% → 8.4% 0.144608 → 0.084239
Aisin 2 → 0 0.6% → 0.0% 0.005797 → 0
Toyota Boshoku — → — — → — null → null
Musashi Seimitsu — → — — → — null → null
F.C.C. — → — — → — null → null
  • For Denso and Aisin, your own ratio matches the API's. Denso's current year is 31 ÷ (337 + 31) = 8.4%.
  • For Aisin's current year, the original says "0" and the API returns 0.
  • For the other three, the non-audit cell in the original is a dash. The API returns null for both the non-audit fee and nonAuditRatio, and this code computes no ratio either.

The non-audit ratio uses only the audit firm's table. Non-audit fees paid to the network are not included.

Step 4: line up fees to the same network

Fees paid to organizations in the audit firm's network are in a separate table. networkAudit and networkNonAudit in feeRow come from it.

Company Audit services (million yen, prior → current) Non-audit (million yen, prior → current)
Denso 1,241 → 1,267 916 → 940
Aisin 895 → 987 278 → 114
Toyota Boshoku 505 → 500 102 → 108
Musashi Seimitsu 177 → 195 89 → 68
F.C.C. — —
  • For all four, the reporting company cell for network audit-service fees is a dash, and the amount is in the consolidated subsidiaries row.
  • That amount (current year) is larger than the total audit-service fee paid to the audit firm in Step 2 (Denso 1,267 vs 337, Aisin 987 vs 340, Toyota Boshoku 500 vs 177, Musashi Seimitsu 195 vs 97, all in million yen).
  • For F.C.C., the network table in the original says "not applicable", and the API returns null throughout.

The audit firm's table alone shows only part of what a group pays for its audit. When comparing, decide whether to include the network table and apply it to every company.

Step 5: line up changes from the prior year

Subtract the prior year from the current year. If either year is empty, leave the change empty too. Subtracting an empty cell as 0 would make an unreported amount look like an increase or a decrease.

// Current minus prior. Empty if either year is empty
function feeChanges(report) {
  const cur = feeRow(report.fees.find((f) => f.period === "current") ?? {});
  const pri = feeRow(report.fees.find((f) => f.period === "prior") ?? {});
  const diff = (k) => (cur[k] !== null && pri[k] !== null ? cur[k] - pri[k] : null);
  return { audit: diff("audit"), nonAudit: diff("nonAudit"), networkAudit: diff("networkAudit"), networkNonAudit: diff("networkNonAudit") };
}
Company Audit services Non-audit Network, audit services Network, non-audit
Denso −12 −28 +26 +24
Aisin −3 −2 +92 −164
Toyota Boshoku +30 — −5 +6
Musashi Seimitsu +2 — +18 −21
F.C.C. +3 — — —

Figures are in million yen. The two tables do not always move in the same direction. Denso's audit-service fee to the audit firm fell by 12 million yen, while its audit-service fee to the network rose by 26 million yen. The fee tables give no reason for the changes, so read them as differences.

Step 6: extract the audit firm and tenure from the audit section

The audit firm's name and audit tenure are written in the audit section text, not in the fee tables. Take the line after the headings 監査法人の名称 ("name of the audit firm") and 継続監査期間 ("continuous audit period"). The network name comes from the heading of the second table.

// Return what follows a heading line (the next line when nothing follows on the same line)
function afterHeading(text, re) {
  const lines = text.split("\n").map((l) => l.trim());
  const i = lines.findIndex((l) => re.test(l));
  if (i < 0) return null;
  const rest = lines[i].split(re)[1]?.replace(/^[\s ::))]+/, "") ?? "";
  if (rest) return rest;
  return lines.slice(i + 1).find((l) => l) ?? null;
}

// From the audit section: auditor name, audit tenure, network name and the sentences on non-audit services
function auditFacts(text) {
  if (!text) return null;
  // Two ways of writing it: 同一のネットワーク(name)に… and 同一のネットワークに属する name に対する報酬
  const m = text.match(/同一のネットワーク(?:(([^()\n]+))|に属する([^()\n]+?)(?:に対する|への)報酬)/);
  const network = m ? (m[1] ?? m[2]).trim() : null;
  return {
    firm: afterHeading(text, /監査法人の名称/), // "name of the audit firm"
    tenure: afterHeading(text, /継続監査期間/), // "continuous audit period"
    network: network === "組織" ? null : network, // 組織 ("organizations") is not a name
    nonAuditNotes: [...new Set([...text.matchAll(/[^。\n]*非監査業務の内容[^。]*。/g)].map((m) => m[0].trim()))],
  };
}
Company Audit firm Audit tenure (as filed) Same network (heading of the original table)
Denso 有限責任監査法人トーマツ (Deloitte Touche Tohmatsu LLC) 58年 (58 years) デロイトトウシュトーマツ及びそのメンバーファーム (Deloitte Touche Tohmatsu and its member firms)
Aisin PwC Japan有限責任監査法人 (PwC Japan LLC) 1969年以降 (since 1969) プライスウォーターハウスクーパース (PricewaterhouseCoopers, in katakana)
Toyota Boshoku PwC Japan有限責任監査法人 (PwC Japan LLC) 1969年以降 (since 1969) PricewaterhouseCoopers
Musashi Seimitsu 有限責任 あずさ監査法人 (KPMG AZSA LLC) 3年間(2023年以降) (3 years, since 2023) KPMGメンバーファーム (KPMG member firms)
F.C.C. 保森監査法人 (an audit corporation) 38年間 (38 years) (no name in the heading; the table says "not applicable")

Audit tenure is written differently by each company: "58 years", "since 1969", "3 years (since 2023)". Aisin and Toyota Boshoku count the years with the audit firm's predecessors and note that years before 1968 could not be checked. To compare tenure, read the text after the heading in the original.

nonAuditNotes holds the sentences describing non-audit services. Denso writes "comfort letter preparation and so on" (コンフォート・レター作成業務等) under the audit firm's table and "mainly tax-related services" (主として税務関連業務) under the network table.

Step 7: print and line them up

Finally, call the functions so far and print the results.

const mil = (v) => (v === null || v === undefined ? "—" : Math.round(v / 1e6).toLocaleString("en-US")); // million yen
const pct = (v) => (v === null || v === undefined ? "—" : `${(v * 100).toFixed(1)}%`);
const signed = (v) => (v === null ? "—" : `${v > 0 ? "+" : ""}${mil(v)}`);

// Object.keys sorts numeric-looking keys, so keep the order in an array
const symbols = process.argv.length > 2 ? process.argv.slice(2) : ["6902", "7259", "3116", "7220", "7296"];
const companies = [];
for (const s of symbols) { companies.push(await fetchCompany(s)); await sleep(1000); }
const found = companies.filter((c) => c.report);

console.log("## Filings");
for (const c of companies) {
  if (!c.report) { console.log(c.symbol, "404", c.notFound.reason ?? "", c.notFound.reasonDetail ?? ""); continue; }
  console.log(c.symbol, c.report.fiscalPeriod, c.report.docId, c.text ? "audit section found" : "no audit section");
}

console.log("\n## Fees to the auditor (JPY m): year reporting subsidiaries total / non-audit / ratio (own, API)");
for (const c of found) for (const f of c.report.fees) {
  const r = feeRow(f);
  console.log(c.symbol, r.period, mil(r.auditReporting), mil(r.auditSubsidiaries), mil(r.audit), "/", mil(r.nonAudit), "/", pct(r.myRatio), r.apiRatio);
}

console.log("\n## Fees to the same network (JPY m): year audit non-audit");
for (const c of found) for (const f of c.report.fees) {
  const r = feeRow(f);
  console.log(c.symbol, r.period, mil(r.networkAudit), mil(r.networkNonAudit));
}

console.log("\n## Change from the prior year (JPY m): audit non-audit network-audit network-non-audit");
for (const c of found) {
  const d = feeChanges(c.report);
  console.log(c.symbol, signed(d.audit), signed(d.nonAudit), signed(d.networkAudit), signed(d.networkNonAudit));
}

console.log("\n## Audit section");
for (const c of found) {
  const a = auditFacts(c.text);
  if (!a) { console.log(c.symbol, "(no text)"); continue; }
  console.log(c.symbol, a.firm ?? "(not found)", "|", a.tenure ?? "(not found)", "|", a.network ?? "(network name not found)");
  for (const s of a.nonAuditNotes) console.log("   ", s);
}

Run ZENITH_API_KEY=... node audit-fees.mjs for the five companies, or pass securities codes such as node audit-fees.mjs 7203 7751 to run it for others. Each company takes 2 calls (only 1 when audit-fees returns 404).

The Denso and Aisin lines from the output:

## Fees to the auditor (JPY m): year reporting subsidiaries total / non-audit / ratio (own, API)
6902 current 182 155 337 / 31 / 8.4% 0.084239
6902 prior 186 163 349 / 59 / 14.5% 0.144608
7259 current 173 166 340 / 0 / 0.0% 0
7259 prior 161 181 343 / 2 / 0.6% 0.005797

## Fees to the same network (JPY m): year audit non-audit
6902 current 1,267 940
6902 prior 1,241 916
7259 current 987 114
7259 prior 895 278

Results

Current-year fees (fiscal year ended March 2026) of the five companies. Amounts are in million yen; "—" means the original reports no amount.

Company Audit firm Audit services Non-audit Non-audit ratio Network, audit services Network, non-audit
Denso 有限責任監査法人トーマツ (Deloitte Touche Tohmatsu LLC) 337 31 8.4% 1,267 940
Aisin PwC Japan有限責任監査法人 (PwC Japan LLC) 340 0 0.0% 987 114
Toyota Boshoku PwC Japan有限責任監査法人 (PwC Japan LLC) 177 — — 500 108
Musashi Seimitsu 有限責任 あずさ監査法人 (KPMG AZSA LLC) 97 — — 195 68
F.C.C. 保森監査法人 (an audit corporation) 58 — — — —

Group size and the number of consolidated subsidiaries differ, so the amounts cannot be compared across companies as they are. The table shows, within one company, whether more is paid to the audit firm or to its network, and how that changed from the prior year.

Before you trust the numbers

Audit fee figures have points that make comparisons go wrong if you do not know the definitions.

The scope of the two tables

  • The audit firm's table and the network table are separate. When an organization in the same network audits consolidated subsidiaries, those fees go in the network table (four of the five examples). Do not compare the audit firm's table alone.
  • The non-audit ratio covers the audit firm's table only. Neither nonAuditRatio nor the calculation in Step 3 includes non-audit fees paid to the network.
  • Network names are written by each company. The same network can appear as デロイトトウシュトーマツ及びそのメンバーファーム, プライスウォーターハウスクーパース or PricewaterhouseCoopers; the spelling does not line up.

Empty cells and 0

  • Empty (null) and 0 are different values. A dash or "not applicable" in the original is null; a "0" is 0 (Aisin's current non-audit fee is 0, Toyota Boshoku's is null).
  • Do not add or subtract null as 0. Subtracting an empty prior-year cell as 0 makes an unreported amount look like an increase. The code in Step 5 gives no change when either year is empty.
  • Some years have a null non-audit ratio. When the non-audit cell is a dash, the API's nonAuditRatio is null as well. Read it as "no non-audit services" only after checking that the original cell is a dash.

Totals and parts

  • The parts and the total can differ by 1 million yen. Aisin's current year is 173 + 166 = 339, while the total is 340. The "total" row of the original table shows that figure. Use total rather than adding the parts yourself.
  • When the total is empty, the code in Step 2 adds the parts. If every part is empty too, it stays null.

Tenure and periods

  • Audit tenure is written in different ways. Some give years, some a starting year, some both, as in "58 years", "since 1969", "3 years (since 2023)". Whether predecessor firms are included also differs by company.
  • "Current year" is each company's own fiscal year. If you line up a December year-end company with a March year-end company, the current years do not cover the same months. Show fiscalPeriod in your table to check.

Asking an AI assistant for a summary

If you give an assistant only the fee tables, it tends to judge fees as "high" or "low" from the numbers alone. Give it only the source document IDs and the original audit section text, and ask it to write out only what is stated.

The text below is the original wording of the audit section (監査の状況) in Japanese annual securities reports. Each company's document ID is the source (Denso S100Y9T1, Aisin S100YAWO, Toyota Boshoku S100Y9AH, Musashi Seimitsu S100YGX6, F.C.C. S100YFKQ).

- For each company, tabulate the audit firm name, the audit tenure (as written in the original), the non-audit services in the audit firm's table, and the name of the same network with its non-audit services.
- Quote the description of non-audit services briefly, in the original wording.
- Do not copy the fee amounts (they will be checked in a separate table).
- Write "not stated in the original" for anything not written, and do not guess.
- Do not comment on whether an audit firm or a fee is good or bad, or on the reasons for changes.

(paste each company's original audit section here)

Pass the amounts and ratios printed by the code in Step 7 separately. Keeping additions and divisions out of the assistant's hands makes the figures easier to check.

Troubleshooting

Symptom Where to look
audit-fees returns 404 It does not always mean "no fees". Securities that do not file an ordinary annual report, such as REITs, funds and ETFs, and companies without an annual report yet (newly listed and so on) return 404. Check the audit section in the original
No non-audit ratio The non-audit cell in the original is a dash for that year. The API's nonAuditRatio is null too. Check the original rather than assuming 0
The parts and the total differ by 1 million yen The "total" row of the original table shows that figure. Use total
Subsidiaries' audit-service fee is "—" but the network table has an amount Fees the subsidiaries paid to an organization in the same network (Musashi Seimitsu). Do not compare the audit firm's table alone
All network columns are "—" The network table in the original says "not applicable", or the cells are dashes. This is kept apart from 0 (a "0" in the original)
The audit firm name is "not found" The company writes the name inside a sentence instead of under the heading 監査法人の名称. Read the original in text
The network name is "not found" The company gives no name in the table heading (同一のネットワークに対する報酬). Read the notes under the table or the original
A change from the prior year is "—" One of the two years is empty. Do not subtract empty cells as 0
Lining up companies with different year-ends "Current" is each company's own fiscal year. Check fiscalPeriod

Related links

A Japanese series with screenshots is on Qiita.

Before you read the numbers

Points about the endpoints in this article that are easy to misread as wrong data.

  • By designtag=risks in text-blocks matches only the business-risks tag used by operating companies

    tag=risks in text-blocks matches only the business-risks tag (BusinessRisksTextBlock). Annual reports of REITs and funds put risks under a different tag (jpsps_cor:InvestmentRisksTextBlock), so risks returns 404 for them. Some companies do not wrap their business risks in a tag at all, and only the going-concern paragraph sits under a different tag (MaterialMattersRelatingToGoingConcern…BusinessRisksTextBlock) (2338, 3260 and 7169). Both are as filed. Use tag=investment-risks for the investment risks of REITs and funds, and tag=going-concern-risks for material events related to the going-concern assumption (for 3260 and 7169 it contains the whole business-risks section; for 2338, only the going-concern paragraph). When tag=risks returns 404, suggestedTags in the response lists alias candidates. For other tags, call without tag to get the table of contents and pass the full tag name shown there.

    Endpoints:/text-blocks

  • Easy to misreadDo not count timeouts or 503s as data errors

    When you fetch every company, some requests time out, drop the connection or get 503 (origin_busy, with Retry-After) during temporary congestion. Counting those as empty values reports correct companies as errors. Remove failed responses and fetch them again before drawing conclusions.

    Endpoints:/dividend-policy/dividend-streaks/text-blocks/financial-facts/key-metrics-bulk/dividends-bulk/eod-bulk

  • FixedAn "[画像]" marker now shows where text is an image

    Where a company pasted text or tables into its annual report as images (in the latest risk sections: 8869, 4543, 1860 and 1959), the text inside the images is not returned. Before, the images were silently dropped and the section looked short; since version 81, content=text inserts "[画像]" (image) where each image was. Describe it as "not captured because it is an image", not as "no disclosure".

    Fixed in: version 81 (2026-11-03)Endpoints:/text-blocks

  • FixedAnnual-report table parsing was fixed from Oct 31 to Nov 3

    Directors, director compensation, facilities, subsidiaries, diversity, audit fees, cross-shareholdings, treasury shares and the SG&A breakdown had parsing errors ("total" rows counted as officers, two tables merged into one list, duplicated facility rows, null subsidiary categories and currencies, "of which" compensation counted twice, empty SG&A breakdowns and more). These were fixed step by step in versions 16–72. Responses saved before 2026-11-03 may show doubled counts or sums, or empty fields, so fetch again before using them.

    Fixed in: versions 16 to 72 (2026-10-31 to 2026-11-03)Endpoints:/directors/director-compensation/facilities/subsidiaries/diversity/audit-fees/cross-shareholdings/treasury-shares/sga-breakdown

visibility_off
The screens and numbers in these articles leave out stock prices and metrics calculated from them. Before showing live data on your own screens, check what you may display. What you can display
gavel

Disclaimer

This page explains how to use a Japanese equity data API and how its data is defined. It is not a solicitation to invest or a recommendation to buy or sell any security. The content reflects information at the time of writing and is not guaranteed to be accurate or complete. Investment decisions are your own responsibility.

What you may show or provide to third parties depends on your plan and Article 8 of the Terms. Exchange data such as stock prices may not be shown to third parties on any plan. Edited or processed information from which the original stock prices or similar market data can be readily reconstructed is treated as exchange data and may not be displayed or redistributed to third parties. No plan or separate agreement with us overrides this restriction. Terms, Article 8 · Data sources and terms of use