Sales taxSAP S/4HANA (on-premise and Cloud Private Edition)Runs on-prem

Avalara AvaTax with SAP S/4HANA: sales tax on orders and invoices

Avalara AvaTax for SAP S/4HANA and SAP ERP is a prebuilt connector, listed on the SAP Store as an SAP Endorsed App, that calls the AvaTax cloud API to calculate US and Canada sales and use tax plus VAT and GST on sales orders and billing documents. It also validates addresses and looks up jurisdictions. It is also offered for ECC and for S/4HANA on-premise and Cloud Private Edition, so the SAP system stays on your side while only tax requests go out to Avalara.

How Avalara AvaTax for SAP S/4HANA and SAP ERP connects to SAP S/4HANA (on-premise and Cloud Private Edition)

SAP-certified prebuilt connector calling the AvaTax cloud API

The connector installs into SAP and replaces or supplements the native tax determination step. When a sales order, billing document or credit memo is priced, the connector sends ship-from, ship-to, line amounts, product tax codes and customer exemption data to AvaTax and writes the returned tax amounts back into the pricing procedure. Check the SAP Store listing for the exact add-on version and supported releases before you plan the project.

Outbound HTTPS from SAP to Avalara

Because AvaTax is a cloud service, an on-premise SAP system needs outbound HTTPS to Avalara through your proxy or firewall rules. Only transaction tax data crosses the boundary, not the full ERP database, which matters in air-gapped or restricted plants where this egress needs explicit approval.

What data moves

FromToDataWhen
SAP sales order or billing documentAvaTaxAddresses, line amounts, tax codes, exemption flagsPricing or tax determination during order or invoice save
AvaTaxSAP pricing conditionTax amounts per line and per jurisdictionResponse to the calculation call
SAP billing documentAvaTaxCommitted transaction for reporting and returnsInvoice posting or release to accounting
SAP customer masterAvaTaxExemption certificate status and customer tax identifiersCustomer change or order entry
SAP credit memoAvaTaxReturn transaction referencing the original invoiceCredit memo creation

Setting it up

  1. 1Confirm release supportMatch your S/4HANA release or ECC support package level to the connector version in the SAP Store listing and Avalara documentation.
  2. 2Open the network pathAllow outbound HTTPS from the SAP application server to the Avalara endpoints, and decide where credentials and license keys are stored.
  3. 3Install the add-onImport the connector transports in development first, then quality, then production, following the normal transport landscape.
  4. 4Configure company and credentialsCreate the AvaTax company code, map it to SAP company codes and plants, and enter account ID and license key in the connector configuration.
  5. 5Map product tax codesAssign Avalara tax codes to materials or material groups so taxability is correct per product class.
  6. 6Handle exemptionsDecide how customer exemption certificates are tracked and passed on the transaction.
  7. 7Test against known jurisdictionsRun orders to a spread of states and provinces, compare with expected results, and test credit memos and partial returns.
  8. 8Go live with monitoringWatch the connector log for timeouts and failed calls, and define a fallback for when AvaTax is unreachable.

What usually breaks

  • !Ship-from address wrong on plant data, so origin-based states calculate incorrectly.
  • !Material tax codes left blank or defaulted, which taxes everything as general tangible goods.
  • !Timeouts or firewall changes causing failed tax calls on order save, with no clear rule for fallback behavior.
  • !Tax committed at order time but the invoice later changes, leaving mismatched amounts between SAP and Avalara.
  • !Credit memos not linked to the original transaction, so returns reports are wrong.
  • !Connector not retested after an S/4HANA upgrade or support package update.

A private AI layer across both systems

Tax exception triage

A private assistant reading SAP billing documents and the connector log can list invoices where tax came back zero or the call failed, grouped by cause, for a tax analyst to review.

Reconcile SAP to the tax return

Compare tax posted to the SAP tax accounts against the transactions committed in Avalara and explain differences by document.

Plain-language questions

Let finance ask why a specific invoice was taxed at a given rate and get the addresses, tax code and exemption status used, read only.

Draft master data fixes

Propose corrections to plant addresses or material tax codes for human approval before anyone changes SAP data.

When something else fits better

  • Native SAP tax determination with condition records and tax jurisdiction codes, which can be enough for a few states and stable rates.
  • A different tax engine such as Vertex, if your group already standardizes on it.
  • Manual rate tables maintained by tax staff for very small US footprints, accepting the audit risk.

Frequently asked questions

Does AvaTax work with on-premise S/4HANA?

Avalara lists the connector for S/4HANA Cloud Private Edition, S/4HANA on-premise and SAP ECC. The SAP system runs on your side and calls the AvaTax cloud API for calculations, so you need outbound HTTPS from SAP to Avalara.

Does it handle VAT as well as US sales tax?

Avalara describes it as covering US and Canada sales and use tax plus VAT and GST. Confirm country coverage and the specific VAT scenarios you need in the SAP Store listing before committing.

Is the ERP data sent to Avalara?

Only what is needed for each calculation is sent: addresses, line amounts, tax codes and exemption data. The full ERP database is not replicated. Your security team should still review the data fields in scope.

What happens if Avalara is unreachable?

That depends on how the connector is configured and what you set up as a fallback. Decide in advance whether orders block, default to a rate, or queue for recalculation, and test that behavior.

Pairing documented at www.sap.com/sweden/products/erp/partners/avalara-inc-avalara-avatax-for-sap-s4ha . Avalara AvaTax for SAP S/4HANA and SAP ERP is a product of Avalara; Netray is independent and not affiliated with either vendor.