ERPNext.com Frappe Cloud Support Partners Foundation Frappe School

Tax template not populating on inter company invoice

I am able to generate an inter company purchase invoice from a sales invoice. However, whilst the correct tax template gets selected, the taxes table does not get populated automatically.

I am able to get the taxes table to populate if I manually reselect the tax template. The taxes table also gets automatically populated when I make a new purchase invoice manually instead of using the inter company functionality.

Has anyone experienced the same issue or have any idea if this is a bug or a settings issue?

My Installed Apps are as follows:

ERPNext: v12.24.0 (version-12)
Frappe Framework: v12.21.1 (version-12)

Thanks in advance for any insight.