Overview
This structure contains the complete set of information about a receipt/note. The structure is used both to retrieve detailed receipt information and to pass information about a receipt back to the server to get updated.
Format
- PwsReceiptDetail
- ReceiptId: Int32
- ReceiptUid: Int64
- ReferenceId: String
- DocumentIdentity: PwsDocumentRef
- EntireExpenseReportFlag: Boolean
- ExpenseDocumentIdentity: PwsExpenseDocumentRef
- Notes: String
- NotesClearFlag: Boolean
- ReceiptCostCards: PwsReceiptCostCard[]
- NumberPages: Byte
- DocumentName: String
- NumberPagesShort: Int16
Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
ReceiptId | Int32 | No | The receipt Id is a unique identifier for a receipt. For internal use only. | ||
ReceiptUid | Int64 | The receipt Uid is a unique and immutable identifier for a receipt | 1152921504607571578 | ||
ReferenceId | String | Reference id (used to affiliate PwsSaveReceipt records with associated PwsReceiptDetail records). | |||
DocumentIdentity | This is the identity of the receipt document | ||||
EntireExpenseReportFlag | Boolean | If set to 'true', the receipt is attached to the entire expense report | false | ||
ExpenseDocumentIdentity | The expense document the receipt is attached to | ||||
Notes | String | The receipt note is a free text field to be associated with the receipt | |||
NotesClearFlag | Boolean | If set to 'true', notes will be set to null | false | ||
ReceiptCostCards | The cost card the receipt is attached to | ||||
NumberPages | Byte | The number of pages in 8-bit type format | |||
DocumentName | String | The receipt document name | 01_Scan_2.jpeg | ||
NumberPagesShort | Int16 | The number of pages in 16-bit type format |