Prepare a commercial invoice for customs in CargoWise
Updated
CompileIQ reads a commercial invoice and pulls out its header and line items so you can check them against the document before the invoice goes to CargoWise. Use this when a supplier's commercial invoice needs to reach a CargoWise shipment as a customs invoice.
CompileIQ reads the commercial invoice only. It does not read packing lists, bills of lading or permits.
Before you start
- What you can do here is set by your user role. Viewing invoices lets you see the page. To upload, edit, link or send an invoice, your role also needs to allow changing invoices; without it the fields are read only and the upload button is hidden. If you cannot see Customs in the sidebar, or cannot change an invoice, ask an admin in your organisation to update your role.
- To send an invoice to CargoWise, it must be linked to a job that has already been sent to CargoWise. See CargoWise integration setup.
Open your customs invoices
- In the sidebar, under Customs, select Invoices.
The list shows each invoice with its Customer, Invoice #, Date, Received, Total, Items and Status. Invoices that arrive by email appear here as well as the ones you upload.
To narrow the list, use Search by invoice #, customer, or job or the All statuses filter. Turn on Group by received day or Group by shipment to group the rows.

Upload a commercial invoice
- Select Upload invoice and choose one or more files. You can also drag files anywhere onto the page and drop them when you see Drop invoice to upload.
- Watch the chip for each file above the list. It reads Processing while CompileIQ reads the invoice, then Processed when it is ready. Already uploaded means the same file is already in the list.
Accepted file types are .pdf, .jpg, .jpeg, .png, .xlsx, .xlsm, .xls, .csv, .docx and .doc. PDFs and images can be up to 50 MB. Spreadsheets and .docx files can be up to 4.5 MB.
Check what CompileIQ read
- Select the invoice number, or anywhere on the row, to open the invoice.
- Select Show file to see the original document beside the fields. Hide file closes it again.
- Compare the Header and Line items with the document and correct anything that is wrong. Each change saves when you leave the field, and you see Saving… while it saves.

Header
| Field | What it holds |
|---|---|
| Invoice number | The supplier's invoice number |
| Invoice date | The date on the invoice |
| Exporter (Supplier) | The seller. Pick the organisation from CargoWise and its code shows underneath. New marks a supplier CargoWise does not hold yet. |
| Customer (Buyer) | The buyer. Pick the organisation from CargoWise, as for the supplier. |
| Currency | The invoice currency |
| Incoterm | The Incoterm on the invoice |
| Total price | The total the invoice declares |
| Total quantity | The total quantity the invoice declares |
| Linked job | The job this invoice belongs to. See Link the invoice to a job. |
Line items
| Column | What it holds |
|---|---|
| Part No. | The item or customer part number |
| Mfr part no. | The manufacturer part number. Shown only when the invoice has one. |
| Description | The goods description |
| Qty | Quantity |
| Unit | The unit, chosen from the CargoWise package type codes |
| Unit price | Price per unit |
| Total | The line total |
| Origin | Country of origin. Type the country name or its code to find it. |
To remove a line that should not be there, select Delete line (the bin icon) at the start of the row.
Under the table, Items, Line quantity and Line totals add up the lines. If the line totals do not match the invoice total, Declared total appears so you can compare the two.
Flags
CompileIQ checks what it read against the invoice. A line that passes shows nothing. When something does not check out, a warning tells you what to look at:
- Under a line: the sum on that line does not work out, or a value on it was not found on the invoice, for example "The unit price on line 3 is not on the invoice."
- Above the table: the invoice total does not match its lines, or a header value was not found on the invoice.
- Check the line items: the lines did not add up to the invoice's own totals. The invoice is saved; compare the lines with the document.
- "These lines have not been checked against the invoice. Read them as you would any other." means the check could not run on this invoice.
For each flag, open the file, find the value on the document and correct the field. A flag does not stop you sending the invoice.
Link the invoice to a job
An invoice goes to CargoWise against the shipment of its linked job, so link it before you send.
- In the Header, select the Linked job field.
- Search by key, house bill, master bill or container (the field shows Key, HBL, MBL or container) and pick the job.
The linked job reference then shows at the top of the invoice. Select View job, or the HBL number where there is one, to open the job. No linked job means the invoice is not linked yet. To unlink, select Unlink this job in the field.
You can also link from the list. On a row that shows No linked job, select Link, leave CargoWise selected, enter the shipment key (for example S00123456) and select Link. If the key is not a job in Talux or CargoWise, it is saved but the invoice stays unlinked, and you see Not linked.
Send the invoice to CargoWise
Send one invoice
- Open the invoice and select Send to CargoWise.
- If the invoice has no house bill, it sends straight away. If it has one, the Send to CargoWise dialog opens. Untick Send all invoices for house bill … together and select Send to CargoWise to send only this one.
While it sends, the button reads Sending…. When CargoWise accepts it, the status changes to Sent and you see "Commercial invoice sent to CargoWise".
Send every invoice on a house bill
- Open any invoice on the house bill and select Send to CargoWise.
- In the dialog, leave Send all invoices for house bill … together ticked. The invoices it includes are listed under the option.
- Select Send to CargoWise.
Each invoice shows its own result as it lands. Invoices already sent stay as they are. If this is the only invoice on the house bill still to send, the dialog says so and sends just this one.

