Dom-NZ
1
When creating a supplier invoice with post /supplierinvoices what’s the correct way to link it to a current purchase order?
Documentation seems to indicate Note: soc_id = dolibarr_order_id but that doesn’t work or seem right?
Currently on V19.0.0
Hello,
Not sure if this will work but I see these two lines in the response body for supplier invoices :
“linked_objects”: null,
“linkedObjectsIds”: null,
You could try setting them in the payload of your post to see if they work.
V19? I think you need to upgrade to version 22 which has these files
Here’s my Merge Request
I did not test it with supplier invoices
1 Like