Allocating Credit Notes

How do you allocate a credit note to a purchase invoice ?

Please see here:

http://help.quickfile.co.uk/main/1/credit_notes.htm