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