Your friend is wrong. Enterprises in the bonded area are generally regarded as overseas enterprises to make relevant income and expenditure declarations.
You must declare write-off after making export declaration and receiving relevant money, otherwise you may be investigated. After declaration and examination, many products can enjoy the export tax rebate policy. I think you are handling import and export rights.