AX 2012 Sales Invoice Posting from Retail POS payment

Hi,

I am using AX 2012 R3 and POS. User is doing transaction of sales order in AX. Then user doing payment in POS. If user wants to delete item from respective sales order then user clicks on void item button. This transactions present in table and on payment transaction form also with “Voided” status. After that sales invoice is auto posting in AX. I think this voided transactions also fetching in sales invoice and posting in vouchers also. That’s why GL accounts Trial balance is affecting.

Please help…

I come to know that posting of sales invoice from POS , customization required. How to identify whether customization done in AX or POS.