PwsSaveReceiptResult
Overview
This structure represents the results of a receipt insert or update. Multiple receipts can be submitted for insert or update in a single request to PwsSaveExpenseDocument or PwsSaveExpenseDocumentCostCard. These operations can partially succeed, meaning some receipts were successfully saved while others triggered errors and could not be saved. The web service will report back details about each receipt, whether it succeeded or failed, by returning a collection of these structures. For failed receipts, ErrorDetail will provide more details about the nature of the failure.
Format
- PwsSaveReceiptResult
- ErrorDetail: PwsErrorDetail
- ReferenceId: String
Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
ErrorDetail | The error detail regarding the failed receipt insert or update. | ||
ReferenceId | String |  Reference id (used to affiliate PwsSaveReceiptResult records with associated PwsReceiptDetail records). |