On an on-premise we are mostly using few important function modules like CALCULATE_TAX_FROM_GROSSAMOUNT , FI_TAX_GET_TAX_ACC_BY_KSCHL before posting FI doc using BAPI_ACC_DOCUMENT_POST.
(BAPI_ACC_DOCUMENT_POST on ABAP Cloud?)
As per above answer we use API to post journal entry in SAP cloud environment. My question is before calling the API how can we calculate the taxes?? is there any similar API which can do similar tax calculations?.
Thanks