Skip to content

Updates the details of an existing bookkeeping rule for the specified client. The rule to update is identified by its unique rule ID.

Request

Path
clientIdstring, (uuid)required
ruleIdstring, (uuid)required
Body
displayNamestring

Sets the display name for the bookkeeping rule.

bookkeepingSettingIdstring, (uuid)

Specifies the ID of the settings to link to. If no settings exist, create them before proceeding.

autoUpdateboolean

Sets if the voucher is automatically updated in the erp-system.

isFeeRuleboolean

True if the rule is a fee rule, false otherwise.

minOptionalMatchesinteger, (int32)

Gets or sets the minimum number of filters that must match for the bookkeeping rule to apply. This property works in combination with the 'at least FilterCriteria' logic to determine applicability.

transactionPostingModestring(TransactionPostingMode)
Enum:"CombineIntoSingleVoucher""PostAsSeparateVouchers""MultiLinedVoucher""MultiLinedVoucherWithUnmatched"
{ "displayName": "string", "bookkeepingSettingId": "07af9850-9db1-4b77-ba9e-74c705771ff8", "autoUpdate": true, "isFeeRule": true, "minOptionalMatches": 0, "transactionPostingMode": "CombineIntoSingleVoucher" }

Responses

OK

Bodyapplication/json
clientIdstring, (uuid)
ruleIdstring, (uuid)
Response
{ "links": { "property1": { … }, "property2": { … } }, "clientId": "5e505642-9024-474d-9434-e5a44f505cc5", "ruleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac" }