If you use Advanced PDF templates you can automati...
# general
a
If you use Advanced PDF templates you can automatically calculate that using the Advanced PDF template Freemarker/BFO language. https://freemarker.apache.org/docs/index.html
d
would add to this that unless it's really simple logic, it's best practice to do the logic outside of the template (like as a custom body field on the invoice) and use the template just for presentation
👍 1
having said that, I'm occasionally guilty of this myself
oh, and @Chris, in case you didn't see Alien's reply