There are some Point-Of-Sales transactions in your system with Inconsistent status due to error: 'Sum of sales items with same tax attributes must not be zero'.
Reproducing the Issue
- Go to Customer Invoicing work center.
- Go to the Point-of-Sales (POS) Transactions view and Sales Transactions sub view.
- Search and find the POS sales transaction 123. (123 presents the ID of the POS sales transaction). This transaction is with status Inconsistent.
- Click Check button, system shows the error message: 'Sum of sales items with same tax attributes must not be zero'.
To use zero as total amount, you need to maintain the value in the tag of <RetailTransactionDebtorItem> in payload.
You have to maintain the values in the following tags :
<CashDiscountAmount currencyCode="***">0.0 </CashDiscountAmount>
<BusinessTransactionCurrencyAmount currencyCode="***">0.0 </BusinessTransactionCurrencyAmount>
In place of wildcard characters(*), you have to give the respective values. Cash discount term code will be the payment terms which will come on UI.
KBA , AP-CI , Customer Invoice Processing , How To