For any accounting document posted directly in FI, you can use the FM CALL_FB08. If you want to reverse the accounting document posted from BAPI_ACC_DOCUMENT_POST, then you can use BAPI_ACC_DOCUMENT_REV_POST.