ListDocumentsCriteriaDto

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

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', '405060']

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

accountMetadataTransactionId

Array of accountMetadata.transactionId to filter the documents. Should ideally satisfy the /^[a-zA-Z0-9-_:.]+$/ pattern. \\ Example: 'accountMetadata.transactionId': ['TX00001', 'TX00002']

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

amountDue

Array of amountDue values to filter the documents. afterTax is the document property considered for the match. \\ Example: 'filter.amountDue': [1000.55, 1010.90]

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

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

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'

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'

categoryCode

Array of categoryCode to filter the documents. Example: categoryCode=['business']

currencyCode

Array of currencyCode to filter the documents. Example: currencyCode=['CAD', 'USD']

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.?!\\-,\\\\/:_@#'\" {0,75}$/ \\ Example: description=['Dinner with friends','Children winter gear','My very specific description']

documentDate

Array of documentDate to filter the documents. Example: documentDate=['2021-04-04']

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'

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'

documentNumber

Array of documentNumber to filter the documents. Example: documentNumber=['1122334455']

documentTime

Array of documentTime to filter the documents. Example: documentTime=['21:12', '22:13', '23:14']

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'

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'

documentType

Array of documentType to filter the documents. Currently supported values are invoice, receipt.

folder

Will only return documents that are in one or more of the folder IDs specified. The folder IDs should match those set on the user that the document belongs to.

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'

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'

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.

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

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

status

Array of document status to use for the operation.

sourceFormat

Array of sourceFormats for the operation.

Constructors

Link copied to clipboard
constructor(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, folder: List<String>? = 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)

Properties

Link copied to clipboard
@SerializedName(value = "accountMetadata.account")
val accountMetadataAccount: List<String>? = null
Link copied to clipboard
@SerializedName(value = "accountMetadata.account.exists")
val accountMetadataAccountExists: Boolean? = null
Link copied to clipboard
@SerializedName(value = "accountMetadata.transactionId")
val accountMetadataTransactionId: List<String>? = null
Link copied to clipboard
@SerializedName(value = "accountMetadata.transactionId.exists")
val accountMetadataTransactionIdExists: Boolean? = null
Link copied to clipboard
@SerializedName(value = "amountDue")
val amountDue: List<BigDecimal>? = null
Link copied to clipboard
@SerializedName(value = "amountDue.gte")
val amountDueGte: BigDecimal? = null
Link copied to clipboard
@SerializedName(value = "amountDue.lte")
val amountDueLte: BigDecimal? = null
Link copied to clipboard
@SerializedName(value = "arrivalDateTime.gte")
val arrivalDateTimeGte: OffsetDateTime? = null
Link copied to clipboard
@SerializedName(value = "arrivalDateTime.lte")
val arrivalDateTimeLte: OffsetDateTime? = null
Link copied to clipboard
@SerializedName(value = "categoryCode")
val categoryCode: List<String>? = null
Link copied to clipboard
@SerializedName(value = "currencyCode")
val currencyCode: List<String>? = null
Link copied to clipboard
@SerializedName(value = "description")
val description: List<String>? = null
Link copied to clipboard
@SerializedName(value = "documentDate")
val documentDate: List<LocalDate>? = null
Link copied to clipboard
@SerializedName(value = "documentDate.gte")
val documentDateGte: LocalDate? = null
Link copied to clipboard
@SerializedName(value = "documentDate.lte")
val documentDateLte: LocalDate? = null
Link copied to clipboard
@SerializedName(value = "documentNumber")
val documentNumber: List<String>? = null
Link copied to clipboard
@SerializedName(value = "documentTime")
val documentTime: List<String>? = null
Link copied to clipboard
@SerializedName(value = "documentTime.gte")
val documentTimeGte: String? = null
Link copied to clipboard
@SerializedName(value = "documentTime.lte")
val documentTimeLte: String? = null
Link copied to clipboard
@SerializedName(value = "documentType")
val documentType: List<DocumentTypeEnum>? = null
Link copied to clipboard
@SerializedName(value = "folder")
val folder: List<String>? = null
Link copied to clipboard
@SerializedName(value = "foreignId")
val foreignId: List<String>? = null
Link copied to clipboard
@SerializedName(value = "id")
val id: List<String>? = null
Link copied to clipboard
@SerializedName(value = "lastUpdateDateTime.gte")
val lastUpdateDateTimeGte: OffsetDateTime? = null
Link copied to clipboard
@SerializedName(value = "lastUpdateDateTime.lte")
val lastUpdateDateTimeLte: OffsetDateTime? = null
Link copied to clipboard
@SerializedName(value = "merchantName")
val merchantName: List<String>? = null
Link copied to clipboard
@SerializedName(value = "merchantTaxIdNumber")
val merchantTaxIdNumber: List<String>? = null
Link copied to clipboard
@SerializedName(value = "paymentTender")
val paymentTender: List<TenderTypesEnum>? = null
Link copied to clipboard
@SerializedName(value = "sourceFormat")
val sourceFormat: List<DocumentSourceFormatsEnum>? = null
Link copied to clipboard
@SerializedName(value = "status")
val status: List<DocumentStatusTypeEnum>? = null
Link copied to clipboard
@SerializedName(value = "total")
val total: List<BigDecimal>? = null
Link copied to clipboard
@SerializedName(value = "total.gte")
val totalGte: BigDecimal? = null
Link copied to clipboard
@SerializedName(value = "total.lte")
val totalLte: BigDecimal? = null