Hi David.
There is not way that items configuration give us an issue like you say. ( There is a difference between the document total and its components')
Could you check this (image's checks) on Item master data for items (on SO and DPI) that have the problem.
![itemconfig.PNG]()