BillingRule Data Type

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

Example

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