Newer Version Available
Expense Analysis
Stores the product and information from a receipt submitted for review by a member. To
get the receipt information, access the LoyaltyProgramMember object reference.
Resource
Rest Method Type
POST
Signature
Request Parameters
| Parameter | Type | Description | Required or Optional |
|---|---|---|---|
| filename | String | The file that contains the image of the receipt. | Required |
| membershipnumber | String | The unique identifier of the member. | Required |
Sample Output
Output Parameters
| Parameter | Type | Description |
|---|---|---|
| confidenceStatus | String | The receipt analysis status based on the confidence value defined in the
app. Possible values are:
|
| isEligible | Boolean | Indicates whether the item is eligible for accrual of loyalty points ((true)) or not ((false)).
This value is displayed only if the admin has opted to display ineligible items in the receipt. |
| lineItem | String | The details of the receipt line item. |
| lineItemPrice | String | The total price of the receipt line item. |
| memberShipNumber | String | The unique identifier of the member. |
| price | Currency | The unit price of the receipt line item. |
| productName | String | The name of the product purchased. |
| quantity | Integer | The quantity of the product purchased. |
| receiptDate | dateTime | The date when the receipt is generated. |
| receiptNumber | String | The receipt number. |
| receiptSFDCId | Reference | The unique ID of the receipt. |
| storeAddress | String | The store address. |
| storeName | String | The store name. |