DunningLevelInstance Data Type

Implemented Interfaces
Serializable
Properties
name data type description
actions array of DunningActionInstance
auditableFields array of AuditableFieldHistory
sequence number
auditable Auditable
collectionPlanStatus DunningCollectionPlanStatus
notified boolean
id number
transient boolean
dunningLevel DunningLevel
levelStatus DunningLevelInstanceStatusEnum
historized boolean
version number
daysOverdue number
collectionPlan DunningCollectionPlan

Example

{
  "actions" : [ {
    "code" : "...",
    "actionType" : "SCRIPT",
    "descriptionAndCode" : "...",
    "parentEntity" : {
      "codeChanged" : true,
      "historized" : true,
      "referenceCode" : "...",
      "description" : "...",
      "auditable" : { },
      "referenceDescription" : "...",
      "auditableFields" : [ { }, { } ],
      "appendGeneratedCode" : true,
      "notified" : true,
      "code" : "...",
      "parentEntity" : { },
      "descriptionAndCode" : "...",
      "version" : 12345,
      "transient" : true,
      "parentEntityType" : { },
      "descriptionOrCode" : "...",
      "id" : 12345
    },
    "auditable" : {
      "updater" : "...",
      "created" : 12345,
      "lastModified" : 12345,
      "updated" : 12345,
      "lastUser" : "...",
      "creator" : "..."
    },
    "actionOwner" : {
      "agentEmailItem" : "...",
      "transient" : true,
      "historized" : true,
      "collectionAgency" : "...",
      "notified" : true,
      "external" : true,
      "agentLastNameItem" : "...",
      "auditable" : { },
      "dunningSettings" : { },
      "id" : 12345,
      "auditableFields" : [ { }, { } ],
      "version" : 12345,
      "agentFirstNameItem" : "..."
    },
    "referenceDescription" : "...",
    "description" : "...",
    "dunningLevelInstance" : {
      "actions" : [ { }, { } ],
      "auditableFields" : [ { }, { } ],
      "sequence" : 12345,
      "auditable" : { },
      "collectionPlanStatus" : { },
      "notified" : true,
      "id" : 12345,
      "transient" : true,
      "dunningLevel" : { },
      "levelStatus" : "DONE",
      "historized" : true,
      "version" : 12345,
      "daysOverdue" : 12345,
      "collectionPlan" : { }
    },
    "id" : 12345,
    "notified" : true,
    "transient" : true,
    "codeChanged" : true,
    "descriptionOrCode" : "...",
    "historized" : true,
    "dunningAction" : {
      "codeChanged" : true,
      "actionType" : "WRITE_OFF_INVOICE",
      "auditable" : { },
      "referenceCode" : "...",
      "descriptionAndCode" : "...",
      "transient" : true,
      "appendGeneratedCode" : true,
      "actionNotificationTemplate" : { },
      "historized" : true,
      "activeAction" : true,
      "auditableFields" : [ { }, { } ],
      "assignedTo" : { },
      "referenceDescription" : "...",
      "id" : 12345,
      "description" : "...",
      "attachDueInvoices" : true,
      "descriptionOrCode" : "...",
      "actionChannel" : "CERTIFIED_LETTER",
      "parentEntity" : { },
      "version" : 12345,
      "relatedLevels" : [ { }, { } ],
      "parentEntityType" : { },
      "actionMode" : "AUTOMATIC",
      "scriptInstance" : { },
      "code" : "...",
      "notified" : true,
      "attachOverdueInvoices" : true
    },
    "auditableFields" : [ {
      "previousState" : { },
      "currentState" : { },
      "auditType" : "OTHER",
      "historized" : true,
      "fieldName" : "...",
      "notified" : true,
      "notfiable" : true,
      "historable" : true
    }, {
      "previousState" : { },
      "currentState" : { },
      "auditType" : "STATUS",
      "historized" : true,
      "fieldName" : "...",
      "notified" : true,
      "notfiable" : true,
      "historable" : true
    } ],
    "actionStatus" : "TO_BE_DONE",
    "parentEntityType" : { },
    "version" : 12345,
    "appendGeneratedCode" : true,
    "referenceCode" : "...",
    "collectionPlan" : {
      "closeDate" : 12345,
      "historized" : true,
      "auditableFields" : [ { }, { } ],
      "transient" : true,
      "pauseDuration" : 12345,
      "retryPaymentOnResumeDate" : true,
      "relatedPolicy" : { },
      "version" : 12345,
      "totalDunningLevels" : 12345,
      "currentDunningLevelSequence" : 12345,
      "collectionPlanNumber" : "...",
      "lastActionDate" : 12345,
      "pausedUntilDate" : 12345,
      "stopReason" : { },
      "nextAction" : "...",
      "notified" : true,
      "auditable" : { },
      "dunningLevelInstances" : [ { }, { } ],
      "relatedInvoice" : { },
      "lastAction" : "...",
      "initialCollectionPlan" : { },
      "id" : 12345,
      "status" : { },
      "nextActionDate" : 12345,
      "startDate" : 12345,
      "billingAccount" : { },
      "pauseReason" : { },
      "daysOpen" : 12345,
      "balance" : 12345.0
    },
    "actionMode" : "AUTOMATIC",
    "actionRestult" : "..."
  }, {
    "code" : "...",
    "actionType" : "RETRY_PAYMENT",
    "descriptionAndCode" : "...",
    "parentEntity" : {
      "codeChanged" : true,
      "historized" : true,
      "referenceCode" : "...",
      "description" : "...",
      "auditable" : { },
      "referenceDescription" : "...",
      "auditableFields" : [ { }, { } ],
      "appendGeneratedCode" : true,
      "notified" : true,
      "code" : "...",
      "parentEntity" : { },
      "descriptionAndCode" : "...",
      "version" : 12345,
      "transient" : true,
      "parentEntityType" : { },
      "descriptionOrCode" : "...",
      "id" : 12345
    },
    "auditable" : {
      "updater" : "...",
      "created" : 12345,
      "lastModified" : 12345,
      "updated" : 12345,
      "lastUser" : "...",
      "creator" : "..."
    },
    "actionOwner" : {
      "agentEmailItem" : "...",
      "transient" : true,
      "historized" : true,
      "collectionAgency" : "...",
      "notified" : true,
      "external" : true,
      "agentLastNameItem" : "...",
      "auditable" : { },
      "dunningSettings" : { },
      "id" : 12345,
      "auditableFields" : [ { }, { } ],
      "version" : 12345,
      "agentFirstNameItem" : "..."
    },
    "referenceDescription" : "...",
    "description" : "...",
    "dunningLevelInstance" : {
      "actions" : [ { }, { } ],
      "auditableFields" : [ { }, { } ],
      "sequence" : 12345,
      "auditable" : { },
      "collectionPlanStatus" : { },
      "notified" : true,
      "id" : 12345,
      "transient" : true,
      "dunningLevel" : { },
      "levelStatus" : "IN_PROGRESS",
      "historized" : true,
      "version" : 12345,
      "daysOverdue" : 12345,
      "collectionPlan" : { }
    },
    "id" : 12345,
    "notified" : true,
    "transient" : true,
    "codeChanged" : true,
    "descriptionOrCode" : "...",
    "historized" : true,
    "dunningAction" : {
      "codeChanged" : true,
      "actionType" : "WRITE_OFF_INVOICE",
      "auditable" : { },
      "referenceCode" : "...",
      "descriptionAndCode" : "...",
      "transient" : true,
      "appendGeneratedCode" : true,
      "actionNotificationTemplate" : { },
      "historized" : true,
      "activeAction" : true,
      "auditableFields" : [ { }, { } ],
      "assignedTo" : { },
      "referenceDescription" : "...",
      "id" : 12345,
      "description" : "...",
      "attachDueInvoices" : true,
      "descriptionOrCode" : "...",
      "actionChannel" : "CALL",
      "parentEntity" : { },
      "version" : 12345,
      "relatedLevels" : [ { }, { } ],
      "parentEntityType" : { },
      "actionMode" : "MANUAL",
      "scriptInstance" : { },
      "code" : "...",
      "notified" : true,
      "attachOverdueInvoices" : true
    },
    "auditableFields" : [ {
      "previousState" : { },
      "currentState" : { },
      "auditType" : "STATUS",
      "historized" : true,
      "fieldName" : "...",
      "notified" : true,
      "notfiable" : true,
      "historable" : true
    }, {
      "previousState" : { },
      "currentState" : { },
      "auditType" : "STATUS",
      "historized" : true,
      "fieldName" : "...",
      "notified" : true,
      "notfiable" : true,
      "historable" : true
    } ],
    "actionStatus" : "TO_BE_DONE",
    "parentEntityType" : { },
    "version" : 12345,
    "appendGeneratedCode" : true,
    "referenceCode" : "...",
    "collectionPlan" : {
      "closeDate" : 12345,
      "historized" : true,
      "auditableFields" : [ { }, { } ],
      "transient" : true,
      "pauseDuration" : 12345,
      "retryPaymentOnResumeDate" : true,
      "relatedPolicy" : { },
      "version" : 12345,
      "totalDunningLevels" : 12345,
      "currentDunningLevelSequence" : 12345,
      "collectionPlanNumber" : "...",
      "lastActionDate" : 12345,
      "pausedUntilDate" : 12345,
      "stopReason" : { },
      "nextAction" : "...",
      "notified" : true,
      "auditable" : { },
      "dunningLevelInstances" : [ { }, { } ],
      "relatedInvoice" : { },
      "lastAction" : "...",
      "initialCollectionPlan" : { },
      "id" : 12345,
      "status" : { },
      "nextActionDate" : 12345,
      "startDate" : 12345,
      "billingAccount" : { },
      "pauseReason" : { },
      "daysOpen" : 12345,
      "balance" : 12345.0
    },
    "actionMode" : "AUTOMATIC",
    "actionRestult" : "..."
  } ],
  "auditableFields" : [ {
    "previousState" : { },
    "currentState" : { },
    "auditType" : "OTHER",
    "historized" : true,
    "fieldName" : "...",
    "notified" : true,
    "notfiable" : true,
    "historable" : true
  }, {
    "previousState" : { },
    "currentState" : { },
    "auditType" : "RENEWAL",
    "historized" : true,
    "fieldName" : "...",
    "notified" : true,
    "notfiable" : true,
    "historable" : true
  } ],
  "sequence" : 12345,
  "auditable" : {
    "updater" : "...",
    "created" : 12345,
    "lastModified" : 12345,
    "updated" : 12345,
    "lastUser" : "...",
    "creator" : "..."
  },
  "collectionPlanStatus" : {
    "auditableFields" : [ {
      "previousState" : { },
      "currentState" : { },
      "auditType" : "STATUS",
      "historized" : true,
      "fieldName" : "...",
      "notified" : true,
      "notfiable" : true,
      "historable" : true
    }, {
      "previousState" : { },
      "currentState" : { },
      "auditType" : "RENEWAL",
      "historized" : true,
      "fieldName" : "...",
      "notified" : true,
      "notfiable" : true,
      "historable" : true
    } ],
    "version" : 12345,
    "dunningSettings" : {
      "transient" : true,
      "auditable" : { },
      "notified" : true,
      "parentEntity" : { },
      "descriptionOrCode" : "...",
      "description" : "...",
      "id" : 12345,
      "allowDunningCharges" : true,
      "dunningAgents" : [ { }, { } ],
      "appendGeneratedCode" : true,
      "codeChanged" : true,
      "referenceDescription" : "...",
      "dunningStopReasons" : [ { }, { } ],
      "dunningMode" : "INVOICE_LEVEL",
      "dunningPaymentRetries" : [ { }, { } ],
      "auditableFields" : [ { }, { } ],
      "dunningCollectionPlanStatuses" : [ { }, { } ],
      "interestForDelayRate" : 12345.0,
      "accountingArticle" : { },
      "historized" : true,
      "applyDunningChargeFxExchangeRate" : true,
      "version" : 12345,
      "dunningPauseReasons" : [ { }, { } ],
      "referenceCode" : "...",
      "parentEntityType" : { },
      "maxDaysOutstanding" : 12345,
      "code" : "...",
      "maxDunningLevels" : 12345,
      "allowInterestForDelay" : true,
      "descriptionAndCode" : "..."
    },
    "colorCode" : "...",
    "transient" : true,
    "historized" : true,
    "status" : "PAUSED",
    "notified" : true,
    "auditable" : {
      "updater" : "...",
      "created" : 12345,
      "lastModified" : 12345,
      "updated" : 12345,
      "lastUser" : "...",
      "creator" : "..."
    },
    "id" : 12345,
    "description" : "..."
  },
  "notified" : true,
  "id" : 12345,
  "transient" : true,
  "dunningLevel" : {
    "codeChanged" : true,
    "auditable" : {
      "updater" : "...",
      "created" : 12345,
      "lastModified" : 12345,
      "updated" : 12345,
      "lastUser" : "...",
      "creator" : "..."
    },
    "description" : "...",
    "id" : 12345,
    "parentEntityType" : { },
    "appendGeneratedCode" : true,
    "relatedPolicies" : [ {
      "historized" : true,
      "collectionPlanStatus" : { },
      "version" : 12345,
      "auditable" : { },
      "dunningLevel" : { },
      "dunningPolicy" : { },
      "notified" : true,
      "transient" : true,
      "sequence" : 12345,
      "auditableFields" : [ { }, { } ],
      "id" : 12345
    }, {
      "historized" : true,
      "collectionPlanStatus" : { },
      "version" : 12345,
      "auditable" : { },
      "dunningLevel" : { },
      "dunningPolicy" : { },
      "notified" : true,
      "transient" : true,
      "sequence" : 12345,
      "auditableFields" : [ { }, { } ],
      "id" : 12345
    } ],
    "historized" : true,
    "parentEntity" : {
      "codeChanged" : true,
      "historized" : true,
      "referenceCode" : "...",
      "description" : "...",
      "auditable" : { },
      "referenceDescription" : "...",
      "auditableFields" : [ { }, { } ],
      "appendGeneratedCode" : true,
      "notified" : true,
      "code" : "...",
      "parentEntity" : { },
      "descriptionAndCode" : "...",
      "version" : 12345,
      "transient" : true,
      "parentEntityType" : { },
      "descriptionOrCode" : "...",
      "id" : 12345
    },
    "notified" : true,
    "reminder" : true,
    "dunningActions" : [ {
      "codeChanged" : true,
      "actionType" : "SCRIPT",
      "auditable" : { },
      "referenceCode" : "...",
      "descriptionAndCode" : "...",
      "transient" : true,
      "appendGeneratedCode" : true,
      "actionNotificationTemplate" : { },
      "historized" : true,
      "activeAction" : true,
      "auditableFields" : [ { }, { } ],
      "assignedTo" : { },
      "referenceDescription" : "...",
      "id" : 12345,
      "description" : "...",
      "attachDueInvoices" : true,
      "descriptionOrCode" : "...",
      "actionChannel" : "CERTIFIED_LETTER",
      "parentEntity" : { },
      "version" : 12345,
      "relatedLevels" : [ { }, { } ],
      "parentEntityType" : { },
      "actionMode" : "AUTOMATIC",
      "scriptInstance" : { },
      "code" : "...",
      "notified" : true,
      "attachOverdueInvoices" : true
    }, {
      "codeChanged" : true,
      "actionType" : "SEND_NOTIFICATION",
      "auditable" : { },
      "referenceCode" : "...",
      "descriptionAndCode" : "...",
      "transient" : true,
      "appendGeneratedCode" : true,
      "actionNotificationTemplate" : { },
      "historized" : true,
      "activeAction" : true,
      "auditableFields" : [ { }, { } ],
      "assignedTo" : { },
      "referenceDescription" : "...",
      "id" : 12345,
      "description" : "...",
      "attachDueInvoices" : true,
      "descriptionOrCode" : "...",
      "actionChannel" : "EMAIL",
      "parentEntity" : { },
      "version" : 12345,
      "relatedLevels" : [ { }, { } ],
      "parentEntityType" : { },
      "actionMode" : "MANUAL",
      "scriptInstance" : { },
      "code" : "...",
      "notified" : true,
      "attachOverdueInvoices" : true
    } ],
    "active" : true,
    "endOfDunningLevel" : true,
    "softDecline" : true,
    "minBalance" : 12345.0,
    "chargeValue" : 12345.0,
    "auditableFields" : [ {
      "previousState" : { },
      "currentState" : { },
      "auditType" : "STATUS",
      "historized" : true,
      "fieldName" : "...",
      "notified" : true,
      "notfiable" : true,
      "historable" : true
    }, {
      "previousState" : { },
      "currentState" : { },
      "auditType" : "OTHER",
      "historized" : true,
      "fieldName" : "...",
      "notified" : true,
      "notfiable" : true,
      "historable" : true
    } ],
    "minBalanceCurrency" : {
      "auditable" : { },
      "description" : "...",
      "currencyCode" : "...",
      "descriptionI18n" : {
        "property1" : "...",
        "property2" : "..."
      },
      "historized" : true,
      "descriptionEn" : "...",
      "symbol" : "...",
      "transient" : true,
      "notified" : true,
      "version" : 12345,
      "id" : 12345,
      "systemCurrency" : true,
      "auditableFields" : [ { }, { } ]
    },
    "chargeCurrency" : {
      "auditable" : { },
      "description" : "...",
      "currencyCode" : "...",
      "descriptionI18n" : {
        "property1" : "...",
        "property2" : "..."
      },
      "historized" : true,
      "descriptionEn" : "...",
      "symbol" : "...",
      "transient" : true,
      "notified" : true,
      "version" : 12345,
      "id" : 12345,
      "systemCurrency" : true,
      "auditableFields" : [ { }, { } ]
    },
    "descriptionAndCode" : "...",
    "transient" : true,
    "daysOverdue" : 12345,
    "chargeType" : "FLAT_AMOUNT",
    "version" : 12345,
    "descriptionOrCode" : "...",
    "referenceDescription" : "...",
    "referenceCode" : "...",
    "code" : "..."
  },
  "levelStatus" : "TO_BE_DONE",
  "historized" : true,
  "version" : 12345,
  "daysOverdue" : 12345,
  "collectionPlan" : {
    "closeDate" : 12345,
    "historized" : true,
    "auditableFields" : [ {
      "previousState" : { },
      "currentState" : { },
      "auditType" : "RENEWAL",
      "historized" : true,
      "fieldName" : "...",
      "notified" : true,
      "notfiable" : true,
      "historable" : true
    }, {
      "previousState" : { },
      "currentState" : { },
      "auditType" : "RENEWAL",
      "historized" : true,
      "fieldName" : "...",
      "notified" : true,
      "notfiable" : true,
      "historable" : true
    } ],
    "transient" : true,
    "pauseDuration" : 12345,
    "retryPaymentOnResumeDate" : true,
    "relatedPolicy" : {
      "version" : 12345,
      "policyPriority" : 12345,
      "disabled" : true,
      "transient" : true,
      "interestForDelaySequence" : 12345,
      "includePayReminder" : true,
      "notified" : true,
      "id" : 12345,
      "auditable" : { },
      "includeDueInvoicesInThreshold" : true,
      "auditableFields" : [ { }, { } ],
      "attachInvoicesToEmails" : true,
      "active" : true,
      "dunningPolicyRules" : [ { }, { } ],
      "isDefaultPolicy" : true,
      "policyDescription" : "...",
      "isActivePolicy" : true,
      "minBalanceTriggerCurrency" : { },
      "dunningLevels" : [ { }, { } ],
      "totalDunningLevels" : 12345,
      "minBalanceTrigger" : 12345.0,
      "policyName" : "...",
      "historized" : true,
      "determineLevelBy" : "DAYS_OVERDUE_OR_BALANCE_THRESHOLD"
    },
    "version" : 12345,
    "totalDunningLevels" : 12345,
    "currentDunningLevelSequence" : 12345,
    "collectionPlanNumber" : "...",
    "lastActionDate" : 12345,
    "pausedUntilDate" : 12345,
    "stopReason" : {
      "description" : "...",
      "version" : 12345,
      "auditable" : { },
      "notified" : true,
      "dunningSettings" : { },
      "transient" : true,
      "id" : 12345,
      "historized" : true,
      "stopReason" : "...",
      "auditableFields" : [ { }, { } ]
    },
    "nextAction" : "...",
    "notified" : true,
    "auditable" : {
      "updater" : "...",
      "created" : 12345,
      "lastModified" : 12345,
      "updated" : 12345,
      "lastUser" : "...",
      "creator" : "..."
    },
    "dunningLevelInstances" : [ {
      "actions" : [ { }, { } ],
      "auditableFields" : [ { }, { } ],
      "sequence" : 12345,
      "auditable" : { },
      "collectionPlanStatus" : { },
      "notified" : true,
      "id" : 12345,
      "transient" : true,
      "dunningLevel" : { },
      "levelStatus" : "IN_PROGRESS",
      "historized" : true,
      "version" : 12345,
      "daysOverdue" : 12345,
      "collectionPlan" : { }
    }, {
      "actions" : [ { }, { } ],
      "auditableFields" : [ { }, { } ],
      "sequence" : 12345,
      "auditable" : { },
      "collectionPlanStatus" : { },
      "notified" : true,
      "id" : 12345,
      "transient" : true,
      "dunningLevel" : { },
      "levelStatus" : "IN_PROGRESS",
      "historized" : true,
      "version" : 12345,
      "daysOverdue" : 12345,
      "collectionPlan" : { }
    } ],
    "relatedInvoice" : {
      "lastAppliedRateDate" : 12345,
      "amount" : 12345.0,
      "auditableFields" : [ { }, { } ],
      "invoiceAgregates" : [ { }, { } ],
      "initialCollectionDate" : 12345,
      "discountAmount" : 12345.0,
      "amountTax" : 12345.0,
      "subscription" : { },
      "externalRef" : "...",
      "paymentPlan" : { },
      "pdfDate" : 12345,
      "pdfFilename" : "...",
      "commercialOrder" : { },
      "linkedInvoices" : [ { }, { } ],
      "status" : "VALIDATED",
      "paymentStatus" : "UNPAID",
      "detailedInvoice" : true,
      "tradingLanguage" : { },
      "realTimeStatus" : "REFUNDED",
      "amountWithTax" : 12345.0,
      "invoiceBalance" : 12345.0,
      "convertedAmountWithTax" : 12345.0,
      "iban" : "...",
      "draft" : true,
      "dunningCollectionPlanTriggered" : true,
      "invoiceNumber" : "...",
      "code" : "...",
      "version" : 12345,
      "dueDate" : 12345,
      "startDate" : 12345,
      "auditable" : { },
      "emailSentDate" : 12345,
      "convertedNetToPay" : 12345.0,
      "billingAccount" : { },
      "transient" : true,
      "alreadyAppliedMinimum" : true,
      "amountWithoutTax" : 12345.0,
      "invoiceDate" : 12345,
      "invoiceType" : { },
      "alreadyAddedDiscount" : true,
      "paymentStatusDate" : 12345,
      "convertedAmountTax" : 12345.0,
      "adjustedInvoice" : { },
      "discountPlan" : { },
      "reminderLevelTriggered" : true,
      "uuid" : "...",
      "openOrderNumber" : "...",
      "appliedRate" : 12345.0,
      "discountRate" : 12345.0,
      "xmlFilenameOnly" : "...",
      "useCurrentRate" : true,
      "orders" : [ { }, { } ],
      "convertedDiscountAmount" : 12345.0,
      "tradingCurrency" : { },
      "cfAccumulatedValues" : { },
      "cpqQuote" : { },
      "id" : 12345,
      "quote" : { },
      "statusDate" : 12345,
      "pdfFilenameOnly" : "...",
      "rejectedByRule" : { },
      "amountWithoutTaxBeforeDiscount" : 12345.0,
      "previousInvoiceNumber" : "...",
      "relatedDunningCollectionPlan" : { },
      "lastAppliedRate" : 12345.0,
      "alreadySent" : true,
      "alias" : "...",
      "rejectReason" : "...",
      "dueBalance" : 12345.0,
      "hasMinimum" : true,
      "tradingCountry" : { },
      "parentCFEntities" : [ { }, { } ],
      "description" : "...",
      "draftRatedTransactions" : [ { }, { } ],
      "notified" : true,
      "prepaid" : true,
      "convertedAmountWithoutTax" : 12345.0,
      "temporaryInvoiceNumber" : "...",
      "billingRun" : { },
      "cfValues" : { },
      "historized" : true,
      "rawAmount" : 12345.0,
      "invoiceAdjustmentCurrentSellerNb" : 12345,
      "dontSend" : true,
      "draftInvoiceLines" : [ { }, { } ],
      "invoiceAdjustmentCurrentProviderNb" : 12345,
      "xmlFilename" : "...",
      "hasDiscounts" : true,
      "netToPay" : 12345.0,
      "newInvoicingProcess" : true,
      "invoiceLines" : [ { }, { } ],
      "invoiceNumberOrTemporaryNumber" : "...",
      "xmlDate" : 12345,
      "discount" : 12345.0,
      "order" : { },
      "productDate" : 12345,
      "convertedAmountWithoutTaxBeforeDiscount" : 12345.0,
      "endDate" : 12345,
      "paymentMethod" : { },
      "comment" : "...",
      "convertedRawAmount" : 12345.0,
      "paymentMethodType" : "STRIPE",
      "seller" : { },
      "hasTaxes" : true,
      "recordedInvoice" : { },
      "discountAgregates" : [ { }, { } ]
    },
    "lastAction" : "...",
    "initialCollectionPlan" : { },
    "id" : 12345,
    "status" : {
      "auditableFields" : [ { }, { } ],
      "version" : 12345,
      "dunningSettings" : { },
      "colorCode" : "...",
      "transient" : true,
      "historized" : true,
      "status" : "PAUSED",
      "notified" : true,
      "auditable" : { },
      "id" : 12345,
      "description" : "..."
    },
    "nextActionDate" : 12345,
    "startDate" : 12345,
    "billingAccount" : {
      "codeChanged" : true,
      "terminationReason" : { },
      "discountPlan" : { },
      "minInvoiceLines" : [ { }, { } ],
      "registrationNo" : "...",
      "contactInformationNullSafe" : { },
      "invoicePrefix" : "...",
      "minimumLabelEl" : "...",
      "counters" : {
        "property1" : { },
        "property2" : { }
      },
      "parentEntity" : { },
      "accountType" : "...",
      "code" : "...",
      "seller" : { },
      "providerContact" : "...",
      "discountRate" : 12345.0,
      "status" : "CLOSED",
      "tradingCurrency" : { },
      "historized" : true,
      "externalRef1" : "...",
      "auditable" : { },
      "descriptionOrCode" : "...",
      "discountPlanInstances" : [ { }, { } ],
      "tradingLanguage" : { },
      "invoices" : [ { }, { } ],
      "isCompany" : true,
      "brAmountWithoutTax" : 12345.0,
      "totalInvoicingAmountWithoutTax" : 12345.0,
      "parentCFEntities" : [ { }, { } ],
      "usersAccounts" : [ { }, { } ],
      "ccedEmails" : "...",
      "defaultLevel" : true,
      "businessAccountModel" : { },
      "brAmountWithTax" : 12345.0,
      "referenceDescription" : "...",
      "mailingType" : "MANUAL",
      "billingRun" : { },
      "description" : "...",
      "totalInvoicingAmountWithTax" : 12345.0,
      "checkThreshold" : "POSITIVE_RT",
      "nextInvoiceDate" : 12345,
      "transient" : true,
      "primaryContact" : { },
      "paymentMethod" : { },
      "taxCategory" : { },
      "jobTitle" : "...",
      "descriptionAndCode" : "...",
      "electronicBilling" : true,
      "invoicingThreshold" : 12345.0,
      "billingCycle" : { },
      "cfValues" : { },
      "emailTemplate" : { },
      "auditableFields" : [ { }, { } ],
      "tradingCountry" : { },
      "uuid" : "...",
      "minRatedTransactions" : [ { }, { } ],
      "externalRef2" : "...",
      "minimumArticle" : { },
      "allDiscountPlanInstances" : [ { }, { } ],
      "parentEntityType" : { },
      "minimumChargeTemplate" : { },
      "minimumInvoiceSubCategory" : { },
      "version" : 12345,
      "parentUserAccounts" : [ { }, { } ],
      "minimumAmountEl" : "...",
      "totalInvoicingAmountTax" : 12345.0,
      "legalEntityType" : { },
      "customerAccount" : { },
      "thresholdPerEntity" : true,
      "statusDate" : 12345,
      "subscriptionDate" : 12345,
      "address" : { },
      "taxCategoryResolved" : { },
      "contracts" : [ { }, { } ],
      "exoneratedFromtaxes" : true,
      "vatNo" : "...",
      "notified" : true,
      "contactInformation" : { },
      "cfAccumulatedValues" : { },
      "terminationDate" : 12345,
      "referenceCode" : "...",
      "appendGeneratedCode" : true,
      "id" : 12345,
      "name" : { },
      "tags" : [ { }, { } ]
    },
    "pauseReason" : {
      "dunningSettings" : { },
      "id" : 12345,
      "transient" : true,
      "auditable" : { },
      "pauseReason" : "...",
      "version" : 12345,
      "notified" : true,
      "historized" : true,
      "auditableFields" : [ { }, { } ],
      "description" : "..."
    },
    "daysOpen" : 12345,
    "balance" : 12345.0
  }
}