updatePurchaseDocumentAdditionalCosts

Update purchase document additional costs.

Input parameters

Parameter name Description Possible value Required
id ID of the purchase document. integer yes
sum number yes
currencyCode Currency code: "EUR", "USD" etc. Currency must be defined in your Erply account. For a list of available currencies, see getCurrencies. String (3) yes
currencyRate eg. 1.25543
Exchange rate of the main currency against system's default currency.
number yes
dividedBy Possible values: AMOUNT, PRICE, WEIGHT. string yes

Response

Field name Type Description
invoiceID integer ID of the updated document.