OCCTemplate Data Type

Implemented Interfaces
IReferenceEntity, Serializable
Properties
name data type constraints description
accountingCode AccountingCode  
descriptionOrCode string  
accountCodeClientSide string  
accountingScheme AccountingScheme  
auditableFields array of AuditableFieldHistory  
description string max size: 255, min size: 0
notified boolean  
contraAccountingCode AccountingCode  
id number  
contraAccountingCode2 AccountingCode  
codeChanged boolean  
appendGeneratedCode boolean  
referenceDescription string  
manualCreationEnabled boolean  
parentEntityType object  
code string required, max size: 255, min size: 1
version number  
referenceCode string  
historized boolean  
descriptionAndCode string  
auditable Auditable  
journal Journal  
transient boolean  
parentEntity BusinessEntity  
occCategory OperationCategoryEnum  

Example

{
  "accountingCode" : {
    "reportingAccount" : "...",
    "parentEntity" : {
      "codeChanged" : true,
      "notified" : true,
      "descriptionOrCode" : "...",
      "description" : "...",
      "version" : 12345,
      "historized" : true,
      "transient" : true,
      "id" : 12345,
      "parentEntityType" : { },
      "parentEntity" : { },
      "referenceCode" : "...",
      "code" : "...",
      "auditableFields" : [ { }, { } ],
      "auditable" : { },
      "descriptionAndCode" : "...",
      "appendGeneratedCode" : true,
      "referenceDescription" : "..."
    },
    "referenceCode" : "...",
    "transient" : true,
    "historized" : true,
    "descriptionAndCode" : "...",
    "appendGeneratedCode" : true,
    "chartOfAccountTypeEnum" : "REVENUE",
    "auditableFields" : [ {
      "notfiable" : true,
      "fieldName" : "...",
      "auditType" : "STATUS",
      "previousState" : { },
      "historable" : true,
      "notified" : true,
      "historized" : true,
      "currentState" : { }
    }, {
      "notfiable" : true,
      "fieldName" : "...",
      "auditType" : "STATUS",
      "previousState" : { },
      "historable" : true,
      "notified" : true,
      "historized" : true,
      "currentState" : { }
    } ],
    "id" : 12345,
    "parentAccountingCode" : { },
    "notes" : "...",
    "auditable" : {
      "creator" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345,
      "lastUser" : "...",
      "created" : 12345
    },
    "descriptionOrCode" : "...",
    "disabled" : true,
    "chartOfAccountViewTypeEnum" : "REGULAR",
    "description" : "...",
    "migrated" : true,
    "referenceDescription" : "...",
    "parentEntityType" : { },
    "codeChanged" : true,
    "active" : true,
    "code" : "...",
    "notified" : true,
    "version" : 12345
  },
  "descriptionOrCode" : "...",
  "accountCodeClientSide" : "...",
  "accountingScheme" : {
    "auditableFields" : [ {
      "notfiable" : true,
      "fieldName" : "...",
      "auditType" : "OTHER",
      "previousState" : { },
      "historable" : true,
      "notified" : true,
      "historized" : true,
      "currentState" : { }
    }, {
      "notfiable" : true,
      "fieldName" : "...",
      "auditType" : "RENEWAL",
      "previousState" : { },
      "historable" : true,
      "notified" : true,
      "historized" : true,
      "currentState" : { }
    } ],
    "referenceDescription" : "...",
    "descriptionOrCode" : "...",
    "transient" : true,
    "longDescription" : "...",
    "appendGeneratedCode" : true,
    "codeChanged" : true,
    "id" : 12345,
    "parentEntityType" : { },
    "description" : "...",
    "historized" : true,
    "scriptInstance" : {
      "parentEntity" : { },
      "historized" : true,
      "auditableFields" : [ { }, { } ],
      "auditable" : { },
      "parentEntityType" : { },
      "sourceTypeEnum" : "JAVA",
      "code" : "...",
      "description" : "...",
      "error" : true,
      "script" : "...",
      "referenceCode" : "...",
      "id" : 12345,
      "sourcingRoles" : [ "...", "..." ],
      "notified" : true,
      "version" : 12345,
      "executionRoles" : [ "...", "..." ],
      "reuse" : true,
      "transient" : true,
      "scriptErrors" : [ { }, { } ],
      "descriptionOrCode" : "...",
      "descriptionAndCode" : "...",
      "codeChanged" : true,
      "appendGeneratedCode" : true,
      "referenceDescription" : "...",
      "scriptInstanceCategory" : { },
      "disabled" : true,
      "active" : true
    },
    "version" : 12345,
    "referenceCode" : "...",
    "descriptionAndCode" : "...",
    "parentEntity" : {
      "codeChanged" : true,
      "notified" : true,
      "descriptionOrCode" : "...",
      "description" : "...",
      "version" : 12345,
      "historized" : true,
      "transient" : true,
      "id" : 12345,
      "parentEntityType" : { },
      "parentEntity" : { },
      "referenceCode" : "...",
      "code" : "...",
      "auditableFields" : [ { }, { } ],
      "auditable" : { },
      "descriptionAndCode" : "...",
      "appendGeneratedCode" : true,
      "referenceDescription" : "..."
    },
    "longDescriptionI18n" : {
      "property1" : "...",
      "property2" : "..."
    },
    "notified" : true,
    "code" : "...",
    "auditable" : {
      "creator" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345,
      "lastUser" : "...",
      "created" : 12345
    }
  },
  "auditableFields" : [ {
    "notfiable" : true,
    "fieldName" : "...",
    "auditType" : "RENEWAL",
    "previousState" : { },
    "historable" : true,
    "notified" : true,
    "historized" : true,
    "currentState" : { }
  }, {
    "notfiable" : true,
    "fieldName" : "...",
    "auditType" : "OTHER",
    "previousState" : { },
    "historable" : true,
    "notified" : true,
    "historized" : true,
    "currentState" : { }
  } ],
  "description" : "...",
  "notified" : true,
  "contraAccountingCode" : {
    "reportingAccount" : "...",
    "parentEntity" : {
      "codeChanged" : true,
      "notified" : true,
      "descriptionOrCode" : "...",
      "description" : "...",
      "version" : 12345,
      "historized" : true,
      "transient" : true,
      "id" : 12345,
      "parentEntityType" : { },
      "parentEntity" : { },
      "referenceCode" : "...",
      "code" : "...",
      "auditableFields" : [ { }, { } ],
      "auditable" : { },
      "descriptionAndCode" : "...",
      "appendGeneratedCode" : true,
      "referenceDescription" : "..."
    },
    "referenceCode" : "...",
    "transient" : true,
    "historized" : true,
    "descriptionAndCode" : "...",
    "appendGeneratedCode" : true,
    "chartOfAccountTypeEnum" : "ASSETS",
    "auditableFields" : [ {
      "notfiable" : true,
      "fieldName" : "...",
      "auditType" : "STATUS",
      "previousState" : { },
      "historable" : true,
      "notified" : true,
      "historized" : true,
      "currentState" : { }
    }, {
      "notfiable" : true,
      "fieldName" : "...",
      "auditType" : "RENEWAL",
      "previousState" : { },
      "historable" : true,
      "notified" : true,
      "historized" : true,
      "currentState" : { }
    } ],
    "id" : 12345,
    "parentAccountingCode" : { },
    "notes" : "...",
    "auditable" : {
      "creator" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345,
      "lastUser" : "...",
      "created" : 12345
    },
    "descriptionOrCode" : "...",
    "disabled" : true,
    "chartOfAccountViewTypeEnum" : "REGULAR",
    "description" : "...",
    "migrated" : true,
    "referenceDescription" : "...",
    "parentEntityType" : { },
    "codeChanged" : true,
    "active" : true,
    "code" : "...",
    "notified" : true,
    "version" : 12345
  },
  "id" : 12345,
  "contraAccountingCode2" : {
    "reportingAccount" : "...",
    "parentEntity" : {
      "codeChanged" : true,
      "notified" : true,
      "descriptionOrCode" : "...",
      "description" : "...",
      "version" : 12345,
      "historized" : true,
      "transient" : true,
      "id" : 12345,
      "parentEntityType" : { },
      "parentEntity" : { },
      "referenceCode" : "...",
      "code" : "...",
      "auditableFields" : [ { }, { } ],
      "auditable" : { },
      "descriptionAndCode" : "...",
      "appendGeneratedCode" : true,
      "referenceDescription" : "..."
    },
    "referenceCode" : "...",
    "transient" : true,
    "historized" : true,
    "descriptionAndCode" : "...",
    "appendGeneratedCode" : true,
    "chartOfAccountTypeEnum" : "EQUITY",
    "auditableFields" : [ {
      "notfiable" : true,
      "fieldName" : "...",
      "auditType" : "STATUS",
      "previousState" : { },
      "historable" : true,
      "notified" : true,
      "historized" : true,
      "currentState" : { }
    }, {
      "notfiable" : true,
      "fieldName" : "...",
      "auditType" : "OTHER",
      "previousState" : { },
      "historable" : true,
      "notified" : true,
      "historized" : true,
      "currentState" : { }
    } ],
    "id" : 12345,
    "parentAccountingCode" : { },
    "notes" : "...",
    "auditable" : {
      "creator" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345,
      "lastUser" : "...",
      "created" : 12345
    },
    "descriptionOrCode" : "...",
    "disabled" : true,
    "chartOfAccountViewTypeEnum" : "REGULAR",
    "description" : "...",
    "migrated" : true,
    "referenceDescription" : "...",
    "parentEntityType" : { },
    "codeChanged" : true,
    "active" : true,
    "code" : "...",
    "notified" : true,
    "version" : 12345
  },
  "codeChanged" : true,
  "appendGeneratedCode" : true,
  "referenceDescription" : "...",
  "manualCreationEnabled" : true,
  "parentEntityType" : { },
  "code" : "...",
  "version" : 12345,
  "referenceCode" : "...",
  "historized" : true,
  "descriptionAndCode" : "...",
  "auditable" : {
    "creator" : "...",
    "updater" : "...",
    "updated" : 12345,
    "lastModified" : 12345,
    "lastUser" : "...",
    "created" : 12345
  },
  "journal" : {
    "description" : "...",
    "version" : 12345,
    "auditable" : {
      "creator" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345,
      "lastUser" : "...",
      "created" : 12345
    },
    "notified" : true,
    "parentEntity" : {
      "codeChanged" : true,
      "notified" : true,
      "descriptionOrCode" : "...",
      "description" : "...",
      "version" : 12345,
      "historized" : true,
      "transient" : true,
      "id" : 12345,
      "parentEntityType" : { },
      "parentEntity" : { },
      "referenceCode" : "...",
      "code" : "...",
      "auditableFields" : [ { }, { } ],
      "auditable" : { },
      "descriptionAndCode" : "...",
      "appendGeneratedCode" : true,
      "referenceDescription" : "..."
    },
    "codeChanged" : true,
    "parentEntityType" : { },
    "descriptionOrCode" : "...",
    "historized" : true,
    "referenceCode" : "...",
    "transient" : true,
    "referenceDescription" : "...",
    "id" : 12345,
    "code" : "...",
    "appendGeneratedCode" : true,
    "descriptionAndCode" : "...",
    "auditableFields" : [ {
      "notfiable" : true,
      "fieldName" : "...",
      "auditType" : "OTHER",
      "previousState" : { },
      "historable" : true,
      "notified" : true,
      "historized" : true,
      "currentState" : { }
    }, {
      "notfiable" : true,
      "fieldName" : "...",
      "auditType" : "OTHER",
      "previousState" : { },
      "historable" : true,
      "notified" : true,
      "historized" : true,
      "currentState" : { }
    } ],
    "occTemplates" : [ {
      "accountingCode" : { },
      "descriptionOrCode" : "...",
      "accountCodeClientSide" : "...",
      "accountingScheme" : { },
      "auditableFields" : [ { }, { } ],
      "description" : "...",
      "notified" : true,
      "contraAccountingCode" : { },
      "id" : 12345,
      "contraAccountingCode2" : { },
      "codeChanged" : true,
      "appendGeneratedCode" : true,
      "referenceDescription" : "...",
      "manualCreationEnabled" : true,
      "parentEntityType" : { },
      "code" : "...",
      "version" : 12345,
      "referenceCode" : "...",
      "historized" : true,
      "descriptionAndCode" : "...",
      "auditable" : { },
      "journal" : { },
      "transient" : true,
      "parentEntity" : { },
      "occCategory" : "DEBIT"
    }, {
      "accountingCode" : { },
      "descriptionOrCode" : "...",
      "accountCodeClientSide" : "...",
      "accountingScheme" : { },
      "auditableFields" : [ { }, { } ],
      "description" : "...",
      "notified" : true,
      "contraAccountingCode" : { },
      "id" : 12345,
      "contraAccountingCode2" : { },
      "codeChanged" : true,
      "appendGeneratedCode" : true,
      "referenceDescription" : "...",
      "manualCreationEnabled" : true,
      "parentEntityType" : { },
      "code" : "...",
      "version" : 12345,
      "referenceCode" : "...",
      "historized" : true,
      "descriptionAndCode" : "...",
      "auditable" : { },
      "journal" : { },
      "transient" : true,
      "parentEntity" : { },
      "occCategory" : "DEBIT"
    } ],
    "accountOperations" : [ {
      "description" : "...",
      "amountWithoutTax" : 12345.0,
      "journal" : { },
      "cfAccumulatedValues" : { },
      "parentEntityType" : { },
      "paymentHistories" : [ { }, { } ],
      "collectionDate" : 12345,
      "ddRequestItem" : { },
      "rejectedPayment" : { },
      "bankReference" : "...",
      "unMatchingAmount" : 12345.0,
      "version" : 12345,
      "reference" : "...",
      "invoices" : [ { }, { } ],
      "paymentInfo4" : "...",
      "paymentInfo3" : "...",
      "accountingCode" : { },
      "reason" : "CLOSED_PERIOD",
      "paymentInfo5" : "...",
      "id" : 12345,
      "matchingAmounts" : [ { }, { } ],
      "billingAccountName" : "...",
      "parentCFEntities" : [ { }, { } ],
      "orderNumber" : "...",
      "code" : "...",
      "type" : "...",
      "appendGeneratedCode" : true,
      "descriptionAndCode" : "...",
      "bankLot" : "...",
      "paymentInfo6" : "...",
      "subscription" : { },
      "bankCollectionDate" : 12345,
      "transient" : true,
      "paymentInfo" : "...",
      "matchingStatus" : "I",
      "status" : "EXPORT_FAILED",
      "accountingExportFile" : "...",
      "accountCodeClientSide" : "...",
      "referenceDescription" : "...",
      "codeChanged" : true,
      "paymentInfo2" : "...",
      "transactionDate" : 12345,
      "dueDate" : 12345,
      "uuid" : "...",
      "customerAccount" : { },
      "paymentMethod" : "CASH",
      "paymentInfo1" : "...",
      "historized" : true,
      "cfValues" : { },
      "auditable" : { },
      "referenceCode" : "...",
      "seller" : { },
      "notified" : true,
      "accountingSchemeEntries" : [ { }, { } ],
      "paymentDeferralCount" : 12345,
      "accountingDate" : 12345,
      "transactionCategory" : "CREDIT",
      "parentEntity" : { },
      "amount" : 12345.0,
      "matchingAmount" : 12345.0,
      "operationAction" : "TO_REFUND",
      "taxAmount" : 12345.0,
      "paymentAction" : "PENDING_PAYMENT",
      "depositDate" : 12345,
      "descriptionOrCode" : "...",
      "operationNumber" : 12345,
      "auditableFields" : [ { }, { } ],
      "paymentVentilation" : { }
    }, {
      "description" : "...",
      "amountWithoutTax" : 12345.0,
      "journal" : { },
      "cfAccumulatedValues" : { },
      "parentEntityType" : { },
      "paymentHistories" : [ { }, { } ],
      "collectionDate" : 12345,
      "ddRequestItem" : { },
      "rejectedPayment" : { },
      "bankReference" : "...",
      "unMatchingAmount" : 12345.0,
      "version" : 12345,
      "reference" : "...",
      "invoices" : [ { }, { } ],
      "paymentInfo4" : "...",
      "paymentInfo3" : "...",
      "accountingCode" : { },
      "reason" : "CLOSED_PERIOD",
      "paymentInfo5" : "...",
      "id" : 12345,
      "matchingAmounts" : [ { }, { } ],
      "billingAccountName" : "...",
      "parentCFEntities" : [ { }, { } ],
      "orderNumber" : "...",
      "code" : "...",
      "type" : "...",
      "appendGeneratedCode" : true,
      "descriptionAndCode" : "...",
      "bankLot" : "...",
      "paymentInfo6" : "...",
      "subscription" : { },
      "bankCollectionDate" : 12345,
      "transient" : true,
      "paymentInfo" : "...",
      "matchingStatus" : "C",
      "status" : "POSTED",
      "accountingExportFile" : "...",
      "accountCodeClientSide" : "...",
      "referenceDescription" : "...",
      "codeChanged" : true,
      "paymentInfo2" : "...",
      "transactionDate" : 12345,
      "dueDate" : 12345,
      "uuid" : "...",
      "customerAccount" : { },
      "paymentMethod" : "CARD",
      "paymentInfo1" : "...",
      "historized" : true,
      "cfValues" : { },
      "auditable" : { },
      "referenceCode" : "...",
      "seller" : { },
      "notified" : true,
      "accountingSchemeEntries" : [ { }, { } ],
      "paymentDeferralCount" : 12345,
      "accountingDate" : 12345,
      "transactionCategory" : "DEBIT",
      "parentEntity" : { },
      "amount" : 12345.0,
      "matchingAmount" : 12345.0,
      "operationAction" : "TO_REFUND",
      "taxAmount" : 12345.0,
      "paymentAction" : "PENDING_PAYMENT",
      "depositDate" : 12345,
      "descriptionOrCode" : "...",
      "operationNumber" : 12345,
      "auditableFields" : [ { }, { } ],
      "paymentVentilation" : { }
    } ]
  },
  "transient" : true,
  "parentEntity" : {
    "codeChanged" : true,
    "notified" : true,
    "descriptionOrCode" : "...",
    "description" : "...",
    "version" : 12345,
    "historized" : true,
    "transient" : true,
    "id" : 12345,
    "parentEntityType" : { },
    "parentEntity" : { },
    "referenceCode" : "...",
    "code" : "...",
    "auditableFields" : [ {
      "notfiable" : true,
      "fieldName" : "...",
      "auditType" : "RENEWAL",
      "previousState" : { },
      "historable" : true,
      "notified" : true,
      "historized" : true,
      "currentState" : { }
    }, {
      "notfiable" : true,
      "fieldName" : "...",
      "auditType" : "STATUS",
      "previousState" : { },
      "historable" : true,
      "notified" : true,
      "historized" : true,
      "currentState" : { }
    } ],
    "auditable" : {
      "creator" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345,
      "lastUser" : "...",
      "created" : 12345
    },
    "descriptionAndCode" : "...",
    "appendGeneratedCode" : true,
    "referenceDescription" : "..."
  },
  "occCategory" : "DEBIT"
}