Skip to main content

Accountingrulesconfiguration

Represents the accounting rules configuration.

automatedAccountingClosuresIntervalinteger<int32>required

The number of days between the execution of automated accounting closures. If this number is 0, no automated closure is performed.

customRules object[]

Represents a list of custom accounting rules for inter-branch transfers.

  • Array [
  • glCodestringrequired

    The unique identifier of the account that is mapped to the financialResource value.

    idstringrequired

    A user-defined unique ID. Note that the rules are ordered by ID in the YAML file.

    leftBranchIdstringrequired

    The ID of the left branch of the accounting rule.

    rightBranchIdstringrequired

    The ID of the right branch of the accounting rule.

  • ]
  • defaultGlCodestringrequired

    The code of the general ledger account used by default for inter-branch transfers.

    Accountingrulesconfiguration
    {
    "automatedAccountingClosuresInterval": 0,
    "customRules": [
    {
    "glCode": "string",
    "id": "string",
    "leftBranchId": "string",
    "rightBranchId": "string"
    }
    ],
    "defaultGlCode": "string"
    }