Cost lines
This page is for people who work on customs declarations and want to know what the fields and actions do. It describes the cost lines on a declaration.
Overview
When Use Cost Lines Feature is on in Customs setup, you enter transport and other costs on a declaration as lines, instead of in the cost fields in the header. Each line has its own item charge, vendor and currency.
Cost lines on a declaration

| Field | What it shows |
|---|---|
| Item Charge | The item charge the purchase invoice is created with. When you choose it, Description is filled in with the item charge description. |
| Cost Type | Transport or Other. Comes from the Cost Type of the item charge and can't be changed on the line. See Item charges. |
| Description | A description of the cost. You can change it. |
| Cost | The amount in the currency of the line. Can't be negative. The declaration total including costs is updated at once. |
| Currency Code | The currency of the cost. Blank means Icelandic krónur. |
| Cost in ISK | The cost in Icelandic krónur. Can't be changed. |
| Cost in Document Currency | The cost in the declaration currency. Can't be changed. |
| Vendor | The vendor the purchase invoice is created for. |
| Don't Make Purchase Invoice | No purchase invoice is created from the line. The cost still counts in the customs value. |
| Total Transport Cost (ISK), Total Other Cost (ISK) | The totals of the lines by cost type. |
Where the lines come from
- When you add a purchase order to a declaration, each item charge line of the order becomes a cost line, with the vendor and currency of the order.
- On exports, each item charge line of a posted sales invoice becomes a cost line, without a vendor.
- You can add lines manually.
Checks
Check document for errors checks the cost lines:
| Check | Error |
|---|---|
| The cost is negative | Cost cannot be negative. |
| The item charge is missing | Field Item Charge cannot be empty. |
| The item charge has no cost type | Field Cost Type cannot be empty. |
| The vendor is missing and Don't Make Purchase Invoice isn't selected | Field Vendor cannot be empty. |
| More than 23 lines with an amount | A customs report can have at most 23 cost lines with an amount, because the CUSDEC message cannot carry more. |
| Exports: the line currency differs from the declaration currency | Cost line currency code must be the same as Document Currency for exports |
| The consignee pays transport under the delivery terms, but a transport line exists | No cost line of type Transport should be found because consignee pays for Transport cost |
If you choose an item charge with no cost type, you get the error Set a Cost Type on Item Charge ... before using it on a cost line. straight away.
Purchase invoices
When purchase invoices are created from the customs debit message (Create Invoice From CUSTAR), the cost lines are used:
- Lines with a cost of 0 or with Don't Make Purchase Invoice are left out.
- One purchase invoice is created for each vendor and currency.
- If the vendor or item charge is missing, you get the error Field ... has invalid value ... on cost line ... Cannot create invoice.
Posted cost lines
When a declaration is posted, the cost lines move to the posted declaration. They're shown in the Cost Lines part, but only if the declaration has cost lines. They can't be changed.

The fields are the same as on an open declaration, plus Cost No..
When a posted declaration is corrected, the posted cost lines move back to the new, open declaration. See Correct a declaration.