How do I add VAT on invoices when I have purchased goods from abroad?

I have got an invoice from the customs. How do I connect it to the invoice from the supplier?