Magidoc

voidVendorBill
Mutation

Reverses a posted bill out of the books and closes it. A void, not an unpost: the original entry and its reversal both stand, which is what an audited ledger requires. Access: 'accountingUnpost' in a workspace where finance is enabled. Errors: refuses a bill that is not posted, an empty reason, a void into a closed period, and a bill any payment has been applied to — void the payment first.

Arguments

#

vendorInvoiceId

ID !
Non-null

reason

Non-null

Response

#

Returns VendorInvoice !.

Example

#