Sales Invoice | Advanced Template - Option to add 'QuantityTotal' field to invoice template
Would love there to be a total qty function at the bottom of invoices
-
Daniel Minnick
commented
FYI, you can add a calculated field in the DOCX advanced template - I have not tested this yet, but that was available even in the archaic OOXML library Xero is using.
-
Daniel Minnick
commented
A major reason these specific fields aren’t available or consistent is the archaic state of the DOCX rendering engine. It can’t handle modern XML mapping or advanced conditional logic (like SKIPIF) reliably because it's running on nearly 20-year-old libraries. Modernizing the parser to OOXML v16 would allow for the robust field mapping we actually need. I've detailed the specific mapping failures and the path to a fix here: https://productideas.xero.com/forums/967115-invoices-quotes/suggestions/51245914-modernize-advanced-templates-full-support-for-mod