Dear all,
I have to post document as that of FB01, so I am using BAPI_ACC_DOCUMENT_POST.
I have to pass 'Tax code' value and 'Determine tax base', but I cannot find 'Determine tax base' field in BAPI.
I think, in this case we can pass 'Base Amount' using table parameter CURRENCYAMOUNT.
Is there any FM using which we can convert 'Amount' to 'Base amount'?( I have only amount and tax code at this moment).
(Note: in FB01, when I select 'Determine tax base' checkbox, the 'base amount' is calculated automatically based on amount and tax code, I want similar logic).

Thank you,
Manoj