API Documentation

Beans_Customer_Sale_Invoice

Convert a customer sale into an invoice.


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 for the Beans_Customer_Sale.
date_billed STRING The bill date in YYYY-MM-DD for the sale. Default is today.
date_due STRING The due date in YYYY-MM-DD for the sale. If not provided, will default to the date_billed + the terms days on the AR Beans_Account.

Returns

sale OBJECT The updated Beans_Customer_Sale.