ListDocumentsCriteriaDto

data class ListDocumentsCriteriaDto(accountMetadataAccount: List<String>?, accountMetadataAccountExists: Boolean?, accountMetadataTransactionId: List<String>?, accountMetadataTransactionIdExists: Boolean?, amountDue: List<BigDecimal>?, amountDueGte: BigDecimal?, amountDueLte: BigDecimal?, arrivalDateTimeGte: OffsetDateTime?, arrivalDateTimeLte: OffsetDateTime?, categoryCode: List<String>?, currencyCode: List<String>?, description: List<String>?, documentDate: List<LocalDate>?, documentDateGte: LocalDate?, documentDateLte: LocalDate?, documentNumber: List<String>?, documentTime: List<String>?, documentTimeGte: String?, documentTimeLte: String?, documentType: List<DocumentTypeEnum>?, foreignId: List<String>?, id: List<String>?, lastUpdateDateTimeGte: OffsetDateTime?, lastUpdateDateTimeLte: OffsetDateTime?, merchantName: List<String>?, merchantTaxIdNumber: List<String>?, paymentTender: List<TenderTypesEnum>?, total: List<BigDecimal>?, totalGte: BigDecimal?, totalLte: BigDecimal?, status: List<DocumentStatusTypeEnum>?, sourceFormat: List<DocumentSourceFormatsEnum>?)

The search criteria used to find the documents to be exported. \\ This will be identical to the filters used in the GET documents endpoint. *

Parameters

accountMetadataAccount

Array of accountMetadata.account to filter the documents. Should ideally satisfy the /^[a-zA-Z0-9-_:.]+$/ pattern \\ Example:accountMetadata.account='ACC102030'&accountMetadata.account='405060' * @param accountMetadataAccountExists This is used to match and include documents where a value exists for the accountMetadata.account property. \\ Only true or false boolean values are accepted. A mix of operators with basic values is not supported. If accountMetadata.account.exists is provided together with plain values for account, this exists operator is ignored. \\ Example: To filter all documents with accountMetadata.account not set, use accountMetadata.account.exists=false * @param accountMetadataTransactionId Array of accountMetadata.transactionId to filter the documents. Should ideally satisfy the /^[a-zA-Z0-9-_:.]+$/ pattern. \\ Example:accountMetadata.transactionId='TX00001'&accountMetadata.transactionId='TX00002' * @param accountMetadataTransactionIdExists This is used to match and include documents where a value exists for the accountMetadata.transactionId property. \\ Only true or false boolean values are accepted. A mix of operators with basic values is not supported. If accountMetadata.transactionId.exists is provided together with plain values for account, this exists operator is ignored. \\ Example: To filter all documents with accountMetadata.transactionId not set, use accountMetadata.account.transactionId=false * @param amountDue Array of amountDue values to filter the documents. afterTax is the document property considered for the match. \\ Example:filter.amountDue=1000.55&filter.amountDue=1010.90 * @param amountDueGte This is a greater than or equal to filter on the amountDue value to filter the documents. afterTax is the document property considered for the match. \\ Example:filter.amountDue.gte=1000.55 * @param amountDueLte This is a lesser than or equal to filter on the amountDue value to filter the documents. afterTax is the document property considered for the match. \\ Example: amountDue.lte=1000.55 * @param arrivalDateTimeGte This is a filter condition greater than or equal on the arrivalDateTime to filter the documents. ArrivalDateTime value does not accept exact match and is expected to be UTC. Date time formats allowed are: YYYY-MM-DDTHH:mm:ss.SSS or YYYY-MM-DD HH:mm:ss.SSS. Time fields can be suppressed from the end to the beginning i.e. YYYY-MM-DD HH:mm is acceptable. * Example with just date: arrivalDateTime.gte='2012-12-28' * Example with date and time: arrivalDateTime.gte='2012-12-28T21:27' * Example with date and time: arrivalDateTime.gte='2012-12-28 21:27:55.827' * @param arrivalDateTimeLte This is a filter condition less than or equal on the arrivalDateTime to filter the documents. ArrivalDateTime value does not accept exact match and is expected to be UTC. Date time formats allowed are: YYYY-MM-DDTHH:mm:ss.SSS or YYYY-MM-DD HH:mm:ss.SSS. Time fields can be suppressed from the end to the beginning i.e. YYYY-MM-DD HH:mm is acceptable. * Example with just date: arrivalDateTime.lte='2012-12-28' * Example with date and time: arrivalDateTime.lte='2012-12-28T21:27' * Example with date and time: arrivalDateTime.lte='2012-12-28 21:27:55.827' * @param categoryCode Array of categoryCode to filter the documents. Example: categoryCode=['business'] * @param currencyCode Array of currencyCode to filter the documents. Example: currencyCode=['CAD', 'USD'] * @param description Array of description values to filter the documents. The filter is case insentive and matches any document where the description contains the given value. Should ideally satisfy the pattern /^a-zA-Z0-9 +$/ Example: description=['Dinner with friends','Children winter gear','My very specific description'] * @param documentDate Array of documentDate to filter the documents. Example: documentDate=['2021-04-04'] * @param documentDateGte This is a filter condition greater than or equal on the documentDate to filter the documents. \\ Example with single operator: documentDate.gte='2012-12-28' * @param documentDateLte This is a filter condition less than or equal on the documentDate to filter the documents. \\ Example with single operator: documentDate.lte='2023-12-28' * @param documentNumber Array of documentNumber to filter the documents. Example: documentNumber=['1122334455'] * @param documentTime Array of documentTime to filter the documents. Example: documentTime=['21:12', '22:13', '23:14'] * @param documentTimeGte This is a filter condition greater than or equal on the documentTime to filter the documents. Example with single operator: documentTime.gte='10:00' * @param documentTimeLte This is a filter condition less than or equal on the documentTime to filter the documents. Example with single operator: filter.documentTime.gte='10:00' * @param documentType Array of documentType to filter the documents. Currently supported values are invoice, receipt.

