...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:bil="http://projectorpsa.com/DataContracts/Shared/Billing/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/"> <soapenv:Header/> <soapenv:Body> <pws:PwsSaveInvoice> <!--Optional:--> <pws:serviceRequest> <req:SessionTicket>AcQ1BEusAT8qGh8BhF0OFgSessionTicket>AT0Wkw45/5xiaJ8It3xxkA==</req:SessionTicket> <bil:FinanceApprovalStatus>A</bil:FinanceApprovalStatus> <bil:Invoice> <com:InvoiceNumber>DRAFT00156<InvoiceNumber>DRAFT00763</com:InvoiceNumber> <com:ClientMessage>Please pay by YYYY2023-MM07-DD18. Thank you for your cooperation.</com:ClientMessage> <com:ContractLineItems> <!--Zero or more repetitions:--> <com:PwsInvoiceContractLineItem> <!--Optional:--> <com:AppliedPrepaidAmount>0</com:AppliedPrepaidAmount> <!--Optional:--> <com:ContractLineItemIdentity> <!--Optional:--> <com:ContractLineItemCode>P001063ContractLineItemCode>P001670-CL1</com:ContractLineItemCode> </com:ContractLineItemIdentity> </com:PwsInvoiceContractLineItem> </com:ContractLineItems> <!--Optional:--> <com:PurchaseOrderNumber>PO-WS-1</com:PurchaseOrderNumber> </bil:Invoice> <!--Optional:--> <bil:NewInvoiceMessages>Invoice Message #1</bil:NewInvoiceMessages> <!--Optional:--> <bil:NotifyFinanceTeamFlag>1<NotifyFinanceTeamFlag>true</bil:NotifyFinanceTeamFlag> <!--Optional:--> <bil:NotifyManagementTeamFlag>1<NotifyManagementTeamFlag>true</bil:NotifyManagementTeamFlag> </pws:serviceRequest> </pws:PwsSaveInvoice> </soapenv:Body> </soapenv:Envelope> |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <PwsSaveInvoiceResponse xmlns="http://projectorpsa.com/PwsProjectorServices/"> <PwsSaveInvoiceResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/Billing/" 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/">2022-07-13T1518T16:28:17:50.5349657Z<5822748Z</ServerTimestampUtc> <a:ExceededContracts i:nil="true"/> <a:Invoice i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/> <a:InvoiceIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <b:InvoiceId i:nil="true"/> <b:InvoiceNumber>DRAFT00156<InvoiceNumber>DRAFT00763</b:InvoiceNumber> <b:InvoiceUid i:nil="true"/> </a:InvoiceIdentity> <a:InvoiceTimestamp>AAAAAB5BS+kInvoiceTimestamp>AAAAAB5a1X4=</a:InvoiceTimestamp> <a:StolenLocks i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/> </PwsSaveInvoiceResult> </PwsSaveInvoiceResponse> </s:Body> </s:Envelope> |
...
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
10126 | InvalidEnumerationValueSpecified | An invalid value was specified for FinanceApprovalStatus. Valid values are A, U. |
68263 | NoManagementApprovalRequired | Invoice ... does not require management approval. |