Sales Invoice receivable account posted in GL problem

Hi! I am checking the accounts posted in GL for the Sales Order cycle. While checking the GL entries on submission of Sales Invoice, the debit account it took was Debtors which is the default receivable account in my company setup. I set a different receivable account in my Customer setup under Accounting → Account and also at Customer Group in which the customer belongs, under Default Receivable Account → Account.

To have the expected receivable account, I need to modify the account in Sales Invoice Accounting Details → Debit To

I believe the receivable account should have been picked at this order: Customer then Customer Group then Company.

Is there something I am missing?

Thanks.