The battery monitor section for the inverter is reporting the AC current going towards charging
3503W - 334W = 3169W, the display states 3170W, I will take that as the same within rounding error.
The battery is being charged with 2810W, 153W is coming in from solar, 98W is apportioned to DC loads so the inverter is supplying 2755W. This is from 3170W inpt so this suggests an efficiency of 86.9% which is reasonable. The trouble with adding and subtracting power is that it does not account for voltage loss between the inverter and MPPT and the batteries which loses Watts, the calc really needs doing in Amps.
Therefore, everything fits.
The DC box is calculated if you do not have a shunt, the system knows the battery Amps, the MPPT Amps and has a figure for the charging Amps from the inverter (which may or may not have the same accuracy as the battery shunt). The system then calculates the DC loads as the difference of the 3 known currents. See the FAQ.