| name | data type | constraints | description |
|---|---|---|---|
| parentEntity | BusinessEntity | ||
| code | string | required, max size: 255, min size: 1 | |
| version | number | ||
| description | string | max size: 255, min size: 0 | |
| endOfDunningLevel | boolean | ||
| minBalanceCurrency | Currency | ||
| notified | boolean | ||
| minBalance | number | ||
| array of DunningPolicyLevel | |||
| appendGeneratedCode | boolean | ||
| referenceDescription | string | ||
| id | number | ||
| reminder | boolean | ||
| dunningActions | array of DunningAction | ||
| descriptionOrCode | string | ||
| parentEntityType | object | ||
| auditable | Auditable | ||
| auditableFields | array of AuditableFieldHistory | ||
| daysOverdue | number | ||
| softDecline | boolean | ||
| chargeCurrency | Currency | ||
| codeChanged | boolean | ||
| chargeValue | number | ||
| chargeType | DunningLevelChargeTypeEnum | ||
| transient | boolean | ||
| descriptionAndCode | string | ||
| historized | boolean | ||
| active | boolean | ||
| referenceCode | string |
Example
{
"parentEntity" : {
"auditableFields" : [ {
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notified" : true,
"notfiable" : true,
"previousState" : { },
"auditType" : "OTHER",
"historized" : true
}, {
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notified" : true,
"notfiable" : true,
"previousState" : { },
"auditType" : "STATUS",
"historized" : true
} ],
"description" : "...",
"version" : 12345,
"id" : 12345,
"notified" : true,
"appendGeneratedCode" : true,
"auditable" : {
"updater" : "...",
"updated" : 12345,
"creator" : "...",
"lastUser" : "...",
"created" : 12345,
"lastModified" : 12345
},
"codeChanged" : true,
"parentEntityType" : { },
"descriptionAndCode" : "...",
"descriptionOrCode" : "...",
"transient" : true,
"parentEntity" : { },
"referenceDescription" : "...",
"historized" : true,
"referenceCode" : "...",
"code" : "..."
},
"code" : "...",
"version" : 12345,
"description" : "...",
"endOfDunningLevel" : true,
"minBalanceCurrency" : {
"historized" : true,
"notified" : true,
"auditable" : {
"updater" : "...",
"updated" : 12345,
"creator" : "...",
"lastUser" : "...",
"created" : 12345,
"lastModified" : 12345
},
"symbol" : "...",
"systemCurrency" : true,
"currencyCode" : "...",
"descriptionEn" : "...",
"description" : "...",
"descriptionI18n" : {
"property1" : "...",
"property2" : "..."
},
"transient" : true,
"auditableFields" : [ {
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notified" : true,
"notfiable" : true,
"previousState" : { },
"auditType" : "STATUS",
"historized" : true
}, {
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notified" : true,
"notfiable" : true,
"previousState" : { },
"auditType" : "STATUS",
"historized" : true
} ],
"id" : 12345,
"version" : 12345
},
"notified" : true,
"minBalance" : 12345.0,
"relatedPolicies" : [ {
"version" : 12345,
"dunningPolicy" : {
"policyPriority" : 12345,
"minBalanceTrigger" : 12345.0,
"transient" : true,
"totalDunningLevels" : 12345,
"attachInvoicesToEmails" : true,
"auditableFields" : [ { }, { } ],
"dunningPolicyRules" : [ { }, { } ],
"disabled" : true,
"isActivePolicy" : true,
"notified" : true,
"id" : 12345,
"minBalanceTriggerCurrency" : { },
"dunningLevels" : [ { }, { } ],
"interestForDelaySequence" : 12345,
"active" : true,
"includePayReminder" : true,
"version" : 12345,
"policyName" : "...",
"policyDescription" : "...",
"auditable" : { },
"isDefaultPolicy" : true,
"determineLevelBy" : "DAYS_OVERDUE_OR_BALANCE_THRESHOLD",
"includeDueInvoicesInThreshold" : true,
"historized" : true
},
"dunningLevel" : {
"parentEntity" : { },
"code" : "...",
"version" : 12345,
"description" : "...",
"endOfDunningLevel" : true,
"minBalanceCurrency" : { },
"notified" : true,
"minBalance" : 12345.0,
"relatedPolicies" : [ { }, { } ],
"appendGeneratedCode" : true,
"referenceDescription" : "...",
"id" : 12345,
"reminder" : true,
"dunningActions" : [ { }, { } ],
"descriptionOrCode" : "...",
"parentEntityType" : { },
"auditable" : { },
"auditableFields" : [ { }, { } ],
"daysOverdue" : 12345,
"softDecline" : true,
"chargeCurrency" : { },
"codeChanged" : true,
"chargeValue" : 12345.0,
"chargeType" : "PERCENTAGE",
"transient" : true,
"descriptionAndCode" : "...",
"historized" : true,
"active" : true,
"referenceCode" : "..."
},
"transient" : true,
"id" : 12345,
"auditableFields" : [ {
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notified" : true,
"notfiable" : true,
"previousState" : { },
"auditType" : "OTHER",
"historized" : true
}, {
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notified" : true,
"notfiable" : true,
"previousState" : { },
"auditType" : "OTHER",
"historized" : true
} ],
"auditable" : {
"updater" : "...",
"updated" : 12345,
"creator" : "...",
"lastUser" : "...",
"created" : 12345,
"lastModified" : 12345
},
"collectionPlanStatus" : {
"status" : "SUCCESS",
"notified" : true,
"colorCode" : "...",
"auditable" : { },
"historized" : true,
"dunningSettings" : { },
"transient" : true,
"version" : 12345,
"description" : "...",
"id" : 12345,
"auditableFields" : [ { }, { } ]
},
"sequence" : 12345,
"notified" : true,
"historized" : true
}, {
"version" : 12345,
"dunningPolicy" : {
"policyPriority" : 12345,
"minBalanceTrigger" : 12345.0,
"transient" : true,
"totalDunningLevels" : 12345,
"attachInvoicesToEmails" : true,
"auditableFields" : [ { }, { } ],
"dunningPolicyRules" : [ { }, { } ],
"disabled" : true,
"isActivePolicy" : true,
"notified" : true,
"id" : 12345,
"minBalanceTriggerCurrency" : { },
"dunningLevels" : [ { }, { } ],
"interestForDelaySequence" : 12345,
"active" : true,
"includePayReminder" : true,
"version" : 12345,
"policyName" : "...",
"policyDescription" : "...",
"auditable" : { },
"isDefaultPolicy" : true,
"determineLevelBy" : "DAYS_OVERDUE_OR_BALANCE_THRESHOLD",
"includeDueInvoicesInThreshold" : true,
"historized" : true
},
"dunningLevel" : {
"parentEntity" : { },
"code" : "...",
"version" : 12345,
"description" : "...",
"endOfDunningLevel" : true,
"minBalanceCurrency" : { },
"notified" : true,
"minBalance" : 12345.0,
"relatedPolicies" : [ { }, { } ],
"appendGeneratedCode" : true,
"referenceDescription" : "...",
"id" : 12345,
"reminder" : true,
"dunningActions" : [ { }, { } ],
"descriptionOrCode" : "...",
"parentEntityType" : { },
"auditable" : { },
"auditableFields" : [ { }, { } ],
"daysOverdue" : 12345,
"softDecline" : true,
"chargeCurrency" : { },
"codeChanged" : true,
"chargeValue" : 12345.0,
"chargeType" : "FLAT_AMOUNT",
"transient" : true,
"descriptionAndCode" : "...",
"historized" : true,
"active" : true,
"referenceCode" : "..."
},
"transient" : true,
"id" : 12345,
"auditableFields" : [ {
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notified" : true,
"notfiable" : true,
"previousState" : { },
"auditType" : "RENEWAL",
"historized" : true
}, {
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notified" : true,
"notfiable" : true,
"previousState" : { },
"auditType" : "RENEWAL",
"historized" : true
} ],
"auditable" : {
"updater" : "...",
"updated" : 12345,
"creator" : "...",
"lastUser" : "...",
"created" : 12345,
"lastModified" : 12345
},
"collectionPlanStatus" : {
"status" : "SUCCESS",
"notified" : true,
"colorCode" : "...",
"auditable" : { },
"historized" : true,
"dunningSettings" : { },
"transient" : true,
"version" : 12345,
"description" : "...",
"id" : 12345,
"auditableFields" : [ { }, { } ]
},
"sequence" : 12345,
"notified" : true,
"historized" : true
} ],
"appendGeneratedCode" : true,
"referenceDescription" : "...",
"id" : 12345,
"reminder" : true,
"dunningActions" : [ {
"id" : 12345,
"actionChannel" : "CERTIFIED_LETTER",
"description" : "...",
"auditable" : {
"updater" : "...",
"updated" : 12345,
"creator" : "...",
"lastUser" : "...",
"created" : 12345,
"lastModified" : 12345
},
"code" : "...",
"actionType" : "ISSUE_A_CREDIT_NOTE",
"notified" : true,
"transient" : true,
"attachDueInvoices" : true,
"descriptionOrCode" : "...",
"relatedLevels" : [ {
"parentEntity" : { },
"code" : "...",
"version" : 12345,
"description" : "...",
"endOfDunningLevel" : true,
"minBalanceCurrency" : { },
"notified" : true,
"minBalance" : 12345.0,
"relatedPolicies" : [ { }, { } ],
"appendGeneratedCode" : true,
"referenceDescription" : "...",
"id" : 12345,
"reminder" : true,
"dunningActions" : [ { }, { } ],
"descriptionOrCode" : "...",
"parentEntityType" : { },
"auditable" : { },
"auditableFields" : [ { }, { } ],
"daysOverdue" : 12345,
"softDecline" : true,
"chargeCurrency" : { },
"codeChanged" : true,
"chargeValue" : 12345.0,
"chargeType" : "PERCENTAGE",
"transient" : true,
"descriptionAndCode" : "...",
"historized" : true,
"active" : true,
"referenceCode" : "..."
}, {
"parentEntity" : { },
"code" : "...",
"version" : 12345,
"description" : "...",
"endOfDunningLevel" : true,
"minBalanceCurrency" : { },
"notified" : true,
"minBalance" : 12345.0,
"relatedPolicies" : [ { }, { } ],
"appendGeneratedCode" : true,
"referenceDescription" : "...",
"id" : 12345,
"reminder" : true,
"dunningActions" : [ { }, { } ],
"descriptionOrCode" : "...",
"parentEntityType" : { },
"auditable" : { },
"auditableFields" : [ { }, { } ],
"daysOverdue" : 12345,
"softDecline" : true,
"chargeCurrency" : { },
"codeChanged" : true,
"chargeValue" : 12345.0,
"chargeType" : "FLAT_AMOUNT",
"transient" : true,
"descriptionAndCode" : "...",
"historized" : true,
"active" : true,
"referenceCode" : "..."
} ],
"parentEntityType" : { },
"scriptInstance" : {
"auditable" : { },
"notified" : true,
"executionRoles" : [ "...", "..." ],
"auditableFields" : [ { }, { } ],
"sourceTypeEnum" : "JAVA",
"appendGeneratedCode" : true,
"referenceDescription" : "...",
"id" : 12345,
"codeChanged" : true,
"active" : true,
"version" : 12345,
"reuse" : true,
"error" : true,
"descriptionOrCode" : "...",
"parentEntityType" : { },
"parentEntity" : { },
"sourcingRoles" : [ "...", "..." ],
"disabled" : true,
"referenceCode" : "...",
"scriptInstanceCategory" : { },
"historized" : true,
"scriptErrors" : [ { }, { } ],
"transient" : true,
"code" : "...",
"description" : "...",
"script" : "...",
"descriptionAndCode" : "..."
},
"attachOverdueInvoices" : true,
"assignedTo" : {
"historized" : true,
"agentFirstNameItem" : "...",
"notified" : true,
"external" : true,
"agentEmailItem" : "...",
"agentLastNameItem" : "...",
"version" : 12345,
"auditableFields" : [ { }, { } ],
"id" : 12345,
"collectionAgency" : "...",
"transient" : true,
"dunningSettings" : { },
"auditable" : { }
},
"version" : 12345,
"codeChanged" : true,
"actionNotificationTemplate" : {
"htmlContent" : "...",
"tagEndDelimiter" : "...",
"auditable" : { },
"appendGeneratedCode" : true,
"textContent" : "...",
"description" : "...",
"subject" : "...",
"parentEntity" : { },
"referenceCode" : "...",
"media" : "POSTAL_MAIL",
"code" : "...",
"id" : 12345,
"startDate" : 12345,
"codeChanged" : true,
"notified" : true,
"endDate" : 12345,
"referenceDescription" : "...",
"type" : "OTHER",
"tagStartDelimiter" : "...",
"descriptionAndCode" : "...",
"historized" : true,
"descriptionOrCode" : "...",
"version" : 12345,
"transient" : true,
"parentEntityType" : { },
"auditableFields" : [ { }, { } ]
},
"historized" : true,
"parentEntity" : {
"auditableFields" : [ { }, { } ],
"description" : "...",
"version" : 12345,
"id" : 12345,
"notified" : true,
"appendGeneratedCode" : true,
"auditable" : { },
"codeChanged" : true,
"parentEntityType" : { },
"descriptionAndCode" : "...",
"descriptionOrCode" : "...",
"transient" : true,
"parentEntity" : { },
"referenceDescription" : "...",
"historized" : true,
"referenceCode" : "...",
"code" : "..."
},
"appendGeneratedCode" : true,
"descriptionAndCode" : "...",
"activeAction" : true,
"referenceCode" : "...",
"actionMode" : "MANUAL",
"auditableFields" : [ {
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notified" : true,
"notfiable" : true,
"previousState" : { },
"auditType" : "RENEWAL",
"historized" : true
}, {
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notified" : true,
"notfiable" : true,
"previousState" : { },
"auditType" : "RENEWAL",
"historized" : true
} ],
"referenceDescription" : "..."
}, {
"id" : 12345,
"actionChannel" : "CERTIFIED_LETTER",
"description" : "...",
"auditable" : {
"updater" : "...",
"updated" : 12345,
"creator" : "...",
"lastUser" : "...",
"created" : 12345,
"lastModified" : 12345
},
"code" : "...",
"actionType" : "SEND_NOTIFICATION",
"notified" : true,
"transient" : true,
"attachDueInvoices" : true,
"descriptionOrCode" : "...",
"relatedLevels" : [ {
"parentEntity" : { },
"code" : "...",
"version" : 12345,
"description" : "...",
"endOfDunningLevel" : true,
"minBalanceCurrency" : { },
"notified" : true,
"minBalance" : 12345.0,
"relatedPolicies" : [ { }, { } ],
"appendGeneratedCode" : true,
"referenceDescription" : "...",
"id" : 12345,
"reminder" : true,
"dunningActions" : [ { }, { } ],
"descriptionOrCode" : "...",
"parentEntityType" : { },
"auditable" : { },
"auditableFields" : [ { }, { } ],
"daysOverdue" : 12345,
"softDecline" : true,
"chargeCurrency" : { },
"codeChanged" : true,
"chargeValue" : 12345.0,
"chargeType" : "FLAT_AMOUNT",
"transient" : true,
"descriptionAndCode" : "...",
"historized" : true,
"active" : true,
"referenceCode" : "..."
}, {
"parentEntity" : { },
"code" : "...",
"version" : 12345,
"description" : "...",
"endOfDunningLevel" : true,
"minBalanceCurrency" : { },
"notified" : true,
"minBalance" : 12345.0,
"relatedPolicies" : [ { }, { } ],
"appendGeneratedCode" : true,
"referenceDescription" : "...",
"id" : 12345,
"reminder" : true,
"dunningActions" : [ { }, { } ],
"descriptionOrCode" : "...",
"parentEntityType" : { },
"auditable" : { },
"auditableFields" : [ { }, { } ],
"daysOverdue" : 12345,
"softDecline" : true,
"chargeCurrency" : { },
"codeChanged" : true,
"chargeValue" : 12345.0,
"chargeType" : "PERCENTAGE",
"transient" : true,
"descriptionAndCode" : "...",
"historized" : true,
"active" : true,
"referenceCode" : "..."
} ],
"parentEntityType" : { },
"scriptInstance" : {
"auditable" : { },
"notified" : true,
"executionRoles" : [ "...", "..." ],
"auditableFields" : [ { }, { } ],
"sourceTypeEnum" : "JAVA_CLASS",
"appendGeneratedCode" : true,
"referenceDescription" : "...",
"id" : 12345,
"codeChanged" : true,
"active" : true,
"version" : 12345,
"reuse" : true,
"error" : true,
"descriptionOrCode" : "...",
"parentEntityType" : { },
"parentEntity" : { },
"sourcingRoles" : [ "...", "..." ],
"disabled" : true,
"referenceCode" : "...",
"scriptInstanceCategory" : { },
"historized" : true,
"scriptErrors" : [ { }, { } ],
"transient" : true,
"code" : "...",
"description" : "...",
"script" : "...",
"descriptionAndCode" : "..."
},
"attachOverdueInvoices" : true,
"assignedTo" : {
"historized" : true,
"agentFirstNameItem" : "...",
"notified" : true,
"external" : true,
"agentEmailItem" : "...",
"agentLastNameItem" : "...",
"version" : 12345,
"auditableFields" : [ { }, { } ],
"id" : 12345,
"collectionAgency" : "...",
"transient" : true,
"dunningSettings" : { },
"auditable" : { }
},
"version" : 12345,
"codeChanged" : true,
"actionNotificationTemplate" : {
"htmlContent" : "...",
"tagEndDelimiter" : "...",
"auditable" : { },
"appendGeneratedCode" : true,
"textContent" : "...",
"description" : "...",
"subject" : "...",
"parentEntity" : { },
"referenceCode" : "...",
"media" : "FTP_FILE",
"code" : "...",
"id" : 12345,
"startDate" : 12345,
"codeChanged" : true,
"notified" : true,
"endDate" : 12345,
"referenceDescription" : "...",
"type" : "DUNNING",
"tagStartDelimiter" : "...",
"descriptionAndCode" : "...",
"historized" : true,
"descriptionOrCode" : "...",
"version" : 12345,
"transient" : true,
"parentEntityType" : { },
"auditableFields" : [ { }, { } ]
},
"historized" : true,
"parentEntity" : {
"auditableFields" : [ { }, { } ],
"description" : "...",
"version" : 12345,
"id" : 12345,
"notified" : true,
"appendGeneratedCode" : true,
"auditable" : { },
"codeChanged" : true,
"parentEntityType" : { },
"descriptionAndCode" : "...",
"descriptionOrCode" : "...",
"transient" : true,
"parentEntity" : { },
"referenceDescription" : "...",
"historized" : true,
"referenceCode" : "...",
"code" : "..."
},
"appendGeneratedCode" : true,
"descriptionAndCode" : "...",
"activeAction" : true,
"referenceCode" : "...",
"actionMode" : "AUTOMATIC",
"auditableFields" : [ {
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notified" : true,
"notfiable" : true,
"previousState" : { },
"auditType" : "STATUS",
"historized" : true
}, {
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notified" : true,
"notfiable" : true,
"previousState" : { },
"auditType" : "RENEWAL",
"historized" : true
} ],
"referenceDescription" : "..."
} ],
"descriptionOrCode" : "...",
"parentEntityType" : { },
"auditable" : {
"updater" : "...",
"updated" : 12345,
"creator" : "...",
"lastUser" : "...",
"created" : 12345,
"lastModified" : 12345
},
"auditableFields" : [ {
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notified" : true,
"notfiable" : true,
"previousState" : { },
"auditType" : "RENEWAL",
"historized" : true
}, {
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notified" : true,
"notfiable" : true,
"previousState" : { },
"auditType" : "RENEWAL",
"historized" : true
} ],
"daysOverdue" : 12345,
"softDecline" : true,
"chargeCurrency" : {
"historized" : true,
"notified" : true,
"auditable" : {
"updater" : "...",
"updated" : 12345,
"creator" : "...",
"lastUser" : "...",
"created" : 12345,
"lastModified" : 12345
},
"symbol" : "...",
"systemCurrency" : true,
"currencyCode" : "...",
"descriptionEn" : "...",
"description" : "...",
"descriptionI18n" : {
"property1" : "...",
"property2" : "..."
},
"transient" : true,
"auditableFields" : [ {
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notified" : true,
"notfiable" : true,
"previousState" : { },
"auditType" : "RENEWAL",
"historized" : true
}, {
"historable" : true,
"fieldName" : "...",
"currentState" : { },
"notified" : true,
"notfiable" : true,
"previousState" : { },
"auditType" : "RENEWAL",
"historized" : true
} ],
"id" : 12345,
"version" : 12345
},
"codeChanged" : true,
"chargeValue" : 12345.0,
"chargeType" : "PERCENTAGE",
"transient" : true,
"descriptionAndCode" : "...",
"historized" : true,
"active" : true,
"referenceCode" : "..."
}