Hi,
My goal is to be able to automatically create invoices for my clients in English or German (if their country is set to Germany, I want to use a custom template in German, if they are from another country, I want to use a template in English).
Since I use the API endpoint (/api/v1/invoices) for creating invoices, I’m wondering what is the best way to realize this programmatically, as the endpoint does not have a property for template_id.
Also, the endpoint for creating a client does not allow to set a specific template_id.
I found the option to set an invoice template for a client in the app (using self-hosted docker version) - however, when I set a different template for clients and pre-viewed their pdf invoices, they all still used the same general template, that I’ve set in the general invoice design settings.
Any ideas how to solve this issue?