If it is going to COGS, it sounds like you might be entering it incorrectly in your software.

If you tell us what software you are using, perhaps somebody that uses that software could assist you with how to enter it.