You can create the contract straight from the linking dialog on the invoice. Click the plus sign (+) next to the heading Purchasing in the list on the left. The contract is created as a purchase, and you can link the invoice to it right away.
How to do it
Go to Invoice → Incoming invoice and find the invoice you want to link.
Click Link, or the icon in the Invoice link column, to open the linking dialog.
Click + next to the heading Purchasing in the list on the left. The New contract dialog opens.
Fill in the contract details, and click Add under Costs.
On the cost line, choose Purchased in Status, choose Production code and enter the contract amount in Cost.
Save, and link the invoice to the new contract.
Good to know
Use this when an invoice arrives on a contract that is not registered yet.
Enter the full contract amount, not just the amount on the invoice. The next invoice on the same contract you link to the same contract.
The status options on the cost line are Planned, Ongoing and Purchased.
The contract appears in Purchasing, where you can fill in the rest of the details.

