BillingRule Data Type

Implemented Interfaces
Serializable
Properties
name data type description
historized boolean
contract Contract
version number
active boolean
id number
criteriaEL string
transient boolean
priority number
disabled boolean
invoicedBACodeEL string
notified boolean
auditableFields array of AuditableFieldHistory
auditable Auditable

Example

{
  "historized" : true,
  "contract" : {
    "descriptionAndCode" : "...",
    "parentEntity" : {
      "descriptionOrCode" : "...",
      "auditableFields" : [ { }, { } ],
      "version" : 12345,
      "historized" : true,
      "appendGeneratedCode" : true,
      "auditable" : { },
      "parentEntity" : { },
      "parentEntityType" : { },
      "description" : "...",
      "referenceDescription" : "...",
      "codeChanged" : true,
      "referenceCode" : "...",
      "code" : "...",
      "transient" : true,
      "descriptionAndCode" : "...",
      "id" : 12345,
      "notified" : true
    },
    "billingAccount" : {
      "invoicePrefix" : "...",
      "jobTitle" : "...",
      "billingCycle" : { },
      "paymentMethod" : { },
      "vatNo" : "...",
      "taxCategoryResolved" : { },
      "invoices" : [ { }, { } ],
      "minimumInvoiceSubCategory" : { },
      "businessAccountModel" : { },
      "parentEntity" : { },
      "name" : { },
      "notified" : true,
      "usersAccounts" : [ { }, { } ],
      "parentEntityType" : { },
      "brAmountWithoutTax" : 12345.0,
      "terminationDate" : 12345,
      "contracts" : [ { }, { } ],
      "discountRate" : 12345.0,
      "totalInvoicingAmountWithTax" : 12345.0,
      "auditableFields" : [ { }, { } ],
      "isCompany" : true,
      "mailingType" : "AUTO",
      "totalInvoicingAmountWithoutTax" : 12345.0,
      "discountPlan" : { },
      "appendGeneratedCode" : true,
      "nextInvoiceDate" : 12345,
      "counters" : {
        "property1" : { },
        "property2" : { }
      },
      "customerAccount" : { },
      "referenceDescription" : "...",
      "referenceCode" : "...",
      "minimumArticle" : { },
      "brAmountWithTax" : 12345.0,
      "taxCategory" : { },
      "descriptionOrCode" : "...",
      "discountPlanInstances" : [ { }, { } ],
      "uuid" : "...",
      "primaryContact" : { },
      "contactInformationNullSafe" : { },
      "auditable" : { },
      "ccedEmails" : "...",
      "id" : 12345,
      "code" : "...",
      "parentCFEntities" : [ { }, { } ],
      "tradingLanguage" : { },
      "externalRef1" : "...",
      "parentUserAccounts" : [ { }, { } ],
      "minimumLabelEl" : "...",
      "transient" : true,
      "minimumAmountEl" : "...",
      "terminationReason" : { },
      "cfValues" : { },
      "seller" : { },
      "providerContact" : "...",
      "totalInvoicingAmountTax" : 12345.0,
      "historized" : true,
      "externalRef2" : "...",
      "version" : 12345,
      "codeChanged" : true,
      "cfAccumulatedValues" : { },
      "minRatedTransactions" : [ { }, { } ],
      "registrationNo" : "...",
      "contactInformation" : { },
      "checkThreshold" : "BEFORE_DISCOUNT",
      "electronicBilling" : true,
      "address" : { },
      "tradingCountry" : { },
      "emailTemplate" : { },
      "accountType" : "...",
      "description" : "...",
      "status" : "TERMINATED",
      "statusDate" : 12345,
      "exoneratedFromtaxes" : true,
      "defaultLevel" : true,
      "billingRun" : { },
      "thresholdPerEntity" : true,
      "legalEntityType" : { },
      "descriptionAndCode" : "...",
      "minInvoiceLines" : [ { }, { } ],
      "allDiscountPlanInstances" : [ { }, { } ],
      "tags" : [ { }, { } ],
      "minimumChargeTemplate" : { },
      "tradingCurrency" : { },
      "subscriptionDate" : 12345,
      "invoicingThreshold" : 12345.0
    },
    "active" : true,
    "parentEntityType" : { },
    "contractItems" : [ {
      "descriptionOrCode" : "...",
      "pricePlan" : { },
      "uuid" : "...",
      "code" : "...",
      "rate" : 12345.0,
      "contractRateType" : "PERCENTAGE",
      "serviceTemplate" : { },
      "amountWithoutTax" : 12345.0,
      "descriptionAndCode" : "...",
      "cfAccumulatedValues" : { },
      "referenceCode" : "...",
      "cfValues" : { },
      "parentEntity" : { },
      "codeChanged" : true,
      "offerTemplate" : { },
      "id" : 12345,
      "historized" : true,
      "referenceDescription" : "...",
      "parentCFEntities" : [ { }, { } ],
      "active" : true,
      "transient" : true,
      "description" : "...",
      "parentEntityType" : { },
      "appendGeneratedCode" : true,
      "version" : 12345,
      "disabled" : true,
      "product" : { },
      "contract" : { },
      "auditableFields" : [ { }, { } ],
      "chargeTemplate" : { },
      "notified" : true,
      "auditable" : { }
    }, {
      "descriptionOrCode" : "...",
      "pricePlan" : { },
      "uuid" : "...",
      "code" : "...",
      "rate" : 12345.0,
      "contractRateType" : "PERCENTAGE",
      "serviceTemplate" : { },
      "amountWithoutTax" : 12345.0,
      "descriptionAndCode" : "...",
      "cfAccumulatedValues" : { },
      "referenceCode" : "...",
      "cfValues" : { },
      "parentEntity" : { },
      "codeChanged" : true,
      "offerTemplate" : { },
      "id" : 12345,
      "historized" : true,
      "referenceDescription" : "...",
      "parentCFEntities" : [ { }, { } ],
      "active" : true,
      "transient" : true,
      "description" : "...",
      "parentEntityType" : { },
      "appendGeneratedCode" : true,
      "version" : 12345,
      "disabled" : true,
      "product" : { },
      "contract" : { },
      "auditableFields" : [ { }, { } ],
      "chargeTemplate" : { },
      "notified" : true,
      "auditable" : { }
    } ],
    "customer" : {
      "minimumLabelEl" : "...",
      "anonymizationDate" : 12345,
      "transient" : true,
      "descriptionAndCode" : "...",
      "externalRef1" : "...",
      "name" : { },
      "isCompany" : true,
      "externalRef2" : "...",
      "thresholdPerEntity" : true,
      "parentEntityType" : { },
      "contactInformation" : { },
      "historized" : true,
      "uuid" : "...",
      "addressbook" : { },
      "contracts" : [ { }, { } ],
      "vatNo" : "...",
      "codeChanged" : true,
      "referenceDescription" : "...",
      "auditableFields" : [ { }, { } ],
      "parentCFEntities" : [ { }, { } ],
      "contactInformationNullSafe" : { },
      "registrationNo" : "...",
      "customerBrand" : { },
      "invoicingThreshold" : 12345.0,
      "defaultLevel" : true,
      "descriptionOrCode" : "...",
      "primaryContact" : { },
      "address" : { },
      "jobTitle" : "...",
      "minimumChargeTemplate" : { },
      "description" : "...",
      "cfAccumulatedValues" : { },
      "referenceCode" : "...",
      "notified" : true,
      "appendGeneratedCode" : true,
      "accountType" : "...",
      "checkThreshold" : "POSITIVE_IL",
      "customerCategory" : { },
      "anonymized" : true,
      "version" : 12345,
      "customerAccounts" : [ { }, { } ],
      "minimumTargetAccount" : { },
      "additionalDetails" : { },
      "minimumArticle" : { },
      "code" : "...",
      "counters" : {
        "property1" : { },
        "property2" : { }
      },
      "minimumAmountEl" : "...",
      "legalEntityType" : { },
      "auditable" : { },
      "seller" : { },
      "cfValues" : { },
      "parentEntity" : { },
      "businessAccountModel" : { },
      "providerContact" : "...",
      "id" : 12345
    },
    "status" : "CLOSED",
    "renewal" : true,
    "notified" : true,
    "uuid" : "...",
    "descriptionOrCode" : "...",
    "statusDate" : 12345,
    "transient" : true,
    "auditable" : {
      "lastModified" : 12345,
      "updated" : 12345,
      "updater" : "...",
      "created" : 12345,
      "creator" : "...",
      "lastUser" : "..."
    },
    "customerAccount" : {
      "tradingCurrency" : { },
      "descriptionAndCode" : "...",
      "password" : "...",
      "accountOperations" : [ { }, { } ],
      "excludedFromPayment" : true,
      "paymentPlans" : [ { }, { } ],
      "referenceDescription" : "...",
      "actionDunnings" : [ { }, { } ],
      "contactInformation" : { },
      "address" : { },
      "counters" : {
        "property1" : { },
        "property2" : { }
      },
      "appendGeneratedCode" : true,
      "checkPaymentMethods" : [ { }, { } ],
      "isCompany" : true,
      "cfValues" : { },
      "status" : "ACTIVE",
      "businessAccountModel" : { },
      "primaryContact" : { },
      "registrationNo" : "...",
      "vatNo" : "...",
      "addressbook" : { },
      "externalRef2" : "...",
      "minimumLabelEl" : "...",
      "minimumTargetAccount" : { },
      "seller" : { },
      "uuid" : "...",
      "noMoreValidCard" : true,
      "minimumArticle" : { },
      "creditCategory" : { },
      "invoicingThreshold" : 12345.0,
      "jobTitle" : "...",
      "preferredPaymentMethodType" : "CASH",
      "transient" : true,
      "auditableFields" : [ { }, { } ],
      "dunningLevel" : "R4",
      "stripePaymentMethods" : [ { }, { } ],
      "parentCFEntities" : [ { }, { } ],
      "code" : "...",
      "dateDunningLevel" : 12345,
      "id" : 12345,
      "contactInformationNullSafe" : { },
      "auditable" : { },
      "notified" : true,
      "name" : { },
      "accountType" : "...",
      "parentEntity" : { },
      "auditedMethodPayments" : {
        "property1" : [ { }, { } ],
        "property2" : [ { }, { } ]
      },
      "providerContact" : "...",
      "billingAccounts" : [ { }, { } ],
      "dueDateDelayEL" : "...",
      "legalEntityType" : { },
      "defaultLevel" : true,
      "externalRef1" : "...",
      "dueBalance" : "...",
      "parentEntityType" : { },
      "dateStatus" : 12345,
      "DDPaymentMethods" : [ { }, { } ],
      "checkThreshold" : "POSITIVE_RT",
      "wirePaymentMethods" : [ { }, { } ],
      "paymentMethods" : [ { }, { } ],
      "codeChanged" : true,
      "paypalPaymentMethods" : [ { }, { } ],
      "generalClientAccount" : { },
      "cfAccumulatedValues" : { },
      "version" : 12345,
      "referenceCode" : "...",
      "minimumAmountEl" : "...",
      "customer" : { },
      "descriptionOrCode" : "...",
      "tradingLanguage" : { },
      "historized" : true,
      "contracts" : [ { }, { } ],
      "dunningDocuments" : [ { }, { } ],
      "description" : "...",
      "preferredPaymentMethod" : { },
      "minimumChargeTemplate" : { },
      "thresholdPerEntity" : true
    },
    "parentCFEntities" : [ {
      "parentCFEntities" : [ { }, { } ],
      "dirtyCF" : true,
      "cfValuesAsValues" : {
        "property1" : { },
        "property2" : { }
      },
      "cfAccumulatedValues" : { },
      "cfValuesNullSafe" : { },
      "cfAccumulatedValuesNullSafe" : { },
      "cfValues" : { },
      "CFValuesCopy" : { },
      "uuid" : "..."
    }, {
      "parentCFEntities" : [ { }, { } ],
      "dirtyCF" : true,
      "cfValuesAsValues" : {
        "property1" : { },
        "property2" : { }
      },
      "cfAccumulatedValues" : { },
      "cfValuesNullSafe" : { },
      "cfAccumulatedValuesNullSafe" : { },
      "cfValues" : { },
      "CFValuesCopy" : { },
      "uuid" : "..."
    } ],
    "cfValues" : {
      "valuesByCode" : {
        "property1" : [ { }, { } ],
        "property2" : [ { }, { } ]
      },
      "values" : {
        "property1" : { },
        "property2" : { }
      },
      "newVersionedCFValuePeriods" : {
        "property1" : [ { }, { } ],
        "property2" : [ { }, { } ]
      },
      "encrypted" : true
    },
    "disabled" : true,
    "contractDate" : 12345,
    "endDate" : 12345,
    "version" : 12345,
    "seller" : {
      "code" : "...",
      "minimumLabelEl" : "...",
      "vatNo" : "...",
      "description" : "...",
      "auditableFields" : [ { }, { } ],
      "historized" : true,
      "contactInformationNullSafe" : { },
      "tradingCountry" : { },
      "descriptionAndCode" : "...",
      "defaultLevel" : true,
      "registrationNo" : "...",
      "seller" : { },
      "tradingLanguage" : { },
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "accountType" : "...",
      "legalEntityType" : { },
      "minimumArticle" : { },
      "name" : { },
      "notified" : true,
      "providerContact" : "...",
      "id" : 12345,
      "generalLedger" : { },
      "contracts" : [ { }, { } ],
      "businessAccountModel" : { },
      "externalRef2" : "...",
      "tradingCurrency" : { },
      "legalType" : "...",
      "primaryContact" : { },
      "referenceCode" : "...",
      "parentEntity" : { },
      "referenceDescription" : "...",
      "auditable" : { },
      "parentCFEntities" : [ { }, { } ],
      "invoiceTypeSequence" : [ { }, { } ],
      "jobTitle" : "...",
      "cfValues" : { },
      "uuid" : "...",
      "minimumAmountEl" : "...",
      "isCompany" : true,
      "paymentGateways" : [ { }, { } ],
      "address" : { },
      "customerSequences" : [ { }, { } ],
      "transient" : true,
      "minimumChargeTemplate" : { },
      "codeChanged" : true,
      "version" : 12345,
      "contactInformation" : { },
      "cfAccumulatedValues" : { },
      "parentEntityType" : { },
      "externalRef1" : "...",
      "legalText" : "..."
    },
    "id" : 12345,
    "referenceCode" : "...",
    "appendGeneratedCode" : true,
    "cfAccumulatedValues" : {
      "valuesByCode" : {
        "property1" : [ { }, { } ],
        "property2" : [ { }, { } ]
      },
      "values" : {
        "property1" : { },
        "property2" : { }
      },
      "newVersionedCFValuePeriods" : {
        "property1" : [ { }, { } ],
        "property2" : [ { }, { } ]
      },
      "encrypted" : true
    },
    "contractDuration" : 12345,
    "billingRules" : [ {
      "historized" : true,
      "contract" : { },
      "version" : 12345,
      "active" : true,
      "id" : 12345,
      "criteriaEL" : "...",
      "transient" : true,
      "priority" : 12345,
      "disabled" : true,
      "invoicedBACodeEL" : "...",
      "notified" : true,
      "auditableFields" : [ { }, { } ],
      "auditable" : { }
    }, {
      "historized" : true,
      "contract" : { },
      "version" : 12345,
      "active" : true,
      "id" : 12345,
      "criteriaEL" : "...",
      "transient" : true,
      "priority" : 12345,
      "disabled" : true,
      "invoicedBACodeEL" : "...",
      "notified" : true,
      "auditableFields" : [ { }, { } ],
      "auditable" : { }
    } ],
    "codeChanged" : true,
    "code" : "...",
    "auditableFields" : [ {
      "historized" : true,
      "notified" : true,
      "auditType" : "RENEWAL",
      "historable" : true,
      "fieldName" : "...",
      "currentState" : { },
      "notfiable" : true,
      "previousState" : { }
    }, {
      "historized" : true,
      "notified" : true,
      "auditType" : "RENEWAL",
      "historable" : true,
      "fieldName" : "...",
      "currentState" : { },
      "notfiable" : true,
      "previousState" : { }
    } ],
    "historized" : true,
    "referenceDescription" : "...",
    "beginDate" : 12345,
    "description" : "..."
  },
  "version" : 12345,
  "active" : true,
  "id" : 12345,
  "criteriaEL" : "...",
  "transient" : true,
  "priority" : 12345,
  "disabled" : true,
  "invoicedBACodeEL" : "...",
  "notified" : true,
  "auditableFields" : [ {
    "historized" : true,
    "notified" : true,
    "auditType" : "OTHER",
    "historable" : true,
    "fieldName" : "...",
    "currentState" : { },
    "notfiable" : true,
    "previousState" : { }
  }, {
    "historized" : true,
    "notified" : true,
    "auditType" : "STATUS",
    "historable" : true,
    "fieldName" : "...",
    "currentState" : { },
    "notfiable" : true,
    "previousState" : { }
  } ],
  "auditable" : {
    "lastModified" : 12345,
    "updated" : 12345,
    "updater" : "...",
    "created" : 12345,
    "creator" : "...",
    "lastUser" : "..."
  }
}