Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

This data structure is used in the response for PwsMarkPaymentVouchersReceived request. It captures the basic information on a payment voucher expense document combo whose payment status has been updated. For example, if a payment voucher has two cost cards and they come from two expense reports, then there will be two instances of PwsReceivedPaymentVoucher in the response.

Format

Panel
titlePwsReceivedPaymentVoucher

...

Element

Data Type

Description

Sample Data

Amount

Double

The disbursed amount of all cost cards on the payment voucher. Cash advance and reconciliation are not factored in.

132

EffectiveStatus

String (1)

The status of the payment voucher after the update.

"A" for Approved & Not Approved To Pay
"C" for Received

"F" for Approved To Pay
"P" for Paid
"T" for Transmitted


ItemCount

Int32

The count of the cost cards on the payment voucher.

2

PaymentVoucher

PwsPaymentVoucherSummaryPwsExpenseEntryVoucher

The basic information of a payment voucher. Click here for more information.


ProjectSummary

PwsProjectSummary

The basic information of a project. Click here for more information.


ExpenseDocumentIdentity

PwsExpenseDocumentRef

The basic information of expense document that associated with the payment voucher. Click here for more information.


Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
               <a:PwsReceivedPaymentVoucher>
                  <a:Amount>132</a:Amount>
                  <a:EffectiveStatus>C</a:EffectiveStatus>
                  <a:ItemCount>2</a:ItemCount>
                  <a:PaymentVoucher>
                     <PaymentVoucherId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <PaymentVoucherNumber xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">PVER00164.1</PaymentVoucherNumber>
                     <PaymentVoucherUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607567675</PaymentVoucherUid>
                     <a:ApprovedToPayByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UserDisplayName>PPSA Support User</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>000</b:UserReferenceSystemId>
                        <b:UserUid>1152921504606944261</b:UserUid>
                        <b:EmailAddress>support@projectorpsa.com</b:EmailAddress>
                        <b:FirstName>PPSA Support User</b:FirstName>
                        <b:LastName>PPSA Support User</b:LastName>
                        <b:MiddleName>PPSA Support User</b:MiddleName>
                     </a:ApprovedToPayByUser>
                     <a:ApprovedToPayTimestamp>2018-03-26T18:20:23.63Z</a:ApprovedToPayTimestamp>
                     <a:CashAdvanceAmount>0</a:CashAdvanceAmount>
                     <a:PaidByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <a:PaidTimestamp i:nil="true"/>
                     <a:PayeeVendor xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:VendorId i:nil="true"/>
                        <b:VendorName>Bruce Wayne</b:VendorName>
                        <b:VendorUid>1152921504606888248</b:VendorUid>
                        <b:VendorNumber>Bruce Wayne</b:VendorNumber>
                        <b:ExpenseReportPayeeFlag>true</b:ExpenseReportPayeeFlag>
                        <b:InactiveFlag>false</b:InactiveFlag>
                        <b:ResourceVendorFlag>true</b:ResourceVendorFlag>
                        <b:VendorInvoicePayeeFlag>false</b:VendorInvoicePayeeFlag>
                        <b:SubcontractorInvoicePayeeFlag>true</b:SubcontractorInvoicePayeeFlag>
                     </a:PayeeVendor>
                     <a:PaymentWorkflowStatus>C</a:PaymentWorkflowStatus>
                     <a:ReceivedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UserDisplayName>Bruce Wayne</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>BW-01</b:UserReferenceSystemId>
                        <b:UserUid>1152921504606950320</b:UserUid>
                        <b:EmailAddress>bruce@revcorp.doc</b:EmailAddress>
                        <b:FirstName>Bruce</b:FirstName>
                        <b:LastName>Wayne</b:LastName>
                        <b:MiddleName i:nil="true"/>
                     </a:ReceivedByUser>
                     <a:ReceivedTimestamp>2018-03-26T18:35:28.61Z</a:ReceivedTimestamp>
                     <a:TransmittedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UserDisplayName>PPSA Support User</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>000</b:UserReferenceSystemId>
                        <b:UserUid>1152921504606944261</b:UserUid>
                        <b:EmailAddress>support@projectorpsa.com</b:EmailAddress>
                        <b:FirstName>PPSA Support User</b:FirstName>
                        <b:LastName>PPSA Support User</b:LastName>
                        <b:MiddleName>PPSA Support User</b:MiddleName>
                     </a:TransmittedByUser>
                     <a:TransmittedTimestamp>2018-03-26T18:21:44.52Z</a:TransmittedTimestamp>
                     <a:CanMarkReceivedFlag>true</a:CanMarkReceivedFlag>
                  </a:PaymentVoucher>
                  <a:ProjectSummary i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <a:ExpenseDocumentIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:DocumentNumber>ER00164</b:DocumentNumber>
                     <b:ExpenseDocumentId i:nil="true"/>
                     <b:ExpenseDocumentUid>1152921504607636703</b:ExpenseDocumentUid>
                  </a:ExpenseDocumentIdentity>
               </a:PwsReceivedPaymentVoucher>              

...