The Class BillingAccountsDto.
| name | data type | description |
|---|---|---|
| billingAccount | array of BillingAccountDto | The billing account. |
Example
{
"billingAccount" : [ {
"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" : [ { }, { } ],
"code" : "...",
"description" : "...",
"updatedCode" : "..."
},
"customFields" : {
"customField" : [ { }, { } ],
"inheritedCustomField" : [ { }, { } ]
},
"customerAccount" : "...",
"vatNo" : "...",
"billingCycle" : "...",
"registrationNo" : "...",
"contactInformation" : {
"email" : "...",
"phone" : "...",
"mobile" : "...",
"fax" : "...",
"address" : { }
},
"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" : [ { }, { } ],
"invoiceId" : 12345,
"invoiceType" : "...",
"billingAccountCode" : "...",
"sellerCode" : "...",
"subscriptionCode" : "...",
"subscriptionId" : 12345,
"orderNumber" : "...",
"status" : "VALIDATED",
"dueDate" : 12345,
"invoiceDate" : 12345,
"categoryInvoiceAgregate" : [ { }, { } ],
"taxAggregate" : [ { }, { } ],
"invoiceIdToLink" : [ 12345, 12345 ],
"invoiceNumber" : "...",
"discount" : 12345.0,
"amountWithoutTax" : 12345.0,
"amountTax" : 12345.0,
"amountWithTax" : 12345.0,
"paymentMethod" : "WIRETRANSFER",
"xmlFilename" : "...",
"xml" : "...",
"pdfFilename" : "...",
"pdf" : "...",
"autoValidation" : true,
"returnXml" : true,
"returnPdf" : true,
"sendByEmail" : true,
"includeBalance" : true,
"recordedInvoiceDto" : { },
"netToPay" : 12345.0,
"invoiceMode" : "DETAILLED",
"customFields" : { },
"dueBalance" : 12345.0,
"isDraft" : true,
"checkAlreadySent" : true,
"overrideEmail" : "...",
"sentByEmail" : true,
"paymentScheduleInstancesDto" : { },
"dunningEntryDate" : 12345,
"dunningLastModification" : 12345,
"dunningStatus" : "...",
"realTimeStatus" : "PENDING_PLAN",
"ratedTransactionsToLink" : [ 12345, 12345 ],
"paymentIncidents" : [ "...", "..." ],
"sendPaymentDate" : 12345,
"initialCollectionDate" : 12345,
"writeOffAmount" : 12345.0,
"paymentDate" : 12345,
"statusDate" : 12345,
"xmlDate" : 12345,
"pdfDate" : 12345,
"emailSentDate" : 12345,
"paymentStatus" : "PENDING_PLAN",
"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" : [ { }, { } ],
"invoiceId" : 12345,
"invoiceType" : "...",
"billingAccountCode" : "...",
"sellerCode" : "...",
"subscriptionCode" : "...",
"subscriptionId" : 12345,
"orderNumber" : "...",
"status" : "VALIDATED",
"dueDate" : 12345,
"invoiceDate" : 12345,
"categoryInvoiceAgregate" : [ { }, { } ],
"taxAggregate" : [ { }, { } ],
"invoiceIdToLink" : [ 12345, 12345 ],
"invoiceNumber" : "...",
"discount" : 12345.0,
"amountWithoutTax" : 12345.0,
"amountTax" : 12345.0,
"amountWithTax" : 12345.0,
"paymentMethod" : "CARD",
"xmlFilename" : "...",
"xml" : "...",
"pdfFilename" : "...",
"pdf" : "...",
"autoValidation" : true,
"returnXml" : true,
"returnPdf" : true,
"sendByEmail" : true,
"includeBalance" : true,
"recordedInvoiceDto" : { },
"netToPay" : 12345.0,
"invoiceMode" : "AGGREGATED",
"customFields" : { },
"dueBalance" : 12345.0,
"isDraft" : true,
"checkAlreadySent" : true,
"overrideEmail" : "...",
"sentByEmail" : true,
"paymentScheduleInstancesDto" : { },
"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" : "NONE",
"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" : [ { }, { } ],
"code" : "...",
"languageDescriptions" : [ { }, { } ],
"description" : "...",
"updatedCode" : "..."
},
"invoicingThreshold" : 12345.0,
"phone" : "...",
"minimumInvoiceSubCategory" : "...",
"userAccounts" : {
"userAccount" : [ { }, { } ]
},
"discountPlanForInstantiation" : [ {
"disabled" : true,
"id" : 12345,
"auditableField" : [ { }, { } ],
"code" : "...",
"description" : "...",
"startDate" : 12345,
"updatedCode" : "...",
"endDate" : 12345,
"defaultDuration" : 12345,
"durationUnit" : "DAY",
"customFields" : { },
"discountPlanItem" : [ { }, { } ],
"expressionEl" : "...",
"discountPlanType" : "INVOICE_LINE",
"status" : "INACTIVE",
"statusDate" : 12345,
"initialQuantity" : 12345,
"usedQuantity" : 12345,
"applicationLimit" : 12345,
"applicationFilterEL" : "...",
"incompatibleDiscountPlans" : [ { }, { } ],
"applicableEntities" : [ { }, { } ],
"applicableOnOverriddenPrice" : true,
"sequence" : 12345,
"applicableOnDiscountedPrice" : true
}, {
"disabled" : true,
"id" : 12345,
"auditableField" : [ { }, { } ],
"code" : "...",
"description" : "...",
"startDate" : 12345,
"updatedCode" : "...",
"endDate" : 12345,
"defaultDuration" : 12345,
"durationUnit" : "MONTH",
"customFields" : { },
"discountPlanItem" : [ { }, { } ],
"expressionEl" : "...",
"discountPlanType" : "PROMO_CODE",
"status" : "ACTIVE",
"statusDate" : 12345,
"initialQuantity" : 12345,
"usedQuantity" : 12345,
"applicationLimit" : 12345,
"applicationFilterEL" : "...",
"incompatibleDiscountPlans" : [ { }, { } ],
"applicableEntities" : [ { }, { } ],
"applicableOnOverriddenPrice" : true,
"sequence" : 12345,
"applicableOnDiscountedPrice" : true
} ],
"discountPlanForTermination" : [ "...", "..." ],
"discountPlanInstance" : [ {
"discountPlan" : "...",
"billingAccount" : "...",
"subscription" : "...",
"startDate" : 12345,
"endDate" : 12345,
"customFields" : { },
"status" : "APPLIED",
"statusDate" : 12345,
"applicationCount" : 12345
}, {
"discountPlan" : "...",
"billingAccount" : "...",
"subscription" : "...",
"startDate" : 12345,
"endDate" : 12345,
"customFields" : { },
"status" : "APPLIED",
"statusDate" : 12345,
"applicationCount" : 12345
} ],
"mailingType" : "...",
"emailTemplate" : "...",
"ccedEmails" : "...",
"taxCategoryCode" : "...",
"checkThreshold" : "BEFORE_DISCOUNT",
"infoGdpr" : [ {
"key" : "...",
"value" : { }
}, {
"key" : "...",
"value" : { }
} ],
"paymentMethod" : {
"paymentMethodType" : "STRIPE",
"id" : 12345,
"disabled" : true,
"alias" : "...",
"preferred" : true,
"customerAccountCode" : "...",
"info1" : "...",
"info2" : "...",
"info3" : "...",
"info4" : "...",
"info5" : "...",
"bankCoordinates" : { },
"mandateIdentification" : "...",
"mandateDate" : 12345,
"cardType" : "AMERICAN_EXPRESS",
"owner" : "...",
"monthExpiration" : 12345,
"yearExpiration" : 12345,
"tokenId" : "...",
"cardNumber" : "...",
"issueNumber" : "...",
"userId" : "...",
"email" : "...",
"referenceDocumentCode" : "...",
"customFields" : { }
},
"thresholdPerEntity" : true,
"primaryContact" : "...",
"tagCodes" : [ "...", "..." ]
}, {
"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" : [ { }, { } ],
"code" : "...",
"description" : "...",
"updatedCode" : "..."
},
"customFields" : {
"customField" : [ { }, { } ],
"inheritedCustomField" : [ { }, { } ]
},
"customerAccount" : "...",
"vatNo" : "...",
"billingCycle" : "...",
"registrationNo" : "...",
"contactInformation" : {
"email" : "...",
"phone" : "...",
"mobile" : "...",
"fax" : "...",
"address" : { }
},
"country" : "...",
"tradingCurrency" : "...",
"minimumAmountEl" : "...",
"language" : "...",
"nextInvoiceDate" : 12345,
"minimumLabelEl" : "...",
"subscriptionDate" : 12345,
"minimumTargetAccount" : "...",
"terminationDate" : 12345,
"electronicBilling" : true,
"minimumAmountElSpark" : "...",
"status" : "ACTIVE",
"statusDate" : 12345,
"minimumLabelElSpark" : "...",
"terminationReason" : "...",
"minimumChargeTemplate" : "...",
"email" : "...",
"invoices" : [ {
"auditableField" : [ { }, { } ],
"invoiceId" : 12345,
"invoiceType" : "...",
"billingAccountCode" : "...",
"sellerCode" : "...",
"subscriptionCode" : "...",
"subscriptionId" : 12345,
"orderNumber" : "...",
"status" : "REJECTED",
"dueDate" : 12345,
"invoiceDate" : 12345,
"categoryInvoiceAgregate" : [ { }, { } ],
"taxAggregate" : [ { }, { } ],
"invoiceIdToLink" : [ 12345, 12345 ],
"invoiceNumber" : "...",
"discount" : 12345.0,
"amountWithoutTax" : 12345.0,
"amountTax" : 12345.0,
"amountWithTax" : 12345.0,
"paymentMethod" : "WIRETRANSFER",
"xmlFilename" : "...",
"xml" : "...",
"pdfFilename" : "...",
"pdf" : "...",
"autoValidation" : true,
"returnXml" : true,
"returnPdf" : true,
"sendByEmail" : true,
"includeBalance" : true,
"recordedInvoiceDto" : { },
"netToPay" : 12345.0,
"invoiceMode" : "DETAILLED",
"customFields" : { },
"dueBalance" : 12345.0,
"isDraft" : true,
"checkAlreadySent" : true,
"overrideEmail" : "...",
"sentByEmail" : true,
"paymentScheduleInstancesDto" : { },
"dunningEntryDate" : 12345,
"dunningLastModification" : 12345,
"dunningStatus" : "...",
"realTimeStatus" : "PAID",
"ratedTransactionsToLink" : [ 12345, 12345 ],
"paymentIncidents" : [ "...", "..." ],
"sendPaymentDate" : 12345,
"initialCollectionDate" : 12345,
"writeOffAmount" : 12345.0,
"paymentDate" : 12345,
"statusDate" : 12345,
"xmlDate" : 12345,
"pdfDate" : 12345,
"emailSentDate" : 12345,
"paymentStatus" : "DISPUTED",
"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" : [ { }, { } ],
"invoiceId" : 12345,
"invoiceType" : "...",
"billingAccountCode" : "...",
"sellerCode" : "...",
"subscriptionCode" : "...",
"subscriptionId" : 12345,
"orderNumber" : "...",
"status" : "VALIDATED",
"dueDate" : 12345,
"invoiceDate" : 12345,
"categoryInvoiceAgregate" : [ { }, { } ],
"taxAggregate" : [ { }, { } ],
"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" : { },
"netToPay" : 12345.0,
"invoiceMode" : "AGGREGATED",
"customFields" : { },
"dueBalance" : 12345.0,
"isDraft" : true,
"checkAlreadySent" : true,
"overrideEmail" : "...",
"sentByEmail" : true,
"paymentScheduleInstancesDto" : { },
"dunningEntryDate" : 12345,
"dunningLastModification" : 12345,
"dunningStatus" : "...",
"realTimeStatus" : "REFUNDED",
"ratedTransactionsToLink" : [ 12345, 12345 ],
"paymentIncidents" : [ "...", "..." ],
"sendPaymentDate" : 12345,
"initialCollectionDate" : 12345,
"writeOffAmount" : 12345.0,
"paymentDate" : 12345,
"statusDate" : 12345,
"xmlDate" : 12345,
"pdfDate" : 12345,
"emailSentDate" : 12345,
"paymentStatus" : "REFUNDED",
"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" : [ { }, { } ],
"code" : "...",
"languageDescriptions" : [ { }, { } ],
"description" : "...",
"updatedCode" : "..."
},
"invoicingThreshold" : 12345.0,
"phone" : "...",
"minimumInvoiceSubCategory" : "...",
"userAccounts" : {
"userAccount" : [ { }, { } ]
},
"discountPlanForInstantiation" : [ {
"disabled" : true,
"id" : 12345,
"auditableField" : [ { }, { } ],
"code" : "...",
"description" : "...",
"startDate" : 12345,
"updatedCode" : "...",
"endDate" : 12345,
"defaultDuration" : 12345,
"durationUnit" : "MONTH",
"customFields" : { },
"discountPlanItem" : [ { }, { } ],
"expressionEl" : "...",
"discountPlanType" : "INVOICE",
"status" : "EXPIRED",
"statusDate" : 12345,
"initialQuantity" : 12345,
"usedQuantity" : 12345,
"applicationLimit" : 12345,
"applicationFilterEL" : "...",
"incompatibleDiscountPlans" : [ { }, { } ],
"applicableEntities" : [ { }, { } ],
"applicableOnOverriddenPrice" : true,
"sequence" : 12345,
"applicableOnDiscountedPrice" : true
}, {
"disabled" : true,
"id" : 12345,
"auditableField" : [ { }, { } ],
"code" : "...",
"description" : "...",
"startDate" : 12345,
"updatedCode" : "...",
"endDate" : 12345,
"defaultDuration" : 12345,
"durationUnit" : "MONTH",
"customFields" : { },
"discountPlanItem" : [ { }, { } ],
"expressionEl" : "...",
"discountPlanType" : "INVOICE_LINE",
"status" : "EXPIRED",
"statusDate" : 12345,
"initialQuantity" : 12345,
"usedQuantity" : 12345,
"applicationLimit" : 12345,
"applicationFilterEL" : "...",
"incompatibleDiscountPlans" : [ { }, { } ],
"applicableEntities" : [ { }, { } ],
"applicableOnOverriddenPrice" : true,
"sequence" : 12345,
"applicableOnDiscountedPrice" : true
} ],
"discountPlanForTermination" : [ "...", "..." ],
"discountPlanInstance" : [ {
"discountPlan" : "...",
"billingAccount" : "...",
"subscription" : "...",
"startDate" : 12345,
"endDate" : 12345,
"customFields" : { },
"status" : "IN_USE",
"statusDate" : 12345,
"applicationCount" : 12345
}, {
"discountPlan" : "...",
"billingAccount" : "...",
"subscription" : "...",
"startDate" : 12345,
"endDate" : 12345,
"customFields" : { },
"status" : "ACTIVE",
"statusDate" : 12345,
"applicationCount" : 12345
} ],
"mailingType" : "...",
"emailTemplate" : "...",
"ccedEmails" : "...",
"taxCategoryCode" : "...",
"checkThreshold" : "POSITIVE_RT",
"infoGdpr" : [ {
"key" : "...",
"value" : { }
}, {
"key" : "...",
"value" : { }
} ],
"paymentMethod" : {
"paymentMethodType" : "WIRETRANSFER",
"id" : 12345,
"disabled" : true,
"alias" : "...",
"preferred" : true,
"customerAccountCode" : "...",
"info1" : "...",
"info2" : "...",
"info3" : "...",
"info4" : "...",
"info5" : "...",
"bankCoordinates" : { },
"mandateIdentification" : "...",
"mandateDate" : 12345,
"cardType" : "CB",
"owner" : "...",
"monthExpiration" : 12345,
"yearExpiration" : 12345,
"tokenId" : "...",
"cardNumber" : "...",
"issueNumber" : "...",
"userId" : "...",
"email" : "...",
"referenceDocumentCode" : "...",
"customFields" : { }
},
"thresholdPerEntity" : true,
"primaryContact" : "...",
"tagCodes" : [ "...", "..." ]
} ]
}