| name | data type | constraints | description |
|---|---|---|---|
| codeChanged | boolean | ||
| parentEntityType | object | ||
| notified | boolean | ||
| type | ValidationRuleTypeEnum | ||
| validTo | number | ||
| appendGeneratedCode | boolean | ||
| auditableFields | array of AuditableFieldHistory | ||
| parentEntity | BusinessEntity | ||
| code | string | required, max size: 255, min size: 1 | |
| referenceDescription | string | ||
| descriptionOrCode | string | ||
| version | number | ||
| description | string | max size: 255, min size: 0 | |
| validFrom | number | ||
| historized | boolean | ||
| auditable | Auditable | ||
| ruleValues | map of string | ||
| transient | boolean | ||
| validationEL | string | ||
| validationScript | ScriptInstance | ||
| id | number | ||
| priority | number | ||
| referenceCode | string | ||
| descriptionAndCode | string | ||
| failStatus | InvoiceValidationStatusEnum | ||
| toReorder | boolean | ||
| invoiceType | InvoiceType |
Example
{
"codeChanged" : true,
"parentEntityType" : { },
"notified" : true,
"type" : "SCRIPT",
"validTo" : 12345,
"appendGeneratedCode" : true,
"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" : { }
} ],
"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" : { }
} ]
},
"code" : "...",
"referenceDescription" : "...",
"descriptionOrCode" : "...",
"version" : 12345,
"description" : "...",
"validFrom" : 12345,
"historized" : true,
"auditable" : {
"created" : 12345,
"updater" : "...",
"lastModified" : 12345,
"updated" : 12345,
"lastUser" : "...",
"creator" : "..."
},
"ruleValues" : {
"property1" : "...",
"property2" : "..."
},
"transient" : true,
"validationEL" : "...",
"validationScript" : {
"description" : "...",
"scriptParameters" : [ {
"descriptionI18n" : {
"property1" : "...",
"property2" : "..."
},
"defaultValue" : "...",
"mandatory" : true,
"scriptInstance" : { },
"allowedValues" : "...",
"collection" : true,
"className" : "...",
"valuesSeparator" : "...",
"code" : "...",
"id" : 12345,
"version" : 12345,
"transient" : true
}, {
"descriptionI18n" : {
"property1" : "...",
"property2" : "..."
},
"defaultValue" : "...",
"mandatory" : true,
"scriptInstance" : { },
"allowedValues" : "...",
"collection" : true,
"className" : "...",
"valuesSeparator" : "...",
"code" : "...",
"id" : 12345,
"version" : 12345,
"transient" : true
} ],
"parentEntityType" : { },
"historized" : true,
"code" : "...",
"descriptionAndCode" : "...",
"id" : 12345,
"transient" : true,
"referenceDescription" : "...",
"sourcingRoles" : [ "...", "..." ],
"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" : [ { }, { } ]
},
"disabled" : true,
"scriptErrors" : [ {
"message" : "...",
"sourceFile" : "...",
"lineNumber" : 12345,
"columnNumber" : 12345
}, {
"message" : "...",
"sourceFile" : "...",
"lineNumber" : 12345,
"columnNumber" : 12345
} ],
"referenceCode" : "...",
"descriptionOrCode" : "...",
"version" : 12345,
"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" : { }
} ],
"error" : true,
"codeChanged" : true,
"executionRoles" : [ "...", "..." ],
"notified" : true,
"appendGeneratedCode" : true,
"auditable" : {
"created" : 12345,
"updater" : "...",
"lastModified" : 12345,
"updated" : 12345,
"lastUser" : "...",
"creator" : "..."
},
"reuse" : true,
"script" : "...",
"sourceTypeEnum" : "JAVA_CLASS",
"descriptionI18n" : {
"property1" : "...",
"property2" : "..."
},
"active" : true,
"scriptInstanceCategory" : {
"descriptionOrCode" : "...",
"appendGeneratedCode" : true,
"version" : 12345,
"transient" : true,
"historized" : true,
"descriptionAndCode" : "...",
"descriptionI18n" : {
"property1" : "...",
"property2" : "..."
},
"description" : "...",
"notified" : true,
"referenceDescription" : "...",
"auditableFields" : [ { }, { } ],
"code" : "...",
"parentEntityType" : { },
"referenceCode" : "...",
"id" : 12345,
"codeChanged" : true,
"auditable" : { },
"parentEntity" : { }
}
},
"id" : 12345,
"priority" : 12345,
"referenceCode" : "...",
"descriptionAndCode" : "...",
"failStatus" : "REJECTED",
"toReorder" : true,
"invoiceType" : {
"taxScript" : {
"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" : { }
},
"description" : "...",
"parentCFEntities" : [ {
"parentCFEntities" : [ { }, { } ],
"uuid" : "...",
"cfValuesNullSafe" : { },
"cfValuesAsValues" : {
"property1" : { },
"property2" : { }
},
"dirtyCF" : true,
"CFValuesCopy" : { },
"cfValues" : { },
"cfAccumulatedValuesNullSafe" : { },
"cfAccumulatedValues" : { }
}, {
"parentCFEntities" : [ { }, { } ],
"uuid" : "...",
"cfValuesNullSafe" : { },
"cfValuesAsValues" : {
"property1" : { },
"property2" : { }
},
"dirtyCF" : true,
"CFValuesCopy" : { },
"cfValues" : { },
"cfAccumulatedValuesNullSafe" : { },
"cfAccumulatedValues" : { }
} ],
"invoiceValidationScript" : {
"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" : { }
},
"historized" : true,
"descriptionAndCode" : "...",
"mailingType" : "BATCH",
"excludeFromAgedTrialBalance" : true,
"invoiceValidationRules" : [ {
"codeChanged" : true,
"parentEntityType" : { },
"notified" : true,
"type" : "EXPRESSION_LANGUAGE",
"validTo" : 12345,
"appendGeneratedCode" : true,
"auditableFields" : [ { }, { } ],
"parentEntity" : { },
"code" : "...",
"referenceDescription" : "...",
"descriptionOrCode" : "...",
"version" : 12345,
"description" : "...",
"validFrom" : 12345,
"historized" : true,
"auditable" : { },
"ruleValues" : {
"property1" : "...",
"property2" : "..."
},
"transient" : true,
"validationEL" : "...",
"validationScript" : { },
"id" : 12345,
"priority" : 12345,
"referenceCode" : "...",
"descriptionAndCode" : "...",
"failStatus" : "VALID",
"toReorder" : true,
"invoiceType" : { }
}, {
"codeChanged" : true,
"parentEntityType" : { },
"notified" : true,
"type" : "SCRIPT",
"validTo" : 12345,
"appendGeneratedCode" : true,
"auditableFields" : [ { }, { } ],
"parentEntity" : { },
"code" : "...",
"referenceDescription" : "...",
"descriptionOrCode" : "...",
"version" : 12345,
"description" : "...",
"validFrom" : 12345,
"historized" : true,
"auditable" : { },
"ruleValues" : {
"property1" : "...",
"property2" : "..."
},
"transient" : true,
"validationEL" : "...",
"validationScript" : { },
"id" : 12345,
"priority" : 12345,
"referenceCode" : "...",
"descriptionAndCode" : "...",
"failStatus" : "VALID",
"toReorder" : true,
"invoiceType" : { }
} ],
"parentEntityType" : { },
"xmlFilenameEL" : "...",
"customInvoiceXmlScriptInstance" : {
"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",
"descriptionI18n" : {
"property1" : "...",
"property2" : "..."
},
"active" : true,
"scriptInstanceCategory" : { }
},
"referenceDescription" : "...",
"invoiceAccountable" : true,
"appendGeneratedCode" : true,
"prefixEL" : "...",
"pdfFilenameEL" : "...",
"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" : [ { }, { } ]
},
"descriptionOrCode" : "...",
"emailTemplate" : {
"transient" : true,
"referenceCode" : "...",
"textContent" : "...",
"translatedSubject" : {
"property1" : "...",
"property2" : "..."
},
"tagStartDelimiter" : "...",
"descriptionAndCode" : "...",
"type" : "DUNNING",
"description" : "...",
"referenceDescription" : "...",
"codeChanged" : true,
"version" : 12345,
"auditable" : { },
"subject" : "...",
"notified" : true,
"historized" : true,
"translatedTextContent" : {
"property1" : "...",
"property2" : "..."
},
"auditableFields" : [ { }, { } ],
"startDate" : 12345,
"descriptionOrCode" : "...",
"translatedHtmlContent" : {
"property1" : "...",
"property2" : "..."
},
"parentEntityType" : { },
"code" : "...",
"appendGeneratedCode" : true,
"parentEntity" : { },
"htmlContent" : "...",
"id" : 12345,
"media" : "VOICE",
"endDate" : 12345,
"tagEndDelimiter" : "..."
},
"id" : 12345,
"referenceCode" : "...",
"cfValues" : {
"valuesByCode" : {
"property1" : [ { }, { } ],
"property2" : [ { }, { } ]
},
"values" : {
"property1" : { },
"property2" : { }
},
"newVersionedCFValuePeriods" : {
"property1" : [ { }, { } ],
"property2" : [ { }, { } ]
},
"encrypted" : true
},
"version" : 12345,
"auditable" : {
"created" : 12345,
"updater" : "...",
"lastModified" : 12345,
"updated" : 12345,
"lastUser" : "...",
"creator" : "..."
},
"code" : "...",
"matchingAuto" : true,
"notified" : true,
"occTemplate" : {
"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" : "..."
},
"cfAccumulatedValues" : {
"valuesByCode" : {
"property1" : [ { }, { } ],
"property2" : [ { }, { } ]
},
"values" : {
"property1" : { },
"property2" : { }
},
"newVersionedCFValuePeriods" : {
"property1" : [ { }, { } ],
"property2" : [ { }, { } ]
},
"encrypted" : true
},
"sellerSequence" : [ {
"seller" : { },
"transient" : true,
"id" : { },
"invoiceSequence" : { },
"invoiceType" : { },
"prefixEL" : "..."
}, {
"seller" : { },
"transient" : true,
"id" : { },
"invoiceSequence" : { },
"invoiceType" : { },
"prefixEL" : "..."
} ],
"transient" : true,
"occTemplateNegative" : {
"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" : "..."
},
"occTemplateCodeEl" : "...",
"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" : { }
} ],
"billingTemplateNameEL" : "...",
"invoiceSequence" : {
"descriptionAndCode" : "...",
"currentNumber" : 12345,
"sequenceSize" : 12345,
"genericEntityCodes" : [ { }, { } ],
"descriptionOrCode" : "...",
"transient" : true,
"codeChanged" : true,
"sequencePattern" : "...",
"previousInvoiceNb" : 12345,
"sequenceType" : "CUSTOMER_NO",
"auditable" : { },
"parentEntity" : { },
"auditableFields" : [ { }, { } ],
"historized" : true,
"referenceCode" : "...",
"description" : "...",
"version" : 12345,
"notified" : true,
"code" : "...",
"referenceDescription" : "...",
"invoiceTypes" : [ { }, { } ],
"invoiceTypeSellerSequences" : [ { }, { } ],
"parentEntityType" : { },
"appendGeneratedCode" : true
},
"appliesTo" : [ { }, { } ],
"codeChanged" : true,
"uuid" : "...",
"useSelfSequence" : true,
"occTemplateNegativeCodeEl" : "..."
}
}