API: Create a purchase receive, the API only work when the PO have not been billed

API: Create a purchase receive, the API only work when the PO have not been billed

this message returned:

The purchase order(s) have bill(s) without receive(s). Hence, you cannot add receive(s).