Hi everyone, I'm trying to partially bill a Purcha...
# general
a
Hi everyone, I'm trying to partially bill a Purchase Order through the Rest API. I'm using the
v1/purchaseorder/{purchase_order_id}/!transform/vendorBill
endpoint, but it looks like this bills the whole purchase order regardless of the items I pass into the body. Is there any way to partially bill the purchase order?
y
Yeah endpoint is correct, you just need to pass line item details in body
a
I’ve tried this but all of the items get billed even if I only pass in some of the quantities.
y
I think you might be missing something in body data. Did you use orderLine? It's working for me. Kindly have a look attached snapshots.
a
I was using
line
instead of
orderLine
thank you 🙌