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.

API
Creditor Invoice API

Requires Authentication
Yes (Advanced)

Returns
CreditorInvoiceDeleteResponse

Batch?
Yes

Request Params

KeyDatatypeRequiredDescription
IdstringRequired.
(int32)
The identifier of the creditor invoice.

HEADERS

KeyDatatypeRequiredDescription
AcceptstringRequired.
The type of content accepted by the API endpoint.
Content-TypestringRequired.
The type of content supported by the API endpoint.

RESPONSES

status: OK

{"Id":57266,"VoucherNumber":"por1614pora_Deleted_1"}