Package-level declarations
Types
An object describing which notifications could be sent for this client.
Identifiers for external integrations used by this client.
2 character country code (lower case)
Information about the courier being used.
3 character ISO-4217 currency code
Details about an expected delivery. Note: these details are as they appear on the receipt, they are NOT updated automatically
Type of delivery
May be set to describe how this discount was obtained.
Describes a barcode as read from a document.
The list of document Ids which were deleted from the system
Contains info about one applied discount.
Contains info about one applied fee.
The merchant infomation on this document.
Describes loyalty rewards read from the receipt.
Values: ASC,DESC
Represents an error that can occur while deleting one or more documents
Values: ARRIVAL_DATE_TIME,DOCUMENT_DATE,DOCUMENT_TIME
Values: PDF,IMAGE,RAW_TEXT,PDF_EMAIL,HTML_EMAIL,IMAGE_EMAIL,TEXT_EMAIL
Response schema for the documents/status endpoint
Represents an error that can occur while polling for document processing status
Schema for an entry in the documents/status endpoint response
The status of the document involved or used for the operation. Supported statusses include : * CompletedSuccess * CompletedFailed * InProcessing
The document type that is being posted. Only clients with the feature flag enableInvoice enabled are allowed to submit documentType = 'invoice'
.
The details about the document's warranty or return period. These fields can only be edited if the document date is known.
If the merchantName is empty or null, the whole merchant data structure will be unset.
Object that contains the field that will be updated in a Document. Pass the field set to \"\"
(an empty zero-length string) to unset its value.' Numeric or Enum fileds must be null to unset.
Object with the Id of the updated Document
The details about the document's warranty or return period. This can only be edited if the document date is populated. If either unit or duration is unset, the full applicable warrantyPeriod or returnPeriod structure is unset.
An empty object. The noProperties property is a placeholder to help API generation
Expense type associated with the document. Can be either business
or personal
.
The status of the export. Possible values are: 'queued'
, 'running'
, 'completed'
, 'failed'
Indicates which formats should be generated. Valid values are: * 'csv' - indicates a comma separated file should be produced summarizing the exported data * 'xlsx' - indicates an excel spreadsheet should be produced summarizing the exported data * 'pdf' - indicates individual documents should be exported to a PDF file
Values: QUEUED,NO_DOCUMENTS_FOUND
May be set to give more details on the type of fee.
Describes the error related to the request if there was a failure
Structure of the response on the document list endpoint
Structure of the response on the document details endpoint
The search criteria used to find the documents to be exported. \\ This will be identical to the filters used in the GET documents endpoint.
Indicates if the receipt came from a brick and mortar or online channel. Not related to format of receipt.
Available period units. Can be day
, week
, month
or year
. As a parameter, this should be used together with the duration
parameter. Document must have the documentDate
set or it should be supplied as another edit parameter within the same request.
Values: AMEX,CASH,CHECK,COUPON,CREDIT,CREDIT_DEBIT,CUSTOMER_ACCOUNT,DEBIT,DINERS_CLUB,FLEET,GIFT_CARD,GIFT_CERTIFICATE,HOUSE_ACCOUNT,INTERAC,INTERNATIONAL_MAESTRO,LOYALTY,MASTER_CARD,PAYPAL,PREPAID,STORE_CARD,STORED_VALUE,TRAVELERS_CHECK,UK_MAESTRO,VISA_CREDIT,VISA_DEBIT,VISA,VOUCHER
Get account info for current user