Pastel Partner SDK ,Process Sales to invoice via SDK

SUGGESTED

Hi

I hope someone can assist with my issue or maybe direct me to some kind of support, And yes I have emailed "[email protected]"  with no response.

 I need to update/process an existing Sales order to make it a customer invoice via the SDK.

 I can create a new invoice but then the prev/old existing Sales order still remains and the inventory qty is still preserved for that sales order.

The SDK readme only shows the below table for updates, how do I change an existing file/document to a new type or as processed?

Details

With the document type and document number you specify the type of document and the number of the document you want to edit. With this call you can do three things with a customer or supplier document that is not updated. You do this by using one of the following characters in the functions parameter:

  •  “I” – Insert a new line to the document.
  • “E” – Edit an existing line on a document.
  • “D” – Delete an existing line on a document.
  • “H” – Edit the header of the document.

Louis