We have customers, or rather their accountants, who refuse our invoice, it has to be a receipt. And an equal number of accountans who refuse a receipt, they want an invoice. So we have a hardcoded list of countries and customer ids when to use 'invoice' or 'receipt' as headline on essentially the same monthly document. Luckily our invoice templates (
https://www.quaderno.io/) allow if/else logic and variables.