younifyd
Menu

Create Transaction

Create a tax transaction in Avalara

Use it in a workflow

  1. Add a step and choose the Avalara AvaTax connector.
  2. Pick the Create Transaction action (under avalara).
  3. Fill in the fields below, then reference the result from later steps as {{createTransaction.response.data}}.

Fields

companyCodestringrequired

Company code in Avalara

typestringrequired

One ofSalesOrderSalesInvoicePurchaseOrderPurchaseInvoiceReturnOrderReturnInvoice

datestring (date)required

Transaction date in ISO 8601 format (YYYY-MM-DD)

customerCodestring
addressesstringrequired

JSON object: {"shipTo": {"line1": "123 Main St", "city": "Seattle", "region": "WA", "postalCode": "98101", "country": "US"}, "shipFrom": {...}}

linesstringrequired

JSON array: [{"number": "1", "quantity": 1, "amount": 100.00, "taxCode": "P0000000"}]

commitboolean

Whether to commit the transaction immediately

Default false

referenceCodestring

Reference code for the transaction

emailstring (email)
currencyCodestring

Currency code in ISO 4217 format (e.g., USD, EUR, GBP)

Need more? See the Avalara AvaTax guide for connection setup and behaviour shared by every action.