# Taxwire Documentation ## Docs - [Authentication](https://apidocs.taxwire.com/api-reference/authentication.md): How to authenticate in order to call the Taxwire API - [Tax calculations](https://apidocs.taxwire.com/api-reference/calculations/create.md): This endpoint calculates tax for an invoice based on the provided request data. To learn more about how tax is calculated, see the [tax calculation guide](/api-reference/guides/calculate_taxes). - [Errors](https://apidocs.taxwire.com/api-reference/errors.md): Possible errors and their meaning - [Examples](https://apidocs.taxwire.com/api-reference/examples.md): Examples use cases for the Taxwire API - [Tax calculation in details](https://apidocs.taxwire.com/api-reference/guides/calculate_taxes.md): Main concepts and best practices for calculating taxes - [Discounts](https://apidocs.taxwire.com/api-reference/guides/discounts.md): Guide to Discounts - [Presets](https://apidocs.taxwire.com/api-reference/guides/presets.md): Presets are a way to simplify the tax calculation API calls by pre-configuring the tax attributes for a specific product or customer. - [Tax attributes](https://apidocs.taxwire.com/api-reference/guides/tax_attributes.md): Best practices and examples for calculating taxes accurately - [Transactions management](https://apidocs.taxwire.com/api-reference/guides/transactions.md): How to store and handle transactions directly through the Taxwire API - [VAT Handling](https://apidocs.taxwire.com/api-reference/guides/vat.md): Guide to VAT identifiers, international calculations, and supported countries - [Introduction](https://apidocs.taxwire.com/api-reference/introduction.md): Before working with the Taxwire API - [Postman Collection](https://apidocs.taxwire.com/api-reference/postman.md) - [Quickstart](https://apidocs.taxwire.com/api-reference/quickstart.md): Getting started with the Taxwire API - [Retrieve transaction by reference ID](https://apidocs.taxwire.com/api-reference/transactions/by-reference-id.md): Fetch a transaction by reference ID. - [Create transaction](https://apidocs.taxwire.com/api-reference/transactions/create.md): This endpoint allows you to create a transaction. The transaction includes details about the sale, discounts, line items, tax configurations, and locations. You can also pass a **unique transaction reference** to help with identification and deduplication. - [Retrieve transaction](https://apidocs.taxwire.com/api-reference/transactions/retrieve.md): Fetch a transaction by ID. - [Update transaction](https://apidocs.taxwire.com/api-reference/transactions/update.md): Update a transaction's status, reference ID, and tax amount. For draft transactions, also update line items, discounts, currency, and transaction date. - [Versions](https://apidocs.taxwire.com/api-reference/versioning.md): API Versioning - [Product hierarchy](https://apidocs.taxwire.com/resources/product-tax-codes/product-hierarchy.md): A description of all product tax codes that Taxwire supports. ## OpenAPI Specs - [openapi](https://apidocs.taxwire.com/api-reference/openapi.json)