The best way would be to simply add it into the 'Notes' section of the invoice when you edit it. You can do this by editing the invoice and you'll find 'Notes' under the invoice 'Options' section. For Purchase Invoices, you'll find a 'Supplier Invoice Number/Reference' in the invoice 'Options' section.