Somehow I think people make this argument because they think it is moral. They don't want to claim that they are perfect programmers and feel that this would be arrogant.
You don't have to. It is not misplaced to say that you can precisely loop over invoice items and sum the amounts and add it into a custom field or something.