Lets say I have an invoice X for 100 USD and hits revenue and receivable account as per Auto accounting rules.
Then I create an Receipt Y for 80 USD (short pay) and apply to Invoice . AR Receipt Y typically hits the Cash and Receivable for 80 USD
For balance 20 USD , I raise a claim investigation Z and it uses a Receivable Activity W and there is corresponding GL account for that 20 USD
So when I query the receipt I can see the GL account for both regular receipt application and also the claim. (after settlement).
The settlement is cia CM and the CM does not really show any claim accounting. CM only shows accounting based on Autoaccounting.