Issue:
You checked from EINVOICE_TRANSACTIONS table to edit and resubmit that E-Invoice, you find out that the NOTE1 showing this error message:
Root Cause: This Receipt has scanned both Refund and Sales item.
Solution:
1) Go to "EINVOICE_TRANSACTIONS_DETAILS" table, find the transaction ID.
2) Change Refund Item's QUANTITY, UNIT_PRICE, SUBTOTAL with negative symbol (Based on receipt get from POS_SALES Receipt)
3) Then Change the EINVOICE_TRANSACTION status to "PENDING" and Exported into "F"
4) Copy WebApiAcctLinkAgent_Backend to update latest version
5) RunEInvoice_1_ResendPending.bat
6) RunEInvoice_2_GetDocStatus.bat
7) RunEInvoice_3_Sync.bat