How the terms on an invoice change what you declare
Customs value is the value of the goods delivered to the border, so what you add depends on what the invoice already includes.
What customs value is
The price of the goods, plus the cost of getting them to the point of entry, plus insurance.
FOB, CFR, CIF and the rest
On FOB and EXW terms the buyer pays main freight, so freight is added. On CFR it is already in the price, so insurance is added. On CIF both are included.
When you add freight
When the invoice does not include main carriage, the declared freight follows the standard rate for the origin country.
When you add insurance
On terms where the invoice does not include insurance, it is commonly declared at 1% of value.
Look up the rate
Use the standard freight rates table for the origin country and container size.