Shopify Extended Discount sets unit price to update profits, currencies, units, taxable.
Unit Price is reverse calculated to be used for profits and other per unit calculations. Extended Price is calculated first with Extended Discount subtracted to match Shopify.
This calculation is only made on Invoices, where data is not changing after importing.