When a credit invoice is received it can be linked to the original invoice using the Reference# field in 4-2. Paperless does not link this field allowing it to be used when the credit invoice is indexed. The link in the API needs to be created to allow this.