UNPKG

mindee

Version:

Mindee Client Library for Node.js

43 lines (42 loc) 1.26 kB
import { StringDict } from "../../parsing/common"; import { Polygon } from "../../geometry"; /** * List of all the line items present on the invoice. */ export declare class InvoiceV4LineItem { #private; /** The item description. */ description: string | null; /** The product code of the item. */ productCode: string | null; /** The item quantity */ quantity: number | null; /** The item tax amount. */ taxAmount: number | null; /** The item tax rate in percentage. */ taxRate: number | null; /** The item total amount. */ totalAmount: number | null; /** The item unit of measure. */ unitMeasure: string | null; /** The item unit price. */ unitPrice: number | null; /** Confidence score */ confidence: number; /** The document page on which the information was found. */ pageId: number; /** * Contains the relative vertices coordinates (points) of a polygon containing * the field in the document. */ polygon: Polygon; constructor({ prediction }: StringDict); /** * Default string representation. */ toString(): string; /** * Output in a format suitable for inclusion in an rST table. */ toTableLine(): string; }