The Class BillingAccountDto.
| name | data type | constraints | description |
|---|---|---|---|
| id | number | The id. | |
| auditableField | array of AuditableFieldDto | ||
| externalRef1 | string | The external ref 1. | |
| code | string | required | The code |
| externalRef2 | string | The external ref 2. | |
| description | string | The description | |
| name | NameDto | The name. | |
| address | AddressDto | The address. | |
| updatedCode | string | The updated code. | |
| jobTitle | string | The job title. | |
| businessAccountModel | BusinessEntityDto | The business account model. | |
| customFields | CustomFieldsDto | The custom fields. | |
| customerAccount | string | The customer account. | |
| vatNo | string | The vat no. | |
| billingCycle | string | The billing cycle. | |
| registrationNo | string | The registration no. | |
| contactInformation | ContactInformationDto | The contact information. | |
| country | string | The country. | |
| tradingCurrency | string | The currency. | |
| minimumAmountEl | string | Expression to determine minimum amount value | |
| language | string | The language. | |
| nextInvoiceDate | number | The next invoice date. | |
| minimumLabelEl | string | Expression to determine rated transaction description to reach minimum amount value | |
| subscriptionDate | number | The subscription date. | |
| minimumTargetAccount | string | The billing account code to be used when calculating the min amount billable for Customer and CA. | |
| terminationDate | number | The termination date. | |
| electronicBilling | boolean | The electronic billing. | |
| minimumAmountElSpark | string | Expression to determine minimum amount value - for Spark. | |
| status | AccountStatusEnum | The status. | |
| statusDate | number | The status date. | |
| minimumLabelElSpark | string | Expression to determine rated transaction description to reach minimum amount value - for Spark. | |
| terminationReason | string | The termination reason. | |
| minimumChargeTemplate | string | Corresponding to minimum one shot charge template code. | |
| string | The email. | ||
| invoices | array of InvoiceDto | The invoices. | |
| isCompany | boolean | ||
| legalEntityType | TitleDto | ||
| invoicingThreshold | number | The invoicing threshold. | |
| phone | string | The phone. | |
| minimumInvoiceSubCategory | string | Minimum Invoice SubCategory | |
| |
|
|
|
| |
|
|
|
| |
|
|
|
| userAccounts | UserAccountsDto | Use for GET / LIST only. | |
| discountPlanForInstantiation | array of DiscountPlanDto | List of discount plans. Use in instantiating DiscountPlanInstance. | |
| discountPlanForTermination | array of string | List of discount plans to be disassociated in a BillingAccount | |
| discountPlanInstance | array of DiscountPlanInstanceDto | Use to return the active discount plans for this entity. | |
| mailingType | string | Mailing type | |
| emailTemplate | string | Email Template code | |
| ccedEmails | string | a list of emails separated by comma | |
| taxCategoryCode | string | Account tax category code - overrides the value from a customer category | |
| checkThreshold | ThresholdOptionsEnum | The option on how to check the threshold. | |
| infoGdpr | array of GDPRInfoDto | list of GDPR related to billing account | |
| paymentMethod | PaymentMethodDto | Use to return the paymentMethod. | |
| thresholdPerEntity | boolean | check the threshold per entity/invoice for BA. | |
| primaryContact | string | Contact code | |
| tagCodes | array of string | The tags. |
Example
{
"id" : 12345,
"auditableField" : [ {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
}, {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
} ],
"externalRef1" : "...",
"code" : "...",
"externalRef2" : "...",
"description" : "...",
"name" : {
"title" : "...",
"firstName" : "...",
"lastName" : "..."
},
"address" : {
"address1" : "...",
"address2" : "...",
"address3" : "...",
"address4" : "...",
"address5" : "...",
"zipCode" : "...",
"city" : "...",
"country" : "...",
"state" : "..."
},
"updatedCode" : "...",
"jobTitle" : "...",
"businessAccountModel" : {
"id" : 12345,
"auditableField" : [ {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
}, {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
} ],
"code" : "...",
"description" : "...",
"updatedCode" : "..."
},
"customFields" : {
"customField" : [ {
"code" : "...",
"description" : "...",
"fieldType" : "TEXT_AREA",
"languageDescriptions" : [ { }, { } ],
"valueDate" : 12345,
"valuePeriodStartDate" : 12345,
"valuePeriodEndDate" : 12345,
"valuePeriodPriority" : 12345,
"stringValue" : "...",
"dateValue" : 12345,
"longValue" : 12345,
"doubleValue" : 12345.0,
"booleanValue" : true,
"value" : [ { }, { } ],
"mapValue" : {
"property1" : { },
"property2" : { }
},
"entityReferenceValue" : { },
"indexType" : "STORE_ONLY",
"fileValue" : "...",
"formattedValue" : { },
"urlReferenceValue" : { },
"guiPosition" : "...",
"customTableCode" : "...",
"dataFilter" : "...",
"fields" : "..."
}, {
"code" : "...",
"description" : "...",
"fieldType" : "STRING",
"languageDescriptions" : [ { }, { } ],
"valueDate" : 12345,
"valuePeriodStartDate" : 12345,
"valuePeriodEndDate" : 12345,
"valuePeriodPriority" : 12345,
"stringValue" : "...",
"dateValue" : 12345,
"longValue" : 12345,
"doubleValue" : 12345.0,
"booleanValue" : true,
"value" : [ { }, { } ],
"mapValue" : {
"property1" : { },
"property2" : { }
},
"entityReferenceValue" : { },
"indexType" : "INDEX_NOT_ANALYZE",
"fileValue" : "...",
"formattedValue" : { },
"urlReferenceValue" : { },
"guiPosition" : "...",
"customTableCode" : "...",
"dataFilter" : "...",
"fields" : "..."
} ],
"inheritedCustomField" : [ {
"code" : "...",
"description" : "...",
"fieldType" : "LIST",
"languageDescriptions" : [ { }, { } ],
"valueDate" : 12345,
"valuePeriodStartDate" : 12345,
"valuePeriodEndDate" : 12345,
"valuePeriodPriority" : 12345,
"stringValue" : "...",
"dateValue" : 12345,
"longValue" : 12345,
"doubleValue" : 12345.0,
"booleanValue" : true,
"value" : [ { }, { } ],
"mapValue" : {
"property1" : { },
"property2" : { }
},
"entityReferenceValue" : { },
"indexType" : "INDEX",
"fileValue" : "...",
"formattedValue" : { },
"urlReferenceValue" : { },
"guiPosition" : "...",
"customTableCode" : "...",
"dataFilter" : "...",
"fields" : "..."
}, {
"code" : "...",
"description" : "...",
"fieldType" : "STRING",
"languageDescriptions" : [ { }, { } ],
"valueDate" : 12345,
"valuePeriodStartDate" : 12345,
"valuePeriodEndDate" : 12345,
"valuePeriodPriority" : 12345,
"stringValue" : "...",
"dateValue" : 12345,
"longValue" : 12345,
"doubleValue" : 12345.0,
"booleanValue" : true,
"value" : [ { }, { } ],
"mapValue" : {
"property1" : { },
"property2" : { }
},
"entityReferenceValue" : { },
"indexType" : "INDEX",
"fileValue" : "...",
"formattedValue" : { },
"urlReferenceValue" : { },
"guiPosition" : "...",
"customTableCode" : "...",
"dataFilter" : "...",
"fields" : "..."
} ]
},
"customerAccount" : "...",
"vatNo" : "...",
"billingCycle" : "...",
"registrationNo" : "...",
"contactInformation" : {
"email" : "...",
"phone" : "...",
"mobile" : "...",
"fax" : "...",
"address" : {
"address1" : "...",
"address2" : "...",
"address3" : "...",
"address4" : "...",
"address5" : "...",
"zipCode" : "...",
"city" : "...",
"country" : "...",
"state" : "..."
}
},
"country" : "...",
"tradingCurrency" : "...",
"minimumAmountEl" : "...",
"language" : "...",
"nextInvoiceDate" : 12345,
"minimumLabelEl" : "...",
"subscriptionDate" : 12345,
"minimumTargetAccount" : "...",
"terminationDate" : 12345,
"electronicBilling" : true,
"minimumAmountElSpark" : "...",
"status" : "CLOSED",
"statusDate" : 12345,
"minimumLabelElSpark" : "...",
"terminationReason" : "...",
"minimumChargeTemplate" : "...",
"email" : "...",
"invoices" : [ {
"auditableField" : [ {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
}, {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
} ],
"invoiceId" : 12345,
"invoiceType" : "...",
"billingAccountCode" : "...",
"sellerCode" : "...",
"subscriptionCode" : "...",
"subscriptionId" : 12345,
"orderNumber" : "...",
"status" : "REJECTED",
"dueDate" : 12345,
"invoiceDate" : 12345,
"categoryInvoiceAgregate" : [ {
"categoryInvoiceCode" : "...",
"description" : "...",
"userAccountCode" : "...",
"itemNumber" : 12345,
"amountWithoutTax" : 12345.0,
"amountTax" : 12345.0,
"amountWithTax" : 12345.0,
"subCategoryInvoiceAgregateDto" : [ { }, { } ],
"discountAggregate" : [ { }, { } ]
}, {
"categoryInvoiceCode" : "...",
"description" : "...",
"userAccountCode" : "...",
"itemNumber" : 12345,
"amountWithoutTax" : 12345.0,
"amountTax" : 12345.0,
"amountWithTax" : 12345.0,
"subCategoryInvoiceAgregateDto" : [ { }, { } ],
"discountAggregate" : [ { }, { } ]
} ],
"taxAggregate" : [ {
"description" : "...",
"itemNumber" : 12345,
"amountWithoutTax" : 12345.0,
"amountTax" : 12345.0,
"amountWithTax" : 12345.0,
"taxCode" : "...",
"taxPercent" : 12345.0,
"accountingCode" : "..."
}, {
"description" : "...",
"itemNumber" : 12345,
"amountWithoutTax" : 12345.0,
"amountTax" : 12345.0,
"amountWithTax" : 12345.0,
"taxCode" : "...",
"taxPercent" : 12345.0,
"accountingCode" : "..."
} ],
"invoiceIdToLink" : [ 12345, 12345 ],
"invoiceNumber" : "...",
"discount" : 12345.0,
"amountWithoutTax" : 12345.0,
"amountTax" : 12345.0,
"amountWithTax" : 12345.0,
"paymentMethod" : "STRIPE",
"xmlFilename" : "...",
"xml" : "...",
"pdfFilename" : "...",
"pdf" : "...",
"autoValidation" : true,
"returnXml" : true,
"returnPdf" : true,
"sendByEmail" : true,
"includeBalance" : true,
"recordedInvoiceDto" : {
"productionDate" : 12345,
"invoiceDate" : 12345,
"auditableField" : [ { }, { } ],
"netToPay" : 12345.0,
"id" : 12345,
"dueDate" : 12345,
"type" : "...",
"transactionDate" : 12345,
"transactionCategory" : "DEBIT",
"reference" : "...",
"accountingCode" : "...",
"amount" : 12345.0,
"amountWithoutTax" : 12345.0,
"taxAmount" : 12345.0,
"matchingAmount" : 12345.0,
"unMatchingAmount" : 12345.0,
"matchingStatus" : "C",
"code" : "...",
"description" : "...",
"customerAccount" : "...",
"excludedFromDunning" : true,
"orderNumber" : "...",
"matchingAmounts" : { },
"otherCreditAndCharge" : { },
"recordedInvoice" : { },
"rejectedPayment" : { },
"bankLot" : "...",
"bankReference" : "...",
"bankCollectionDate" : 12345,
"depositDate" : 12345,
"paymentMethod" : "...",
"customFields" : { },
"paymentInfo" : "...",
"paymentInfo1" : "...",
"paymentInfo2" : "...",
"paymentInfo3" : "...",
"paymentInfo4" : "...",
"paymentInfo5" : "...",
"paymentInfo6" : "...",
"billingAccountName" : "...",
"paymentHistory" : [ { }, { } ],
"collectionDate" : 12345,
"journalCode" : "...",
"status" : "EXPORT_FAILED",
"reason" : "FORCED",
"accountingExportFile" : "...",
"accountingDate" : 12345
},
"netToPay" : 12345.0,
"invoiceMode" : "AGGREGATED",
"customFields" : {
"customField" : [ { }, { } ],
"inheritedCustomField" : [ { }, { } ]
},
"dueBalance" : 12345.0,
"isDraft" : true,
"checkAlreadySent" : true,
"overrideEmail" : "...",
"sentByEmail" : true,
"paymentScheduleInstancesDto" : {
"paging" : { },
"actionStatus" : { },
"instance" : [ { }, { } ]
},
"dunningEntryDate" : 12345,
"dunningLastModification" : 12345,
"dunningStatus" : "...",
"realTimeStatus" : "DISPUTED",
"ratedTransactionsToLink" : [ 12345, 12345 ],
"paymentIncidents" : [ "...", "..." ],
"sendPaymentDate" : 12345,
"initialCollectionDate" : 12345,
"writeOffAmount" : 12345.0,
"paymentDate" : 12345,
"statusDate" : 12345,
"xmlDate" : 12345,
"pdfDate" : 12345,
"emailSentDate" : 12345,
"paymentStatus" : "ABANDONED",
"paymentStatusDate" : 12345,
"startDate" : 12345,
"endDate" : 12345,
"rawAmount" : 12345.0,
"discountRate" : 12345.0,
"discountAmount" : 12345.0,
"isAlreadyAppliedMinimum" : true,
"isAlreadyAddedDiscount" : true,
"discountPlanCode" : "...",
"lastAppliedRate" : 12345.0,
"lastAppliedRateDate" : 12345
}, {
"auditableField" : [ {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
}, {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
} ],
"invoiceId" : 12345,
"invoiceType" : "...",
"billingAccountCode" : "...",
"sellerCode" : "...",
"subscriptionCode" : "...",
"subscriptionId" : 12345,
"orderNumber" : "...",
"status" : "DRAFT",
"dueDate" : 12345,
"invoiceDate" : 12345,
"categoryInvoiceAgregate" : [ {
"categoryInvoiceCode" : "...",
"description" : "...",
"userAccountCode" : "...",
"itemNumber" : 12345,
"amountWithoutTax" : 12345.0,
"amountTax" : 12345.0,
"amountWithTax" : 12345.0,
"subCategoryInvoiceAgregateDto" : [ { }, { } ],
"discountAggregate" : [ { }, { } ]
}, {
"categoryInvoiceCode" : "...",
"description" : "...",
"userAccountCode" : "...",
"itemNumber" : 12345,
"amountWithoutTax" : 12345.0,
"amountTax" : 12345.0,
"amountWithTax" : 12345.0,
"subCategoryInvoiceAgregateDto" : [ { }, { } ],
"discountAggregate" : [ { }, { } ]
} ],
"taxAggregate" : [ {
"description" : "...",
"itemNumber" : 12345,
"amountWithoutTax" : 12345.0,
"amountTax" : 12345.0,
"amountWithTax" : 12345.0,
"taxCode" : "...",
"taxPercent" : 12345.0,
"accountingCode" : "..."
}, {
"description" : "...",
"itemNumber" : 12345,
"amountWithoutTax" : 12345.0,
"amountTax" : 12345.0,
"amountWithTax" : 12345.0,
"taxCode" : "...",
"taxPercent" : 12345.0,
"accountingCode" : "..."
} ],
"invoiceIdToLink" : [ 12345, 12345 ],
"invoiceNumber" : "...",
"discount" : 12345.0,
"amountWithoutTax" : 12345.0,
"amountTax" : 12345.0,
"amountWithTax" : 12345.0,
"paymentMethod" : "CASH",
"xmlFilename" : "...",
"xml" : "...",
"pdfFilename" : "...",
"pdf" : "...",
"autoValidation" : true,
"returnXml" : true,
"returnPdf" : true,
"sendByEmail" : true,
"includeBalance" : true,
"recordedInvoiceDto" : {
"productionDate" : 12345,
"invoiceDate" : 12345,
"auditableField" : [ { }, { } ],
"netToPay" : 12345.0,
"id" : 12345,
"dueDate" : 12345,
"type" : "...",
"transactionDate" : 12345,
"transactionCategory" : "DEBIT",
"reference" : "...",
"accountingCode" : "...",
"amount" : 12345.0,
"amountWithoutTax" : 12345.0,
"taxAmount" : 12345.0,
"matchingAmount" : 12345.0,
"unMatchingAmount" : 12345.0,
"matchingStatus" : "I",
"code" : "...",
"description" : "...",
"customerAccount" : "...",
"excludedFromDunning" : true,
"orderNumber" : "...",
"matchingAmounts" : { },
"otherCreditAndCharge" : { },
"recordedInvoice" : { },
"rejectedPayment" : { },
"bankLot" : "...",
"bankReference" : "...",
"bankCollectionDate" : 12345,
"depositDate" : 12345,
"paymentMethod" : "...",
"customFields" : { },
"paymentInfo" : "...",
"paymentInfo1" : "...",
"paymentInfo2" : "...",
"paymentInfo3" : "...",
"paymentInfo4" : "...",
"paymentInfo5" : "...",
"paymentInfo6" : "...",
"billingAccountName" : "...",
"paymentHistory" : [ { }, { } ],
"collectionDate" : 12345,
"journalCode" : "...",
"status" : "EXPORTED",
"reason" : "REJECTED",
"accountingExportFile" : "...",
"accountingDate" : 12345
},
"netToPay" : 12345.0,
"invoiceMode" : "AGGREGATED",
"customFields" : {
"customField" : [ { }, { } ],
"inheritedCustomField" : [ { }, { } ]
},
"dueBalance" : 12345.0,
"isDraft" : true,
"checkAlreadySent" : true,
"overrideEmail" : "...",
"sentByEmail" : true,
"paymentScheduleInstancesDto" : {
"paging" : { },
"actionStatus" : { },
"instance" : [ { }, { } ]
},
"dunningEntryDate" : 12345,
"dunningLastModification" : 12345,
"dunningStatus" : "...",
"realTimeStatus" : "UNPAID",
"ratedTransactionsToLink" : [ 12345, 12345 ],
"paymentIncidents" : [ "...", "..." ],
"sendPaymentDate" : 12345,
"initialCollectionDate" : 12345,
"writeOffAmount" : 12345.0,
"paymentDate" : 12345,
"statusDate" : 12345,
"xmlDate" : 12345,
"pdfDate" : 12345,
"emailSentDate" : 12345,
"paymentStatus" : "ABANDONED",
"paymentStatusDate" : 12345,
"startDate" : 12345,
"endDate" : 12345,
"rawAmount" : 12345.0,
"discountRate" : 12345.0,
"discountAmount" : 12345.0,
"isAlreadyAppliedMinimum" : true,
"isAlreadyAddedDiscount" : true,
"discountPlanCode" : "...",
"lastAppliedRate" : 12345.0,
"lastAppliedRateDate" : 12345
} ],
"isCompany" : true,
"legalEntityType" : {
"id" : 12345,
"isCompany" : true,
"auditableField" : [ {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
}, {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
} ],
"code" : "...",
"languageDescriptions" : [ {
"languageCode" : "...",
"description" : "..."
}, {
"languageCode" : "...",
"description" : "..."
} ],
"description" : "...",
"updatedCode" : "..."
},
"invoicingThreshold" : 12345.0,
"phone" : "...",
"minimumInvoiceSubCategory" : "...",
"userAccounts" : {
"userAccount" : [ {
"id" : 12345,
"auditableField" : [ { }, { } ],
"parentUserAccountCode" : "...",
"externalRef1" : "...",
"code" : "...",
"userAccountCodes" : [ "...", "..." ],
"externalRef2" : "...",
"billingAccount" : "...",
"description" : "...",
"name" : { },
"billingAccountDescription" : "...",
"address" : { },
"updatedCode" : "...",
"customerAccount" : "...",
"customerAccountDescription" : "...",
"jobTitle" : "...",
"customer" : "...",
"businessAccountModel" : { },
"customerDescription" : "...",
"subscriptionDate" : 12345,
"terminationDate" : 12345,
"customFields" : { },
"status" : "TERMINATED",
"statusDate" : 12345,
"terminationReason" : "...",
"vatNo" : "...",
"isConsumer" : true,
"registrationNo" : "...",
"infoGdpr" : [ { }, { } ],
"subscriptions" : { },
"contactInformation" : { },
"parentUserAccount" : { },
"userAccounts" : [ { }, { } ],
"minimumAmountEl" : "...",
"minimumLabelEl" : "...",
"minimumTargetAccount" : "...",
"minimumAmountElSpark" : "...",
"minimumLabelElSpark" : "...",
"minimumChargeTemplate" : "...",
"isCompany" : true,
"legalEntityType" : { }
}, {
"id" : 12345,
"auditableField" : [ { }, { } ],
"parentUserAccountCode" : "...",
"externalRef1" : "...",
"code" : "...",
"userAccountCodes" : [ "...", "..." ],
"externalRef2" : "...",
"billingAccount" : "...",
"description" : "...",
"name" : { },
"billingAccountDescription" : "...",
"address" : { },
"updatedCode" : "...",
"customerAccount" : "...",
"customerAccountDescription" : "...",
"jobTitle" : "...",
"customer" : "...",
"businessAccountModel" : { },
"customerDescription" : "...",
"subscriptionDate" : 12345,
"terminationDate" : 12345,
"customFields" : { },
"status" : "TERMINATED",
"statusDate" : 12345,
"terminationReason" : "...",
"vatNo" : "...",
"isConsumer" : true,
"registrationNo" : "...",
"infoGdpr" : [ { }, { } ],
"subscriptions" : { },
"contactInformation" : { },
"parentUserAccount" : { },
"userAccounts" : [ { }, { } ],
"minimumAmountEl" : "...",
"minimumLabelEl" : "...",
"minimumTargetAccount" : "...",
"minimumAmountElSpark" : "...",
"minimumLabelElSpark" : "...",
"minimumChargeTemplate" : "...",
"isCompany" : true,
"legalEntityType" : { }
} ]
},
"discountPlanForInstantiation" : [ {
"disabled" : true,
"id" : 12345,
"auditableField" : [ {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
}, {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
} ],
"code" : "...",
"description" : "...",
"startDate" : 12345,
"updatedCode" : "...",
"endDate" : 12345,
"defaultDuration" : 12345,
"durationUnit" : "DAY",
"customFields" : {
"customField" : [ { }, { } ],
"inheritedCustomField" : [ { }, { } ]
},
"discountPlanItem" : [ {
"code" : "...",
"discountPlanCode" : "...",
"invoiceCategoryCode" : "...",
"invoiceSubCategoryCode" : "...",
"expressionEl" : "...",
"disabled" : true,
"discountPlanItemType" : "PERCENTAGE",
"discountValue" : 12345.0,
"discountValueEL" : "...",
"targetAccountingArticleCodes" : [ "...", "..." ],
"pricePlanMatrixCode" : "...",
"customFields" : { },
"allowToNegate" : true,
"description" : "...",
"priority" : 12345,
"accountingArticleCode" : "...",
"applyByArticle" : true,
"sequence" : 12345,
"lastDiscount" : true
}, {
"code" : "...",
"discountPlanCode" : "...",
"invoiceCategoryCode" : "...",
"invoiceSubCategoryCode" : "...",
"expressionEl" : "...",
"disabled" : true,
"discountPlanItemType" : "FIXED",
"discountValue" : 12345.0,
"discountValueEL" : "...",
"targetAccountingArticleCodes" : [ "...", "..." ],
"pricePlanMatrixCode" : "...",
"customFields" : { },
"allowToNegate" : true,
"description" : "...",
"priority" : 12345,
"accountingArticleCode" : "...",
"applyByArticle" : true,
"sequence" : 12345,
"lastDiscount" : true
} ],
"expressionEl" : "...",
"discountPlanType" : "PROMO_CODE",
"status" : "INACTIVE",
"statusDate" : 12345,
"initialQuantity" : 12345,
"usedQuantity" : 12345,
"applicationLimit" : 12345,
"applicationFilterEL" : "...",
"incompatibleDiscountPlans" : [ { }, { } ],
"applicableEntities" : [ {
"code" : "...",
"entityClass" : "..."
}, {
"code" : "...",
"entityClass" : "..."
} ],
"applicableOnOverriddenPrice" : true,
"sequence" : 12345,
"applicableOnDiscountedPrice" : true
}, {
"disabled" : true,
"id" : 12345,
"auditableField" : [ {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
}, {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
} ],
"code" : "...",
"description" : "...",
"startDate" : 12345,
"updatedCode" : "...",
"endDate" : 12345,
"defaultDuration" : 12345,
"durationUnit" : "DAY",
"customFields" : {
"customField" : [ { }, { } ],
"inheritedCustomField" : [ { }, { } ]
},
"discountPlanItem" : [ {
"code" : "...",
"discountPlanCode" : "...",
"invoiceCategoryCode" : "...",
"invoiceSubCategoryCode" : "...",
"expressionEl" : "...",
"disabled" : true,
"discountPlanItemType" : "PERCENTAGE",
"discountValue" : 12345.0,
"discountValueEL" : "...",
"targetAccountingArticleCodes" : [ "...", "..." ],
"pricePlanMatrixCode" : "...",
"customFields" : { },
"allowToNegate" : true,
"description" : "...",
"priority" : 12345,
"accountingArticleCode" : "...",
"applyByArticle" : true,
"sequence" : 12345,
"lastDiscount" : true
}, {
"code" : "...",
"discountPlanCode" : "...",
"invoiceCategoryCode" : "...",
"invoiceSubCategoryCode" : "...",
"expressionEl" : "...",
"disabled" : true,
"discountPlanItemType" : "PERCENTAGE",
"discountValue" : 12345.0,
"discountValueEL" : "...",
"targetAccountingArticleCodes" : [ "...", "..." ],
"pricePlanMatrixCode" : "...",
"customFields" : { },
"allowToNegate" : true,
"description" : "...",
"priority" : 12345,
"accountingArticleCode" : "...",
"applyByArticle" : true,
"sequence" : 12345,
"lastDiscount" : true
} ],
"expressionEl" : "...",
"discountPlanType" : "QUOTE",
"status" : "IN_USE",
"statusDate" : 12345,
"initialQuantity" : 12345,
"usedQuantity" : 12345,
"applicationLimit" : 12345,
"applicationFilterEL" : "...",
"incompatibleDiscountPlans" : [ { }, { } ],
"applicableEntities" : [ {
"code" : "...",
"entityClass" : "..."
}, {
"code" : "...",
"entityClass" : "..."
} ],
"applicableOnOverriddenPrice" : true,
"sequence" : 12345,
"applicableOnDiscountedPrice" : true
} ],
"discountPlanForTermination" : [ "...", "..." ],
"discountPlanInstance" : [ {
"discountPlan" : "...",
"billingAccount" : "...",
"subscription" : "...",
"startDate" : 12345,
"endDate" : 12345,
"customFields" : {
"customField" : [ { }, { } ],
"inheritedCustomField" : [ { }, { } ]
},
"status" : "ACTIVE",
"statusDate" : 12345,
"applicationCount" : 12345
}, {
"discountPlan" : "...",
"billingAccount" : "...",
"subscription" : "...",
"startDate" : 12345,
"endDate" : 12345,
"customFields" : {
"customField" : [ { }, { } ],
"inheritedCustomField" : [ { }, { } ]
},
"status" : "APPLIED",
"statusDate" : 12345,
"applicationCount" : 12345
} ],
"mailingType" : "...",
"emailTemplate" : "...",
"ccedEmails" : "...",
"taxCategoryCode" : "...",
"checkThreshold" : "POSITIVE_RT",
"infoGdpr" : [ {
"key" : "...",
"value" : { }
}, {
"key" : "...",
"value" : { }
} ],
"paymentMethod" : {
"paymentMethodType" : "PAYPAL",
"id" : 12345,
"disabled" : true,
"alias" : "...",
"preferred" : true,
"customerAccountCode" : "...",
"info1" : "...",
"info2" : "...",
"info3" : "...",
"info4" : "...",
"info5" : "...",
"bankCoordinates" : {
"bankCode" : "...",
"branchCode" : "...",
"accountNumber" : "...",
"key" : "...",
"iban" : "...",
"bic" : "...",
"accountOwner" : "...",
"bankName" : "...",
"bankId" : "...",
"issuerNumber" : "...",
"issuerName" : "...",
"ics" : "..."
},
"mandateIdentification" : "...",
"mandateDate" : 12345,
"cardType" : "CB",
"owner" : "...",
"monthExpiration" : 12345,
"yearExpiration" : 12345,
"tokenId" : "...",
"cardNumber" : "...",
"issueNumber" : "...",
"userId" : "...",
"email" : "...",
"referenceDocumentCode" : "...",
"customFields" : {
"customField" : [ { }, { } ],
"inheritedCustomField" : [ { }, { } ]
}
},
"thresholdPerEntity" : true,
"primaryContact" : "...",
"tagCodes" : [ "...", "..." ]
}