Symptom
- System error: Amount field is negative - F5858
- Withholding tax amount exceeds the customer/vendor item amount 001 - 7Q321
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Attempt to create a supplier invoice in the 'Create Supplier Invoice' App (App ID: F0859).
- Observe the error messages: "System error: Amount field is negative - F5858" and "Withholding tax amount exceeds the customer/vendor item amount 001 - 7Q321".
Note: The error can be raised in the apps Create Incoming Invoices, Create Outgoing Invoices, and Create Supplier Invoice - Advanced
Cause
- Extended withholding tax is active for company code.
- The accumulation is active for the withholding tax type.
Posting an invoice with a small amount with the accumulation WT functionality activated, the WT amounts are not calculated in a linear way but on the base of already calculated WT amounts. Sometimes happens that due to this fact, the WT amount, that should be calculated by the System, is bigger than the invoice amount; thus, the error message 7Q321 will appear.
Resolution
- Post an invoice with a bigger amount before the invoice with a smaller amount.
- When withholding tax amount gets calculated based on accumulation then the invoice amount should be greater than calculated withholding tax amount.
Keywords
error message f5858, error message 7q321, create supplier invoice, sap s/4hana cloud public edition, withholding tax amount, vendor gross amount, negative amount, financial accounting, invoice management, tax, public cloud , KBA , FI-AP-AP-Q-2CL , Withholding Tax (Calculation) (Public Cloud) , MM-IV-INT-TAX-2CL , Tax (Public Cloud) , Problem