Different invoice layouts based on customer type


Hi all,

I use different sales invoice templates for different customers, however at the minute this is a manual process.

Is there any way to link a template to a customer so it would default to the right invoice layout?  Ideally I would se a field in the customer record to flag the type of customer they are. 

Kind regards,