hi
check first billing accounting document and reverse billing accounting document. if accounting document is not correct then same type of error shown.
also try to reverse and check clearing accounting document for that billing documents.
if billing document reverse properly then delivery number should be open for billing
thanks
Md. Enayet Hossain