::Hello Deanne,
Hope this answer will help you
In most Business Central setups, the Tax Area Code should populate automatically on PO lines. Itās usually pulled from the Vendor Card, the Location setup, or sometimes the companyās tax configuration.
If none of those places have a default Tax Area Code defined, Business Central can struggle to populate it on the lines, which is when errors like the āheader record missingā message can appear.
The workaround you mentioned, going to Invoice Details first and manually entering the Tax Area Code before adding the lines, does work, but itās more of a temporary fix. Essentially youāre giving BC the tax information it needs before it tries to apply it to the purchase lines.
A better long-term approach is to set a default Tax Area Code on the Vendor Card so it automatically flows into the PO whenever that vendor is selected. Some organizations also configure a default at the company or location level so thereās always a fallback.
If itās still not populating correctly, itās worth asking your BC admin or implementation partner to review the tax setup to see where the default is missing.
Thank you,
Vishal Pandey