Retire a rule
retire_ruleRetire an active bookkeeping rule by id, following the user's request. The rule remains in history but is no longer active. A rule still waiting for approval is refused by the user in Caribooks Approvals (https://caribooks.com/portal/review), not here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company | No | Which connected company. Optional when only one is connected. | |
| rule_id | Yes | The rule's id, as shown by list_rules. |