For foreign companies, the competent tax office is the location of the main permanent establishment in Japan.
The National Tax Agency , an external organ of the Ministry of Finance, is in charge of the assessment and collection of internal taxes. It supervises 12 Regional Taxation Bureaus throughout Japan, under which 524 local tax offices are set up to execute tax administration. (NTA)