CustomerAccountDto Data Type

Customer Account DTO.

Implemented Interfaces
Serializable
Properties
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.
customer string   The customer.
businessAccountModel BusinessEntityDto   The business account model.
currency string   The currency.
language string   The language.
customFields CustomFieldsDto   The custom fields.
status CustomerAccountStatusEnum   The status.
creditCategory string   The credit category.
dateStatus number   The date status.
vatNo string   The vat no.
dateDunningLevel number   The date dunning level.
dunningLevel DunningLevelEnum   The dunning level.
registrationNo string   The registration no.
contactInformation ContactInformationDto   The contact information.
mandateIdentification string   Field was deprecated in 4.6 version. Use 'DDpaymentMethods' field instead
minimumAmountEl string   Expression to determine minimum amount value
mandateDate number   Field was deprecated in 4.6 version. Use 'DDpaymentMethods' field instead
balance number   Due balance up to today including litigation (status=O, P, I; useDueDate=true)
minimumLabelEl string   Expression to determine rated transaction description to reach minimum amount value
totalBalance number   Due balance including litigation, irrelevant of due date (status=O, P, I; )
totalBalanceExigible number   Due balance excluding litigation, irrelevant of due date (status=O, P; )
minimumTargetAccount string   The billing account code to be used when calculating the min amount billable for Customer and CA.
totalInvoiceBalance number   Due balance up to today without litigation (status=O, P; useDueDate=true)
accountBalance number   Account balance by transaction date up to today (status=O, P, I; useDueDate=false)
minimumAmountElSpark string   Expression to determine minimum amount value - for Spark.
creditBalance number   Credit balance (status=O, P, I; useDueDate=false; category=CREDIT)
minimumLabelElSpark string   Expression to determine rated transaction description to reach minimum amount value - for Spark.
terminationDate number   The termination date.
dueDateDelayEL string   Expression to calculate Invoice due date delay value
methodOfPayment array of PaymentMethodDto   The payment methods.
minimumChargeTemplate string   Corresponding to minimum one shot charge template code.
excludedFromPayment boolean   The excluded from payment.
isCompany boolean  
legalEntityType TitleDto  
paymentMethod PaymentMethodEnum   Field was deprecated in 4.6 version. Use 'paymentMethods' field instead.
billingAccounts BillingAccountsDto   Use for GET / LIST only.
accountOperations array of AccountOperationDto  
invoicingThreshold number   Invoicing threshold - do not invoice for a lesser amount.
checkThreshold ThresholdOptionsEnum   The option on how to check the threshold.
thresholdPerEntity boolean   check the threshold per entity/invoice.
infoGdpr array of GDPRInfoDto   information GDPR
generalClientAccountCode string   General client account code

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" : "...",
  "customer" : "...",
  "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" : "..."
  },
  "currency" : "...",
  "language" : "...",
  "customFields" : {
    "customField" : [ {
      "code" : "...",
      "description" : "...",
      "fieldType" : "BOOLEAN",
      "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" : "..."
    }, {
      "code" : "...",
      "description" : "...",
      "fieldType" : "DOUBLE",
      "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" : "LONG",
      "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" : "CHILD_ENTITY",
      "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" : "..."
    } ]
  },
  "status" : "ACTIVE",
  "creditCategory" : "...",
  "dateStatus" : 12345,
  "vatNo" : "...",
  "dateDunningLevel" : 12345,
  "registrationNo" : "...",
  "contactInformation" : {
    "email" : "...",
    "phone" : "...",
    "mobile" : "...",
    "fax" : "...",
    "address" : {
      "address1" : "...",
      "address2" : "...",
      "address3" : "...",
      "address4" : "...",
      "address5" : "...",
      "zipCode" : "...",
      "city" : "...",
      "country" : "...",
      "state" : "..."
    }
  },
  "minimumAmountEl" : "...",
  "balance" : 12345.0,
  "minimumLabelEl" : "...",
  "totalBalance" : 12345.0,
  "totalBalanceExigible" : 12345.0,
  "minimumTargetAccount" : "...",
  "totalInvoiceBalance" : 12345.0,
  "accountBalance" : 12345.0,
  "minimumAmountElSpark" : "...",
  "creditBalance" : 12345.0,
  "minimumLabelElSpark" : "...",
  "terminationDate" : 12345,
  "dueDateDelayEL" : "...",
  "methodOfPayment" : [ {
    "paymentMethodType" : "WIRETRANSFER",
    "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" : "MASTERCARD",
    "owner" : "...",
    "monthExpiration" : 12345,
    "yearExpiration" : 12345,
    "tokenId" : "...",
    "cardNumber" : "...",
    "issueNumber" : "...",
    "userId" : "...",
    "email" : "...",
    "referenceDocumentCode" : "...",
    "customFields" : {
      "customField" : [ { }, { } ],
      "inheritedCustomField" : [ { }, { } ]
    }
  }, {
    "paymentMethodType" : "CHECK",
    "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" : [ { }, { } ]
    }
  } ],
  "minimumChargeTemplate" : "...",
  "excludedFromPayment" : true,
  "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" : "..."
  },
  "billingAccounts" : {
    "billingAccount" : [ {
      "id" : 12345,
      "auditableField" : [ { }, { } ],
      "externalRef1" : "...",
      "code" : "...",
      "externalRef2" : "...",
      "description" : "...",
      "name" : { },
      "address" : { },
      "updatedCode" : "...",
      "jobTitle" : "...",
      "businessAccountModel" : { },
      "customFields" : { },
      "customerAccount" : "...",
      "vatNo" : "...",
      "billingCycle" : "...",
      "registrationNo" : "...",
      "contactInformation" : { },
      "country" : "...",
      "tradingCurrency" : "...",
      "minimumAmountEl" : "...",
      "language" : "...",
      "nextInvoiceDate" : 12345,
      "minimumLabelEl" : "...",
      "subscriptionDate" : 12345,
      "minimumTargetAccount" : "...",
      "terminationDate" : 12345,
      "electronicBilling" : true,
      "minimumAmountElSpark" : "...",
      "status" : "ACTIVE",
      "statusDate" : 12345,
      "minimumLabelElSpark" : "...",
      "terminationReason" : "...",
      "minimumChargeTemplate" : "...",
      "email" : "...",
      "invoices" : [ { }, { } ],
      "isCompany" : true,
      "legalEntityType" : { },
      "invoicingThreshold" : 12345.0,
      "phone" : "...",
      "minimumInvoiceSubCategory" : "...",
      "userAccounts" : { },
      "discountPlanForInstantiation" : [ { }, { } ],
      "discountPlanForTermination" : [ "...", "..." ],
      "discountPlanInstance" : [ { }, { } ],
      "mailingType" : "...",
      "emailTemplate" : "...",
      "ccedEmails" : "...",
      "taxCategoryCode" : "...",
      "checkThreshold" : "POSITIVE_IL",
      "infoGdpr" : [ { }, { } ],
      "paymentMethod" : { },
      "thresholdPerEntity" : true,
      "primaryContact" : "...",
      "tagCodes" : [ "...", "..." ]
    }, {
      "id" : 12345,
      "auditableField" : [ { }, { } ],
      "externalRef1" : "...",
      "code" : "...",
      "externalRef2" : "...",
      "description" : "...",
      "name" : { },
      "address" : { },
      "updatedCode" : "...",
      "jobTitle" : "...",
      "businessAccountModel" : { },
      "customFields" : { },
      "customerAccount" : "...",
      "vatNo" : "...",
      "billingCycle" : "...",
      "registrationNo" : "...",
      "contactInformation" : { },
      "country" : "...",
      "tradingCurrency" : "...",
      "minimumAmountEl" : "...",
      "language" : "...",
      "nextInvoiceDate" : 12345,
      "minimumLabelEl" : "...",
      "subscriptionDate" : 12345,
      "minimumTargetAccount" : "...",
      "terminationDate" : 12345,
      "electronicBilling" : true,
      "minimumAmountElSpark" : "...",
      "status" : "TERMINATED",
      "statusDate" : 12345,
      "minimumLabelElSpark" : "...",
      "terminationReason" : "...",
      "minimumChargeTemplate" : "...",
      "email" : "...",
      "invoices" : [ { }, { } ],
      "isCompany" : true,
      "legalEntityType" : { },
      "invoicingThreshold" : 12345.0,
      "phone" : "...",
      "minimumInvoiceSubCategory" : "...",
      "userAccounts" : { },
      "discountPlanForInstantiation" : [ { }, { } ],
      "discountPlanForTermination" : [ "...", "..." ],
      "discountPlanInstance" : [ { }, { } ],
      "mailingType" : "...",
      "emailTemplate" : "...",
      "ccedEmails" : "...",
      "taxCategoryCode" : "...",
      "checkThreshold" : "POSITIVE_IL",
      "infoGdpr" : [ { }, { } ],
      "paymentMethod" : { },
      "thresholdPerEntity" : true,
      "primaryContact" : "...",
      "tagCodes" : [ "...", "..." ]
    } ]
  },
  "accountOperations" : [ {
    "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" : "..."
    } ],
    "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" : {
      "matchingAmount" : [ { }, { } ]
    },
    "otherCreditAndCharge" : {
      "operationDate" : 12345,
      "auditableField" : [ { }, { } ],
      "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" : "POSTED",
      "reason" : "CLOSED_PERIOD",
      "accountingExportFile" : "...",
      "accountingDate" : 12345
    },
    "recordedInvoice" : {
      "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" : "EXPORTED",
      "reason" : "CLOSED_PERIOD",
      "accountingExportFile" : "...",
      "accountingDate" : 12345
    },
    "rejectedPayment" : {
      "rejectedType" : "M",
      "rejectedDate" : 12345,
      "auditableField" : [ { }, { } ],
      "rejectedDescription" : "...",
      "rejectedCode" : "...",
      "id" : 12345,
      "dueDate" : 12345,
      "type" : "...",
      "transactionDate" : 12345,
      "transactionCategory" : "CREDIT",
      "reference" : "...",
      "accountingCode" : "...",
      "amount" : 12345.0,
      "amountWithoutTax" : 12345.0,
      "taxAmount" : 12345.0,
      "matchingAmount" : 12345.0,
      "unMatchingAmount" : 12345.0,
      "matchingStatus" : "O",
      "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" : "CLOSED_PERIOD",
      "accountingExportFile" : "...",
      "accountingDate" : 12345
    },
    "bankLot" : "...",
    "bankReference" : "...",
    "bankCollectionDate" : 12345,
    "depositDate" : 12345,
    "paymentMethod" : "...",
    "customFields" : {
      "customField" : [ { }, { } ],
      "inheritedCustomField" : [ { }, { } ]
    },
    "paymentInfo" : "...",
    "paymentInfo1" : "...",
    "paymentInfo2" : "...",
    "paymentInfo3" : "...",
    "paymentInfo4" : "...",
    "paymentInfo5" : "...",
    "paymentInfo6" : "...",
    "billingAccountName" : "...",
    "paymentHistory" : [ {
      "auditableField" : [ { }, { } ],
      "customerAccountCode" : "...",
      "sellerCode" : "...",
      "customerAccountName" : "...",
      "operationDate" : 12345,
      "updatedStatusDate" : 12345,
      "lastUpdateDate" : 12345,
      "amountCts" : 12345,
      "syncStatus" : "REJECTED",
      "asyncStatus" : "ACCEPTED",
      "status" : "ERROR",
      "externalPaymentId" : "...",
      "errorCode" : "...",
      "errorMessage" : "...",
      "errorType" : "REJECT",
      "paymentGatewayCode" : "...",
      "paymentMethodType" : "CARD",
      "paymentMethodName" : "...",
      "operationCategory" : "DEBIT",
      "payment" : { },
      "refund" : { },
      "listAoPaid" : { }
    }, {
      "auditableField" : [ { }, { } ],
      "customerAccountCode" : "...",
      "sellerCode" : "...",
      "customerAccountName" : "...",
      "operationDate" : 12345,
      "updatedStatusDate" : 12345,
      "lastUpdateDate" : 12345,
      "amountCts" : 12345,
      "syncStatus" : "ACCEPTED",
      "asyncStatus" : "REJECTED",
      "status" : "REJECTED",
      "externalPaymentId" : "...",
      "errorCode" : "...",
      "errorMessage" : "...",
      "errorType" : "ERROR",
      "paymentGatewayCode" : "...",
      "paymentMethodType" : "DIRECTDEBIT",
      "paymentMethodName" : "...",
      "operationCategory" : "DEBIT",
      "payment" : { },
      "refund" : { },
      "listAoPaid" : { }
    } ],
    "collectionDate" : 12345,
    "journalCode" : "...",
    "status" : "POSTED",
    "reason" : "FORCED",
    "accountingExportFile" : "...",
    "accountingDate" : 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" : "..."
    } ],
    "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" : "O",
    "code" : "...",
    "description" : "...",
    "customerAccount" : "...",
    "excludedFromDunning" : true,
    "orderNumber" : "...",
    "matchingAmounts" : {
      "matchingAmount" : [ { }, { } ]
    },
    "otherCreditAndCharge" : {
      "operationDate" : 12345,
      "auditableField" : [ { }, { } ],
      "id" : 12345,
      "dueDate" : 12345,
      "type" : "...",
      "transactionDate" : 12345,
      "transactionCategory" : "CREDIT",
      "reference" : "...",
      "accountingCode" : "...",
      "amount" : 12345.0,
      "amountWithoutTax" : 12345.0,
      "taxAmount" : 12345.0,
      "matchingAmount" : 12345.0,
      "unMatchingAmount" : 12345.0,
      "matchingStatus" : "P",
      "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" : "REJECTED",
      "reason" : "REJECTED",
      "accountingExportFile" : "...",
      "accountingDate" : 12345
    },
    "recordedInvoice" : {
      "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" : "P",
      "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" : "FORCED",
      "accountingExportFile" : "...",
      "accountingDate" : 12345
    },
    "rejectedPayment" : {
      "rejectedType" : "A",
      "rejectedDate" : 12345,
      "auditableField" : [ { }, { } ],
      "rejectedDescription" : "...",
      "rejectedCode" : "...",
      "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" : "O",
      "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" : "CLOSED_PERIOD",
      "accountingExportFile" : "...",
      "accountingDate" : 12345
    },
    "bankLot" : "...",
    "bankReference" : "...",
    "bankCollectionDate" : 12345,
    "depositDate" : 12345,
    "paymentMethod" : "...",
    "customFields" : {
      "customField" : [ { }, { } ],
      "inheritedCustomField" : [ { }, { } ]
    },
    "paymentInfo" : "...",
    "paymentInfo1" : "...",
    "paymentInfo2" : "...",
    "paymentInfo3" : "...",
    "paymentInfo4" : "...",
    "paymentInfo5" : "...",
    "paymentInfo6" : "...",
    "billingAccountName" : "...",
    "paymentHistory" : [ {
      "auditableField" : [ { }, { } ],
      "customerAccountCode" : "...",
      "sellerCode" : "...",
      "customerAccountName" : "...",
      "operationDate" : 12345,
      "updatedStatusDate" : 12345,
      "lastUpdateDate" : 12345,
      "amountCts" : 12345,
      "syncStatus" : "REJECTED",
      "asyncStatus" : "ERROR",
      "status" : "REJECTED",
      "externalPaymentId" : "...",
      "errorCode" : "...",
      "errorMessage" : "...",
      "errorType" : "REJECT",
      "paymentGatewayCode" : "...",
      "paymentMethodType" : "CARD",
      "paymentMethodName" : "...",
      "operationCategory" : "CREDIT",
      "payment" : { },
      "refund" : { },
      "listAoPaid" : { }
    }, {
      "auditableField" : [ { }, { } ],
      "customerAccountCode" : "...",
      "sellerCode" : "...",
      "customerAccountName" : "...",
      "operationDate" : 12345,
      "updatedStatusDate" : 12345,
      "lastUpdateDate" : 12345,
      "amountCts" : 12345,
      "syncStatus" : "REJECTED",
      "asyncStatus" : "REJECTED",
      "status" : "ERROR",
      "externalPaymentId" : "...",
      "errorCode" : "...",
      "errorMessage" : "...",
      "errorType" : "ERROR",
      "paymentGatewayCode" : "...",
      "paymentMethodType" : "CARD",
      "paymentMethodName" : "...",
      "operationCategory" : "DEBIT",
      "payment" : { },
      "refund" : { },
      "listAoPaid" : { }
    } ],
    "collectionDate" : 12345,
    "journalCode" : "...",
    "status" : "POSTED",
    "reason" : "FORCED",
    "accountingExportFile" : "...",
    "accountingDate" : 12345
  } ],
  "invoicingThreshold" : 12345.0,
  "checkThreshold" : "BEFORE_DISCOUNT",
  "thresholdPerEntity" : true,
  "infoGdpr" : [ {
    "key" : "...",
    "value" : { }
  }, {
    "key" : "...",
    "value" : { }
  } ],
  "generalClientAccountCode" : "..."
}