It allows you:
To generate Invoice and Shipment from a Sales Order
Uses same workflow and business logic of the standard standalone Generate Shipment and Generate Invoice processes.
Columns that can be used as filters:
DocumentNo (Sales Order Document No, alphanumeric 60)
POReference (Order reference of the Sales Order, alphanumeric 60)
Order_ID (Numeric)
There must be at least one parameter specified (In the case of multiple documents with the same POReference or DocumentNo, the last created will be used)
The order must be completed
The Delivery/Invoice Rule constraints must be met (see ERP docs)
URL: https://api.socratecloud.com/webapi/rest/order/generate_invoice_and_shipment/{version}?&accessToken={access_token}
Method: POST
Return: JSON object with next format:
{
"Invoice": "BF 1000022",
"Shipment": "AE 1000746"
}