Perhaps you should consider, using RFBIBL00, as it is from a functional point of view more convenient.
There are also some BAPIS related to this, but I am not sure, if they will help you (depends on purpose).
You will find them in the area Accounting general, using transaction BAPI.