VendorInvoiceCancelRequest

POST {{base_url}}/VendorInvoiceCancelRequest?Id={{integer}}

NOTE: This requires system variable 1180 to be enabled.

Cancels a creditor invoice (or vendor invoice) based on a given identifier.

If single, query parameter ID. For more information, see VendorInvoiceCancelRequest (for a single entry) example request.

If batch, body raw data. For more information, see VendorInvoiceCancelRequest (for a batch entry) example request.

API
Creditor Invoice API

Requires Authentication
Yes

Returns
CreditorVoucherCancellationResponse

Batch?
Yes

Request Params

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

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":12344,"VoucherNumber":"Voucher12344","Success":true},{"Id":12345,"VoucherNumber":"Voucher12345","Success":true}]