How to rewrite the Xpath for the total of the invoice to report the accurate amount.
Net Invoice: if item has taxes applied, use this field, if not, use this other field
Net Invoice Xpath:
![]()
Total Net Invoice: sum up all reported net invoices and add any other extra charges
Xpath:
![]()
Calculation
the total net invoice should be: 934.87
I tried using the SUMMARY tagging element, but whenever I add the SumMarkUp field as it’s from the SalesHeaderExt not SalesInvoiceLine like the rest, I get a ‘NaN’ result.

