Purchase Document
Purchase Document.
listPurchaseDocHeaders
Returns a list of purchase document headers.
createPurchaseDocHeader
Creates a purchase document header.
exportPurchaseDocHeaders
Request an export of a list of purchase documents headers.
listPurchaseDocLine
Returns a list of purchase document lines.
createPurchaseDocLines
Creates a purchase document line.
deletePurchaseDocLines
Deletes all lines (and related line instances) of the purchase document specified in the path.
getPurchaseDocLine
Return a single line of a purchase document.
updatePurchaseDocLine
Updates a single line of a purchase document.
deletePurchaseDocLine
[Delete](https://jsonapi.org/format/#crud-deleting) a Purchase Doc Line.
listLineStringTemplates
Returns the list of string templates defined for the purchase doc line specified in the path.
listLoadingUnitsForLine
Returns the loading units associated to the line specified in the path.
deleteLoadingUnitsForLine
Deletes the loading units specified in the request body for the line in the path.
getPurchaseDocHeader
Returns a single purchase document header.
updatePurchaseDocHeader
Updates a single purchase document header.
deletePurchaseDocHeader
[Delete](https://jsonapi.org/format/#crud-deleting) a Purchase document header.
editPurchaseDocHeader
Edit a purchase document header.
publishPurchaseDocHeader
Publish a purchase document header.
releasePurchaseDoc
Releases a purchase document. In particular, it changes its status to `Released` and
archivePurchaseDoc
Archives a purchase document header. In particular, it changes its processing status
getPurchaseDocLinkedDocs
Returns a list of all the documents linked to the given one.
listPurchaseDocTransferStatuses
Return the list of possible valid transfer statuses from the current transfer status of the purchase document.
updatePurchaseDocTransferStatus
Updates the transfer status of a purchase document.
canDraftPurchaseOrderOwnership
Invoke this service to find out if you can change the draft owner.
changeDraftPurchaseOrderOwnership
The draft of a purchase order relates to two user profiles:
getInboundDataForPurchaseDoc
Returns the data about an inbound operation registered with a purchase document. The header specified in the
doInboundForPurchaseDoc
Performs an inbound operation for the purchase document specified in the path. The operation consists in two
createLoadingUnits
Creates loading units for a specific purchase document's line. The number of loading units to generate is
loadingUnitsPrintingCallback
This service is used to notify the system about the result of loading units printing operation. The callback
listPurchaseDocLines
Return a list of purchase documents lines with their header info included. Lines can relate to different purchase
createPurchaseDocReading
The service is used to create the working document, referred to as the reading document,
compilePurchaseDocReading
The service updates the reading document with the data present in the reading queue.
listPurchaseDocHeaderInstancesSkipDraft
Returns all the instances associated to a purchase document header. Each instance represents a serialized object
deletePurchaseDocLineInstancesSkipDraft
Deletes all the line instances of the purchase document specified in the path. This operation will affect
listPurchaseDocLineInstancesSkipDraft
Returns all the instances associated to a purchase document line. Each instance represents a serialized object
updatePurchaseDocLineInstanceSkipDraft
Updates a purchase doc line instance.
releasePurchaseDocReading
This API releases the purchase document specified in the path when it is used as a reading document.
getPurchaseDocAggregatedData
This API retrieves the data of the document identified by `headerId` (reading doc)
resetPurchaseDocReading
This API resets the reading document specified in the path. Resetting a document means
setPurchaseDocInstancesAsExpected
This API allows to set document's instances provided in the body from _unexpected_
setPurchaseDocInstancesAsUnexpected
This API allows to set document's instances provided in the body from _expected_
updatePurchaseDocInstancesProperties
This API allows to change some properties of the document's instances provided