API Documentation

Beans_Tax_Prep

Prepares information to be able to create a tax 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_Tax being paid.
date_start STRING Inclusive YYYY-MM-DD date ( i.e. >= date_start )
date_end STRING Inclusive YYYY-MM-DD date ( i.e. <= date_end )
payment_id INTEGER The ID of a Beans_Tax_Payment to ignore when tabulating totals. Useful if updating a previous payment.

Returns

tax OBJECT The applicable Beans_Tax.
date_start STRING
date_end STRING
taxes OBJECT The applicable taxes for the given period.
paid OBJECT The taxes that have already been paid during this period. Includes invoiced and refunded - objects - each with line_amount, line_taxable_amount, amount and exemptions.
due OBJECT The taxes that have already been paid during this period. Includes invoiced and refunded - objects - each with line_amount, line_taxable_amount, amount and exemptions.