API Documentation

Beans_Tax_Payment_Replace

Create a new tax payment by replacing a transaction currently in the journal. This should be called even when you have no taxes collected for a time period.


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.
tax_id INTEGER The Beans_Tax this payment is being applied to.
payment_account_id INTEGER The Beans_Account being used to pay the remittance.
writeoff_account_id INTEGER The Beans_Account that handles the write-off - only required if there is a writeoff_amount.
total DECIMAL The total amount of taxes due for the time period. If this doesn't match the Beans_Tax_Prep result you will receive an error.
amount DECIMAL The total remitted.
writeoff_amount DECIMAL The total amount to write-off.
check_number STRING
description STRING A description for the transaction.

Returns