I'd call it a net loss.
If I sell software to my customers that reduces their operational complexity by me investing some code, then I don't consider it a loss.
I'd call it a net loss.