UpdateInvoicePaymentStatus
This web service updates the payment status of an issued invoice.
Rate Limiting
In order to protect our servers from inadvertent service overuse or intentional attack, and to fairly distribute services to all our customers, we have implemented a rate limiting algorithm. When fully deployed, this new algorithm will cause services to either succeed with new warnings or fail with new errors when services are consumed at too high a rate. Programs that consume Projector services should be enhanced to handle rate limiting errors so that they can continue functioning properly. For more information please visit: Projector Rate Limiting Behavior.
Request
The service request contains:
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 of draft or approved status, error 61048 is triggered. | |
PaidFlag | Boolean | yes | True to mark invoice as paid, false to 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 |
Request Usage Example(s)
Response
The following data is returned:
UpdateInvoicePaymentStatusResponse | ||
---|---|---|
Name | Data Type | Discussion |
InvoiceTimestamp | string | Invoice optimistic locking timestamp |