All input and output monetary values for this API are in the local currency (for example, BRL when
country is BR).How authentication works
This endpoint uses the sales channel token authentication model, not the auth token generated with merchant credentials. The bearer token is provided by e-CROSS to the sales channel during the integration process.Headers
string
required
Bearer token for the sales channel request. Use the format
Bearer YOUR_SALES_CHANNEL_TOKEN.Request body
array
required
Line items to simulate taxes for together.
number
required
Freight value for the cart in local currency, without any shipping discount applied.
string
required
ISO 3166-1 alpha-2 destination country code (for example,
BR).string
required
Destination state or region code. For countries where taxes depend on state (for example, Brazil), use the correct two-letter state code (for example,
SP).Response fields
number
required
USD to BRL FX rate used by this API when calculating the response values.
array
required
One entry per request line, in the same order as requested.
object
required
Aggregates for the whole request.
