Thank you for your comprehensive breakdown, very interesting read. I love your use case, sounds fun!
I might just be out of my depth with Dolibarr and will have to find something more consumer facing; I am not a programmer - so much of the language you used isn’t easy to understand to me, though I did pick up on your workflow.
The two things I’ve tried since are,
Option 1. Add a line to the ‘Free text on invoices’ text box found within the ‘Invoices module setup’ page. This isn’t suitable as it adds text to the invoice footer which isn’t proper; this area is commonly reserved for company information and there is a good chance it is missed. It’s out of context with the rest of the document too, information regarding payment should be together.
Option 2. Add a complementary attribute asking for the customer to use the invoice ID as reference. Now, this does work in a way, however, it adds a box above the item area, which is again, out of context with the rest of the invoice. It should come after the item area and near the payment section.
So, there are two workarounds, though I would consider both improper. If I could add a line to the payment area regarding referencing the invoice number, that would be a good solution, but I’ve clicked just about every option and can’t find the means to do so.
I’m honestly baffled this software has existed for over 20 years and something like this hasn’t been accounted for, I don’t get it. It’s like going to a restaurant and them not having knives to cut your food with, only forks and spoons, I mean yes, I can cut the steak with the fork, or I guess could find some way to modify the spoon to behave more like a knife, but… really? (My rant over haha).
I’ve looked on the DoliStore marketplace, but there are no templates that address this available to buy, all of the templates that are on the DoliStore do not work for the latest version of Dolibarr anyway.
For future reference if any developer decides to pick this up, you can find below two ways of referencing a payment reference ID on an invoice below, using Tesla for both examples: