Skip to content

Creates a new bookkeeping rule for the specified client. The rule defines how transactions are processed and mapped to generate vouchers based on the client's requirements.

Request

Path
clientIdstring, (uuid)required
Body
displayNamestring

Sets the display name for the bookkeeping rule.

autoUpdateboolean

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

applyTransactionFilterAfterMatchingboolean

Indicates whether transaction filters should be applied after matching, specifically to transactions not matched during the initial matching process.

filtersArray of objects(MatchingFilterDto)

Gets or sets the collection of filters applied to the bookkeeping rule. These filters are used to determine the matching criteria when finding open posts.

{ "displayName": "string", "autoUpdate": true, "applyTransactionFilterAfterMatching": true, "filters": [ { … } ] }

Responses

OK

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