Symptom
Posting with the API "Journal Entry - Post" fails because of the error FF818 - "Taxes by item is activated; consequently, transfer by item is mandatory"
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Environment
SAP S/4HANA Cloud Public Edition
Cause
Generally, an line-by-line tax calculation is used only in company codes associated with the following country/regions: United States, Canada and, to some extent, India. If an external tax reporting system is used, the tax must be reported on an line-by-line basis and therefore also posted on an line-by-line basis.
Postings to an Indian company code
If you use an Indian company code during the posting, error FF818 or FF817 may occur even though an external tax system is not used here.
Resolution
The tax line by line calculation is only supported by the jurisdiction country/region, in this case Tax Item Group is required and must be identical with the related items. G/L Item has the relevant Tax Item Group parameter in the Tax substructure.
But for non-jurisdiction country/region, the product tax items always needs aggregation.
Payload as line by line couldn’t be used to do the posting.
See Blog in Tax calculation by Line items part:Posting Journal Entries with Tax Using SOAP Posting APIs
Workaround
Adopt the direct tax posting.
Add below input, under product tax and remove the tax information under GL.
For direct tax posting following must be present
<IsDirectTaxPosting>true</IsDirectTaxPosting>
See Also
KBA2963945 - Line by line tax calculation while using Journal Entry - Post (Asynchronous) API for non-jurisdiction country/region
Keywords
FF818, tax, line by line, line by line tax calculation, tax calculation, journal entry post api, jurisdiction country, non-jurisdiction, taxes by item is activated, item is mandatory , KBA , AC-INT , Accounting Interface , AC-INT-2CL , Accounting Interface (Public Cloud) , How To
Product
Attachments
Payload example.docx |