> This page is for Documentation, version Refactor guides.
> For other versions, use one of these documentation indexes:
> - Integration guides (default): https://avalara.ferndocs.com/docs/integration-guides/llms.txt
> - Refactor guides: https://avalara.ferndocs.com/docs/refactor-guides/llms.txt
> - Get certified: https://avalara.ferndocs.com/docs/get-certified/llms.txt
> - Agent to Agent (A2A): https://avalara.ferndocs.com/docs/agent-to-agent-a2a/llms.txt
> - AI use cases: https://avalara.ferndocs.com/docs/ai-use-cases/llms.txt
> - API versioning: https://avalara.ferndocs.com/docs/api-versioning/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://avalara.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://avalara.ferndocs.com/_mcp/server.

# SOAP to RESTv2 mapping

Understand the differences in headers and configuration between SOAP and RESTv2.

The tables below show a mapping between SOAP and RESTv2 headers.

SOAP security

RESTv2 security

Username token

Basic authentication:

* Username/password

* Account number/license key

SOAP profile

RESTv2 profile

Client

X-Avalara-Client in the HTTP header

> **Note**
>
> Part of the **SOAP To RESTV2 Refactor Guide**. [Open the full "SOAP to RESTv2 mapping" section on Avalara](https://developer.avalara.com/soap-to-restv2-refactor-guide/kaj7653701294864/).