Customer's VAT No & Company VAT No in Sales invoice

I have created custom fields VAT Tin No in Customer & Company VAT No in company masters. I have also created custom fields with same name in Sales Invoice. I understand that if the fields names are same then those fields should populate in Sales Invoice from respective masters (I.e. Customer & Company). But, It’s not happening.

Can someone correct me if I am wrong in above. OR suggest how to resolve this issue.

check this out. https://kb.frappe.io/kb/customization/fetch-custom-field-value-from-master-to-all-related-transactions

I faced similar situation before:
How Supplier VAT Number can be reflected in every supplier related document?

1 Like