Skip to content

Customer Sale Invoice

Sean Callan edited this page Jun 9, 2020 · 1 revision

Beans_Customer_Sale_Invoice

Convert a customer sale into an invoice.


Parameters

  • 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.

  • id (required) INTEGER - The ID for the Beans_Customer_Sale.

  • date_billed (optional) STRING - The bill date in YYYY-MM-DD for the sale. Default is today.

  • date_due (optional) 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.
Clone this wiki locally