If you name each account and category with @ and ¥, you can export subCategory and taxCategory in CSV.
If you name an account as [Cash@PettyCash@ExcludedTax], account name is Cash, SubAccount name is PettyCash, and taxCategory is ExcludedTax.
Please enable "Export
SubCategory & TaxCategory" in the Export Settings to make it work.