Yes, all parts numbered MUST match the body (action) as that is the master component - all parts must be FITTED to suit that body.
Any mismatch will result in (as a minimum) poor or inconsistent loading, inaccurate to (at worst) being dangerous to use.
If an Armourer fitted replacement / new parts to a rifle they would be altered to fit the body and then numbered to match so they should never be separated.
Particularly in the US, when they were imported the bolts and rifles were separated and whe sold, young Joey (on his saturday job) was told "take one of those rifles out of that box, one of those bolts out of that box and slide it in, then wrap it up for despatch"
Only knowledegable dealers knew the importance of 'matching numbers'.
Once a rifle was out in the wilds of civilian life and as it only cost $12, it was cut up and sporterised and used as a truck gun, when old man Jethro dies his family just disposed of it not knowing where the extra parts (bolt and magazine) were.
It was bought by an Enfield enthusiast who decided to rebuild it back to its former military glory and sourced parts from all over and 'stuck it back together'.
Its a bit like the car Johhny Cash built "one piece at a time"
Names, characters, places and incidents are products of the author's imagination or are used fictitiously. Any resemblance to actual events or locales or persons, living or dead, is entirely coincidental