foreignId

Array of foreignId to filter the documents.

id

Array of document id to filter the documents.

lastUpdateDateTimeGte

This is a filter condition greater than or equal on the lastUpdateDateTime to filter the documents. lastUpdateDateTime field does not accept exact match. Date time formats allowed are: YYYY-MM-DDTHH:mm:ss.SSS or YYYY-MM-DD HH:mm:ss.SSS. Time fields can be suppressed from the end to the beginning i.e. YYYY-MM-DD HH:mm is acceptable. * Example with just date: lastUpdateDateTime.gte='2012-12-28' * Example with date and time: lastUpdateDateTime.gte='2012-12-28T21:27' * Example with date and time: lastUpdateDateTime.gte='2012-12-28 21:27:55.827' * @param lastUpdateDateTimeLte This is a filter condition less than or equal on the lastUpdateDateTime to filter the documents. lastUpdateDateTime field does not accept exact match. Date time formats allowed are: YYYY-MM-DDTHH:mm:ss.SSS or YYYY-MM-DD HH:mm:ss.SSS. Time fields can be suppressed from the end to the beginning i.e. YYYY-MM-DD HH:mm is acceptable. * Example with just date: lastUpdateDateTime.lte='2012-12-28' * Example with date and time: lastUpdateDateTime.lte='2012-12-28T21:27' * Example with date and time: lastUpdateDateTime.lte='2012-12-28 21:27:55.827' * @param merchantName Array of merchantName to filter the documents.

merchantTaxIdNumber

Array of merchantTaxIdNumber to filter the documents.

paymentTender

Payment Tender array to filter the documents.

total

Array of total to filter the documents. The value considered is afterTax. Items in the array will compose a logial OR chain in the query. * @param totalGte This is a filter condition greater than or equal on the total value to filter the documents. The value considered is afterTax. All filter conditions will compose a logical AND chain in the query. \\ Example: total.gte=1000.55 * @param totalLte This is a filter condition less than or equal on the total value to filter the documents. The value considered is afterTax. All filter conditions will compose a logical AND chain in the query. \\ Example: total.lte=1000.55 * @param status Array of document status to use for the operation.

sourceFormat

Array of sourceFormats for the operation.

Constructors

ListDocumentsCriteriaDto
Link copied to clipboard
fun ListDocumentsCriteriaDto(accountMetadataAccount: List<String>? = null, accountMetadataAccountExists: Boolean? = null, accountMetadataTransactionId: List<String>? = null, accountMetadataTransactionIdExists: Boolean? = null, amountDue: List<BigDecimal>? = null, amountDueGte: BigDecimal? = null, amountDueLte: BigDecimal? = null, arrivalDateTimeGte: OffsetDateTime? = null, arrivalDateTimeLte: OffsetDateTime? = null, categoryCode: List<String>? = null, currencyCode: List<String>? = null, description: List<String>? = null, documentDate: List<LocalDate>? = null, documentDateGte: LocalDate? = null, documentDateLte: LocalDate? = null, documentNumber: List<String>? = null, documentTime: List<String>? = null, documentTimeGte: String? = null, documentTimeLte: String? = null, documentType: List<DocumentTypeEnum>? = null, foreignId: List<String>? = null, id: List<String>? = null, lastUpdateDateTimeGte: OffsetDateTime? = null, lastUpdateDateTimeLte: OffsetDateTime? = null, merchantName: List<String>? = null, merchantTaxIdNumber: List<String>? = null, paymentTender: List<TenderTypesEnum>? = null, total: List<BigDecimal>? = null, totalGte: BigDecimal? = null, totalLte: BigDecimal? = null, status: List<DocumentStatusTypeEnum>? = null, sourceFormat: List<DocumentSourceFormatsEnum>? = null)
Array of accountMetadata.account to filter the documents.

