@veryfi/veryfi-sdk
Version:
Node.js module for communicating with the Veryfi OCR API
40 lines (38 loc) • 1.61 kB
text/typescript
import {BoundingElement} from "./BoundingElement";
export declare type LineItem = {
category?: null | string | BoundingElement;
country_of_origin?: null | string | BoundingElement;
custom_fields?: Record<string, unknown>;
date?: null | string | BoundingElement;
description?: null | string | BoundingElement;
discount?: null | number | BoundingElement;
discount_price?: null | number | BoundingElement;
discount_rate?: null | number | BoundingElement;
end_date?: null | string | BoundingElement;
full_description?: null | string | BoundingElement;
gross_total?: null | number | BoundingElement;
hsn?: null | string;
id?: null | number;
lot?: null | string | BoundingElement;
manufacturer?: null | string | BoundingElement;
net_total?: null | number | BoundingElement;
normalized_description?: null | string | BoundingElement;
order?: null | number;
price?: null | number | BoundingElement;
quantity?: null | number | BoundingElement;
reference?: null | string | BoundingElement;
section?: null | string;
sku?: null | string | BoundingElement;
start_date?: null | string;
subtotal?: null | number | BoundingElement;
tags?: null | string[];
tax?: null | number | BoundingElement;
tax_code?: null | string | BoundingElement;
tax_rate?: null | number;
text?: null | string | BoundingElement;
total?: null | number | BoundingElement;
type?: null | string;
unit_of_measure?: null | string;
upc?: null | string | BoundingElement;
weight?: null | number | BoundingElement;
};