# SOAP to RESTv2 header mapping

Source: https://developer.avalara.com/soap-to-restv2-refactor-guide/kaj7653701294864/

# SOAP to RESTv2 header 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