Invoices and credit notes are usually raised in the WIP tab.
It is also possible to raise an invoice in the Debtors Ledger, but this will not have any effect on the value of WIP.
For details of how to use the WIP tab's invoicing functionality, see Invoicing.