Symptom
When posting with API Journal Entry - Post, error FF848 occurs when directly posting to VAT account in <item> instead of tax code.
Environment
SAP S/4HANA Cloud.
Reproducing the Issue
Post journal entries with API Journal Entry - Post.
Resolution
In theory, it is not recommended to input tax relevant account in the item node, normal procedure is to input the non tax relevant account in item node with tax code, and match a product tax node with the corresponding tax code.
Please also note that Journal Entry Post API does not support calculating tax amount automatically based on tax code. Tax amount and other tax information need to be manually filled in substructure ProductTaxItem.
Please go through SAP Blog post part 5.6 Consulting about Tax Calculation and adjust payload accordingly:
https://blogs.sap.com/2019/09/06/guidelines-for-api-journal-entry-post/
Keywords
API Journal Entry - Post, error FF848, tax code, tax account. , KBA , AC-INT-2CL , Accounting Interface (Public Cloud) , Problem