...
UpdateInvoicePaymentStatusRequest | ||||
---|---|---|---|---|
Name | Data Type | Required? | Default Value | Discussion |
InvoiceNumber | String(20) | yes | Number of the invoice to be modified; only issued invoice can have payment status updated. If invoice is in of draft or approved status, error 61048 is triggered. | |
PaidFlag | Boolean | yes | True to mark invoice as paid, false to make mark it not paid. | |
PaymentComment | String(1000) | no | Only specify if marking invoice paid; if supplied when PaidFlag is false, error 50406 is triggered. | |
InvoiceTimestamp | String | no | Optional; specified for optimistic locking |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:data="http://www.opsplanning.com/webservices/public/data"> <soapenv:Header> <data:OpsAuthenticationHeader> <!--Optional:--> <data:AccountName>Revcorp-min</data:AccountName> <!--Optional:--> <data:EmailAddress>larry@revcorp.min</data:EmailAddress> <!--Optional:--> <data:Password>kouling<Password>LaDiDa</data:Password> </data:OpsAuthenticationHeader> </soapenv:Header> <soapenv:Body> <data:UpdateInvoicePaymentStatus> <!--Optional:--> <data:request> <!--Optional:--> <data:Parameters> <!--Optional:--> <data:InvoiceNumber>INV00110</data:InvoiceNumber> <data:PaidFlag>true</data:PaidFlag> <data:PaymentComment>Client just mailed in the check</data:PaymentComment> </data:Parameters> </data:request> </data:UpdateInvoicePaymentStatus> </soapenv:Body> </soapenv:Envelope> |
...