Properties

accountMetadataAccount
Link copied to clipboard
@SerializedName(value = accountMetadata.account)
val accountMetadataAccount: List<String>? = null
Array of accountMetadata.account to filter the documents.
accountMetadataAccountExists
Link copied to clipboard
@SerializedName(value = accountMetadata.account.exists)
val accountMetadataAccountExists: Boolean? = null
accountMetadataTransactionId
Link copied to clipboard
@SerializedName(value = accountMetadata.transactionId)
val accountMetadataTransactionId: List<String>? = null
accountMetadataTransactionIdExists
Link copied to clipboard
@SerializedName(value = accountMetadata.transactionId.exists)
val accountMetadataTransactionIdExists: Boolean? = null
amountDue
Link copied to clipboard
@SerializedName(value = amountDue)
val amountDue: List<BigDecimal>? = null
amountDueGte
Link copied to clipboard
@SerializedName(value = amountDue.gte)
val amountDueGte: BigDecimal? = null
amountDueLte
Link copied to clipboard
@SerializedName(value = amountDue.lte)
val amountDueLte: BigDecimal? = null
arrivalDateTimeGte
Link copied to clipboard
@SerializedName(value = arrivalDateTime.gte)
val arrivalDateTimeGte: OffsetDateTime? = null
arrivalDateTimeLte
Link copied to clipboard
@SerializedName(value = arrivalDateTime.lte)
val arrivalDateTimeLte: OffsetDateTime? = null
categoryCode
Link copied to clipboard
@SerializedName(value = categoryCode)
val categoryCode: List<String>? = null
currencyCode
Link copied to clipboard
@SerializedName(value = currencyCode)
val currencyCode: List<String>? = null
description
Link copied to clipboard
@SerializedName(value = description)
val description: List<String>? = null
documentDate
Link copied to clipboard
@SerializedName(value = documentDate)
val documentDate: List<LocalDate>? = null
documentDateGte
Link copied to clipboard
@SerializedName(value = documentDate.gte)
val documentDateGte: LocalDate? = null
documentDateLte
Link copied to clipboard
@SerializedName(value = documentDate.lte)
val documentDateLte: LocalDate? = null
documentNumber
Link copied to clipboard
@SerializedName(value = documentNumber)
val documentNumber: List<String>? = null
documentTime
Link copied to clipboard
@SerializedName(value = documentTime)
val documentTime: List<String>? = null
documentTimeGte
Link copied to clipboard
@SerializedName(value = documentTime.gte)
val documentTimeGte: String? = null
documentTimeLte
Link copied to clipboard
@SerializedName(value = documentTime.lte)
val documentTimeLte: String? = null
documentType
Link copied to clipboard
@SerializedName(value = documentType)
val documentType: List<DocumentTypeEnum>? = null
foreignId
Link copied to clipboard
@SerializedName(value = foreignId)
val foreignId: List<String>? = null
Array of foreignId to filter the documents.
id
Link copied to clipboard
@SerializedName(value = id)
val id: List<String>? = null
Array of document id to filter the documents.
lastUpdateDateTimeGte
Link copied to clipboard
@SerializedName(value = lastUpdateDateTime.gte)
val lastUpdateDateTimeGte: OffsetDateTime? = null
This is a filter condition greater than or equal on the lastUpdateDateTime to filter the documents.
lastUpdateDateTimeLte
Link copied to clipboard
@SerializedName(value = lastUpdateDateTime.lte)
val lastUpdateDateTimeLte: OffsetDateTime? = null
merchantName
Link copied to clipboard
@SerializedName(value = merchantName)
val merchantName: List<String>? = null
merchantTaxIdNumber
Link copied to clipboard
@SerializedName(value = merchantTaxIdNumber)
val merchantTaxIdNumber: List<String>? = null
Array of merchantTaxIdNumber to filter the documents.
paymentTender
Link copied to clipboard
@SerializedName(value = paymentTender)
val paymentTender: List<TenderTypesEnum>? = null
Payment Tender array to filter the documents.
sourceFormat
Link copied to clipboard
@SerializedName(value = sourceFormat)
val sourceFormat: List<DocumentSourceFormatsEnum>? = null
Array of sourceFormats for the operation.
status
Link copied to clipboard
@SerializedName(value = status)
val status: List<DocumentStatusTypeEnum>? = null
total
Link copied to clipboard
@SerializedName(value = total)
val total: List<BigDecimal>? = null
Array of total to filter the documents.
totalGte
Link copied to clipboard
@SerializedName(value = total.gte)
val totalGte: BigDecimal? = null
totalLte
Link copied to clipboard
@SerializedName(value = total.lte)
val totalLte: BigDecimal? = null