You can do this via the standard PIR matching process.
Both invoice and credit note need to be entered via PIR.
On the Match selection results window, select both the Invoice and Credit Note
Click on the Match button.
The invoice and Credit note values are combined, and should match the purchase order.
