Sales Document
Sales document
getSalesDocLine
Return a single line of a sales document.
updateSalesDocLine
Updates a single line of a sales document. This operation is implemented such that nullable attributes or
deleteSalesDocLine
[Delete](https://jsonapi.org/format/#crud-deleting) a Sales Doc Line.
listSalesDocLineDiscounts
Return the discounts for a single line of a sales document.
getSalesDocLineItemInfo
Return the item information for a single line of a sales document.
getSalesDocLineWarnings
Returns the set of warnings related to a single sales document line.
createSalesDocLineByItemCode
Creates a sales document line by providing an item code or barcode.
editSalesDocHeader
Edit a sales document header.
publishSalesDocHeader
Publish a sales document header.
listSalesDocLine
Return the lines of a sales document.
createSalesDocLine
Creates a sales document line.
upsertSalesDocLine
Upsert a sales document line.
releaseSalesDoc
Releases a sales document. In particular, it changes its status to `Released` and it generates logistics
exportSalesDocHeaders
Request an export of a list of sales documents headers.
getSalesDocHeader
Return a single sales document header.
updateSalesDocHeader
Updates a single sales document header.
deleteSalesDocHeader
[Delete](https://jsonapi.org/format/#crud-deleting) a Sales document header.
submitNewReportRequest
Submit a request for a new report.
listSalesDocReportTemplates
Return a list of report templates available for a sales document.
bulkDeleteSalesDocLines
Delete multiple sales document lines at once. The sales document must be in draft status.
listExceededBudgetLimits
Returns the list of exceeded budget limits for the given sales document, both at product and cluster level.
reorderSalesDoc
Request to create a new sales document by reordering from a previous sales document.
listSalesDocHeaders
Return a list of sales documents headers.
createSalesDocHeader
Creates a sales document header. A sales document header has much more information than that provided in the
listSalesDocLines
Return a list of sales documents lines with their header info included. Lines can relate to different sales
exportSalesDocLines
Request an export of a list of sales documents lines with their header info included.
getSalesDocDiscountsTotals
Return the discounts totals of a sales document.
listSalesDocTransferStatuses
Return the list of possible valid transfer statuses from the current transfer status of the sales document.
updateSalesDocTransferStatus
Updates the transfer status of a sales document.
getSalesDocLinkedDocs
Returns a list of all the documents linked to the given one.
listEligibleSellToCustomerAccountsForSalesDoc
Returns a list containing the customer accounts that are eligible as _sell to_ customers of a sales document.
getBillToCustomerAccount
Returns the _bill to_ customer account associated to `customerAccountId`. This can be used as the _bill to_
listEligibleDocTypesForSalesDoc
Returns a list containing document types that are eligible as sales document's document type.
listEligiblePriceListsForSalesDoc
Returns a list containing price lists that are eligible as sales document's price list.
listSalesDocSheetsForSalesDoc
Returns a list containing the sheets that groups sales document's attributes. These can be either concrete or
listEligibleItemsForSalesDoc
Returns a list containing the items that are eligible for the specified header.
listSalesDocEmailRecipients
Returns a list of sales document email recipients.
listSalesDocWidgets
Returns all widgets related to sales documents.
checkSalesDocConstraints
Checks for constraints (e.g., minimum order amount) on the sales document and returns warnings or anomalies.
listShippingCosts
**This service is not implemented. It is defined for code generation purposes only.**
canDraftSalesDocOwnershipChange
Invoke this service to find out if you can change the draft owner.
changeDraftSalesDocOwnership
The draft of a sales document relates to two user profiles:
retrieveSalesDocCatalogItems
Returns a list containing the valid items for a sales document.
previewItemPrice
Previews the price of an item based on the provided quantity and unit of measurement
listSalesDocPromotions
Returns the list of promotions applied to the sales document.