Versions Compared

Key

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

...

This web service retrieves one default Vat percentage based on the expense type and location (PwsExpenseTypeRef) and location (PwsLocationRef) provided in the request. 

...

Panel
titlePwsGetDefaultVatPercentage Response

...

Element

Data Type

Description

Sample Data

Messages

PwsMessage [ ]

The web service response status and message. Click here for more information.


ResponseId

Int32

Click here for more information.


StatusRequestStatusClick here for more informationOk

ServerTimestampUtc

DateTime

Click here for more information.

2018-03-13T15:24:27.1225758Z

VatPercentage

Double

The default Vat precentage of an expense type at a specified location

0.175

...

Code Block
languagexml
titleExample 01
collapsetrue
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsGetDefaultVatPercentageResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsGetDefaultVatPercentageResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/TimeAndCost/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
            <ResponseId xmlns="http://projectorpsa.com/CommonServices/">0</ResponseId>
            <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
            <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-03-13T15:24:27.1225758Z</ServerTimestampUtc>
            <a:VatPercentage>0.175</a:VatPercentage>
         </PwsGetDefaultVatPercentageResult>
      </PwsGetDefaultVatPercentageResponse>
   </s:Body>
</s:Envelope>


PwsGetDefaultVatPercentage - Common Errors and Warnings

...