Update purchase document additional costs.
Parameter name | Description | Possible value | Required |
---|---|---|---|
id | ID of the purchase document. | Integer | yes |
sum | Decimal | 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. |
Decimal | yes |
dividedBy | Possible values: AMOUNT, PRICE. | String | yes |
Field name | Type | Description |
---|---|---|
invoiceID | Integer | ID of the updated document. |