Purchase Order Invoices posting through API

Is it possible to create an invoice related to a PO using the API?

We are looking to create invoices related to a purchase order. I see that a purchase order field was added to the create invoice API method. I am confused how this field words within the posting method. Typically a receipt needs to be done first and then it is converted into an invoice. There is no ability to create a receipt or reference the receipt when creating the invoice. I am trying to understand how the purchase order line items can be updated (Received/Invoice QTYs) would be updated.

Categories