PwsReceiptCostCard

Overview


This structure represents the association of a cost card with a receipt. Note: receipts can be associated with a cost card or an entire expense report, multiple receipts may be associated with a single cost card or expense report, and multiple cost cards can be associated with a single receipt.

Format


PwsReceiptCostCard
  • PwsReceiptCostCard
    • CostCardIdentity: PwsCostCardRef
    • ReferenceNumber: String (50)
    • ReferenceNumberClearFlag: Boolean

Elements


Element

Data Type

Required?

Default

Description

Sample Data

CostCardIdentity

PwsCostCardRef

Yes


Key fields identifying the cost card associated with the receipt.


ReferenceNumber

String (50)

No 


The reference number can be any value to further associate the cost card with the receipt image (e.g. if the image contains multiple, numbered receipts, this could be the number associated with the receipt that pertains to this specific cost card).


ReferenceNumberClearFlag

Boolean

No 

false

If set to 'true', the reference number will be set to null

false

Usage Example(s)


Example 01
                     <a:PwsReceiptCostCard>
                           <a:CostCardIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                              <b:CostCardId i:nil="true"/>
                              <b:CostCardUid>1152921504614515251</b:CostCardUid>
                              <b:ReferenceId i:nil="true"/>
                           </a:CostCardIdentity>
                           <a:ReferenceNumber i:nil="true"/>
                           <a:ReferenceNumberClearFlag>false</a:ReferenceNumberClearFlag>
                        </a:PwsReceiptCostCard>
                     </a:ReceiptCostCards>