API Documentation

Beans_Vendor_Payment_Update

Update a vendor payment.


Parameters

auth_uid INTEGER The ID for your API key.
auth_key STRING The API key.
auth_expiration INTEGER Unique ID tied to your key; changes if you reset your key.
id INTEGER The ID of the Beans_Vendor_Payment to update.
payment_account_id INTEGER The ID of the Beans_Account you are making this payment from.
writeoff_account_id INTEGER The ID of the Beans_Account to write off balances on. This is required only if you have writeoff_balance as tru for any pruchases.
adjustment_account_id INTEGER The ID of the Beans_Account for an adjusting entry.
amount DECIMAL The total payment amount being received.
adjustment_amount DECIMAL The amount for an adjusting entry.
date STRING The date of the payment.
number STRING A reference number.
description STRING
check_number STRING A transaction or check number.
purchases ARRAY An array of objects representing the amount received for each sale.
purchase_id INTEGER The ID for the Beans_Vendor_Purchase being paid.
amount DECIMAL The amount being paid.
invoice_number STRING The invoice number being paid.
date_billed STRING The bill date in YYYY-MM-DD format.
writeoff_balance BOOLEAN Write off the remaining balance of the sale.

Returns

payment OBJECT The updated Beans_Vendor_Payment.