| name | data type | constraints | description |
|---|---|---|---|
| occCategory | OperationCategoryEnum | ||
| descriptionOrCode | string | ||
| transient | boolean | ||
| contraAccountingCode2 | AccountingCode | ||
| descriptionAndCode | string | ||
| auditable | Auditable | ||
| historized | boolean | ||
| auditableFields | array of AuditableFieldHistory | ||
| codeChanged | boolean | ||
| accountCodeClientSide | string | ||
| notified | boolean | ||
| manualCreationEnabled | boolean | ||
| parentEntity | BusinessEntity | ||
| version | number | ||
| appendGeneratedCode | boolean | ||
| journal | Journal | ||
| description | string | max size: 255, min size: 0 | |
| id | number | ||
| code | string | required, max size: 255, min size: 1 | |
| parentEntityType | object | ||
| referenceCode | string | ||
| accountingScheme | AccountingScheme | ||
| referenceDescription | string | ||
| accountingCode | AccountingCode | ||
| contraAccountingCode | AccountingCode |
Example
{
"occCategory" : "DEBIT",
"descriptionOrCode" : "...",
"transient" : true,
"contraAccountingCode2" : {
"version" : 12345,
"reportingAccount" : "...",
"notes" : "...",
"disabled" : true,
"transient" : true,
"descriptionAndCode" : "...",
"chartOfAccountTypeEnum" : "ASSETS",
"active" : true,
"parentEntity" : {
"descriptionOrCode" : "...",
"auditableFields" : [ { }, { } ],
"version" : 12345,
"historized" : true,
"appendGeneratedCode" : true,
"auditable" : { },
"parentEntity" : { },
"parentEntityType" : { },
"description" : "...",
"referenceDescription" : "...",
"codeChanged" : true,
"referenceCode" : "...",
"code" : "...",
"transient" : true,
"descriptionAndCode" : "...",
"id" : 12345,
"notified" : true
},
"appendGeneratedCode" : true,
"migrated" : true,
"referenceDescription" : "...",
"auditable" : {
"lastModified" : 12345,
"updated" : 12345,
"updater" : "...",
"created" : 12345,
"creator" : "...",
"lastUser" : "..."
},
"referenceCode" : "...",
"code" : "...",
"id" : 12345,
"chartOfAccountViewTypeEnum" : "REGULAR",
"description" : "...",
"notified" : true,
"parentAccountingCode" : { },
"auditableFields" : [ {
"historized" : true,
"notified" : true,
"auditType" : "STATUS",
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notfiable" : true,
"previousState" : { }
}, {
"historized" : true,
"notified" : true,
"auditType" : "STATUS",
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notfiable" : true,
"previousState" : { }
} ],
"codeChanged" : true,
"historized" : true,
"parentEntityType" : { },
"descriptionOrCode" : "..."
},
"descriptionAndCode" : "...",
"auditable" : {
"lastModified" : 12345,
"updated" : 12345,
"updater" : "...",
"created" : 12345,
"creator" : "...",
"lastUser" : "..."
},
"historized" : true,
"auditableFields" : [ {
"historized" : true,
"notified" : true,
"auditType" : "STATUS",
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notfiable" : true,
"previousState" : { }
}, {
"historized" : true,
"notified" : true,
"auditType" : "RENEWAL",
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notfiable" : true,
"previousState" : { }
} ],
"codeChanged" : true,
"accountCodeClientSide" : "...",
"notified" : true,
"manualCreationEnabled" : true,
"parentEntity" : {
"descriptionOrCode" : "...",
"auditableFields" : [ {
"historized" : true,
"notified" : true,
"auditType" : "OTHER",
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notfiable" : true,
"previousState" : { }
}, {
"historized" : true,
"notified" : true,
"auditType" : "STATUS",
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notfiable" : true,
"previousState" : { }
} ],
"version" : 12345,
"historized" : true,
"appendGeneratedCode" : true,
"auditable" : {
"lastModified" : 12345,
"updated" : 12345,
"updater" : "...",
"created" : 12345,
"creator" : "...",
"lastUser" : "..."
},
"parentEntity" : { },
"parentEntityType" : { },
"description" : "...",
"referenceDescription" : "...",
"codeChanged" : true,
"referenceCode" : "...",
"code" : "...",
"transient" : true,
"descriptionAndCode" : "...",
"id" : 12345,
"notified" : true
},
"version" : 12345,
"appendGeneratedCode" : true,
"journal" : {
"notified" : true,
"referenceCode" : "...",
"historized" : true,
"description" : "...",
"descriptionOrCode" : "...",
"codeChanged" : true,
"occTemplates" : [ {
"occCategory" : "DEBIT",
"descriptionOrCode" : "...",
"transient" : true,
"contraAccountingCode2" : { },
"descriptionAndCode" : "...",
"auditable" : { },
"historized" : true,
"auditableFields" : [ { }, { } ],
"codeChanged" : true,
"accountCodeClientSide" : "...",
"notified" : true,
"manualCreationEnabled" : true,
"parentEntity" : { },
"version" : 12345,
"appendGeneratedCode" : true,
"journal" : { },
"description" : "...",
"id" : 12345,
"code" : "...",
"parentEntityType" : { },
"referenceCode" : "...",
"accountingScheme" : { },
"referenceDescription" : "...",
"accountingCode" : { },
"contraAccountingCode" : { }
}, {
"occCategory" : "DEBIT",
"descriptionOrCode" : "...",
"transient" : true,
"contraAccountingCode2" : { },
"descriptionAndCode" : "...",
"auditable" : { },
"historized" : true,
"auditableFields" : [ { }, { } ],
"codeChanged" : true,
"accountCodeClientSide" : "...",
"notified" : true,
"manualCreationEnabled" : true,
"parentEntity" : { },
"version" : 12345,
"appendGeneratedCode" : true,
"journal" : { },
"description" : "...",
"id" : 12345,
"code" : "...",
"parentEntityType" : { },
"referenceCode" : "...",
"accountingScheme" : { },
"referenceDescription" : "...",
"accountingCode" : { },
"contraAccountingCode" : { }
} ],
"parentEntityType" : { },
"auditable" : {
"lastModified" : 12345,
"updated" : 12345,
"updater" : "...",
"created" : 12345,
"creator" : "...",
"lastUser" : "..."
},
"appendGeneratedCode" : true,
"descriptionAndCode" : "...",
"auditableFields" : [ {
"historized" : true,
"notified" : true,
"auditType" : "STATUS",
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notfiable" : true,
"previousState" : { }
}, {
"historized" : true,
"notified" : true,
"auditType" : "RENEWAL",
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notfiable" : true,
"previousState" : { }
} ],
"id" : 12345,
"code" : "...",
"referenceDescription" : "...",
"transient" : true,
"accountOperations" : [ {
"notified" : true,
"amountWithoutTax" : 12345.0,
"referenceDescription" : "...",
"paymentInfo" : "...",
"accountingCode" : { },
"reason" : "FORCED",
"accountCodeClientSide" : "...",
"paymentInfo1" : "...",
"auditable" : { },
"transactionDate" : 12345,
"paymentAction" : "PENDING_PAYMENT",
"uuid" : "...",
"paymentDeferralCount" : 12345,
"codeChanged" : true,
"status" : "POSTED",
"appendGeneratedCode" : true,
"ddRequestItem" : { },
"version" : 12345,
"dueDate" : 12345,
"seller" : { },
"paymentVentilation" : { },
"paymentHistories" : [ { }, { } ],
"matchingStatus" : "L",
"accountingSchemeEntries" : [ { }, { } ],
"paymentInfo3" : "...",
"paymentInfo5" : "...",
"transient" : true,
"unMatchingAmount" : 12345.0,
"matchingAmount" : 12345.0,
"orderNumber" : "...",
"reference" : "...",
"paymentMethod" : "PAYPAL",
"bankLot" : "...",
"historized" : true,
"transactionCategory" : "DEBIT",
"referenceCode" : "...",
"collectionDate" : 12345,
"matchingAmounts" : [ { }, { } ],
"parentEntity" : { },
"invoices" : [ { }, { } ],
"type" : "...",
"auditableFields" : [ { }, { } ],
"depositDate" : 12345,
"id" : 12345,
"subscription" : { },
"cfValues" : { },
"paymentInfo4" : "...",
"journal" : { },
"bankCollectionDate" : 12345,
"paymentInfo6" : "...",
"billingAccountName" : "...",
"descriptionOrCode" : "...",
"paymentInfo2" : "...",
"customerAccount" : { },
"descriptionAndCode" : "...",
"parentCFEntities" : [ { }, { } ],
"operationAction" : "NONE",
"accountingExportFile" : "...",
"accountingDate" : 12345,
"taxAmount" : 12345.0,
"description" : "...",
"operationNumber" : 12345,
"parentEntityType" : { },
"amount" : 12345.0,
"bankReference" : "...",
"code" : "...",
"rejectedPayment" : { },
"cfAccumulatedValues" : { }
}, {
"notified" : true,
"amountWithoutTax" : 12345.0,
"referenceDescription" : "...",
"paymentInfo" : "...",
"accountingCode" : { },
"reason" : "FORCED",
"accountCodeClientSide" : "...",
"paymentInfo1" : "...",
"auditable" : { },
"transactionDate" : 12345,
"paymentAction" : "PENDING_PAYMENT",
"uuid" : "...",
"paymentDeferralCount" : 12345,
"codeChanged" : true,
"status" : "EXPORT_FAILED",
"appendGeneratedCode" : true,
"ddRequestItem" : { },
"version" : 12345,
"dueDate" : 12345,
"seller" : { },
"paymentVentilation" : { },
"paymentHistories" : [ { }, { } ],
"matchingStatus" : "O",
"accountingSchemeEntries" : [ { }, { } ],
"paymentInfo3" : "...",
"paymentInfo5" : "...",
"transient" : true,
"unMatchingAmount" : 12345.0,
"matchingAmount" : 12345.0,
"orderNumber" : "...",
"reference" : "...",
"paymentMethod" : "CARD",
"bankLot" : "...",
"historized" : true,
"transactionCategory" : "DEBIT",
"referenceCode" : "...",
"collectionDate" : 12345,
"matchingAmounts" : [ { }, { } ],
"parentEntity" : { },
"invoices" : [ { }, { } ],
"type" : "...",
"auditableFields" : [ { }, { } ],
"depositDate" : 12345,
"id" : 12345,
"subscription" : { },
"cfValues" : { },
"paymentInfo4" : "...",
"journal" : { },
"bankCollectionDate" : 12345,
"paymentInfo6" : "...",
"billingAccountName" : "...",
"descriptionOrCode" : "...",
"paymentInfo2" : "...",
"customerAccount" : { },
"descriptionAndCode" : "...",
"parentCFEntities" : [ { }, { } ],
"operationAction" : "NONE",
"accountingExportFile" : "...",
"accountingDate" : 12345,
"taxAmount" : 12345.0,
"description" : "...",
"operationNumber" : 12345,
"parentEntityType" : { },
"amount" : 12345.0,
"bankReference" : "...",
"code" : "...",
"rejectedPayment" : { },
"cfAccumulatedValues" : { }
} ],
"version" : 12345,
"parentEntity" : {
"descriptionOrCode" : "...",
"auditableFields" : [ { }, { } ],
"version" : 12345,
"historized" : true,
"appendGeneratedCode" : true,
"auditable" : { },
"parentEntity" : { },
"parentEntityType" : { },
"description" : "...",
"referenceDescription" : "...",
"codeChanged" : true,
"referenceCode" : "...",
"code" : "...",
"transient" : true,
"descriptionAndCode" : "...",
"id" : 12345,
"notified" : true
}
},
"description" : "...",
"id" : 12345,
"code" : "...",
"parentEntityType" : { },
"referenceCode" : "...",
"accountingScheme" : {
"transient" : true,
"notified" : true,
"parentEntity" : {
"descriptionOrCode" : "...",
"auditableFields" : [ { }, { } ],
"version" : 12345,
"historized" : true,
"appendGeneratedCode" : true,
"auditable" : { },
"parentEntity" : { },
"parentEntityType" : { },
"description" : "...",
"referenceDescription" : "...",
"codeChanged" : true,
"referenceCode" : "...",
"code" : "...",
"transient" : true,
"descriptionAndCode" : "...",
"id" : 12345,
"notified" : true
},
"codeChanged" : true,
"descriptionOrCode" : "...",
"referenceDescription" : "...",
"auditable" : {
"lastModified" : 12345,
"updated" : 12345,
"updater" : "...",
"created" : 12345,
"creator" : "...",
"lastUser" : "..."
},
"appendGeneratedCode" : true,
"description" : "...",
"historized" : true,
"auditableFields" : [ {
"historized" : true,
"notified" : true,
"auditType" : "STATUS",
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notfiable" : true,
"previousState" : { }
}, {
"historized" : true,
"notified" : true,
"auditType" : "STATUS",
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notfiable" : true,
"previousState" : { }
} ],
"descriptionAndCode" : "...",
"id" : 12345,
"longDescription" : "...",
"version" : 12345,
"parentEntityType" : { },
"code" : "...",
"longDescriptionI18n" : {
"property1" : "...",
"property2" : "..."
},
"scriptInstance" : {
"id" : 12345,
"appendGeneratedCode" : true,
"parentEntityType" : { },
"referenceCode" : "...",
"sourcingRoles" : [ "...", "..." ],
"active" : true,
"descriptionAndCode" : "...",
"script" : "...",
"description" : "...",
"codeChanged" : true,
"referenceDescription" : "...",
"code" : "...",
"error" : true,
"sourceTypeEnum" : "JAVA_CLASS",
"version" : 12345,
"descriptionOrCode" : "...",
"reuse" : true,
"executionRoles" : [ "...", "..." ],
"parentEntity" : { },
"scriptInstanceCategory" : { },
"scriptErrors" : [ { }, { } ],
"notified" : true,
"disabled" : true,
"transient" : true,
"auditableFields" : [ { }, { } ],
"auditable" : { },
"historized" : true
},
"referenceCode" : "..."
},
"referenceDescription" : "...",
"accountingCode" : {
"version" : 12345,
"reportingAccount" : "...",
"notes" : "...",
"disabled" : true,
"transient" : true,
"descriptionAndCode" : "...",
"chartOfAccountTypeEnum" : "REVENUE",
"active" : true,
"parentEntity" : {
"descriptionOrCode" : "...",
"auditableFields" : [ { }, { } ],
"version" : 12345,
"historized" : true,
"appendGeneratedCode" : true,
"auditable" : { },
"parentEntity" : { },
"parentEntityType" : { },
"description" : "...",
"referenceDescription" : "...",
"codeChanged" : true,
"referenceCode" : "...",
"code" : "...",
"transient" : true,
"descriptionAndCode" : "...",
"id" : 12345,
"notified" : true
},
"appendGeneratedCode" : true,
"migrated" : true,
"referenceDescription" : "...",
"auditable" : {
"lastModified" : 12345,
"updated" : 12345,
"updater" : "...",
"created" : 12345,
"creator" : "...",
"lastUser" : "..."
},
"referenceCode" : "...",
"code" : "...",
"id" : 12345,
"chartOfAccountViewTypeEnum" : "REGULAR",
"description" : "...",
"notified" : true,
"parentAccountingCode" : { },
"auditableFields" : [ {
"historized" : true,
"notified" : true,
"auditType" : "RENEWAL",
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notfiable" : true,
"previousState" : { }
}, {
"historized" : true,
"notified" : true,
"auditType" : "STATUS",
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notfiable" : true,
"previousState" : { }
} ],
"codeChanged" : true,
"historized" : true,
"parentEntityType" : { },
"descriptionOrCode" : "..."
},
"contraAccountingCode" : {
"version" : 12345,
"reportingAccount" : "...",
"notes" : "...",
"disabled" : true,
"transient" : true,
"descriptionAndCode" : "...",
"chartOfAccountTypeEnum" : "EQUITY",
"active" : true,
"parentEntity" : {
"descriptionOrCode" : "...",
"auditableFields" : [ { }, { } ],
"version" : 12345,
"historized" : true,
"appendGeneratedCode" : true,
"auditable" : { },
"parentEntity" : { },
"parentEntityType" : { },
"description" : "...",
"referenceDescription" : "...",
"codeChanged" : true,
"referenceCode" : "...",
"code" : "...",
"transient" : true,
"descriptionAndCode" : "...",
"id" : 12345,
"notified" : true
},
"appendGeneratedCode" : true,
"migrated" : true,
"referenceDescription" : "...",
"auditable" : {
"lastModified" : 12345,
"updated" : 12345,
"updater" : "...",
"created" : 12345,
"creator" : "...",
"lastUser" : "..."
},
"referenceCode" : "...",
"code" : "...",
"id" : 12345,
"chartOfAccountViewTypeEnum" : "REGULAR",
"description" : "...",
"notified" : true,
"parentAccountingCode" : { },
"auditableFields" : [ {
"historized" : true,
"notified" : true,
"auditType" : "STATUS",
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notfiable" : true,
"previousState" : { }
}, {
"historized" : true,
"notified" : true,
"auditType" : "STATUS",
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notfiable" : true,
"previousState" : { }
} ],
"codeChanged" : true,
"historized" : true,
"parentEntityType" : { },
"descriptionOrCode" : "..."
}
}