Magidoc

postVendorBill
Mutation

Books the payable: Dr each line's account, Cr A/P for the whole bill, in the bill's own company, on the bill's own issue date. The bill then joins the A/P subledger, A/P aging and the payment run, and its balance is what a payment relieves. Access: 'accountingPost' in a workspace where finance is enabled. Errors: refuses a bill that is not approved, an issue date in a closed period, and a document whose lines do not sum to its total. Passing idempotencyKey makes the call safe to retry.

Arguments

#

vendorInvoiceId

ID !
Non-null

Response

#

Returns VendorInvoice !.

Example

#