Two new endpoints have been introduced for the action ‘Prepare invoice’ for sales orders:
- v2/salesorderbasic/{SOType]/{SOOrderNumber]/action/prepareInvoice
- v2/salesorder/{SOType]/{SOOrderNumber]/action/prepareInvoice
If the action is successful, the 200 OK response includes a reference number to an invoice. For example:
{
"referenceNumber": "002625",
"actionId": "f9496e2a-3319-4439-bf24-7f4ced2252e5",
"actionResult": "Done"
}