Enter costs directly to COGS

We pay a small royalty fee on a few items we sell. We don’t want the royalty fee included in the inventory value as it is based on actual product sales, however I was wondering if there was any way to recognize the fee directly to COGS for a specific item #?

Thanks!

If you post the expenses directly to some COGS account in GL, you can’t link them to specific Item.

The only way to do such linking is create PO/PI with a line of Type=Charge (Item), which is then linked (“applied”) to Item line(s) of the same or another PO/PI.
But this approach increases Inv.value, which you don’t want to happen.