| name | data type | constraints | description |
|---|---|---|---|
| code | string | required, max size: 255, min size: 1 | |
| assignedTo | DunningAgent | ||
| id | number | ||
| parentEntityType | object | ||
| version | number | ||
| transient | boolean | ||
| attachOverdueInvoices | boolean | ||
| activeAction | boolean | ||
| appendGeneratedCode | boolean | ||
| actionChannel | ActionChannelEnum | ||
| scriptInstance | ScriptInstance | ||
| referenceCode | string | ||
| actionMode | ActionModeEnum | ||
| notified | boolean | ||
| actionNotificationTemplate | EmailTemplate | ||
| description | string | max size: 255, min size: 0 | |
| descriptionOrCode | string | ||
| auditableFields | array of AuditableFieldHistory | ||
| descriptionAndCode | string | ||
| attachDueInvoices | boolean | ||
| historized | boolean | ||
| codeChanged | boolean | ||
| parentEntity | BusinessEntity | ||
| array of DunningLevel | |||
| referenceDescription | string | ||
| actionType | ActionTypeEnum | ||
| auditable | Auditable |
Example
{
"code" : "...",
"assignedTo" : {
"id" : 12345,
"notified" : true,
"agentEmailItem" : "...",
"auditable" : {
"created" : 12345,
"creator" : "...",
"lastModified" : 12345,
"updater" : "...",
"updated" : 12345,
"lastUser" : "..."
},
"historized" : true,
"agentLastNameItem" : "...",
"collectionAgency" : "...",
"auditableFields" : [ {
"fieldName" : "...",
"historable" : true,
"historized" : true,
"auditType" : "OTHER",
"notfiable" : true,
"currentState" : { },
"notified" : true,
"previousState" : { }
}, {
"fieldName" : "...",
"historable" : true,
"historized" : true,
"auditType" : "RENEWAL",
"notfiable" : true,
"currentState" : { },
"notified" : true,
"previousState" : { }
} ],
"version" : 12345,
"transient" : true,
"external" : true,
"dunningSettings" : {
"dunningAgents" : [ { }, { } ],
"parentEntityType" : { },
"allowDunningCharges" : true,
"dunningPaymentRetries" : [ { }, { } ],
"auditableFields" : [ { }, { } ],
"auditable" : { },
"notified" : true,
"version" : 12345,
"historized" : true,
"referenceDescription" : "...",
"interestForDelayRate" : 12345.0,
"dunningMode" : "INVOICE_LEVEL",
"transient" : true,
"descriptionOrCode" : "...",
"dunningStopReasons" : [ { }, { } ],
"appendGeneratedCode" : true,
"accountingArticle" : { },
"maxDunningLevels" : 12345,
"description" : "...",
"referenceCode" : "...",
"dunningPauseReasons" : [ { }, { } ],
"allowInterestForDelay" : true,
"code" : "...",
"dunningCollectionPlanStatuses" : [ { }, { } ],
"descriptionAndCode" : "...",
"applyDunningChargeFxExchangeRate" : true,
"codeChanged" : true,
"maxDaysOutstanding" : 12345,
"id" : 12345,
"parentEntity" : { }
},
"agentFirstNameItem" : "..."
},
"id" : 12345,
"parentEntityType" : { },
"version" : 12345,
"transient" : true,
"attachOverdueInvoices" : true,
"activeAction" : true,
"appendGeneratedCode" : true,
"actionChannel" : "EMAIL",
"scriptInstance" : {
"scriptInstanceCategory" : {
"version" : 12345,
"referenceCode" : "...",
"referenceDescription" : "...",
"description" : "...",
"auditableFields" : [ { }, { } ],
"auditable" : { },
"historized" : true,
"parentEntityType" : { },
"appendGeneratedCode" : true,
"parentEntity" : { },
"codeChanged" : true,
"code" : "...",
"notified" : true,
"descriptionOrCode" : "...",
"descriptionAndCode" : "...",
"id" : 12345,
"transient" : true
},
"sourcingRoles" : [ "...", "..." ],
"parentEntity" : {
"code" : "...",
"appendGeneratedCode" : true,
"auditableFields" : [ { }, { } ],
"notified" : true,
"parentEntity" : { },
"referenceDescription" : "...",
"id" : 12345,
"auditable" : { },
"codeChanged" : true,
"transient" : true,
"referenceCode" : "...",
"descriptionOrCode" : "...",
"historized" : true,
"version" : 12345,
"parentEntityType" : { },
"description" : "...",
"descriptionAndCode" : "..."
},
"descriptionOrCode" : "...",
"historized" : true,
"codeChanged" : true,
"id" : 12345,
"executionRoles" : [ "...", "..." ],
"appendGeneratedCode" : true,
"description" : "...",
"transient" : true,
"code" : "...",
"auditable" : {
"created" : 12345,
"creator" : "...",
"lastModified" : 12345,
"updater" : "...",
"updated" : 12345,
"lastUser" : "..."
},
"active" : true,
"parentEntityType" : { },
"auditableFields" : [ {
"fieldName" : "...",
"historable" : true,
"historized" : true,
"auditType" : "RENEWAL",
"notfiable" : true,
"currentState" : { },
"notified" : true,
"previousState" : { }
}, {
"fieldName" : "...",
"historable" : true,
"historized" : true,
"auditType" : "RENEWAL",
"notfiable" : true,
"currentState" : { },
"notified" : true,
"previousState" : { }
} ],
"notified" : true,
"disabled" : true,
"script" : "...",
"sourceTypeEnum" : "JAVA",
"referenceDescription" : "...",
"version" : 12345,
"referenceCode" : "...",
"reuse" : true,
"descriptionAndCode" : "...",
"scriptErrors" : [ {
"message" : "...",
"sourceFile" : "...",
"lineNumber" : 12345,
"columnNumber" : 12345
}, {
"message" : "...",
"sourceFile" : "...",
"lineNumber" : 12345,
"columnNumber" : 12345
} ],
"error" : true
},
"referenceCode" : "...",
"actionMode" : "AUTOMATIC",
"notified" : true,
"actionNotificationTemplate" : {
"id" : 12345,
"referenceDescription" : "...",
"type" : "DUNNING",
"parentEntity" : {
"code" : "...",
"appendGeneratedCode" : true,
"auditableFields" : [ { }, { } ],
"notified" : true,
"parentEntity" : { },
"referenceDescription" : "...",
"id" : 12345,
"auditable" : { },
"codeChanged" : true,
"transient" : true,
"referenceCode" : "...",
"descriptionOrCode" : "...",
"historized" : true,
"version" : 12345,
"parentEntityType" : { },
"description" : "...",
"descriptionAndCode" : "..."
},
"appendGeneratedCode" : true,
"tagStartDelimiter" : "...",
"descriptionOrCode" : "...",
"auditable" : {
"created" : 12345,
"creator" : "...",
"lastModified" : 12345,
"updater" : "...",
"updated" : 12345,
"lastUser" : "..."
},
"descriptionAndCode" : "...",
"textContent" : "...",
"code" : "...",
"historized" : true,
"endDate" : 12345,
"parentEntityType" : { },
"referenceCode" : "...",
"subject" : "...",
"tagEndDelimiter" : "...",
"auditableFields" : [ {
"fieldName" : "...",
"historable" : true,
"historized" : true,
"auditType" : "OTHER",
"notfiable" : true,
"currentState" : { },
"notified" : true,
"previousState" : { }
}, {
"fieldName" : "...",
"historable" : true,
"historized" : true,
"auditType" : "RENEWAL",
"notfiable" : true,
"currentState" : { },
"notified" : true,
"previousState" : { }
} ],
"codeChanged" : true,
"htmlContent" : "...",
"version" : 12345,
"media" : "EMAIL",
"description" : "...",
"notified" : true,
"transient" : true,
"startDate" : 12345
},
"description" : "...",
"descriptionOrCode" : "...",
"auditableFields" : [ {
"fieldName" : "...",
"historable" : true,
"historized" : true,
"auditType" : "RENEWAL",
"notfiable" : true,
"currentState" : { },
"notified" : true,
"previousState" : { }
}, {
"fieldName" : "...",
"historable" : true,
"historized" : true,
"auditType" : "RENEWAL",
"notfiable" : true,
"currentState" : { },
"notified" : true,
"previousState" : { }
} ],
"descriptionAndCode" : "...",
"attachDueInvoices" : true,
"historized" : true,
"codeChanged" : true,
"parentEntity" : {
"code" : "...",
"appendGeneratedCode" : true,
"auditableFields" : [ {
"fieldName" : "...",
"historable" : true,
"historized" : true,
"auditType" : "STATUS",
"notfiable" : true,
"currentState" : { },
"notified" : true,
"previousState" : { }
}, {
"fieldName" : "...",
"historable" : true,
"historized" : true,
"auditType" : "OTHER",
"notfiable" : true,
"currentState" : { },
"notified" : true,
"previousState" : { }
} ],
"notified" : true,
"parentEntity" : { },
"referenceDescription" : "...",
"id" : 12345,
"auditable" : {
"created" : 12345,
"creator" : "...",
"lastModified" : 12345,
"updater" : "...",
"updated" : 12345,
"lastUser" : "..."
},
"codeChanged" : true,
"transient" : true,
"referenceCode" : "...",
"descriptionOrCode" : "...",
"historized" : true,
"version" : 12345,
"parentEntityType" : { },
"description" : "...",
"descriptionAndCode" : "..."
},
"relatedLevels" : [ {
"active" : true,
"chargeCurrency" : {
"auditable" : { },
"transient" : true,
"auditableFields" : [ { }, { } ],
"version" : 12345,
"id" : 12345,
"notified" : true,
"description" : "...",
"systemCurrency" : true,
"symbol" : "...",
"descriptionI18n" : {
"property1" : "...",
"property2" : "..."
},
"historized" : true,
"descriptionEn" : "...",
"currencyCode" : "..."
},
"chargeValue" : 12345.0,
"referenceCode" : "...",
"historized" : true,
"code" : "...",
"transient" : true,
"codeChanged" : true,
"parentEntity" : {
"code" : "...",
"appendGeneratedCode" : true,
"auditableFields" : [ { }, { } ],
"notified" : true,
"parentEntity" : { },
"referenceDescription" : "...",
"id" : 12345,
"auditable" : { },
"codeChanged" : true,
"transient" : true,
"referenceCode" : "...",
"descriptionOrCode" : "...",
"historized" : true,
"version" : 12345,
"parentEntityType" : { },
"description" : "...",
"descriptionAndCode" : "..."
},
"description" : "...",
"reminder" : true,
"auditable" : {
"created" : 12345,
"creator" : "...",
"lastModified" : 12345,
"updater" : "...",
"updated" : 12345,
"lastUser" : "..."
},
"dunningActions" : [ {
"code" : "...",
"assignedTo" : { },
"id" : 12345,
"parentEntityType" : { },
"version" : 12345,
"transient" : true,
"attachOverdueInvoices" : true,
"activeAction" : true,
"appendGeneratedCode" : true,
"actionChannel" : "LETTER",
"scriptInstance" : { },
"referenceCode" : "...",
"actionMode" : "AUTOMATIC",
"notified" : true,
"actionNotificationTemplate" : { },
"description" : "...",
"descriptionOrCode" : "...",
"auditableFields" : [ { }, { } ],
"descriptionAndCode" : "...",
"attachDueInvoices" : true,
"historized" : true,
"codeChanged" : true,
"parentEntity" : { },
"relatedLevels" : [ { }, { } ],
"referenceDescription" : "...",
"actionType" : "SCRIPT",
"auditable" : { }
}, {
"code" : "...",
"assignedTo" : { },
"id" : 12345,
"parentEntityType" : { },
"version" : 12345,
"transient" : true,
"attachOverdueInvoices" : true,
"activeAction" : true,
"appendGeneratedCode" : true,
"actionChannel" : "LETTER",
"scriptInstance" : { },
"referenceCode" : "...",
"actionMode" : "MANUAL",
"notified" : true,
"actionNotificationTemplate" : { },
"description" : "...",
"descriptionOrCode" : "...",
"auditableFields" : [ { }, { } ],
"descriptionAndCode" : "...",
"attachDueInvoices" : true,
"historized" : true,
"codeChanged" : true,
"parentEntity" : { },
"relatedLevels" : [ { }, { } ],
"referenceDescription" : "...",
"actionType" : "WRITE_OFF_INVOICE",
"auditable" : { }
} ],
"parentEntityType" : { },
"relatedPolicies" : [ {
"version" : 12345,
"auditableFields" : [ { }, { } ],
"historized" : true,
"sequence" : 12345,
"dunningLevel" : { },
"id" : 12345,
"dunningPolicy" : { },
"transient" : true,
"auditable" : { },
"collectionPlanStatus" : { },
"notified" : true
}, {
"version" : 12345,
"auditableFields" : [ { }, { } ],
"historized" : true,
"sequence" : 12345,
"dunningLevel" : { },
"id" : 12345,
"dunningPolicy" : { },
"transient" : true,
"auditable" : { },
"collectionPlanStatus" : { },
"notified" : true
} ],
"version" : 12345,
"referenceDescription" : "...",
"notified" : true,
"daysOverdue" : 12345,
"chargeType" : "FLAT_AMOUNT",
"endOfDunningLevel" : true,
"appendGeneratedCode" : true,
"minBalanceCurrency" : {
"auditable" : { },
"transient" : true,
"auditableFields" : [ { }, { } ],
"version" : 12345,
"id" : 12345,
"notified" : true,
"description" : "...",
"systemCurrency" : true,
"symbol" : "...",
"descriptionI18n" : {
"property1" : "...",
"property2" : "..."
},
"historized" : true,
"descriptionEn" : "...",
"currencyCode" : "..."
},
"softDecline" : true,
"minBalance" : 12345.0,
"auditableFields" : [ {
"fieldName" : "...",
"historable" : true,
"historized" : true,
"auditType" : "RENEWAL",
"notfiable" : true,
"currentState" : { },
"notified" : true,
"previousState" : { }
}, {
"fieldName" : "...",
"historable" : true,
"historized" : true,
"auditType" : "RENEWAL",
"notfiable" : true,
"currentState" : { },
"notified" : true,
"previousState" : { }
} ],
"id" : 12345,
"descriptionOrCode" : "...",
"descriptionAndCode" : "..."
}, {
"active" : true,
"chargeCurrency" : {
"auditable" : { },
"transient" : true,
"auditableFields" : [ { }, { } ],
"version" : 12345,
"id" : 12345,
"notified" : true,
"description" : "...",
"systemCurrency" : true,
"symbol" : "...",
"descriptionI18n" : {
"property1" : "...",
"property2" : "..."
},
"historized" : true,
"descriptionEn" : "...",
"currencyCode" : "..."
},
"chargeValue" : 12345.0,
"referenceCode" : "...",
"historized" : true,
"code" : "...",
"transient" : true,
"codeChanged" : true,
"parentEntity" : {
"code" : "...",
"appendGeneratedCode" : true,
"auditableFields" : [ { }, { } ],
"notified" : true,
"parentEntity" : { },
"referenceDescription" : "...",
"id" : 12345,
"auditable" : { },
"codeChanged" : true,
"transient" : true,
"referenceCode" : "...",
"descriptionOrCode" : "...",
"historized" : true,
"version" : 12345,
"parentEntityType" : { },
"description" : "...",
"descriptionAndCode" : "..."
},
"description" : "...",
"reminder" : true,
"auditable" : {
"created" : 12345,
"creator" : "...",
"lastModified" : 12345,
"updater" : "...",
"updated" : 12345,
"lastUser" : "..."
},
"dunningActions" : [ {
"code" : "...",
"assignedTo" : { },
"id" : 12345,
"parentEntityType" : { },
"version" : 12345,
"transient" : true,
"attachOverdueInvoices" : true,
"activeAction" : true,
"appendGeneratedCode" : true,
"actionChannel" : "LETTER",
"scriptInstance" : { },
"referenceCode" : "...",
"actionMode" : "AUTOMATIC",
"notified" : true,
"actionNotificationTemplate" : { },
"description" : "...",
"descriptionOrCode" : "...",
"auditableFields" : [ { }, { } ],
"descriptionAndCode" : "...",
"attachDueInvoices" : true,
"historized" : true,
"codeChanged" : true,
"parentEntity" : { },
"relatedLevels" : [ { }, { } ],
"referenceDescription" : "...",
"actionType" : "ISSUE_A_CREDIT_NOTE",
"auditable" : { }
}, {
"code" : "...",
"assignedTo" : { },
"id" : 12345,
"parentEntityType" : { },
"version" : 12345,
"transient" : true,
"attachOverdueInvoices" : true,
"activeAction" : true,
"appendGeneratedCode" : true,
"actionChannel" : "CERTIFIED_LETTER",
"scriptInstance" : { },
"referenceCode" : "...",
"actionMode" : "MANUAL",
"notified" : true,
"actionNotificationTemplate" : { },
"description" : "...",
"descriptionOrCode" : "...",
"auditableFields" : [ { }, { } ],
"descriptionAndCode" : "...",
"attachDueInvoices" : true,
"historized" : true,
"codeChanged" : true,
"parentEntity" : { },
"relatedLevels" : [ { }, { } ],
"referenceDescription" : "...",
"actionType" : "SCRIPT",
"auditable" : { }
} ],
"parentEntityType" : { },
"relatedPolicies" : [ {
"version" : 12345,
"auditableFields" : [ { }, { } ],
"historized" : true,
"sequence" : 12345,
"dunningLevel" : { },
"id" : 12345,
"dunningPolicy" : { },
"transient" : true,
"auditable" : { },
"collectionPlanStatus" : { },
"notified" : true
}, {
"version" : 12345,
"auditableFields" : [ { }, { } ],
"historized" : true,
"sequence" : 12345,
"dunningLevel" : { },
"id" : 12345,
"dunningPolicy" : { },
"transient" : true,
"auditable" : { },
"collectionPlanStatus" : { },
"notified" : true
} ],
"version" : 12345,
"referenceDescription" : "...",
"notified" : true,
"daysOverdue" : 12345,
"chargeType" : "FLAT_AMOUNT",
"endOfDunningLevel" : true,
"appendGeneratedCode" : true,
"minBalanceCurrency" : {
"auditable" : { },
"transient" : true,
"auditableFields" : [ { }, { } ],
"version" : 12345,
"id" : 12345,
"notified" : true,
"description" : "...",
"systemCurrency" : true,
"symbol" : "...",
"descriptionI18n" : {
"property1" : "...",
"property2" : "..."
},
"historized" : true,
"descriptionEn" : "...",
"currencyCode" : "..."
},
"softDecline" : true,
"minBalance" : 12345.0,
"auditableFields" : [ {
"fieldName" : "...",
"historable" : true,
"historized" : true,
"auditType" : "RENEWAL",
"notfiable" : true,
"currentState" : { },
"notified" : true,
"previousState" : { }
}, {
"fieldName" : "...",
"historable" : true,
"historized" : true,
"auditType" : "STATUS",
"notfiable" : true,
"currentState" : { },
"notified" : true,
"previousState" : { }
} ],
"id" : 12345,
"descriptionOrCode" : "...",
"descriptionAndCode" : "..."
} ],
"referenceDescription" : "...",
"actionType" : "ISSUE_A_CREDIT_NOTE",
"auditable" : {
"created" : 12345,
"creator" : "...",
"lastModified" : 12345,
"updater" : "...",
"updated" : 12345,
"lastUser" : "..."
}
}