PUT api/invoices/{id}/void
Void invoice
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Invoice id |
integer |
Required |
Body Parameters
Void invoice view model
VoidInvoiceViewModelName | Description | Type | Additional information |
---|---|---|---|
VoidDate |
|
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "voidDate": "2025-04-03T17:40:13.3397992-04:00" }
application/xml, text/xml
Sample:
<VoidInvoiceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Invoices"> <VoidDate>2025-04-03T17:40:13.3397992-04:00</VoidDate> </VoidInvoiceViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.