AccountingCodeDto Data Type

The Class AccountingCodeDto.

Available Since
5.0
Implemented Interfaces
Serializable
Properties
name data type constraints description
disabled boolean   Is entity disabled. Value is ignored in Update action - use enable/disable API instead.
parentAccountingCode string   The parent accounting code.
chartOfAccountTypeEnum ChartOfAccountTypeEnum   The chart of account type enum.
id number   The id.
auditableField array of AuditableFieldDto  
chartOfAccountViewTypeEnum ChartOfAccountViewTypeEnum   The chart of account view type enum.
code string required The code
reportingAccount string   The reporting account.
notes string   The notes.
description string   The description
migrated boolean   The migrated.
updatedCode string   The updated code.

Example

{
  "disabled" : true,
  "parentAccountingCode" : "...",
  "chartOfAccountTypeEnum" : "EXPENSE",
  "id" : 12345,
  "auditableField" : [ {
    "entityClass" : "...",
    "fieldName" : "...",
    "id" : 12345,
    "changeOrigin" : "...",
    "auditableField" : [ { }, { } ],
    "originName" : "...",
    "code" : "...",
    "previousState" : "...",
    "currentState" : "...",
    "description" : "...",
    "created" : "...",
    "updatedCode" : "...",
    "actor" : "..."
  }, {
    "entityClass" : "...",
    "fieldName" : "...",
    "id" : 12345,
    "changeOrigin" : "...",
    "auditableField" : [ { }, { } ],
    "originName" : "...",
    "code" : "...",
    "previousState" : "...",
    "currentState" : "...",
    "description" : "...",
    "created" : "...",
    "updatedCode" : "...",
    "actor" : "..."
  } ],
  "chartOfAccountViewTypeEnum" : "VIEW",
  "code" : "...",
  "reportingAccount" : "...",
  "notes" : "...",
  "description" : "...",
  "migrated" : true,
  "updatedCode" : "..."
}