Information on a single payment.

Hierarchy (view full)

Constructors

Properties

accountNumber: undefined | string

The account number.

boundingBox: BoundingBox

Contains exactly 4 relative vertices coordinates (points) of a right rectangle containing the field in the document.

confidence: number

The confidence score of the prediction.

iban: undefined | string

The International Bank Account Number (IBAN).

pageId?: number

Page ID for multi-page document.

polygon: Polygon = []

Contains the relative vertices coordinates (points) of a polygon containing the field in the document.

reconstructed: boolean

true when the field was reconstructed or computed using other fields.

routingNumber: undefined | string

The routing number.

swift: undefined | string

The bank's SWIFT Business Identifier Code (BIC).

value?: string

Synonym for the iban property

Methods

  • Parameters

    • array1: Field[]

      first Array of Fields

    • array2: Field[]

      second Array of Fields

    • attr: string = "value"

      Attribute to compare

    Returns boolean

    true if all elements in array1 exist in array2 and vice-versa, false otherwise