Taxes

Envia calculates and displays taxes transparently for every shipping concept. This allows you to build accurate invoicing and maintain proper tax records for your business.

How taxes are applied

Taxes are applied based on the country where your Envia account is registered, regardless of the shipment's origin or destination. For example, if your account is registered in Mexico and you ship within Brazil, Mexican tax (16% VAT) will be applied to the shipment cost.

This rule ensures consistent tax treatment across all your shipments and simplifies accounting.

Taxable components

Taxes are calculated separately for each cost component of your shipment:

ComponentDescriptionTax field in response
Base shipping costThe carrier's base rate for the servicebasePriceTaxes
Additional servicesInsurance, COD, electronic signature, etc.additionalServicesTaxes
Additional chargesFuel surcharge, extended area, overweight, etc.additionalChargesTaxes

The taxes field in the rate response contains the total tax amount across all components.

Tax fields in the API response

When you request a rate (POST /ship/rate/), the response includes a detailed cost breakdown with tax information. Here is an example of the relevant fields:

{
  "basePrice": "150.00",
  "basePriceTaxes": "24.00",
  "additionalServices": "75.00",
  "additionalServicesTaxes": "12.00",
  "additionalCharges": "45.50",
  "additionalChargesTaxes": "7.28",
  "taxes": "43.28",
  "totalPrice": "313.78"
}

The costSummary array also provides a consolidated view of all cost components with their corresponding taxes, useful for generating detailed invoices.

Exceptions where taxes do not apply

There are two cases where taxes are not applied to the shipment cost:

  • International shipments (exports). When the shipment crosses an international border, taxes from the origin country are not applied to the shipping cost.
  • Shipments within the European Union, provided the company is registered in the VIES (VAT Information Exchange System). This exemption follows EU VAT rules for intra-community trade.

Recommendations for tax management

  • Use the individual tax fields (basePriceTaxes, additionalServicesTaxes, additionalChargesTaxes) for detailed accounting breakdowns rather than relying solely on the taxes total.
  • Store the complete rate response for each shipment to maintain an audit trail of the cost and tax breakdown.
  • If your business operates across multiple countries, consider using separate Envia accounts per country to ensure correct tax treatment for each market.

Note: The tax percentage applied corresponds to the tax regulations of your account's registered country. Envia automatically applies the correct rate based on your account configuration.

Related pages