VendorInvoiceDeleteRequest
DELETE {{base_url}}/VendorInvoiceDeleteRequest?Id={{integer}}
NOTE: This will not work if the system variable 1180 (Cancel creditor invoices instead of deleting them) is enabled. You have to use the POST VendorInvoiceCancelRequest API endpoint instead.
Deletes a creditor invoice (or vendor invoice) based on a given identifier.
Requires Authentication
Yes (Advanced)
Returns
CreditorInvoiceDeleteResponse
Batch?
Yes
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
Id | string | Required. | |
| (int32) | |||
| The identifier of the creditor invoice. |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Accept | string | Required. | |
| The type of content accepted by the API endpoint. | |||
Content-Type | string | Required. | |
| The type of content supported by the API endpoint. |
RESPONSES
status: OK
{"Id":57266,"VoucherNumber":"por1614pora_Deleted_1"}