Skip to main content

Process a Bank Statement

POST 

/api/v8/partner/bank-statements

Veryfi's Process a Bank Statement endpoint allows you to submit and extract data from unstructured documents such as Bank Statements and turn them into valuable business insights. The Process a Bank Statement endpoint enables you to submit the following image formats: .png,.webp,.pdf,.jpeg,.heic,.jpg,.zip,.heif and retrieve extracted data in JSON format. The max file size is 20mb.

See Bank Statement FAQ for more information such as common bank statement fields, and how Veryfi handles them.

Request

Body

    file_data string

    Used to upload a document via base64 encoded string, could be raw or data URI scheme. This is the least effective way to upload a document for processing. See file_urls or uploading zip files.

    file_url string

    A URL to a publicly accessible document to be sent to Veryfi for processing.

    file_urls string[]

    An array of URLs to publicly accessible documents to be sent to Veryfi for processing.

    package_path string

    A path to a file in an S3 bucket, e.g. 'some/receipt.jpg

    bucket string

    An S3 bucket for 'package_path', e.g. 'documents'.

    file_name string

    An optional filename. Useful to determine file type.

    detailed booleandeprecated

    This field was deprecated on 2023-08-20. Use bounding_boxes and confidence_details.

    bounding_boxes boolean

    A field used to determine whether or not to return bounding_box and bounding_region for extracted fields in the Document response.

    confidence_details boolean

    A field used to determine whether or not to return the score and ocr_score fields in the Document response.

Responses

Returns a processed Bank Statement.

Schema
    anyOf
    pdf_url uri

    Possible values: non-empty and <= 2083 characters

    A signed URL to access the auto-generated PDF created from the submitted document. This URL expires 15 minutes after the response object is returned and is resigned during every GET request.

    id integerrequired

    The unique number created to identify the document.

    account_holder_address string

    The address of the account holder.

    account_holder_name string

    The name of the account holder.

    account_number string

    The account number associated with the bank statement.

    account_type string

    The type of account associated with the bank statement.

    bank_address string

    The address of the bank.

    bank_name string

    The name of the bank.

    bank_website string

    The URL for the website of the bank.

    beginning_balance number

    The balance at the beginning of the statement period.

    due_date date

    The date the payment is due in ISO 8601 format.

    ending_balance number

    The balance at the end of the statement period.

    minimum_due number

    The minimum amount due for the statement period.

    period_end_date date

    The end date of the statement period in ISO 8601 format.

    period_start_date date

    The start date of the statement period in ISO 8601 format.

    routing_number string

    The routing number associated with the bank statement.

    statement_date date

    The date of the statement in ISO 8601 format.

    statement_number string

    The unique identifier associated with the bank statement.

    transactions object[]required

    A list of transactions associated with the bank statement.

  • Array [
  • order integerrequired

    The value indicating the position of where the transaction appears on the bank statement.

    account_number string

    The account number associated with the bank statement.

    balance number

    The balance after any credit or debits have been applied from this transaction.

    card_number string

    A credit card number associated with this transaction.

    credit_amount number

    The amount credited from this transaction.

    date date

    The date of the transaction in ISO 8601 format.

    debit_amount number

    The amount debited from this transaction.

    description string

    The description of the transaction.

    transaction_id string

    The unique identifier of the transaction.

    text stringrequired

    The OCR text extracted from the transaction.

  • ]
  • currency_code string

    The currency code associated with the bank statement.

Loading...