ListDocumentsCriteriaDto

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)

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.