Send a whole shipment from the list
- In the list, turn on Group by shipment.
- On the shipment's row, select Send N to CargoWise.
The button shows only where a shipment has more than one invoice ready to send. While it runs, it reads Sending to CargoWise. Any invoice left behind is named above the list with the reason.
Export a CSV instead
If you need the invoice as a file rather than sending it, export it as a CSV.
- Open the invoice and select Export.
- In the Export invoice dialog, select CargoWise CSV.
- If the invoice has a manufacturer part number, choose which number to export: Part No. (the default) or Manufacturer part no. The file carries only one.
- Tick Include header row if you want column names in the file.
- Select Export.
The CSV downloads and you see "Invoice exported successfully". It holds this invoice only. An invoice that has not been sent then shows Exported; an invoice already sent keeps its send status.
What the statuses mean
| Status | Meaning |
|---|---|
| Pending | Uploaded and waiting to be read |
| Processing | CompileIQ is reading the invoice. The page refreshes when it is ready. |
| Processed | Read and ready to check and send |
| Failed | The invoice could not be read |
| Sending | On its way to CargoWise |
| Sent | CargoWise accepted the invoice |
| Exported | Exported as a CSV and not sent to CargoWise |
| Send failed | CargoWise rejected the invoice. Hover over the status on the invoice to see the reason. |
The All statuses filter narrows the list by Pending, Processing, Processed or Failed.
Troubleshooting
I cannot see Customs or change an invoice
Your user role does not include access to invoices, or only lets you view them. Ask an admin in your organisation to update your role.
Link a job first
You selected Send to CargoWise on an invoice with no linked job. Link the job in Linked job, then send again.
Send the job to CargoWise first
The linked job has not reached CargoWise yet, so there is no shipment to attach the invoice to. Send the job to CargoWise, then send the invoice.
Send failed, or "CargoWise rejected the invoice"
CargoWise refused the invoice. The message gives CargoWise's reason; hover over Send failed to see it again. Correct the invoice and send it again. If no reason is shown, open the CargoWise log for the full reason.
Not confirmed
CargoWise has not picked the invoice up. Check its status before sending again, so it is not sent twice.
Still sending to CargoWise
CargoWise is taking longer than usual. The invoice is still sending, so check its status again shortly.
Some invoices in a shipment were not sent
When you send a shipment from the list, any invoice left behind is named with the reason, for example "Invoice 1234 is not linked to a job. Link it, then send it on its own."
Processing failed
The invoice could not be read. The message says why where it can, for example a file with too many pages. Otherwise upload the file again.
A file is rejected on upload
The file is an unsupported type or over its size limit. Check the accepted types and limits under Upload a commercial invoice.