# Transaction workflow considerations

Source: https://developer.avalara.com/vat-ecom/design-the-document-workflow/workflow-considerations/

This section describes some best practices when designing your document workflow. Before beginning, consider the following questions:

-   What kind of ecommerce system are you designing (for example, order management, storefront, fulfillment, and so on)

-   When is it appropriate to call AvaTax for tax calculation?

-   When will you record (commit) a transaction?