-
Notifications
You must be signed in to change notification settings - Fork 36
Vendor Expense Create
Create a new vendor expense.
-
auth_uid (required) INTEGER - The ID for your API key.
-
auth_key (required) STRING - The API key.
-
auth_expiration (required) INTEGER - Unique ID tied to your key; changes if you reset your key.
-
vendor_id (required) INTEGER - The ID for the Beans_Vendor this will belong to.
-
account_id (required) INTEGER - The ID for the Beans_Account this expense is paid with.
-
date_created (required) STRING - The date of the expense in YYYY-MM-DD format.
-
expense_number (optional) STRING - An expense number to reference this expense. If none is created, it will auto-generate.
-
invoice_number (optional) STRING - An invoice number to reference this expense.
-
so_number (optional) STRING - A sales order number to reference this expense.
-
remit_address_id (optional) INTEGER - The ID of the Beans_Vendor_Address to remit payment to.
-
lines (required) ARRAY - An array of objects representing line items for the expense.
-
description (required) STRING - The text for the line item.
-
amount (required) - DECIMAL The amount per unit.
-
quantity (required) - DECIMAL The number of units (up to three decimal places).
-
account_id (optional) INTEGER - The ID of the Beans_Account to count the cost of the expense towards.
-
-
description (required) STRING - The text for the line item.
-
amount (required) - DECIMAL The amount per unit.
-
quantity (required) - DECIMAL The number of units (up to three decimal places).
-
account_id (optional) INTEGER - The ID of the Beans_Account to count the cost of the expense towards.
- expense OBJECT - The resulting Beans_Vendor_Expense.