We have 3 codes: DOS, CAN, USD
Only 1 Table defined: DOS - Spot - Lower
2 rates setup: DOS- CAN and DOS - USD
DOS-CAN never gets used it is 1.00
DOS-USD is the only rate that gets used and it is set to USD before it changes to 0.00
The credit note is not specified to a particular invoice, that field is blank.