Perpetual Inventory

Hi,

I am trying to study the example 2 in this documentation:
Perpetual Inventory (erpnext.com)
the treatment of the amount 150$ (Customs Duty) isn’t clear for me.
could someone explain more please?
Thanks a lot.