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

Beans_Tax_Create

Create a new tax.


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.

  • name (required) STRING -

  • code (optional) STRING - Will be auto-generated if not provided.

  • percent (required) - DECIMAL In decimal form, so 1.5% is 0.0015

  • account_id (required) INTEGER - The Beans_Account that the taxes will be recorded to.

  • date_due (required) STRING - The next YYYY-MM-DD date that remittance is due.

  • date_due_months_increment (required) INTEGER - The number of months between each payment.

  • authority (required) STRING - The tax authority ( who you write checks to ).

  • license (optional) STRING - The license number for your registration in this jurisdiction.

  • address1 (optional) STRING - The address where you remit payment to.

  • address2 (optional) STRING -

  • city (optional) STRING -

  • state (optional) STRING -

  • zip (required) STRING -

  • country (required) STRING -


Returns

  • tax OBJECT - The resulting Beans_Tax.
Clone this wiki locally