Units = trailer line items (product lines L*/R*); options, freight and discount lines are excluded.
Gross margin is all-in per line (revenue − cost). Model = line description.
By-model discount / surcharge / freight are tied at the invoice level — each invoice's adjustments go to that invoice's primary trailer.
Sales history currently covers roughly the last 13 months.