← Back to toolkits
Anrok logo

Anrok

Anrok automates sales tax calculation, compliance, filings, and exemption management for software businesses.

accountingtaxes

Tools (26)

  • Add Product ID Mapping

    Map a billing integration's source product ID to an existing Anrok product, optionally overwriting an existing source mapping.

    Inputs: source_id, target_id, integration_id, should_overwrite

  • Archive Exemption Certificate

    Archive and invalidate an exemption certificate by its Anrok certificate ID. Anrok does not document a restore operation.

    Inputs: certificate_id

  • Calculate Transaction Tax

    Calculate tax for an ephemeral invoice without recording a transaction in Anrok.

    Inputs: tax_date, line_items, customer_id, currency_code, customer_name, accounting_date, accounting_time, customer_address, customer_tax_ids, tax_amount_added, user_friendly_id, ship_from_address, accounting_time_zone, customer_email_address

  • Create Customer

    Create an Anrok customer with the external ID used to link transactions and exemption certificates.

    Inputs: id, name, email_address

  • Create Exemption Certificate

    Create a customer tax-exemption certificate from a local or uploaded file and jurisdiction coverage. Raw files are capped at 4 MB to keep the encoded request within host payload limits. Supplying a customer name may also create a missing customer.

    Inputs: type, notes, jurises, customer_id, customer_name, certificate_file, exemption_number, effective_date_begin

  • Create Exemption Certificate Request

    Create a premium customer certificate request, emailing its submission link by default, and optionally auto-approve eligible submissions. Supplying a customer name may also create a missing customer.

    Inputs: send_email, customer_id, auto_approve, customer_name, email_address

  • Create or Update Transaction

    Create a finalized invoice transaction. If a transaction with the same seller-wide ID exists, overwrite or replace it with the supplied invoice data and recalculate tax. Supplying a customer name with a customer ID may also create a missing customer.

    Inputs: id, tax_date, line_items, customer_id, currency_code, customer_name, accounting_date, accounting_time, customer_address, customer_tax_ids, tax_amount_added, user_friendly_id, ship_from_address, accounting_time_zone, customer_email_address

  • Create Product

    Create an Anrok product ID and assign its product tax category.

    Inputs: name, description, external_id, tax_category_id

  • Create Transaction Negation

    Create a new transaction that exactly negates an existing transaction, lowering or reversing the original transaction's reported sales and tax totals, optionally enforcing its expected version.

    Inputs: new_transaction_id, original_transaction_id, original_transaction_expected_version

  • Get Customer

    Retrieve one Anrok customer by its external customer ID.

    Inputs: customer_id

  • Get Exemption Certificate

    Retrieve one exemption certificate and its status and jurisdiction details by certificate ID.

    Inputs: certificate_id

  • Get Product

    Retrieve one Anrok product by its external product ID.

    Inputs: external_id

  • Get Transaction

    Retrieve the latest version of one Anrok transaction, including complete invoice and tax-calculation details for normal transactions.

    Inputs: transaction_id

  • List Customers

    Return one page of seller-account customers in ascending customer ID order.

    Inputs: limit, cursor

  • List Exemption Certificates

    Return one page of exemption certificates, optionally filtered by customer or certificate status.

    Inputs: limit, cursor, filter

  • List Filings

    Return one premium page of jurisdiction filings, optionally filtered by jurisdiction and filing-period end date range.

    Inputs: limit, cursor, filter

  • List Filing Transaction IDs

    Return one premium page of transaction IDs associated with a jurisdiction filing.

    Inputs: limit, cursor, juris_id, juris_filing_id

  • List Filing Transactions with Conversion Rates

    Return one premium page of a jurisdiction filing's transactions with their filing conversion rates. Rates may change until the filing is finalized.

    Inputs: limit, cursor, juris_id, juris_filing_id

  • List Product ID Mappings

    List all source-to-Anrok product ID mappings for one Anrok-built billing integration.

    Inputs: integration_id

  • List Products

    Return one page of Anrok products, optionally including default and integration shipping products.

    Inputs: limit, cursor, include_default_products

  • List Product Tax Categories

    List the standard and seller-specific product tax categories available for assigning to products.

  • List Transactions

    Return one premium page of Anrok transactions, optionally filtered by modification time or filing association.

    Inputs: limit, cursor, filter

  • Remove Transactions from Filing

    Remove 1-100 transactions from a premium Anrok jurisdiction filing and return the removal result for every requested transaction ID. This cannot be undone; Anrok documents no restore operation.

    Inputs: juris_id, juris_filing_id, transaction_ids

  • Resolve Address

    Resolve a customer address to its normalized form and return the applicable taxable jurisdictions.

    Inputs: city, line1, region, country, postal_code

  • Validate Tax IDs

    Validate premium customer tax IDs for the taxable jurisdictions resolved from a customer address.

    Inputs: customer_address, customer_tax_ids

  • Void Transaction

    Void an existing transaction so it is no longer included in returns or sales totals, optionally requiring its current version. This cannot be undone; Anrok documents no restore or unvoid operation.

    Inputs: transaction_id, transaction_expected_version