Receipt API version 5.3 document data.

Hierarchy

  • ReceiptV5Document

Implements

Constructors

Properties

The purchase category among predefined classes.

date: DateField

The date the purchase was made.

One of: 'CREDIT CARD RECEIPT', 'EXPENSE RECEIPT'.

lineItems: ReceiptV5LineItem[] = []

List of line item details.

locale: LocaleField

The locale detected on the document.

receiptNumber: StringField

The receipt number or identifier.

The purchase subcategory among predefined classes for transport and food.

supplierAddress: StringField

The address of the supplier or merchant.

supplierCompanyRegistrations: CompanyRegistrationField[] = []

List of company registrations associated to the supplier.

supplierName: StringField

The name of the supplier or merchant.

supplierPhoneNumber: StringField

The phone number of the supplier or merchant.

taxes: Taxes

List of tax lines information.

The time the purchase was made.

The total amount of tip and gratuity.

totalAmount: AmountField

The total amount paid: includes taxes, discounts, fees, tips, and gratuity.

totalNet: AmountField

The net amount paid: does not include taxes, fees, and discounts.

totalTax: AmountField

The total amount of taxes.

Methods

Generated using TypeDoc