Document data for Receipt, API version 5.

Hierarchy

  • ReceiptV4Document

Implements

Constructors

Properties

The receipt category among predefined classes.

date: DateField

The purchase date.

documentType: StringField

Whether the document is an expense receipt or a credit card receipt.

locale: LocaleField

Where the purchase was made, the language, and the currency.

The receipt sub-category among predefined classes.

supplier: StringField

The name of the supplier or merchant, as seen on the receipt.

taxes: TaxField[]

List of taxes detected on the receipt.

Time as seen on the receipt in HH:MM format.

Total amount of tip and gratuity.

totalAmount: AmountField

total spent including taxes, discounts, fees, tips, and gratuity.

totalNet: AmountField

Total amount of the purchase excluding taxes.

totalTax: AmountField

Total tax amount of the purchase.

Methods

Generated using TypeDoc